dry-web-web_pipe 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +37 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +31 -0
  5. data/CHANGELOG.md +283 -0
  6. data/CONTRIBUTING.md +29 -0
  7. data/Gemfile +36 -0
  8. data/LICENSE +22 -0
  9. data/README.md +72 -0
  10. data/Rakefile +6 -0
  11. data/dry-web-web_pipe.gemspec +33 -0
  12. data/exe/dry-web-web_pipe +6 -0
  13. data/lib/dry/web/web_pipe/cli/generate.rb +18 -0
  14. data/lib/dry/web/web_pipe/cli.rb +26 -0
  15. data/lib/dry/web/web_pipe/generate.rb +52 -0
  16. data/lib/dry/web/web_pipe/generators/abstract_generator.rb +54 -0
  17. data/lib/dry/web/web_pipe/generators/abstract_project.rb +116 -0
  18. data/lib/dry/web/web_pipe/generators/flat_project.rb +43 -0
  19. data/lib/dry/web/web_pipe/generators/inflections.rb +21 -0
  20. data/lib/dry/web/web_pipe/generators/sub_app.rb +68 -0
  21. data/lib/dry/web/web_pipe/generators/umbrella_project.rb +29 -0
  22. data/lib/dry/web/web_pipe/templates/.env.test.tt +1 -0
  23. data/lib/dry/web/web_pipe/templates/.env.tt +2 -0
  24. data/lib/dry/web/web_pipe/templates/.gitignore.tt +11 -0
  25. data/lib/dry/web/web_pipe/templates/.keep +0 -0
  26. data/lib/dry/web/web_pipe/templates/.rspec +2 -0
  27. data/lib/dry/web/web_pipe/templates/Gemfile +47 -0
  28. data/lib/dry/web/web_pipe/templates/README.md.tt +15 -0
  29. data/lib/dry/web/web_pipe/templates/Rakefile.tt +109 -0
  30. data/lib/dry/web/web_pipe/templates/application.html.slim +3 -0
  31. data/lib/dry/web/web_pipe/templates/config.ru.tt +7 -0
  32. data/lib/dry/web/web_pipe/templates/console.tt +7 -0
  33. data/lib/dry/web/web_pipe/templates/container.rb.tt +17 -0
  34. data/lib/dry/web/web_pipe/templates/flat_project/boot.rb.tt +12 -0
  35. data/lib/dry/web/web_pipe/templates/flat_project/root.rb.tt +16 -0
  36. data/lib/dry/web/web_pipe/templates/flat_project/router.rb.tt +8 -0
  37. data/lib/dry/web/web_pipe/templates/flat_project/web.rb.tt +52 -0
  38. data/lib/dry/web/web_pipe/templates/import.rb.tt +5 -0
  39. data/lib/dry/web/web_pipe/templates/monitor.rb.tt +10 -0
  40. data/lib/dry/web/web_pipe/templates/operation.rb.tt +11 -0
  41. data/lib/dry/web/web_pipe/templates/persistence.rb.tt +36 -0
  42. data/lib/dry/web/web_pipe/templates/repository.rb.tt +11 -0
  43. data/lib/dry/web/web_pipe/templates/sample_data.rb +1 -0
  44. data/lib/dry/web/web_pipe/templates/seed.rb +1 -0
  45. data/lib/dry/web/web_pipe/templates/settings.rb.tt +10 -0
  46. data/lib/dry/web/web_pipe/templates/setup +7 -0
  47. data/lib/dry/web/web_pipe/templates/spec/db_spec_helper.rb.tt +23 -0
  48. data/lib/dry/web/web_pipe/templates/spec/factories/example.rb +9 -0
  49. data/lib/dry/web/web_pipe/templates/spec/spec_helper.rb.tt +61 -0
  50. data/lib/dry/web/web_pipe/templates/spec/support/db/factory.rb +8 -0
  51. data/lib/dry/web/web_pipe/templates/spec/support/db/helpers.rb.tt +13 -0
  52. data/lib/dry/web/web_pipe/templates/spec/support/web/helpers.rb.tt +9 -0
  53. data/lib/dry/web/web_pipe/templates/spec/web_spec_helper.rb +37 -0
  54. data/lib/dry/web/web_pipe/templates/subapp/boot.rb.tt +5 -0
  55. data/lib/dry/web/web_pipe/templates/subapp/container.rb.tt +21 -0
  56. data/lib/dry/web/web_pipe/templates/subapp/import.rb.tt +7 -0
  57. data/lib/dry/web/web_pipe/templates/subapp/root.rb.tt +18 -0
  58. data/lib/dry/web/web_pipe/templates/subapp/router.rb.tt +10 -0
  59. data/lib/dry/web/web_pipe/templates/subapp/view.rb.tt +17 -0
  60. data/lib/dry/web/web_pipe/templates/subapp/view_context.rb.tt +8 -0
  61. data/lib/dry/web/web_pipe/templates/subapp/web.rb.tt +54 -0
  62. data/lib/dry/web/web_pipe/templates/subapp/welcome.rb.tt +13 -0
  63. data/lib/dry/web/web_pipe/templates/types.rb +6 -0
  64. data/lib/dry/web/web_pipe/templates/umbrella_project/boot.rb.tt +18 -0
  65. data/lib/dry/web/web_pipe/templates/umbrella_project/router.rb.tt +8 -0
  66. data/lib/dry/web/web_pipe/templates/view.rb.tt +15 -0
  67. data/lib/dry/web/web_pipe/templates/view_context.rb.tt +31 -0
  68. data/lib/dry/web/web_pipe/templates/welcome.html.slim +1 -0
  69. data/lib/dry/web/web_pipe/templates/welcome.rb.tt +11 -0
  70. data/lib/dry/web/web_pipe/version.rb +7 -0
  71. data/lib/dry-web-web_pipe.rb +1 -0
  72. data/script/ci +67 -0
  73. data/script/setup +47 -0
  74. data/script/teardown +42 -0
  75. data/spec/integration/new_app_spec.rb +21 -0
  76. data/spec/spec_helper.rb +22 -0
  77. data/spec/support/app.rb +64 -0
  78. data/spec/support/bundler.rb +113 -0
  79. data/spec/support/cli.rb +47 -0
  80. data/spec/support/directories.rb +37 -0
  81. data/spec/support/env.rb +84 -0
  82. data/spec/support/files.rb +59 -0
  83. data/spec/support/project.rb +60 -0
  84. data/spec/support/requests.rb +5 -0
  85. data/spec/support/silently.rb +28 -0
  86. data/spec/unit/generators/inflections_spec.rb +33 -0
  87. metadata +268 -0
