pan_domain 0.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.rspec +3 -0
  4. data/Gemfile +6 -0
  5. data/Gemfile.lock +160 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +74 -0
  8. data/Rakefile +21 -0
  9. data/app/models/pan_domain/human/blood_classification_system.rb +35 -0
  10. data/app/models/pan_domain/human/blood_group_name.rb +25 -0
  11. data/bin/console +14 -0
  12. data/bin/pan_domain +4 -0
  13. data/bin/rails +25 -0
  14. data/bin/setup +8 -0
  15. data/db/human_domain/seeds.rb +28 -0
  16. data/db/migrate/human_domain/0001_create_blood_classification_systems.rb +17 -0
  17. data/db/migrate/human_domain/0002_create_blood_group_names.rb +20 -0
  18. data/db/seeds.rb +21 -0
  19. data/lib/generators/human_domain/generate/migrations_generator.rb +49 -0
  20. data/lib/pan_domain.rb +6 -0
  21. data/lib/pan_domain/cli.rb +53 -0
  22. data/lib/pan_domain/engine.rb +5 -0
  23. data/lib/pan_domain/human/engine.rb +11 -0
  24. data/lib/pan_domain/version.rb +3 -0
  25. data/lib/tasks/human_domain.rake +45 -0
  26. data/lib/tasks/pan_domain.rake +23 -0
  27. data/pan_domain.gemspec +44 -0
  28. data/spec/lib/generators/test_generate_migrations_generator.rb +48 -0
  29. data/spec/lib/pan_domain/cli_spec.rb +53 -0
  30. data/spec/pan_domain_spec.rb +5 -0
  31. data/spec/sample_app/app/channels/application_cable/channel.rb +4 -0
  32. data/spec/sample_app/app/channels/application_cable/connection.rb +4 -0
  33. data/spec/sample_app/app/controllers/application_controller.rb +2 -0
  34. data/spec/sample_app/app/helpers/application_helper.rb +2 -0
  35. data/spec/sample_app/app/jobs/application_job.rb +2 -0
  36. data/spec/sample_app/app/mailers/application_mailer.rb +4 -0
  37. data/spec/sample_app/app/models/application_record.rb +3 -0
  38. data/spec/sample_app/config/application.rb +29 -0
  39. data/spec/sample_app/config/boot.rb +5 -0
  40. data/spec/sample_app/config/environment.rb +5 -0
  41. data/spec/sample_app/config/environments/development.rb +61 -0
  42. data/spec/sample_app/config/environments/production.rb +94 -0
  43. data/spec/sample_app/config/environments/test.rb +46 -0
  44. data/spec/sample_app/config/initializers/application_controller_renderer.rb +8 -0
  45. data/spec/sample_app/config/initializers/assets.rb +14 -0
  46. data/spec/sample_app/config/initializers/backtrace_silencers.rb +7 -0
  47. data/spec/sample_app/config/initializers/content_security_policy.rb +25 -0
  48. data/spec/sample_app/config/initializers/cookies_serializer.rb +5 -0
  49. data/spec/sample_app/config/initializers/filter_parameter_logging.rb +4 -0
  50. data/spec/sample_app/config/initializers/inflections.rb +16 -0
  51. data/spec/sample_app/config/initializers/mime_types.rb +4 -0
  52. data/spec/sample_app/config/initializers/wrap_parameters.rb +14 -0
  53. data/spec/sample_app/config/puma.rb +34 -0
  54. data/spec/sample_app/config/routes.rb +3 -0
  55. data/spec/sample_app/config/spring.rb +6 -0
  56. data/spec/sample_app/db/schema.rb +18 -0
  57. data/spec/sample_app/db/seeds.rb +1 -0
  58. data/spec/sample_app/spec/lib/tasks/human_domain_spec.rb +89 -0
  59. data/spec/sample_app/spec/lib/tasks/pan_domain_spec.rb +38 -0
  60. data/spec/sample_app/spec/models/pan_domain/human/blood_classification_system_spec.rb +46 -0
  61. data/spec/sample_app/spec/models/pan_domain/human/blood_group_name_spec.rb +39 -0
  62. data/spec/sample_app/spec/rails_helper.rb +98 -0
  63. data/spec/sample_app/spec/spec_helper.rb +96 -0
  64. data/spec/spec_helper.rb +97 -0
  65. metadata +244 -0
