dry-web-roda 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +7 -1
  3. data/.rspec +1 -2
  4. data/.travis.yml +14 -8
  5. data/CHANGELOG.md +22 -0
  6. data/Gemfile +26 -15
  7. data/README.md +22 -4
  8. data/dry-web-roda.gemspec +3 -1
  9. data/lib/dry/web/roda/application.rb +3 -3
  10. data/lib/dry/web/roda/cli.rb +9 -2
  11. data/lib/dry/web/roda/cli/generate.rb +4 -4
  12. data/lib/dry/web/roda/generators/flat_project.rb +31 -0
  13. data/lib/dry/web/roda/generators/{app.rb → sub_app.rb} +2 -2
  14. data/lib/dry/web/roda/generators/{umbrella.rb → umbrella_project.rb} +6 -6
  15. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/Gemfile +3 -3
  16. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/README.md.tt +0 -0
  17. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/Rakefile.tt +0 -0
  18. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/bin/console.tt +0 -0
  19. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/bin/setup +0 -0
  20. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/config.ru.tt +0 -0
  21. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/config/settings.yml.tt +0 -0
  22. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/db/sample_data.rb +0 -0
  23. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/db/seed.rb +0 -0
  24. data/lib/dry/web/roda/skeletons/{app → flat_project}/lib/__underscored_app_name__/.keep +0 -0
  25. data/lib/dry/web/roda/skeletons/{app → flat_project}/lib/__underscored_app_name__/views/welcome.rb.tt +0 -0
  26. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/lib/persistence/commands/.keep +0 -0
  27. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/lib/persistence/relations/.keep +0 -0
  28. data/lib/dry/web/roda/skeletons/flat_project/lib/rom/instrumentation.rb.tt +22 -0
  29. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/lib/types.rb +0 -0
  30. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/log/.keep +0 -0
  31. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/spec/app_helper.rb +0 -0
  32. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/spec/db_helper.rb.tt +0 -0
  33. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/spec/spec_helper.rb.tt +0 -0
  34. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/spec/support/db/test_factories.rb +0 -0
  35. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/spec/support/test_helpers.rb.tt +0 -0
  36. data/lib/dry/web/roda/skeletons/flat_project/system/__underscored_app_name__/application.rb.tt +29 -0
  37. data/lib/dry/web/roda/skeletons/flat_project/system/__underscored_app_name__/container.rb.tt +23 -0
  38. data/lib/dry/web/roda/skeletons/{app → flat_project}/system/__underscored_app_name__/import.rb.tt +0 -0
  39. data/lib/dry/web/roda/skeletons/{umbrella/lib → flat_project/system}/__underscored_app_name__/repository.rb.tt +0 -0
  40. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/system/__underscored_app_name__/settings.rb.tt +0 -0
  41. data/lib/dry/web/roda/skeletons/flat_project/system/__underscored_app_name__/transactions.rb.tt +34 -0
  42. data/lib/dry/web/roda/skeletons/{umbrella/lib → flat_project/system}/__underscored_app_name__/view_context.rb.tt +0 -0
  43. data/lib/dry/web/roda/skeletons/{app → flat_project}/system/__underscored_app_name__/view_controller.rb.tt +0 -0
  44. data/lib/dry/web/roda/skeletons/flat_project/system/boot.rb.tt +11 -0
  45. data/lib/dry/web/roda/skeletons/flat_project/system/boot/monitor.rb.tt +10 -0
  46. data/lib/dry/web/roda/skeletons/{umbrella → flat_project}/system/boot/rom.rb.tt +0 -0
  47. data/lib/dry/web/roda/skeletons/{app → flat_project}/system/boot/view.rb.tt +0 -0
  48. data/lib/dry/web/roda/skeletons/flat_project/transactions/example.rb.tt +10 -0
  49. data/lib/dry/web/roda/skeletons/{app → flat_project}/web/routes/example.rb.tt +0 -0
  50. data/lib/dry/web/roda/skeletons/{app → flat_project}/web/templates/layouts/application.html.slim +0 -0
  51. data/lib/dry/web/roda/skeletons/{app → flat_project}/web/templates/welcome.html.slim +0 -0
  52. data/lib/dry/web/roda/skeletons/sub_app/lib/__underscored_app_name__/.keep +0 -0
  53. data/lib/dry/web/roda/skeletons/sub_app/lib/__underscored_app_name__/views/welcome.rb.tt +11 -0
  54. data/lib/dry/web/roda/skeletons/{app → sub_app}/system/__underscored_app_name__/application.rb.tt +1 -1
  55. data/lib/dry/web/roda/skeletons/{app → sub_app}/system/__underscored_app_name__/container.rb.tt +2 -0
  56. data/lib/dry/web/roda/skeletons/{umbrella → sub_app}/system/__underscored_app_name__/import.rb.tt +0 -0
  57. data/lib/dry/web/roda/skeletons/{app → sub_app}/system/__underscored_app_name__/transactions.rb.tt +0 -0
  58. data/lib/dry/web/roda/skeletons/{app → sub_app}/system/__underscored_app_name__/view_context.rb.tt +0 -0
  59. data/lib/dry/web/roda/skeletons/sub_app/system/__underscored_app_name__/view_controller.rb.tt +13 -0
  60. data/lib/dry/web/roda/skeletons/{app → sub_app}/system/boot.rb.tt +1 -2
  61. data/lib/dry/web/roda/skeletons/sub_app/system/boot/view.rb.tt +3 -0
  62. data/lib/dry/web/roda/skeletons/{app → sub_app}/transactions/example.rb.tt +0 -0
  63. data/lib/dry/web/roda/skeletons/sub_app/web/routes/example.rb.tt +7 -0
  64. data/lib/dry/web/roda/skeletons/sub_app/web/templates/layouts/application.html.slim +3 -0
  65. data/lib/dry/web/roda/skeletons/sub_app/web/templates/welcome.html.slim +1 -0
  66. data/lib/dry/web/roda/skeletons/{umbrella → umbrella_project}/.gitignore +0 -0
  67. data/lib/dry/web/roda/skeletons/umbrella_project/Gemfile +39 -0
  68. data/lib/dry/web/roda/skeletons/umbrella_project/README.md.tt +12 -0
  69. data/lib/dry/web/roda/skeletons/umbrella_project/Rakefile.tt +81 -0
  70. data/lib/dry/web/roda/skeletons/umbrella_project/bin/console.tt +7 -0
  71. data/lib/dry/web/roda/skeletons/umbrella_project/bin/setup +7 -0
  72. data/lib/dry/web/roda/skeletons/umbrella_project/config.ru.tt +2 -0
  73. data/lib/dry/web/roda/skeletons/umbrella_project/config/settings.yml.tt +8 -0
  74. data/lib/dry/web/roda/skeletons/umbrella_project/db/sample_data.rb +1 -0
  75. data/lib/dry/web/roda/skeletons/umbrella_project/db/seed.rb +1 -0
  76. data/lib/dry/web/roda/skeletons/umbrella_project/lib/__underscored_app_name__/repository.rb.tt +11 -0
  77. data/lib/dry/web/roda/skeletons/{umbrella → umbrella_project}/lib/__underscored_app_name__/transactions.rb.tt +0 -0
  78. data/lib/dry/web/roda/skeletons/umbrella_project/lib/__underscored_app_name__/view_context.rb.tt +39 -0
  79. data/lib/dry/web/roda/skeletons/umbrella_project/lib/persistence/commands/.keep +0 -0
  80. data/lib/dry/web/roda/skeletons/umbrella_project/lib/persistence/relations/.keep +0 -0
  81. data/lib/dry/web/roda/skeletons/umbrella_project/lib/rom/instrumentation.rb.tt +22 -0
  82. data/lib/dry/web/roda/skeletons/umbrella_project/lib/types.rb +6 -0
  83. data/lib/dry/web/roda/skeletons/umbrella_project/log/.keep +0 -0
  84. data/lib/dry/web/roda/skeletons/umbrella_project/spec/app_helper.rb +35 -0
  85. data/lib/dry/web/roda/skeletons/umbrella_project/spec/db_helper.rb.tt +24 -0
  86. data/lib/dry/web/roda/skeletons/umbrella_project/spec/spec_helper.rb.tt +61 -0
  87. data/lib/dry/web/roda/skeletons/umbrella_project/spec/support/db/test_factories.rb +3 -0
  88. data/lib/dry/web/roda/skeletons/umbrella_project/spec/support/test_helpers.rb.tt +15 -0
  89. data/lib/dry/web/roda/skeletons/umbrella_project/system/__underscored_app_name__/application.rb.tt +14 -0
  90. data/lib/dry/web/roda/skeletons/{umbrella → umbrella_project}/system/__underscored_app_name__/container.rb.tt +1 -0
  91. data/lib/dry/web/roda/skeletons/umbrella_project/system/__underscored_app_name__/import.rb.tt +5 -0
  92. data/lib/dry/web/roda/skeletons/umbrella_project/system/__underscored_app_name__/settings.rb.tt +17 -0
  93. data/lib/dry/web/roda/skeletons/{umbrella → umbrella_project}/system/boot.rb.tt +0 -0
  94. data/lib/dry/web/roda/skeletons/umbrella_project/system/boot/monitor.rb.tt +10 -0
  95. data/lib/dry/web/roda/skeletons/umbrella_project/system/boot/rom.rb.tt +26 -0
  96. data/lib/dry/web/roda/version.rb +1 -1
  97. data/script/ci +67 -0
  98. data/script/setup +47 -0
  99. data/script/teardown +42 -0
  100. data/spec/integration/new_app_spec.rb +21 -0
  101. data/spec/spec_helper.rb +14 -16
  102. data/spec/support/app.rb +64 -0
  103. data/spec/support/bundler.rb +113 -0
  104. data/spec/support/cli.rb +47 -0
  105. data/spec/support/directories.rb +37 -0
  106. data/spec/support/env.rb +84 -0
  107. data/spec/support/files.rb +59 -0
  108. data/spec/support/project.rb +60 -0
  109. data/spec/support/requests.rb +5 -0
  110. data/spec/support/silently.rb +28 -0
  111. metadata +139 -49
  112. data/lib/dry/web/roda/skeletons/umbrella/system/__underscored_app_name__/application.rb.tt +0 -7
  113. data/lib/dry/web/roda/skeletons/umbrella/system/boot/logger.rb.tt +0 -5