metadata ADDED
@@ -0,0 +1,268 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dry-web-web_pipe
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Marc Busqué
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-08-31 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: dry-configurable
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: inflecto
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: thor
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.19'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.19'
55
+ - !ruby/object:Gem::Dependency
56
+ name: aruba
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '1.7'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '1.7'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '11.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '11.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.4'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.4'
111
+ - !ruby/object:Gem::Dependency
112
+ name: capybara
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '2.5'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '2.5'
125
+ - !ruby/object:Gem::Dependency
126
+ name: waitutil
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: web_pipe integration for dry-web apps
140
+ email:
141
+ - waiting-for-dev@lamarciana.com
142
+ executables:
143
+ - dry-web-web_pipe
144
+ extensions: []
145
+ extra_rdoc_files: []
146
+ files:
147
+ - ".gitignore"
148
+ - ".rspec"
149
+ - ".travis.yml"
150
+ - CHANGELOG.md
151
+ - CONTRIBUTING.md
152
+ - Gemfile
153
+ - LICENSE
154
+ - README.md
155
+ - Rakefile
156
+ - dry-web-web_pipe.gemspec
157
+ - exe/dry-web-web_pipe
158
+ - lib/dry-web-web_pipe.rb
159
+ - lib/dry/web/web_pipe/cli.rb
160
+ - lib/dry/web/web_pipe/cli/generate.rb
161
+ - lib/dry/web/web_pipe/generate.rb
162
+ - lib/dry/web/web_pipe/generators/abstract_generator.rb
163
+ - lib/dry/web/web_pipe/generators/abstract_project.rb
164
+ - lib/dry/web/web_pipe/generators/flat_project.rb
165
+ - lib/dry/web/web_pipe/generators/inflections.rb
166
+ - lib/dry/web/web_pipe/generators/sub_app.rb
167
+ - lib/dry/web/web_pipe/generators/umbrella_project.rb
168
+ - lib/dry/web/web_pipe/templates/.env.test.tt
169
+ - lib/dry/web/web_pipe/templates/.env.tt
170
+ - lib/dry/web/web_pipe/templates/.gitignore.tt
171
+ - lib/dry/web/web_pipe/templates/.keep
172
+ - lib/dry/web/web_pipe/templates/.rspec
173
+ - lib/dry/web/web_pipe/templates/Gemfile
174
+ - lib/dry/web/web_pipe/templates/README.md.tt
175
+ - lib/dry/web/web_pipe/templates/Rakefile.tt
176
+ - lib/dry/web/web_pipe/templates/application.html.slim
177
+ - lib/dry/web/web_pipe/templates/config.ru.tt
178
+ - lib/dry/web/web_pipe/templates/console.tt
179
+ - lib/dry/web/web_pipe/templates/container.rb.tt
180
+ - lib/dry/web/web_pipe/templates/flat_project/boot.rb.tt
181
+ - lib/dry/web/web_pipe/templates/flat_project/root.rb.tt
182
+ - lib/dry/web/web_pipe/templates/flat_project/router.rb.tt
183
+ - lib/dry/web/web_pipe/templates/flat_project/web.rb.tt
184
+ - lib/dry/web/web_pipe/templates/import.rb.tt
185
+ - lib/dry/web/web_pipe/templates/monitor.rb.tt
186
+ - lib/dry/web/web_pipe/templates/operation.rb.tt
187
+ - lib/dry/web/web_pipe/templates/persistence.rb.tt
188
+ - lib/dry/web/web_pipe/templates/repository.rb.tt
189
+ - lib/dry/web/web_pipe/templates/sample_data.rb
190
+ - lib/dry/web/web_pipe/templates/seed.rb
191
+ - lib/dry/web/web_pipe/templates/settings.rb.tt
192
+ - lib/dry/web/web_pipe/templates/setup
193
+ - lib/dry/web/web_pipe/templates/spec/db_spec_helper.rb.tt
194
+ - lib/dry/web/web_pipe/templates/spec/factories/example.rb
195
+ - lib/dry/web/web_pipe/templates/spec/spec_helper.rb.tt
196
+ - lib/dry/web/web_pipe/templates/spec/support/db/factory.rb
197
+ - lib/dry/web/web_pipe/templates/spec/support/db/helpers.rb.tt
198
+ - lib/dry/web/web_pipe/templates/spec/support/web/helpers.rb.tt
199
+ - lib/dry/web/web_pipe/templates/spec/web_spec_helper.rb
200
+ - lib/dry/web/web_pipe/templates/subapp/boot.rb.tt
201
+ - lib/dry/web/web_pipe/templates/subapp/container.rb.tt
202
+ - lib/dry/web/web_pipe/templates/subapp/import.rb.tt
203
+ - lib/dry/web/web_pipe/templates/subapp/root.rb.tt
204
+ - lib/dry/web/web_pipe/templates/subapp/router.rb.tt
205
+ - lib/dry/web/web_pipe/templates/subapp/view.rb.tt
206
+ - lib/dry/web/web_pipe/templates/subapp/view_context.rb.tt
207
+ - lib/dry/web/web_pipe/templates/subapp/web.rb.tt
208
+ - lib/dry/web/web_pipe/templates/subapp/welcome.rb.tt
209
+ - lib/dry/web/web_pipe/templates/types.rb
210
+ - lib/dry/web/web_pipe/templates/umbrella_project/boot.rb.tt
211
+ - lib/dry/web/web_pipe/templates/umbrella_project/router.rb.tt
212
+ - lib/dry/web/web_pipe/templates/view.rb.tt
213
+ - lib/dry/web/web_pipe/templates/view_context.rb.tt
214
+ - lib/dry/web/web_pipe/templates/welcome.html.slim
215
+ - lib/dry/web/web_pipe/templates/welcome.rb.tt
216
+ - lib/dry/web/web_pipe/version.rb
217
+ - script/ci
218
+ - script/setup
219
+ - script/teardown
220
+ - spec/integration/new_app_spec.rb
221
+ - spec/spec_helper.rb
222
+ - spec/support/app.rb
223
+ - spec/support/bundler.rb
224
+ - spec/support/cli.rb
225
+ - spec/support/directories.rb
226
+ - spec/support/env.rb
227
+ - spec/support/files.rb
228
+ - spec/support/project.rb
229
+ - spec/support/requests.rb
230
+ - spec/support/silently.rb
231
+ - spec/unit/generators/inflections_spec.rb
232
+ homepage: https://github.com/waiting-for-dev/dry-web-web_pipe
233
+ licenses:
234
+ - MIT
235
+ metadata: {}
236
+ post_install_message:
237
+ rdoc_options: []
238
+ require_paths:
239
+ - lib
240
+ required_ruby_version: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: 2.4.0
245
+ required_rubygems_version: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ version: '0'
250
+ requirements: []
251
+ rubyforge_project:
252
+ rubygems_version: 2.7.8
253
+ signing_key:
254
+ specification_version: 4
255
+ summary: web_pipe integration for dry-web apps
256
+ test_files:
257
+ - spec/integration/new_app_spec.rb
258
+ - spec/spec_helper.rb
259
+ - spec/support/app.rb
260
+ - spec/support/bundler.rb
261
+ - spec/support/cli.rb
262
+ - spec/support/directories.rb
263
+ - spec/support/env.rb
264
+ - spec/support/files.rb
265
+ - spec/support/project.rb
266
+ - spec/support/requests.rb
267
+ - spec/support/silently.rb
268
+ - spec/unit/generators/inflections_spec.rb