metadata ADDED
@@ -0,0 +1,244 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pan_domain
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0.rc1
5
+ platform: ruby
6
+ authors:
7
+ - Yosua Jaya Candra
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-10-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '5.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '5.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.16'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pg
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.1'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.8'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.8'
83
+ - !ruby/object:Gem::Dependency
84
+ name: shoulda-matchers
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 4.0.0.rc1
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 4.0.0.rc1
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry-byebug
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.6'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.6'
111
+ description: A gem which create common tables and data which prioritize on data integrity.
112
+ email:
113
+ - yosuajayacandra@gmail.com
114
+ executables:
115
+ - pan_domain
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".gitignore"
120
+ - ".rspec"
121
+ - Gemfile
122
+ - Gemfile.lock
123
+ - LICENSE.txt
124
+ - README.md
125
+ - Rakefile
126
+ - app/models/pan_domain/human/blood_classification_system.rb
127
+ - app/models/pan_domain/human/blood_group_name.rb
128
+ - bin/console
129
+ - bin/pan_domain
130
+ - bin/rails
131
+ - bin/setup
132
+ - db/human_domain/seeds.rb
133
+ - db/migrate/human_domain/0001_create_blood_classification_systems.rb
134
+ - db/migrate/human_domain/0002_create_blood_group_names.rb
135
+ - db/seeds.rb
136
+ - lib/generators/human_domain/generate/migrations_generator.rb
137
+ - lib/pan_domain.rb
138
+ - lib/pan_domain/cli.rb
139
+ - lib/pan_domain/engine.rb
140
+ - lib/pan_domain/human/engine.rb
141
+ - lib/pan_domain/version.rb
142
+ - lib/tasks/human_domain.rake
143
+ - lib/tasks/pan_domain.rake
144
+ - pan_domain.gemspec
145
+ - spec/lib/generators/test_generate_migrations_generator.rb
146
+ - spec/lib/pan_domain/cli_spec.rb
147
+ - spec/pan_domain_spec.rb
148
+ - spec/sample_app/app/channels/application_cable/channel.rb
149
+ - spec/sample_app/app/channels/application_cable/connection.rb
150
+ - spec/sample_app/app/controllers/application_controller.rb
151
+ - spec/sample_app/app/helpers/application_helper.rb
152
+ - spec/sample_app/app/jobs/application_job.rb
153
+ - spec/sample_app/app/mailers/application_mailer.rb
154
+ - spec/sample_app/app/models/application_record.rb
155
+ - spec/sample_app/config/application.rb
156
+ - spec/sample_app/config/boot.rb
157
+ - spec/sample_app/config/environment.rb
158
+ - spec/sample_app/config/environments/development.rb
159
+ - spec/sample_app/config/environments/production.rb
160
+ - spec/sample_app/config/environments/test.rb
161
+ - spec/sample_app/config/initializers/application_controller_renderer.rb
162
+ - spec/sample_app/config/initializers/assets.rb
163
+ - spec/sample_app/config/initializers/backtrace_silencers.rb
164
+ - spec/sample_app/config/initializers/content_security_policy.rb
165
+ - spec/sample_app/config/initializers/cookies_serializer.rb
166
+ - spec/sample_app/config/initializers/filter_parameter_logging.rb
167
+ - spec/sample_app/config/initializers/inflections.rb
168
+ - spec/sample_app/config/initializers/mime_types.rb
169
+ - spec/sample_app/config/initializers/wrap_parameters.rb
170
+ - spec/sample_app/config/puma.rb
171
+ - spec/sample_app/config/routes.rb
172
+ - spec/sample_app/config/spring.rb
173
+ - spec/sample_app/db/schema.rb
174
+ - spec/sample_app/db/seeds.rb
175
+ - spec/sample_app/spec/lib/tasks/human_domain_spec.rb
176
+ - spec/sample_app/spec/lib/tasks/pan_domain_spec.rb
177
+ - spec/sample_app/spec/models/pan_domain/human/blood_classification_system_spec.rb
178
+ - spec/sample_app/spec/models/pan_domain/human/blood_group_name_spec.rb
179
+ - spec/sample_app/spec/rails_helper.rb
180
+ - spec/sample_app/spec/spec_helper.rb
181
+ - spec/spec_helper.rb
182
+ homepage: https://github.com/pangrams/pan_domain
183
+ licenses:
184
+ - MIT
185
+ metadata:
186
+ allowed_push_host: https://rubygems.org
187
+ post_install_message:
188
+ rdoc_options: []
189
+ require_paths:
190
+ - lib
191
+ required_ruby_version: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
196
+ required_rubygems_version: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">"
199
+ - !ruby/object:Gem::Version
200
+ version: 1.3.1
201
+ requirements: []
202
+ rubyforge_project:
203
+ rubygems_version: 2.7.7
204
+ signing_key:
205
+ specification_version: 4
206
+ summary: A tool for create common tables powered by ActiveRecord
207
+ test_files:
208
+ - spec/pan_domain_spec.rb
209
+ - spec/sample_app/spec/rails_helper.rb
210
+ - spec/sample_app/spec/models/pan_domain/human/blood_group_name_spec.rb
211
+ - spec/sample_app/spec/models/pan_domain/human/blood_classification_system_spec.rb
212
+ - spec/sample_app/spec/lib/tasks/pan_domain_spec.rb
213
+ - spec/sample_app/spec/lib/tasks/human_domain_spec.rb
214
+ - spec/sample_app/spec/spec_helper.rb
215
+ - spec/sample_app/config/spring.rb
216
+ - spec/sample_app/config/routes.rb
217
+ - spec/sample_app/config/application.rb
218
+ - spec/sample_app/config/initializers/cookies_serializer.rb
219
+ - spec/sample_app/config/initializers/inflections.rb
220
+ - spec/sample_app/config/initializers/content_security_policy.rb
221
+ - spec/sample_app/config/initializers/application_controller_renderer.rb
222
+ - spec/sample_app/config/initializers/wrap_parameters.rb
223
+ - spec/sample_app/config/initializers/filter_parameter_logging.rb
224
+ - spec/sample_app/config/initializers/mime_types.rb
225
+ - spec/sample_app/config/initializers/assets.rb
226
+ - spec/sample_app/config/initializers/backtrace_silencers.rb
227
+ - spec/sample_app/config/boot.rb
228
+ - spec/sample_app/config/environments/test.rb
229
+ - spec/sample_app/config/environments/production.rb
230
+ - spec/sample_app/config/environments/development.rb
231
+ - spec/sample_app/config/environment.rb
232
+ - spec/sample_app/config/puma.rb
233
+ - spec/sample_app/db/seeds.rb
234
+ - spec/sample_app/db/schema.rb
235
+ - spec/sample_app/app/controllers/application_controller.rb
236
+ - spec/sample_app/app/mailers/application_mailer.rb
237
+ - spec/sample_app/app/channels/application_cable/channel.rb
238
+ - spec/sample_app/app/channels/application_cable/connection.rb
239
+ - spec/sample_app/app/helpers/application_helper.rb
240
+ - spec/sample_app/app/jobs/application_job.rb
241
+ - spec/sample_app/app/models/application_record.rb
242
+ - spec/lib/generators/test_generate_migrations_generator.rb
243
+ - spec/lib/pan_domain/cli_spec.rb
244
+ - spec/spec_helper.rb