@@ -0,0 +1,5 @@
1
+ require "rack/test"
2
+
3
+ RSpec.configure do |config|
4
+ config.include Rack::Test::Methods, type: :request
5
+ end
@@ -0,0 +1,28 @@
1
+ require "tempfile"
2
+
3
+ module RSpec
4
+ module Support
5
+ def self.silently(cmd, via: :system)
6
+ out = Tempfile.new("dry-web-roda-out")
7
+ # RSpec::Support::Env.env
8
+ result = ::Kernel.__send__(via, cmd, out: out.path, err: out.path)
9
+
10
+ return if result
11
+
12
+ out.rewind
13
+ fail "#{cmd} failed:\n#{out.read}" # rubocop:disable Style/SignalException
14
+ end
15
+
16
+ module Silently
17
+ private
18
+
19
+ def silently(*args)
20
+ Support.silently(*args)
21
+ end
22
+ end
23
+ end
24
+ end
25
+
26
+ RSpec.configure do |config|
27
+ config.include RSpec::Support::Silently, type: :cli
28
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-web-roda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-02 00:00:00.000000000 Z
11
+ date: 2017-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-web
@@ -114,6 +114,20 @@ dependencies:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0.19'
117
+ - !ruby/object:Gem::Dependency
118
+ name: aruba
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
117
131
  - !ruby/object:Gem::Dependency
