dry-web-roda 0.10.0 → 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 +179 -41
- data/LICENSE +16 -18
- data/README.md +16 -42
- data/{exe → bin}/dry-web-roda +0 -0
- data/dry-web-roda.gemspec +24 -23
- data/lib/dry/web/roda/generators/abstract_project.rb +2 -2
- data/lib/dry/web/roda/generators/inflections.rb +3 -3
- data/lib/dry/web/roda/generators/sub_app.rb +2 -2
- data/lib/dry/web/roda/inflector.rb +9 -0
- data/lib/dry/web/roda/templates/Gemfile +19 -14
- data/lib/dry/web/roda/templates/README.md.tt +8 -5
- data/lib/dry/web/roda/templates/container.rb.tt +2 -0
- data/lib/dry/web/roda/templates/flat_project/boot.rb.tt +2 -0
- data/lib/dry/web/roda/templates/flat_project/web.rb.tt +3 -1
- data/lib/dry/web/roda/templates/monitor.rb.tt +2 -1
- data/lib/dry/web/roda/templates/subapp/container.rb.tt +3 -3
- data/lib/dry/web/roda/templates/subapp/view.rb.tt +17 -0
- data/lib/dry/web/roda/templates/subapp/view_context.rb.tt +8 -0
- data/lib/dry/web/roda/templates/subapp/web.rb.tt +3 -1
- data/lib/dry/web/roda/templates/subapp/welcome.rb.tt +2 -2
- data/lib/dry/web/roda/templates/types.rb +3 -3
- data/lib/dry/web/roda/templates/umbrella_project/boot.rb.tt +2 -0
- data/lib/dry/web/roda/templates/view.rb.tt +15 -0
- data/lib/dry/web/roda/templates/view_context.rb.tt +31 -0
- data/lib/dry/web/roda/templates/welcome.rb.tt +2 -2
- data/lib/dry/web/roda/version.rb +1 -1
- data/lib/roda/plugins/dry_view.rb +6 -3
- metadata +30 -148
- data/.gitignore +0 -37
- data/.rspec +0 -2
- data/.travis.yml +0 -32
- data/CONTRIBUTING.md +0 -29
- data/Gemfile +0 -33
- 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/lib/dry/web/roda/templates/subapp/view__context.rb.tt +0 -10
- data/lib/dry/web/roda/templates/subapp/view__controller.rb.tt +0 -19
- data/lib/dry/web/roda/templates/view__context.rb.tt +0 -41
- data/lib/dry/web/roda/templates/view__controller.rb.tt +0 -17
- 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,4 +1,77 @@
|
|
1
|
-
|
1
|
+
## 0.14.0 2021-04-06
|
2
|
+
|
3
|
+
- "Dependency on thor was updated to `~> 1.0` (@rawburt)"
|
4
|
+
|
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)
|
10
|
+
|
11
|
+
[Compare v0.13.0...v0.13.1](https://github.com/dry-rb/dry-web-roda/compare/v0.13.0...v0.13.1)
|
12
|
+
|
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)
|
20
|
+
|
21
|
+
## 0.13.0 2019-12-24
|
22
|
+
|
23
|
+
|
24
|
+
### Fixed
|
25
|
+
|
26
|
+
- dry-monitor for rom is correctly configured in the generated boot file (@mlk-yozu)
|
27
|
+
|
28
|
+
### Changed
|
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`
|
33
|
+
- Removed `inflecto` from runtime dependencies (@solnic)
|
34
|
+
|
35
|
+
[Compare v0.13.0...v0.13.0](https://github.com/dry-rb/dry-web-roda/compare/v0.13.0...v0.13.0)
|
36
|
+
|
37
|
+
## 0.13.0 2019-12-24
|
38
|
+
|
39
|
+
|
40
|
+
### Fixed
|
41
|
+
|
42
|
+
- dry-monitor for rom is correctly configured in the generated boot file (@mlk-yozu)
|
43
|
+
|
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)~~
|
49
|
+
|
50
|
+
[Compare v0.12.0...v0.13.0](https://github.com/dry-rb/dry-web-roda/compare/v0.12.0...v0.13.0)
|
51
|
+
|
52
|
+
## 0.12.0 2019-04-16
|
53
|
+
|
54
|
+
|
55
|
+
### Changed
|
56
|
+
|
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])
|
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])
|
59
|
+
- [pr94]: https://github.com/dry-rb/dry-web-roda/pull/94/files
|
60
|
+
|
61
|
+
[Compare v0.11.0...v0.12.0](https://github.com/dry-rb/dry-web-roda/compare/v0.11.0...v0.12.0)
|
62
|
+
|
63
|
+
## 0.11.0 2018-02-21
|
64
|
+
|
65
|
+
|
66
|
+
### Changed
|
67
|
+
|
68
|
+
- Use Roda 3.0 and compatible version of roda-flow (GustavoCaso & alejandrobabio)
|
69
|
+
|
70
|
+
[Compare v0.10.0...v0.11.0](https://github.com/dry-rb/dry-web-roda/compare/v0.10.0...v0.11.0)
|
71
|
+
|
72
|
+
## 0.10.0 2018-02-13
|
73
|
+
|
74
|
+
In generated projects:
|
2
75
|
|
3
76
|
### Changed
|
4
77
|
|
@@ -12,48 +85,55 @@
|
|
12
85
|
```sh
|
13
86
|
bundle exec rerun -- rackup --port 4000 config.ru
|
14
87
|
```
|
15
|
-
|
16
|
-
In generated projects:
|
17
|
-
|
88
|
+
- In generated projects:
|
18
89
|
- Require dry-system 0.9 (GustavoCaso)
|
19
90
|
- Add ability to define custom view key resolver in `dry_view` Roda plugin (AMHOL)
|
20
91
|
|
21
92
|
[Compare v0.9.1...v0.10.0](https://github.com/dry-rb/dry-web-roda/compare/v0.9.1...v0.10.0)
|
22
93
|
|
23
|
-
|
94
|
+
## 0.9.1 2017-11-01
|
95
|
+
|
24
96
|
|
25
97
|
### Changed
|
26
98
|
|
27
99
|
- In generated projects, require dry-view 0.4 (timriley)
|
28
100
|
|
29
|
-
|
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:
|
30
106
|
|
31
107
|
### Changed
|
32
108
|
|
33
109
|
- `Dry::Web::Roda::Application` no longer automatically enables `error_handler` and `multi_route` Roda plugins (timriley)
|
34
110
|
- `DryView` Roda plugin no longer automatically enables `csrf` and `flash` Roda plugins (timriley)
|
35
111
|
- `DryView` Roda plugin no longer populates its `#view_context_options` with flash and CSRF data (timriley)
|
36
|
-
|
37
|
-
In generated projects:
|
38
|
-
|
112
|
+
- In generated projects:
|
39
113
|
- Nest sub-apps under the root project namespace (e.g. `MyApp::Main`) instead of keeping them at the top-level (`Main`) (timriley)
|
40
114
|
- Rename `Dry::Web::Roda::Application` subclasses from `Application` to `Web` (timriley)
|
41
115
|
- Comment out `r.multi_route` routing instruction in `Web` classes by default, to avoid future Roda exceptions (timriley)
|
42
116
|
- Enable more Roda plugins (`csrf`, `error_handler`, `flash`, `multi_route`) directly in `Web` classes (timriley)
|
43
117
|
- Add default implementation of `#view_context_options` to `Web` classes for `dry_view` Roda plugin (timriley)
|
44
118
|
|
45
|
-
|
119
|
+
[Compare v0.8.0...v0.9.0](https://github.com/dry-rb/dry-web-roda/compare/v0.8.0...v0.9.0)
|
46
120
|
|
47
|
-
|
121
|
+
## 0.8.0 2017-10-26
|
48
122
|
|
49
123
|
In generated projects:
|
50
124
|
|
125
|
+
### Changed
|
126
|
+
|
127
|
+
- In generated projects:
|
51
128
|
- Work with dry-system 0.8 (timriley)
|
52
129
|
- Use dry-systems own settings component in `boot/settings.rb` for project configuration (timriley)
|
53
130
|
- Rename `:rom` bootable component to `:persistence` so it can be automatically resolved and lazily loaded (timriley)
|
54
131
|
- Use rom-rb 4.0 (timriley)
|
55
132
|
|
56
|
-
|
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
|
+
|
57
137
|
|
58
138
|
### Added
|
59
139
|
|
@@ -63,22 +143,28 @@ In generated projects:
|
|
63
143
|
|
64
144
|
- An app will use `rack_monitor` only if its container is configured with listeners (solnic)
|
65
145
|
|
66
|
-
|
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
|
+
|
67
150
|
|
68
151
|
### Added
|
69
152
|
|
70
153
|
- Added db:create and db:drop take tasks, to create and drop the application database (GustavoCaso)
|
71
154
|
|
155
|
+
### Fixed
|
156
|
+
|
157
|
+
- Prevent duplicate log entries in generated umbrella architecture projects (timriley)
|
158
|
+
|
72
159
|
### Changed
|
73
160
|
|
74
161
|
- Use Postgres environment variables to provide connection info to `pg_dump` command in db:structure:dump rake task (timriley)
|
75
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)
|
76
163
|
|
77
|
-
|
164
|
+
[Compare v0.7.3...v0.7.4](https://github.com/dry-rb/dry-web-roda/compare/v0.7.3...v0.7.4)
|
78
165
|
|
79
|
-
|
166
|
+
## 0.7.3 2017-07-10
|
80
167
|
|
81
|
-
# 0.7.3 - 2017-07-10
|
82
168
|
|
83
169
|
### Fixed
|
84
170
|
|
@@ -89,34 +175,44 @@ In generated projects:
|
|
89
175
|
- In generated project, require `pry-byebug` instead of `byebug` alone (alejandrobabio)
|
90
176
|
- In generated project's `web_spec_helper.rb`, use updated `save_path` setting for Capybara (alejandrobabio)
|
91
177
|
|
92
|
-
|
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
|
+
|
93
182
|
|
94
183
|
### Fixed
|
95
184
|
|
96
185
|
- Add missing rom-factory dependency to generated project Gemfile (alejandrobabio)
|
97
186
|
- Fix reference to main application class in generated spec helpers file (alejandrobabio)
|
98
187
|
|
99
|
-
|
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
|
+
|
100
193
|
|
101
194
|
### Fixed
|
102
195
|
|
103
196
|
- Fix spelling of generated "lib/persistence" directory (timriley)
|
104
197
|
- Stop generating a welcome view in the umbrella system (timriley)
|
105
198
|
|
106
|
-
# 0.7.0 - 2017-06-16
|
107
199
|
|
108
|
-
|
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
|
109
203
|
|
110
204
|
In generated app:
|
111
205
|
|
206
|
+
### Added
|
207
|
+
|
208
|
+
- In generated app:
|
112
209
|
- Shared `Operation` class for all application operations to inherit from (timriley)
|
113
210
|
- Enable `auto_restrictions` relation plugin for ROM (timriley)
|
114
211
|
- Register low-level database connection object as "persistence.db" in core container (timriley)
|
115
212
|
|
116
213
|
### Changed
|
117
214
|
|
118
|
-
In generated app:
|
119
|
-
|
215
|
+
- In generated app:
|
120
216
|
- Use full database URL to include credentials in pg_dump (lukkor)
|
121
217
|
- Move view controller and context classes into main lib/ dirs (timriley)
|
122
218
|
- Use dry-system 0.7.0 magic comments to prevent auto-registration of base repository, view controller and view context classes (timriley)
|
@@ -125,20 +221,30 @@ In generated app:
|
|
125
221
|
- [BREAKING] Provide settings object via a bootable component
|
126
222
|
- [BREAKING] Remove special transactions setup harness, since dry-transaction 0.10.0 supports class-based transactions
|
127
223
|
|
128
|
-
|
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
|
+
|
129
228
|
|
130
229
|
### Changed
|
131
230
|
|
132
231
|
- Use the newly-released rom/rom-sql instrumentation plugin to generate SQL logs, rather than a local monkey patch (timriley)
|
133
232
|
|
134
|
-
|
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
|
+
|
135
237
|
|
136
238
|
### Fixed
|
137
239
|
|
138
240
|
- Support dashed names when generating projects, e.g. `dry-web-roda new my-app` (radar & timriley)
|
139
241
|
- Require securerandom for generating session keys in new flat architecture projects (alexandru-calinoiu)
|
140
242
|
|
141
|
-
|
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
|
+
|
142
248
|
|
143
249
|
### Added
|
144
250
|
|
@@ -146,27 +252,42 @@ In generated app:
|
|
146
252
|
- In generated projects, use dry-monitor to log SQL queries (timriley)
|
147
253
|
- Add new flat project generator: `dry-web-roda new <your_app> --arch=flat` (timriley)
|
148
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
|
+
|
149
259
|
### Changed
|
150
260
|
|
151
261
|
- Renamed sub-app generator from `dry-web-roda generate app` to `dry-web-roda generate sub_app` (timriley)
|
152
262
|
|
153
|
-
|
263
|
+
[Compare v0.6.1...v0.6.1](https://github.com/dry-rb/dry-web-roda/compare/v0.6.1...v0.6.1)
|
154
264
|
|
155
|
-
|
265
|
+
## 0.6.1 2017-02-03
|
156
266
|
|
157
|
-
# 0.6.1 - 2017-02-03
|
158
267
|
|
159
268
|
### Added
|
160
269
|
|
161
270
|
- In generated projects, integrate with dry-monitor (via dry-web) for centralized application logging and error reporting (solnic)
|
162
271
|
|
163
|
-
|
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
|
+
|
164
277
|
|
165
278
|
### Fixed
|
166
279
|
|
167
280
|
- `.gitignore` in generated umbrella app correctly ignores `log/` directory (alsemyonov)
|
168
281
|
|
169
|
-
|
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)
|
170
291
|
|
171
292
|
### Changed
|
172
293
|
|
@@ -179,15 +300,17 @@ In generated app:
|
|
179
300
|
- Add dry-monads and dry-struct gems to generated Gemfile (gotar)
|
180
301
|
- Expect symbols for flash keys in generated `Page` class (timriley)
|
181
302
|
|
182
|
-
|
183
|
-
|
184
|
-
- 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)
|
185
304
|
|
186
|
-
|
305
|
+
## 0.4.0 2016-08-15
|
187
306
|
|
188
307
|
Update to dry-web with dry-system (solnic)
|
189
308
|
|
190
|
-
|
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
|
+
|
191
314
|
|
192
315
|
### Added
|
193
316
|
|
@@ -197,26 +320,40 @@ Update to dry-web with dry-system (solnic)
|
|
197
320
|
|
198
321
|
- Use latest dry-web for latest dry-component injector API (timriley)
|
199
322
|
|
200
|
-
|
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
|
+
|
201
327
|
|
202
328
|
### Changed
|
203
329
|
|
204
330
|
- By default, don't display warning output when running specs (timriley)
|
205
331
|
|
206
|
-
|
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
|
+
|
207
336
|
|
208
337
|
### Fixed
|
209
338
|
|
210
339
|
- Fixed a misnamed module in sub-app generator (hl)
|
211
340
|
- Removed a deprecated option from the `pg_dump` invocation after migrations (timriley)
|
212
341
|
|
213
|
-
|
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
|
+
|
214
347
|
|
215
348
|
### Fixed
|
216
349
|
|
217
350
|
- Fixed a broken require in generated apps (timriley)
|
218
351
|
|
219
|
-
|
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
|
+
|
220
357
|
|
221
358
|
### Added
|
222
359
|
|
@@ -235,6 +372,7 @@ Update to dry-web with dry-system (solnic)
|
|
235
372
|
```
|
236
373
|
- Added the beginnings of a skeleton-based code generator, to support the above (timriley)
|
237
374
|
|
238
|
-
# 0.1.0 / 2016-06-12
|
239
375
|
|
240
|
-
|
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
@@ -1,22 +1,20 @@
|
|
1
|
-
|
1
|
+
The MIT License (MIT)
|
2
2
|
|
3
|
-
|
3
|
+
Copyright (c) 2015-2020 dry-rb team
|
4
4
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
the following conditions:
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
7
|
+
the Software without restriction, including without limitation the rights to
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
10
|
+
subject to the following conditions:
|
12
11
|
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
15
14
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,52 +1,26 @@
|
|
1
|
+
# ⚠ Deprecated in favor of Hanami 2.0
|
2
|
+
|
1
3
|
[gem]: https://rubygems.org/gems/dry-web-roda
|
2
|
-
[
|
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
|
-
[![
|
10
|
-
[![
|
11
|
-
[![
|
12
|
-
[![Inline docs](http://inch-ci.org/github/dry-rb/dry-web-roda.svg?branch=master
|
13
|
-
|
14
|
-
Integration between [dry-web](https://github.com/dry-rb/dry-web) and [roda](https://github.com/jeremyevans/roda).
|
15
|
-
|
16
|
-
dry-web-roda offers a CLI for generating new projects.
|
17
|
-
|
18
|
-
### Umbrella projects
|
19
|
-
|
20
|
-
To generate a new _umbrella project_ (functionality divided into sub-apps):
|
21
|
-
|
22
|
-
```sh
|
23
|
-
$ dry-web-roda new <your_project_name>
|
24
|
-
```
|
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]
|
25
16
|
|
26
|
-
|
17
|
+
## Supported Ruby versions
|
27
18
|
|
28
|
-
|
29
|
-
$ dry-web-roda generate sub_app <your_sub_app_name> --umbrella=<your_project_name>
|
30
|
-
```
|
19
|
+
This library officially supports the following Ruby versions:
|
31
20
|
|
32
|
-
|
21
|
+
* MRI >= `2.4`
|
22
|
+
* jruby >= `9.2`
|
33
23
|
|
34
|
-
|
35
|
-
|
36
|
-
```sh
|
37
|
-
$ dry-web-roda new <your_project_name> --arch=flat
|
38
|
-
```
|
39
|
-
|
40
|
-
## LICENSE
|
24
|
+
## License
|
41
25
|
|
42
26
|
See `LICENSE` file.
|
43
|
-
|
44
|
-
## Contributing
|
45
|
-
|
46
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/dry-rb/dry-web-roda.
|
47
|
-
|
48
|
-
## Acknowledgements
|
49
|
-
|
50
|
-
The support code for testing the CLI and generated app are derived from
|
51
|
-
[hanami/hanami](https://github.com/hanami/hanami). Thank you to Luca and the
|
52
|
-
Hanami team!
|