dry-web-roda 0.13.1 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +143 -64
- data/LICENSE +1 -1
- data/README.md +16 -41
- data/{exe → bin}/dry-web-roda +0 -0
- data/dry-web-roda.gemspec +21 -20
- data/lib/dry/web/roda/templates/subapp/container.rb.tt +3 -3
- data/lib/dry/web/roda/version.rb +1 -1
- metadata +18 -144
- data/.codeclimate.yml +0 -12
- data/.github/ISSUE_TEMPLATE/----please-don-t-ask-for-support-via-issues.md +0 -10
- data/.github/ISSUE_TEMPLATE/---bug-report.md +0 -30
- data/.github/ISSUE_TEMPLATE/---feature-request.md +0 -18
- data/.github/workflows/custom_ci.yml +0 -50
- data/.github/workflows/docsite.yml +0 -34
- data/.github/workflows/sync_configs.yml +0 -34
- data/.gitignore +0 -37
- data/.rspec +0 -4
- data/.rubocop.yml +0 -95
- data/CODE_OF_CONDUCT.md +0 -13
- data/CONTRIBUTING.md +0 -29
- data/Gemfile +0 -32
- data/Rakefile +0 -6
- data/lib/dry/web/roda/templates/.gitignore +0 -11
- data/lib/dry/web/roda/templates/.keep +0 -0
- data/lib/dry/web/roda/templates/.rspec +0 -2
- data/script/ci +0 -67
- data/script/setup +0 -47
- data/script/teardown +0 -42
- data/spec/integration/new_app_spec.rb +0 -21
- data/spec/spec_helper.rb +0 -22
- data/spec/support/app.rb +0 -64
- data/spec/support/bundler.rb +0 -113
- data/spec/support/cli.rb +0 -47
- data/spec/support/directories.rb +0 -37
- data/spec/support/env.rb +0 -84
- data/spec/support/files.rb +0 -59
- data/spec/support/project.rb +0 -60
- data/spec/support/requests.rb +0 -5
- data/spec/support/silently.rb +0 -28
- data/spec/unit/generators/inflections_spec.rb +0 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a087527bb7fa04bcf18f752e97631110b3d2d7556003bd948d9badc2ff0ca248
|
4
|
+
data.tar.gz: 77e0678859adebb0c9a7ddb91744b1d54874f5b6abeea497ed2fe596927af857
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc673824d86a9b38345ae4e069b69cb5e308cec7b46558840ddcd1993a71760005701d2304ddfdc91a19066796629fba7fef81c3de410797a0e690d484601cca
|
7
|
+
data.tar.gz: 38b524a6f0a713b4ceb51264476215935e5971cfb2cf8fb258cba8e42eafc74c6279cebe73cc446066535acd09b8fd4208e48a9f893e4ba3c190e8a2135fd9cb
|
data/CHANGELOG.md
CHANGED
@@ -1,55 +1,67 @@
|
|
1
|
-
|
1
|
+
## 0.14.0 2021-04-06
|
2
2
|
|
3
|
-
|
3
|
+
- "Dependency on thor was updated to `~> 1.0` (@rawburt)"
|
4
4
|
|
5
|
-
|
5
|
+
[Compare v0.13.1...v0.14.0](https://github.com/dry-rb/dry-web-roda/compare/v0.13.1...v0.14.0)
|
6
|
+
|
7
|
+
## 0.13.1 2019-12-24
|
8
|
+
|
9
|
+
- Removed `inflecto` in favor of `dry-inflector` (@solnic)
|
6
10
|
|
7
11
|
[Compare v0.13.0...v0.13.1](https://github.com/dry-rb/dry-web-roda/compare/v0.13.0...v0.13.1)
|
8
12
|
|
9
|
-
|
13
|
+
## 0.13.1 2019-12-24
|
14
|
+
|
15
|
+
### Changed
|
16
|
+
|
17
|
+
- Removed `inflecto` in favor of `dry-inflector` (@solnic)
|
18
|
+
|
19
|
+
[Compare v0.13.0...v0.13.1](https://github.com/dry-rb/dry-web-roda/compare/v0.13.0...v0.13.1)
|
10
20
|
|
11
|
-
##
|
21
|
+
## 0.13.0 2019-12-24
|
12
22
|
|
13
|
-
* dry-monitor for rom is correctly configured in the generated boot file (@mlk-yozu)
|
14
23
|
|
15
|
-
|
24
|
+
### Fixed
|
16
25
|
|
17
|
-
|
18
|
-
* Fixed dry-types warning from the generated `types.rb` (@solnic)
|
19
|
-
* ~~Removed `inflecto` in favor of `dry-inflector` (@solnic)~~ actually it was done in `0.13.1`
|
26
|
+
- dry-monitor for rom is correctly configured in the generated boot file (@mlk-yozu)
|
20
27
|
|
21
|
-
|
28
|
+
### Changed
|
22
29
|
|
30
|
+
- Updated generated Gemfile to use the latest dry-* and rom-* gems (@solnic)
|
31
|
+
- Fixed dry-types warning from the generated `types.rb` (@solnic)
|
32
|
+
- ~~Removed `inflecto` in favor of `dry-inflector` (@solnic)~~ actually it was done in `0.13.1`
|
23
33
|
- Removed `inflecto` from runtime dependencies (@solnic)
|
24
34
|
|
25
|
-
[Compare v0.13.0...v0.13.
|
35
|
+
[Compare v0.13.0...v0.13.0](https://github.com/dry-rb/dry-web-roda/compare/v0.13.0...v0.13.0)
|
26
36
|
|
27
|
-
|
37
|
+
## 0.13.0 2019-12-24
|
28
38
|
|
29
|
-
## Fixed
|
30
39
|
|
31
|
-
|
40
|
+
### Fixed
|
32
41
|
|
33
|
-
|
42
|
+
- dry-monitor for rom is correctly configured in the generated boot file (@mlk-yozu)
|
34
43
|
|
35
|
-
|
36
|
-
|
37
|
-
|
44
|
+
### Changed
|
45
|
+
|
46
|
+
- Updated generated Gemfile to use the latest dry-* and rom-* gems (@solnic)
|
47
|
+
- Fixed dry-types warning from the generated `types.rb` (@solnic)
|
48
|
+
- ~~Removed `inflecto` in favor of `dry-inflector` (@solnic)~~
|
38
49
|
|
39
50
|
[Compare v0.12.0...v0.13.0](https://github.com/dry-rb/dry-web-roda/compare/v0.12.0...v0.13.0)
|
40
51
|
|
41
|
-
|
52
|
+
## 0.12.0 2019-04-16
|
53
|
+
|
42
54
|
|
43
55
|
### Changed
|
44
56
|
|
45
57
|
- Update generated app to work with latest releases of dry-rb gems, including dry-view 0.7.0 and dry-monitor 0.3.0 (parndt in [#94][pr94])
|
46
58
|
- [BREAKING] `view` roda helper now expects the dry-view context object to be registered in the container as `"view_context"` (instead of previous `"view.context"`) (parndt in [#94][pr94])
|
47
|
-
|
48
|
-
[pr94]: https://github.com/dry-rb/dry-web-roda/pull/94/files
|
59
|
+
- [pr94]: https://github.com/dry-rb/dry-web-roda/pull/94/files
|
49
60
|
|
50
61
|
[Compare v0.11.0...v0.12.0](https://github.com/dry-rb/dry-web-roda/compare/v0.11.0...v0.12.0)
|
51
62
|
|
52
|
-
|
63
|
+
## 0.11.0 2018-02-21
|
64
|
+
|
53
65
|
|
54
66
|
### Changed
|
55
67
|
|
@@ -57,7 +69,9 @@
|
|
57
69
|
|
58
70
|
[Compare v0.10.0...v0.11.0](https://github.com/dry-rb/dry-web-roda/compare/v0.10.0...v0.11.0)
|
59
71
|
|
60
|
-
|
72
|
+
## 0.10.0 2018-02-13
|
73
|
+
|
74
|
+
In generated projects:
|
61
75
|
|
62
76
|
### Changed
|
63
77
|
|
@@ -71,48 +85,55 @@
|
|
71
85
|
```sh
|
72
86
|
bundle exec rerun -- rackup --port 4000 config.ru
|
73
87
|
```
|
74
|
-
|
75
|
-
In generated projects:
|
76
|
-
|
88
|
+
- In generated projects:
|
77
89
|
- Require dry-system 0.9 (GustavoCaso)
|
78
90
|
- Add ability to define custom view key resolver in `dry_view` Roda plugin (AMHOL)
|
79
91
|
|
80
92
|
[Compare v0.9.1...v0.10.0](https://github.com/dry-rb/dry-web-roda/compare/v0.9.1...v0.10.0)
|
81
93
|
|
82
|
-
|
94
|
+
## 0.9.1 2017-11-01
|
95
|
+
|
83
96
|
|
84
97
|
### Changed
|
85
98
|
|
86
99
|
- In generated projects, require dry-view 0.4 (timriley)
|
87
100
|
|
88
|
-
|
101
|
+
[Compare v0.9.0...v0.9.1](https://github.com/dry-rb/dry-web-roda/compare/v0.9.0...v0.9.1)
|
102
|
+
|
103
|
+
## 0.9.0 2017-10-27
|
104
|
+
|
105
|
+
In generated projects:
|
89
106
|
|
90
107
|
### Changed
|
91
108
|
|
92
109
|
- `Dry::Web::Roda::Application` no longer automatically enables `error_handler` and `multi_route` Roda plugins (timriley)
|
93
110
|
- `DryView` Roda plugin no longer automatically enables `csrf` and `flash` Roda plugins (timriley)
|
94
111
|
- `DryView` Roda plugin no longer populates its `#view_context_options` with flash and CSRF data (timriley)
|
95
|
-
|
96
|
-
In generated projects:
|
97
|
-
|
112
|
+
- In generated projects:
|
98
113
|
- Nest sub-apps under the root project namespace (e.g. `MyApp::Main`) instead of keeping them at the top-level (`Main`) (timriley)
|
99
114
|
- Rename `Dry::Web::Roda::Application` subclasses from `Application` to `Web` (timriley)
|
100
115
|
- Comment out `r.multi_route` routing instruction in `Web` classes by default, to avoid future Roda exceptions (timriley)
|
101
116
|
- Enable more Roda plugins (`csrf`, `error_handler`, `flash`, `multi_route`) directly in `Web` classes (timriley)
|
102
117
|
- Add default implementation of `#view_context_options` to `Web` classes for `dry_view` Roda plugin (timriley)
|
103
118
|
|
104
|
-
|
119
|
+
[Compare v0.8.0...v0.9.0](https://github.com/dry-rb/dry-web-roda/compare/v0.8.0...v0.9.0)
|
105
120
|
|
106
|
-
|
121
|
+
## 0.8.0 2017-10-26
|
107
122
|
|
108
123
|
In generated projects:
|
109
124
|
|
125
|
+
### Changed
|
126
|
+
|
127
|
+
- In generated projects:
|
110
128
|
- Work with dry-system 0.8 (timriley)
|
111
129
|
- Use dry-systems own settings component in `boot/settings.rb` for project configuration (timriley)
|
112
130
|
- Rename `:rom` bootable component to `:persistence` so it can be automatically resolved and lazily loaded (timriley)
|
113
131
|
- Use rom-rb 4.0 (timriley)
|
114
132
|
|
115
|
-
|
133
|
+
[Compare v0.7.5...v0.8.0](https://github.com/dry-rb/dry-web-roda/compare/v0.7.5...v0.8.0)
|
134
|
+
|
135
|
+
## 0.7.5 2017-07-25
|
136
|
+
|
116
137
|
|
117
138
|
### Added
|
118
139
|
|
@@ -122,22 +143,28 @@ In generated projects:
|
|
122
143
|
|
123
144
|
- An app will use `rack_monitor` only if its container is configured with listeners (solnic)
|
124
145
|
|
125
|
-
|
146
|
+
[Compare v0.7.4...v0.7.5](https://github.com/dry-rb/dry-web-roda/compare/v0.7.4...v0.7.5)
|
147
|
+
|
148
|
+
## 0.7.4 2017-07-25
|
149
|
+
|
126
150
|
|
127
151
|
### Added
|
128
152
|
|
129
153
|
- Added db:create and db:drop take tasks, to create and drop the application database (GustavoCaso)
|
130
154
|
|
155
|
+
### Fixed
|
156
|
+
|
157
|
+
- Prevent duplicate log entries in generated umbrella architecture projects (timriley)
|
158
|
+
|
131
159
|
### Changed
|
132
160
|
|
133
161
|
- Use Postgres environment variables to provide connection info to `pg_dump` command in db:structure:dump rake task (timriley)
|
134
162
|
- Remove error handling block from generated sub-app application classes, since an error handling block is already provided in the top-level umbrella application class (timriley)
|
135
163
|
|
136
|
-
|
164
|
+
[Compare v0.7.3...v0.7.4](https://github.com/dry-rb/dry-web-roda/compare/v0.7.3...v0.7.4)
|
137
165
|
|
138
|
-
|
166
|
+
## 0.7.3 2017-07-10
|
139
167
|
|
140
|
-
# 0.7.3 - 2017-07-10
|
141
168
|
|
142
169
|
### Fixed
|
143
170
|
|
@@ -148,34 +175,44 @@ In generated projects:
|
|
148
175
|
- In generated project, require `pry-byebug` instead of `byebug` alone (alejandrobabio)
|
149
176
|
- In generated project's `web_spec_helper.rb`, use updated `save_path` setting for Capybara (alejandrobabio)
|
150
177
|
|
151
|
-
|
178
|
+
[Compare v0.7.2...v0.7.3](https://github.com/dry-rb/dry-web-roda/compare/v0.7.2...v0.7.3)
|
179
|
+
|
180
|
+
## 0.7.2 2017-07-03
|
181
|
+
|
152
182
|
|
153
183
|
### Fixed
|
154
184
|
|
155
185
|
- Add missing rom-factory dependency to generated project Gemfile (alejandrobabio)
|
156
186
|
- Fix reference to main application class in generated spec helpers file (alejandrobabio)
|
157
187
|
|
158
|
-
|
188
|
+
|
189
|
+
[Compare v0.7.1...v0.7.2](https://github.com/dry-rb/dry-web-roda/compare/v0.7.1...v0.7.2)
|
190
|
+
|
191
|
+
## 0.7.1 2017-06-22
|
192
|
+
|
159
193
|
|
160
194
|
### Fixed
|
161
195
|
|
162
196
|
- Fix spelling of generated "lib/persistence" directory (timriley)
|
163
197
|
- Stop generating a welcome view in the umbrella system (timriley)
|
164
198
|
|
165
|
-
# 0.7.0 - 2017-06-16
|
166
199
|
|
167
|
-
|
200
|
+
[Compare v0.7.0...v0.7.1](https://github.com/dry-rb/dry-web-roda/compare/v0.7.0...v0.7.1)
|
201
|
+
|
202
|
+
## 0.7.0 2017-06-16
|
168
203
|
|
169
204
|
In generated app:
|
170
205
|
|
206
|
+
### Added
|
207
|
+
|
208
|
+
- In generated app:
|
171
209
|
- Shared `Operation` class for all application operations to inherit from (timriley)
|
172
210
|
- Enable `auto_restrictions` relation plugin for ROM (timriley)
|
173
211
|
- Register low-level database connection object as "persistence.db" in core container (timriley)
|
174
212
|
|
175
213
|
### Changed
|
176
214
|
|
177
|
-
In generated app:
|
178
|
-
|
215
|
+
- In generated app:
|
179
216
|
- Use full database URL to include credentials in pg_dump (lukkor)
|
180
217
|
- Move view controller and context classes into main lib/ dirs (timriley)
|
181
218
|
- Use dry-system 0.7.0 magic comments to prevent auto-registration of base repository, view controller and view context classes (timriley)
|
@@ -184,20 +221,30 @@ In generated app:
|
|
184
221
|
- [BREAKING] Provide settings object via a bootable component
|
185
222
|
- [BREAKING] Remove special transactions setup harness, since dry-transaction 0.10.0 supports class-based transactions
|
186
223
|
|
187
|
-
|
224
|
+
[Compare v0.6.3...v0.7.0](https://github.com/dry-rb/dry-web-roda/compare/v0.6.3...v0.7.0)
|
225
|
+
|
226
|
+
## 0.6.3 2017-03-02
|
227
|
+
|
188
228
|
|
189
229
|
### Changed
|
190
230
|
|
191
231
|
- Use the newly-released rom/rom-sql instrumentation plugin to generate SQL logs, rather than a local monkey patch (timriley)
|
192
232
|
|
193
|
-
|
233
|
+
[Compare v0.6.2...v0.6.3](https://github.com/dry-rb/dry-web-roda/compare/v0.6.2...v0.6.3)
|
234
|
+
|
235
|
+
## 0.6.2 2017-02-20
|
236
|
+
|
194
237
|
|
195
238
|
### Fixed
|
196
239
|
|
197
240
|
- Support dashed names when generating projects, e.g. `dry-web-roda new my-app` (radar & timriley)
|
198
241
|
- Require securerandom for generating session keys in new flat architecture projects (alexandru-calinoiu)
|
199
242
|
|
200
|
-
|
243
|
+
|
244
|
+
[Compare v0.6.1...v0.6.2](https://github.com/dry-rb/dry-web-roda/compare/v0.6.1...v0.6.2)
|
245
|
+
|
246
|
+
## 0.6.1 2017-02-08
|
247
|
+
|
201
248
|
|
202
249
|
### Added
|
203
250
|
|
@@ -205,27 +252,42 @@ In generated app:
|
|
205
252
|
- In generated projects, use dry-monitor to log SQL queries (timriley)
|
206
253
|
- Add new flat project generator: `dry-web-roda new <your_app> --arch=flat` (timriley)
|
207
254
|
|
255
|
+
### Fixed
|
256
|
+
|
257
|
+
- Ensure dry-monitor is set up in `Application` regardless of the order in which the application's configs are applied (timriley)
|
258
|
+
|
208
259
|
### Changed
|
209
260
|
|
210
261
|
- Renamed sub-app generator from `dry-web-roda generate app` to `dry-web-roda generate sub_app` (timriley)
|
211
262
|
|
212
|
-
|
263
|
+
[Compare v0.6.1...v0.6.1](https://github.com/dry-rb/dry-web-roda/compare/v0.6.1...v0.6.1)
|
213
264
|
|
214
|
-
|
265
|
+
## 0.6.1 2017-02-03
|
215
266
|
|
216
|
-
# 0.6.1 - 2017-02-03
|
217
267
|
|
218
268
|
### Added
|
219
269
|
|
220
270
|
- In generated projects, integrate with dry-monitor (via dry-web) for centralized application logging and error reporting (solnic)
|
221
271
|
|
222
|
-
|
272
|
+
|
273
|
+
[Compare v0.5.1...v0.6.1](https://github.com/dry-rb/dry-web-roda/compare/v0.5.1...v0.6.1)
|
274
|
+
|
275
|
+
## 0.5.1 2016-12-27
|
276
|
+
|
223
277
|
|
224
278
|
### Fixed
|
225
279
|
|
226
280
|
- `.gitignore` in generated umbrella app correctly ignores `log/` directory (alsemyonov)
|
227
281
|
|
228
|
-
|
282
|
+
|
283
|
+
[Compare v0.5.0...v0.5.1](https://github.com/dry-rb/dry-web-roda/compare/v0.5.0...v0.5.1)
|
284
|
+
|
285
|
+
## 0.5.0 2016-10-21
|
286
|
+
|
287
|
+
|
288
|
+
### Fixed
|
289
|
+
|
290
|
+
- Update `view` roda plugin to expect default namespace in sub-app containers (timriley)
|
229
291
|
|
230
292
|
### Changed
|
231
293
|
|
@@ -238,15 +300,17 @@ In generated app:
|
|
238
300
|
- Add dry-monads and dry-struct gems to generated Gemfile (gotar)
|
239
301
|
- Expect symbols for flash keys in generated `Page` class (timriley)
|
240
302
|
|
241
|
-
|
242
|
-
|
243
|
-
- Update `view` roda plugin to expect default namespace in sub-app containers (timriley)
|
303
|
+
[Compare v0.4.0...v0.5.0](https://github.com/dry-rb/dry-web-roda/compare/v0.4.0...v0.5.0)
|
244
304
|
|
245
|
-
|
305
|
+
## 0.4.0 2016-08-15
|
246
306
|
|
247
307
|
Update to dry-web with dry-system (solnic)
|
248
308
|
|
249
|
-
|
309
|
+
|
310
|
+
[Compare v0.3.0...v0.4.0](https://github.com/dry-rb/dry-web-roda/compare/v0.3.0...v0.4.0)
|
311
|
+
|
312
|
+
## 0.3.0 2016-07-26
|
313
|
+
|
250
314
|
|
251
315
|
### Added
|
252
316
|
|
@@ -256,26 +320,40 @@ Update to dry-web with dry-system (solnic)
|
|
256
320
|
|
257
321
|
- Use latest dry-web for latest dry-component injector API (timriley)
|
258
322
|
|
259
|
-
|
323
|
+
[Compare v0.2.3...v0.3.0](https://github.com/dry-rb/dry-web-roda/compare/v0.2.3...v0.3.0)
|
324
|
+
|
325
|
+
## 0.2.3 2016-07-23
|
326
|
+
|
260
327
|
|
261
328
|
### Changed
|
262
329
|
|
263
330
|
- By default, don't display warning output when running specs (timriley)
|
264
331
|
|
265
|
-
|
332
|
+
[Compare v0.2.2...v0.2.3](https://github.com/dry-rb/dry-web-roda/compare/v0.2.2...v0.2.3)
|
333
|
+
|
334
|
+
## 0.2.2 2016-07-18
|
335
|
+
|
266
336
|
|
267
337
|
### Fixed
|
268
338
|
|
269
339
|
- Fixed a misnamed module in sub-app generator (hl)
|
270
340
|
- Removed a deprecated option from the `pg_dump` invocation after migrations (timriley)
|
271
341
|
|
272
|
-
|
342
|
+
|
343
|
+
[Compare v0.2.1...v0.2.2](https://github.com/dry-rb/dry-web-roda/compare/v0.2.1...v0.2.2)
|
344
|
+
|
345
|
+
## 0.2.1 2016-06-22
|
346
|
+
|
273
347
|
|
274
348
|
### Fixed
|
275
349
|
|
276
350
|
- Fixed a broken require in generated apps (timriley)
|
277
351
|
|
278
|
-
|
352
|
+
|
353
|
+
[Compare v0.2.0...v0.2.1](https://github.com/dry-rb/dry-web-roda/compare/v0.2.0...v0.2.1)
|
354
|
+
|
355
|
+
## 0.2.0 2016-06-22
|
356
|
+
|
279
357
|
|
280
358
|
### Added
|
281
359
|
|
@@ -294,6 +372,7 @@ Update to dry-web with dry-system (solnic)
|
|
294
372
|
```
|
295
373
|
- Added the beginnings of a skeleton-based code generator, to support the above (timriley)
|
296
374
|
|
297
|
-
# 0.1.0 / 2016-06-12
|
298
375
|
|
299
|
-
|
376
|
+
[Compare v0.1.0...v0.2.0](https://github.com/dry-rb/dry-web-roda/compare/v0.1.0...v0.2.0)
|
377
|
+
|
378
|
+
## 0.1.0 2016-06-12
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,51 +1,26 @@
|
|
1
|
+
# ⚠ Deprecated in favor of Hanami 2.0
|
2
|
+
|
1
3
|
[gem]: https://rubygems.org/gems/dry-web-roda
|
2
|
-
[actions]: https://github.com/
|
3
|
-
[
|
4
|
-
[
|
4
|
+
[actions]: https://github.com/dry-rb/dry-web-roda/actions
|
5
|
+
[codacy]: https://www.codacy.com/gh/dry-rb/dry-web-roda
|
6
|
+
[chat]: https://dry-rb.zulipchat.com
|
7
|
+
[inchpages]: http://inch-ci.org/github/dry-rb/dry-web-roda
|
5
8
|
|
6
|
-
# dry-web-roda [![Join the chat at https://
|
9
|
+
# dry-web-roda [![Join the chat at https://dry-rb.zulipchat.com](https://img.shields.io/badge/dry--rb-join%20chat-%23346b7a.svg)][chat]
|
7
10
|
|
8
11
|
[![Gem Version](https://badge.fury.io/rb/dry-web-roda.svg)][gem]
|
9
|
-
[![CI Status](https://github.com/
|
10
|
-
[![
|
11
|
-
[![
|
12
|
-
|
13
|
-
Integration between [dry-web](https://github.com/dry-rb/dry-web) and [roda](https://github.com/jeremyevans/roda).
|
14
|
-
|
15
|
-
dry-web-roda offers a CLI for generating new projects.
|
16
|
-
|
17
|
-
### Umbrella projects
|
18
|
-
|
19
|
-
To generate a new _umbrella project_ (functionality divided into sub-apps):
|
20
|
-
|
21
|
-
```sh
|
22
|
-
$ dry-web-roda new <your_project_name>
|
23
|
-
```
|
12
|
+
[![CI Status](https://github.com/dry-rb/dry-web-roda/workflows/ci/badge.svg)][actions]
|
13
|
+
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/aa0e136b8b6640439852099ca002e01b)][codacy]
|
14
|
+
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/aa0e136b8b6640439852099ca002e01b)][codacy]
|
15
|
+
[![Inline docs](http://inch-ci.org/github/dry-rb/dry-web-roda.svg?branch=master)][inchpages]
|
24
16
|
|
25
|
-
|
17
|
+
## Supported Ruby versions
|
26
18
|
|
27
|
-
|
28
|
-
$ dry-web-roda generate sub_app <your_sub_app_name> --umbrella=<your_project_name>
|
29
|
-
```
|
19
|
+
This library officially supports the following Ruby versions:
|
30
20
|
|
31
|
-
|
21
|
+
* MRI >= `2.4`
|
22
|
+
* jruby >= `9.2`
|
32
23
|
|
33
|
-
|
34
|
-
|
35
|
-
```sh
|
36
|
-
$ dry-web-roda new <your_project_name> --arch=flat
|
37
|
-
```
|
38
|
-
|
39
|
-
## LICENSE
|
24
|
+
## License
|
40
25
|
|
41
26
|
See `LICENSE` file.
|
42
|
-
|
43
|
-
## Contributing
|
44
|
-
|
45
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/dry-rb/dry-web-roda.
|
46
|
-
|
47
|
-
## Acknowledgements
|
48
|
-
|
49
|
-
The support code for testing the CLI and generated app are derived from
|
50
|
-
[hanami/hanami](https://github.com/hanami/hanami). Thank you to Luca and the
|
51
|
-
Hanami team!
|