gjt1 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/controllers/gjt1/members_controller.rb +8 -0
- data/app/helpers/gjt1_helper.rb +9 -0
- data/app/models/gjt1/member.rb +11 -0
- data/config/locales/pt-BR.yml +9 -0
- data/config/routes.rb +7 -0
- data/db/migrate/20230513184113_create_gjt1_members.rb +10 -0
- data/lib/gjt1/engine.rb +7 -0
- data/lib/gjt1/version.rb +5 -0
- data/lib/gjt1.rb +7 -0
- metadata +50 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 289deb38ccf644d49dd3a128a76fee9261fcb2290ac340a70fc5ac701ae11d7f
|
4
|
+
data.tar.gz: b5f7a8e6c009a03b4d7b57b69dcb1590e67770815a218b43ed11f7e0fef1cbe4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 91c3e1ab707a53123765226de6b3ae6ae685fbe73786d8e587244bc8b09682402aad6d3377748605888c978861880bf8e4d3186619afb341441282684ca21a40
|
7
|
+
data.tar.gz: d0d2979a0dddeace17635e0d408367e06a636b9d445318621b8c9dd2df156d5962ad77f378b563853c6a1e0c02678ec5fd98e3e0fe221f2fa6f4f702d5be3bd2
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_dependency 'gjt1'
|
4
|
+
|
5
|
+
module Gjt1
|
6
|
+
class Member < ::EacRailsBase0::ApplicationRecord
|
7
|
+
validates :name, presence: true, uniqueness: true
|
8
|
+
validates :bga_user_code, presence: true, uniqueness: true,
|
9
|
+
format: { with: /\A\d+\z/ }
|
10
|
+
end
|
11
|
+
end
|
data/config/routes.rb
ADDED
data/lib/gjt1/engine.rb
ADDED
data/lib/gjt1/version.rb
ADDED
data/lib/gjt1.rb
ADDED
metadata
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gjt1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Put here the authors
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-05-21 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description:
|
14
|
+
email:
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- app/controllers/gjt1/members_controller.rb
|
20
|
+
- app/helpers/gjt1_helper.rb
|
21
|
+
- app/models/gjt1/member.rb
|
22
|
+
- config/locales/pt-BR.yml
|
23
|
+
- config/routes.rb
|
24
|
+
- db/migrate/20230513184113_create_gjt1_members.rb
|
25
|
+
- lib/gjt1.rb
|
26
|
+
- lib/gjt1/engine.rb
|
27
|
+
- lib/gjt1/version.rb
|
28
|
+
homepage:
|
29
|
+
licenses: []
|
30
|
+
metadata: {}
|
31
|
+
post_install_message:
|
32
|
+
rdoc_options: []
|
33
|
+
require_paths:
|
34
|
+
- lib
|
35
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
requirements: []
|
46
|
+
rubygems_version: 3.1.6
|
47
|
+
signing_key:
|
48
|
+
specification_version: 4
|
49
|
+
summary: Put here de description.
|
50
|
+
test_files: []
|