118
132
  name: bundler
119
133
  requirement: !ruby/object:Gem::Requirement
@@ -170,6 +184,20 @@ dependencies:
170
184
  - - "~>"
171
185
  - !ruby/object:Gem::Version
172
186
  version: '2.5'
187
+ - !ruby/object:Gem::Dependency
188
+ name: waitutil
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
173
201
  description: Roda integration for dry-web apps
174
202
  email:
175
203
  - piotr.solnica@gmail.com
@@ -193,54 +221,106 @@ files:
193
221
  - lib/dry/web/roda/cli.rb
194
222
  - lib/dry/web/roda/cli/generate.rb
195
223
  - lib/dry/web/roda/generate.rb
196
- - lib/dry/web/roda/generators/app.rb
197
- - lib/dry/web/roda/generators/umbrella.rb
198
- - lib/dry/web/roda/skeletons/app/lib/__underscored_app_name__/.keep
199
- - lib/dry/web/roda/skeletons/app/lib/__underscored_app_name__/views/welcome.rb.tt
200
- - lib/dry/web/roda/skeletons/app/system/__underscored_app_name__/application.rb.tt
201
- - lib/dry/web/roda/skeletons/app/system/__underscored_app_name__/container.rb.tt
202
- - lib/dry/web/roda/skeletons/app/system/__underscored_app_name__/import.rb.tt
203
- - lib/dry/web/roda/skeletons/app/system/__underscored_app_name__/transactions.rb.tt
204
- - lib/dry/web/roda/skeletons/app/system/__underscored_app_name__/view_context.rb.tt
205
- - lib/dry/web/roda/skeletons/app/system/__underscored_app_name__/view_controller.rb.tt
206
- - lib/dry/web/roda/skeletons/app/system/boot.rb.tt
207
- - lib/dry/web/roda/skeletons/app/system/boot/view.rb.tt
208
- - lib/dry/web/roda/skeletons/app/transactions/example.rb.tt
209
- - lib/dry/web/roda/skeletons/app/web/routes/example.rb.tt
210
- - lib/dry/web/roda/skeletons/app/web/templates/layouts/application.html.slim
211
- - lib/dry/web/roda/skeletons/app/web/templates/welcome.html.slim
212
- - lib/dry/web/roda/skeletons/umbrella/.gitignore
213
- - lib/dry/web/roda/skeletons/umbrella/Gemfile
214
- - lib/dry/web/roda/skeletons/umbrella/README.md.tt
215
- - lib/dry/web/roda/skeletons/umbrella/Rakefile.tt
216
- - lib/dry/web/roda/skeletons/umbrella/bin/console.tt
217
- - lib/dry/web/roda/skeletons/umbrella/bin/setup
218
- - lib/dry/web/roda/skeletons/umbrella/config.ru.tt
219
- - lib/dry/web/roda/skeletons/umbrella/config/settings.yml.tt
220
- - lib/dry/web/roda/skeletons/umbrella/db/sample_data.rb
221
- - lib/dry/web/roda/skeletons/umbrella/db/seed.rb
222
- - lib/dry/web/roda/skeletons/umbrella/lib/__underscored_app_name__/repository.rb.tt
223
- - lib/dry/web/roda/skeletons/umbrella/lib/__underscored_app_name__/transactions.rb.tt
224
- - lib/dry/web/roda/skeletons/umbrella/lib/__underscored_app_name__/view_context.rb.tt
225
- - lib/dry/web/roda/skeletons/umbrella/lib/persistence/commands/.keep
226
- - lib/dry/web/roda/skeletons/umbrella/lib/persistence/relations/.keep
227
- - lib/dry/web/roda/skeletons/umbrella/lib/types.rb
228
- - lib/dry/web/roda/skeletons/umbrella/log/.keep
229
- - lib/dry/web/roda/skeletons/umbrella/spec/app_helper.rb
230
- - lib/dry/web/roda/skeletons/umbrella/spec/db_helper.rb.tt
231
- - lib/dry/web/roda/skeletons/umbrella/spec/spec_helper.rb.tt
232
- - lib/dry/web/roda/skeletons/umbrella/spec/support/db/test_factories.rb
233
- - lib/dry/web/roda/skeletons/umbrella/spec/support/test_helpers.rb.tt
234
- - lib/dry/web/roda/skeletons/umbrella/system/__underscored_app_name__/application.rb.tt
235
- - lib/dry/web/roda/skeletons/umbrella/system/__underscored_app_name__/container.rb.tt
236
- - lib/dry/web/roda/skeletons/umbrella/system/__underscored_app_name__/import.rb.tt
237
- - lib/dry/web/roda/skeletons/umbrella/system/__underscored_app_name__/settings.rb.tt
238
- - lib/dry/web/roda/skeletons/umbrella/system/boot.rb.tt
239
- - lib/dry/web/roda/skeletons/umbrella/system/boot/logger.rb.tt
240
- - lib/dry/web/roda/skeletons/umbrella/system/boot/rom.rb.tt
224
+ - lib/dry/web/roda/generators/flat_project.rb
225
+ - lib/dry/web/roda/generators/sub_app.rb
226
+ - lib/dry/web/roda/generators/umbrella_project.rb
227
+ - lib/dry/web/roda/skeletons/flat_project/Gemfile
228
+ - lib/dry/web/roda/skeletons/flat_project/README.md.tt
229
+ - lib/dry/web/roda/skeletons/flat_project/Rakefile.tt
230
+ - lib/dry/web/roda/skeletons/flat_project/bin/console.tt
231
+ - lib/dry/web/roda/skeletons/flat_project/bin/setup
232
+ - lib/dry/web/roda/skeletons/flat_project/config.ru.tt
233
+ - lib/dry/web/roda/skeletons/flat_project/config/settings.yml.tt
234
+ - lib/dry/web/roda/skeletons/flat_project/db/sample_data.rb
235
+ - lib/dry/web/roda/skeletons/flat_project/db/seed.rb
236
+ - lib/dry/web/roda/skeletons/flat_project/lib/__underscored_app_name__/.keep
237
+ - lib/dry/web/roda/skeletons/flat_project/lib/__underscored_app_name__/views/welcome.rb.tt
238
+ - lib/dry/web/roda/skeletons/flat_project/lib/persistence/commands/.keep
239
+ - lib/dry/web/roda/skeletons/flat_project/lib/persistence/relations/.keep
240
+ - lib/dry/web/roda/skeletons/flat_project/lib/rom/instrumentation.rb.tt
241
+ - lib/dry/web/roda/skeletons/flat_project/lib/types.rb
242
+ - lib/dry/web/roda/skeletons/flat_project/log/.keep
243
+ - lib/dry/web/roda/skeletons/flat_project/spec/app_helper.rb
244
+ - lib/dry/web/roda/skeletons/flat_project/spec/db_helper.rb.tt
245
+ - lib/dry/web/roda/skeletons/flat_project/spec/spec_helper.rb.tt
246
+ - lib/dry/web/roda/skeletons/flat_project/spec/support/db/test_factories.rb
247
+ - lib/dry/web/roda/skeletons/flat_project/spec/support/test_helpers.rb.tt
248
+ - lib/dry/web/roda/skeletons/flat_project/system/__underscored_app_name__/application.rb.tt
249
+ - lib/dry/web/roda/skeletons/flat_project/system/__underscored_app_name__/container.rb.tt
250
+ - lib/dry/web/roda/skeletons/flat_project/system/__underscored_app_name__/import.rb.tt
251
+ - lib/dry/web/roda/skeletons/flat_project/system/__underscored_app_name__/repository.rb.tt
252
+ - lib/dry/web/roda/skeletons/flat_project/system/__underscored_app_name__/settings.rb.tt
253
+ - lib/dry/web/roda/skeletons/flat_project/system/__underscored_app_name__/transactions.rb.tt
254
+ - lib/dry/web/roda/skeletons/flat_project/system/__underscored_app_name__/view_context.rb.tt
255
+ - lib/dry/web/roda/skeletons/flat_project/system/__underscored_app_name__/view_controller.rb.tt
256
+ - lib/dry/web/roda/skeletons/flat_project/system/boot.rb.tt
257
+ - lib/dry/web/roda/skeletons/flat_project/system/boot/monitor.rb.tt
258
+ - lib/dry/web/roda/skeletons/flat_project/system/boot/rom.rb.tt
259
+ - lib/dry/web/roda/skeletons/flat_project/system/boot/view.rb.tt
260
+ - lib/dry/web/roda/skeletons/flat_project/transactions/example.rb.tt
261
+ - lib/dry/web/roda/skeletons/flat_project/web/routes/example.rb.tt
262
+ - lib/dry/web/roda/skeletons/flat_project/web/templates/layouts/application.html.slim
263
+ - lib/dry/web/roda/skeletons/flat_project/web/templates/welcome.html.slim
264
+ - lib/dry/web/roda/skeletons/sub_app/lib/__underscored_app_name__/.keep
265
+ - lib/dry/web/roda/skeletons/sub_app/lib/__underscored_app_name__/views/welcome.rb.tt
266
+ - lib/dry/web/roda/skeletons/sub_app/system/__underscored_app_name__/application.rb.tt
267
+ - lib/dry/web/roda/skeletons/sub_app/system/__underscored_app_name__/container.rb.tt
268
+ - lib/dry/web/roda/skeletons/sub_app/system/__underscored_app_name__/import.rb.tt
269
+ - lib/dry/web/roda/skeletons/sub_app/system/__underscored_app_name__/transactions.rb.tt
270
+ - lib/dry/web/roda/skeletons/sub_app/system/__underscored_app_name__/view_context.rb.tt
271
+ - lib/dry/web/roda/skeletons/sub_app/system/__underscored_app_name__/view_controller.rb.tt
272
+ - lib/dry/web/roda/skeletons/sub_app/system/boot.rb.tt
273
+ - lib/dry/web/roda/skeletons/sub_app/system/boot/view.rb.tt
274
+ - lib/dry/web/roda/skeletons/sub_app/transactions/example.rb.tt
275
+ - lib/dry/web/roda/skeletons/sub_app/web/routes/example.rb.tt
276
+ - lib/dry/web/roda/skeletons/sub_app/web/templates/layouts/application.html.slim
277
+ - lib/dry/web/roda/skeletons/sub_app/web/templates/welcome.html.slim
278
+ - lib/dry/web/roda/skeletons/umbrella_project/.gitignore
279
+ - lib/dry/web/roda/skeletons/umbrella_project/Gemfile
280
+ - lib/dry/web/roda/skeletons/umbrella_project/README.md.tt
281
+ - lib/dry/web/roda/skeletons/umbrella_project/Rakefile.tt
282
+ - lib/dry/web/roda/skeletons/umbrella_project/bin/console.tt
283
+ - lib/dry/web/roda/skeletons/umbrella_project/bin/setup
284
+ - lib/dry/web/roda/skeletons/umbrella_project/config.ru.tt
285
+ - lib/dry/web/roda/skeletons/umbrella_project/config/settings.yml.tt
286
+ - lib/dry/web/roda/skeletons/umbrella_project/db/sample_data.rb
287
+ - lib/dry/web/roda/skeletons/umbrella_project/db/seed.rb
288
+ - lib/dry/web/roda/skeletons/umbrella_project/lib/__underscored_app_name__/repository.rb.tt
289
+ - lib/dry/web/roda/skeletons/umbrella_project/lib/__underscored_app_name__/transactions.rb.tt
290
+ - lib/dry/web/roda/skeletons/umbrella_project/lib/__underscored_app_name__/view_context.rb.tt
291
+ - lib/dry/web/roda/skeletons/umbrella_project/lib/persistence/commands/.keep
292
+ - lib/dry/web/roda/skeletons/umbrella_project/lib/persistence/relations/.keep
293
+ - lib/dry/web/roda/skeletons/umbrella_project/lib/rom/instrumentation.rb.tt
294
+ - lib/dry/web/roda/skeletons/umbrella_project/lib/types.rb
295
+ - lib/dry/web/roda/skeletons/umbrella_project/log/.keep
296
+ - lib/dry/web/roda/skeletons/umbrella_project/spec/app_helper.rb
297
+ - lib/dry/web/roda/skeletons/umbrella_project/spec/db_helper.rb.tt
298
+ - lib/dry/web/roda/skeletons/umbrella_project/spec/spec_helper.rb.tt
299
+ - lib/dry/web/roda/skeletons/umbrella_project/spec/support/db/test_factories.rb
300
+ - lib/dry/web/roda/skeletons/umbrella_project/spec/support/test_helpers.rb.tt
301
+ - lib/dry/web/roda/skeletons/umbrella_project/system/__underscored_app_name__/application.rb.tt
302
+ - lib/dry/web/roda/skeletons/umbrella_project/system/__underscored_app_name__/container.rb.tt
303
+ - lib/dry/web/roda/skeletons/umbrella_project/system/__underscored_app_name__/import.rb.tt
304
+ - lib/dry/web/roda/skeletons/umbrella_project/system/__underscored_app_name__/settings.rb.tt
305
+ - lib/dry/web/roda/skeletons/umbrella_project/system/boot.rb.tt
306
+ - lib/dry/web/roda/skeletons/umbrella_project/system/boot/monitor.rb.tt
307
+ - lib/dry/web/roda/skeletons/umbrella_project/system/boot/rom.rb.tt
241
308
  - lib/dry/web/roda/version.rb
