yamls 0.1.0 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +54 -6
- data/.rubocop.yml +10 -1
- data/Gemfile +3 -0
- data/README.md +3 -0
- data/example/rails5/.gitignore +28 -0
- data/example/rails5/.ruby-version +1 -0
- data/example/rails5/Gemfile +47 -0
- data/example/rails5/README.md +24 -0
- data/example/rails5/Rakefile +6 -0
- data/example/rails5/app/channels/application_cable/channel.rb +4 -0
- data/example/rails5/app/channels/application_cable/connection.rb +4 -0
- data/example/rails5/app/controllers/application_controller.rb +2 -0
- data/example/rails5/app/controllers/books_controller.rb +53 -0
- data/example/rails5/app/controllers/concerns/.keep +0 -0
- data/example/rails5/app/controllers/people_controller.rb +55 -0
- data/example/rails5/app/jobs/application_job.rb +2 -0
- data/example/rails5/app/mailers/application_mailer.rb +4 -0
- data/example/rails5/app/models/application_record.rb +3 -0
- data/example/rails5/app/models/book.rb +2 -0
- data/example/rails5/app/models/concerns/.keep +0 -0
- data/example/rails5/app/models/person.rb +2 -0
- data/example/rails5/app/parameters/column.yml +11 -0
- data/example/rails5/app/views/layouts/mailer.html.erb +13 -0
- data/example/rails5/app/views/layouts/mailer.text.erb +1 -0
- data/example/rails5/bin/bundle +3 -0
- data/example/rails5/bin/rails +9 -0
- data/example/rails5/bin/rake +9 -0
- data/example/rails5/bin/setup +33 -0
- data/example/rails5/bin/spring +17 -0
- data/example/rails5/bin/update +28 -0
- data/example/rails5/config/application.rb +35 -0
- data/example/rails5/config/boot.rb +4 -0
- data/example/rails5/config/cable.yml +10 -0
- data/example/rails5/config/credentials.yml.enc +1 -0
- data/example/rails5/config/database.yml +25 -0
- data/example/rails5/config/environment.rb +5 -0
- data/example/rails5/config/environments/development.rb +54 -0
- data/example/rails5/config/environments/production.rb +85 -0
- data/example/rails5/config/environments/test.rb +46 -0
- data/example/rails5/config/initializers/application_controller_renderer.rb +8 -0
- data/example/rails5/config/initializers/backtrace_silencers.rb +7 -0
- data/example/rails5/config/initializers/cors.rb +16 -0
- data/example/rails5/config/initializers/filter_parameter_logging.rb +4 -0
- data/example/rails5/config/initializers/inflections.rb +16 -0
- data/example/rails5/config/initializers/mime_types.rb +4 -0
- data/example/rails5/config/initializers/wrap_parameters.rb +14 -0
- data/example/rails5/config/locales/en.yml +33 -0
- data/example/rails5/config/puma.rb +37 -0
- data/example/rails5/config/routes.rb +5 -0
- data/example/rails5/config/spring.rb +6 -0
- data/example/rails5/config/storage.yml +34 -0
- data/example/rails5/config.ru +5 -0
- data/example/rails5/db/migrate/20211031043641_create_people.rb +11 -0
- data/example/rails5/db/migrate/20211031052741_create_books.rb +11 -0
- data/example/rails5/db/schema.rb +31 -0
- data/example/rails5/db/seeds.rb +7 -0
- data/example/rails5/lib/tasks/.keep +0 -0
- data/example/rails5/log/.keep +0 -0
- data/example/rails5/public/robots.txt +1 -0
- data/example/rails5/storage/.keep +0 -0
- data/example/rails5/test/controllers/.keep +0 -0
- data/example/rails5/test/controllers/books_controller_test.rb +50 -0
- data/example/rails5/test/controllers/people_controller_test.rb +50 -0
- data/example/rails5/test/fixtures/.keep +0 -0
- data/example/rails5/test/fixtures/books.yml +10 -0
- data/example/rails5/test/fixtures/files/.keep +0 -0
- data/example/rails5/test/fixtures/people.yml +10 -0
- data/example/rails5/test/integration/.keep +0 -0
- data/example/rails5/test/test_helper.rb +10 -0
- data/example/rails5/tmp/.keep +0 -0
- data/lib/yamls/config.rb +1 -0
- data/lib/yamls/parameters.rb +1 -0
- data/lib/yamls/support/parameters.rb +19 -0
- data/lib/yamls/support.rb +8 -0
- data/lib/yamls/version.rb +1 -1
- data/lib/yamls/yaml_load.rb +1 -0
- data/lib/yamls.rb +3 -2
- data/yamls.gemspec +1 -1
- metadata +70 -2
data/lib/yamls/version.rb
CHANGED
data/lib/yamls/yaml_load.rb
CHANGED
data/lib/yamls.rb
CHANGED
data/yamls.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
|
|
11
11
|
spec.summary = "Managed Strong Parameters with yaml file."
|
|
12
12
|
spec.homepage = "https://github.com/TsuMakoto/yamls"
|
|
13
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.5")
|
|
14
14
|
|
|
15
15
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
16
16
|
spec.metadata["source_code_uri"] = "https://github.com/TsuMakoto/yamls"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yamls
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TsuMakoto
|
|
@@ -28,9 +28,77 @@ files:
|
|
|
28
28
|
- Rakefile
|
|
29
29
|
- bin/console
|
|
30
30
|
- bin/setup
|
|
31
|
+
- example/rails5/.gitignore
|
|
32
|
+
- example/rails5/.ruby-version
|
|
33
|
+
- example/rails5/Gemfile
|
|
34
|
+
- example/rails5/README.md
|
|
35
|
+
- example/rails5/Rakefile
|
|
36
|
+
- example/rails5/app/channels/application_cable/channel.rb
|
|
37
|
+
- example/rails5/app/channels/application_cable/connection.rb
|
|
38
|
+
- example/rails5/app/controllers/application_controller.rb
|
|
39
|
+
- example/rails5/app/controllers/books_controller.rb
|
|
40
|
+
- example/rails5/app/controllers/concerns/.keep
|
|
41
|
+
- example/rails5/app/controllers/people_controller.rb
|
|
42
|
+
- example/rails5/app/jobs/application_job.rb
|
|
43
|
+
- example/rails5/app/mailers/application_mailer.rb
|
|
44
|
+
- example/rails5/app/models/application_record.rb
|
|
45
|
+
- example/rails5/app/models/book.rb
|
|
46
|
+
- example/rails5/app/models/concerns/.keep
|
|
47
|
+
- example/rails5/app/models/person.rb
|
|
48
|
+
- example/rails5/app/parameters/column.yml
|
|
49
|
+
- example/rails5/app/views/layouts/mailer.html.erb
|
|
50
|
+
- example/rails5/app/views/layouts/mailer.text.erb
|
|
51
|
+
- example/rails5/bin/bundle
|
|
52
|
+
- example/rails5/bin/rails
|
|
53
|
+
- example/rails5/bin/rake
|
|
54
|
+
- example/rails5/bin/setup
|
|
55
|
+
- example/rails5/bin/spring
|
|
56
|
+
- example/rails5/bin/update
|
|
57
|
+
- example/rails5/config.ru
|
|
58
|
+
- example/rails5/config/application.rb
|
|
59
|
+
- example/rails5/config/boot.rb
|
|
60
|
+
- example/rails5/config/cable.yml
|
|
61
|
+
- example/rails5/config/credentials.yml.enc
|
|
62
|
+
- example/rails5/config/database.yml
|
|
63
|
+
- example/rails5/config/environment.rb
|
|
64
|
+
- example/rails5/config/environments/development.rb
|
|
65
|
+
- example/rails5/config/environments/production.rb
|
|
66
|
+
- example/rails5/config/environments/test.rb
|
|
67
|
+
- example/rails5/config/initializers/application_controller_renderer.rb
|
|
68
|
+
- example/rails5/config/initializers/backtrace_silencers.rb
|
|
69
|
+
- example/rails5/config/initializers/cors.rb
|
|
70
|
+
- example/rails5/config/initializers/filter_parameter_logging.rb
|
|
71
|
+
- example/rails5/config/initializers/inflections.rb
|
|
72
|
+
- example/rails5/config/initializers/mime_types.rb
|
|
73
|
+
- example/rails5/config/initializers/wrap_parameters.rb
|
|
74
|
+
- example/rails5/config/locales/en.yml
|
|
75
|
+
- example/rails5/config/puma.rb
|
|
76
|
+
- example/rails5/config/routes.rb
|
|
77
|
+
- example/rails5/config/spring.rb
|
|
78
|
+
- example/rails5/config/storage.yml
|
|
79
|
+
- example/rails5/db/migrate/20211031043641_create_people.rb
|
|
80
|
+
- example/rails5/db/migrate/20211031052741_create_books.rb
|
|
81
|
+
- example/rails5/db/schema.rb
|
|
82
|
+
- example/rails5/db/seeds.rb
|
|
83
|
+
- example/rails5/lib/tasks/.keep
|
|
84
|
+
- example/rails5/log/.keep
|
|
85
|
+
- example/rails5/public/robots.txt
|
|
86
|
+
- example/rails5/storage/.keep
|
|
87
|
+
- example/rails5/test/controllers/.keep
|
|
88
|
+
- example/rails5/test/controllers/books_controller_test.rb
|
|
89
|
+
- example/rails5/test/controllers/people_controller_test.rb
|
|
90
|
+
- example/rails5/test/fixtures/.keep
|
|
91
|
+
- example/rails5/test/fixtures/books.yml
|
|
92
|
+
- example/rails5/test/fixtures/files/.keep
|
|
93
|
+
- example/rails5/test/fixtures/people.yml
|
|
94
|
+
- example/rails5/test/integration/.keep
|
|
95
|
+
- example/rails5/test/test_helper.rb
|
|
96
|
+
- example/rails5/tmp/.keep
|
|
31
97
|
- lib/yamls.rb
|
|
32
98
|
- lib/yamls/config.rb
|
|
33
99
|
- lib/yamls/parameters.rb
|
|
100
|
+
- lib/yamls/support.rb
|
|
101
|
+
- lib/yamls/support/parameters.rb
|
|
34
102
|
- lib/yamls/version.rb
|
|
35
103
|
- lib/yamls/yaml_load.rb
|
|
36
104
|
- yamls.gemspec
|
|
@@ -47,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
47
115
|
requirements:
|
|
48
116
|
- - ">="
|
|
49
117
|
- !ruby/object:Gem::Version
|
|
50
|
-
version: 2.
|
|
118
|
+
version: '2.5'
|
|
51
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
120
|
requirements:
|
|
53
121
|
- - ">="
|