242
309
  - lib/roda/plugins/dry_view.rb
310
+ - script/ci
311
+ - script/setup
312
+ - script/teardown
313
+ - spec/integration/new_app_spec.rb
243
314
  - spec/spec_helper.rb
315
+ - spec/support/app.rb
316
+ - spec/support/bundler.rb
317
+ - spec/support/cli.rb
318
+ - spec/support/directories.rb
319
+ - spec/support/env.rb
320
+ - spec/support/files.rb
321
+ - spec/support/project.rb
322
+ - spec/support/requests.rb
323
+ - spec/support/silently.rb
244
324
  homepage: https://github.com/dry-rb/dry-web-roda
245
325
  licenses:
246
326
  - MIT
@@ -253,7 +333,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
253
333
  requirements:
254
334
  - - ">="
255
335
  - !ruby/object:Gem::Version
256
- version: 2.1.0
336
+ version: 2.2.0
257
337
  required_rubygems_version: !ruby/object:Gem::Requirement
258
338
  requirements:
259
339
  - - ">="
@@ -261,9 +341,19 @@ required_rubygems_version: !ruby/object:Gem::Requirement
261
341
  version: '0'
262
342
  requirements: []
263
343
  rubyforge_project:
264
- rubygems_version: 2.6.9
344
+ rubygems_version: 2.6.10
265
345
  signing_key:
266
346
  specification_version: 4
267
347
  summary: Roda integration for dry-web apps
268
348
  test_files:
349
+ - spec/integration/new_app_spec.rb
269
350
  - spec/spec_helper.rb
351
+ - spec/support/app.rb
352
+ - spec/support/bundler.rb
353
+ - spec/support/cli.rb
354
+ - spec/support/directories.rb
355
+ - spec/support/env.rb
356
+ - spec/support/files.rb
357
+ - spec/support/project.rb
358
+ - spec/support/requests.rb
359
+ - spec/support/silently.rb
@@ -1,7 +0,0 @@
1
- module <%= config[:camel_cased_app_name] %>
2
- class Application < Roda
3
- route do |r|
4
- r.run Main::Application.freeze.app
5
- end
6
- end
7
- end
@@ -1,5 +0,0 @@
1
- require "logger"
2
-
3
- <%= config[:camel_cased_app_name] %>::Container.finalize :logger do |container|
4
- container.register "logger", Logger.new(container.root.join("log/#{container.config.env}.log"))
5
- end