hanami 1.3.1 → 2.0.0.alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +110 -6
  3. data/FEATURES.md +9 -1
  4. data/LICENSE.md +1 -1
  5. data/README.md +4 -5
  6. data/hanami.gemspec +26 -30
  7. data/lib/hanami.rb +40 -243
  8. data/lib/hanami/application.rb +338 -174
  9. data/lib/hanami/application/autoloader/inflector_adapter.rb +22 -0
  10. data/lib/hanami/application/container/boot/inflector.rb +7 -0
  11. data/lib/hanami/application/container/boot/logger.rb +8 -0
  12. data/lib/hanami/application/container/boot/rack_logger.rb +19 -0
  13. data/lib/hanami/application/container/boot/rack_monitor.rb +12 -0
  14. data/lib/hanami/application/container/boot/settings.rb +7 -0
  15. data/lib/hanami/application/router.rb +59 -0
  16. data/lib/hanami/application/routing/middleware/stack.rb +89 -0
  17. data/lib/hanami/application/routing/resolver.rb +82 -0
  18. data/lib/hanami/application/routing/resolver/node.rb +50 -0
  19. data/lib/hanami/application/routing/resolver/trie.rb +59 -0
  20. data/lib/hanami/application/settings.rb +23 -0
  21. data/lib/hanami/application/settings/definition.rb +26 -0
  22. data/lib/hanami/application/settings/loader.rb +97 -0
  23. data/lib/hanami/application/settings/struct.rb +65 -0
  24. data/lib/hanami/boot.rb +5 -0
  25. data/lib/hanami/cli/application/cli.rb +40 -0
  26. data/lib/hanami/cli/application/command.rb +47 -0
  27. data/lib/hanami/cli/application/commands.rb +16 -0
  28. data/lib/hanami/cli/application/commands/console.rb +81 -0
  29. data/lib/hanami/cli/base_command.rb +48 -0
  30. data/lib/hanami/cli/commands.rb +6 -42
  31. data/lib/hanami/cli/commands/command.rb +20 -30
  32. data/lib/hanami/cli/commands/server.rb +63 -14
  33. data/lib/hanami/configuration.rb +248 -190
  34. data/lib/hanami/configuration/middleware.rb +8 -28
  35. data/lib/hanami/configuration/router.rb +50 -0
  36. data/lib/hanami/configuration/sessions.rb +50 -0
  37. data/lib/hanami/init.rb +5 -0
  38. data/lib/hanami/server.rb +5 -69
  39. data/lib/hanami/setup.rb +8 -2
  40. data/lib/hanami/slice.rb +138 -0
  41. data/lib/hanami/version.rb +3 -1
  42. data/lib/hanami/web/rack_logger.rb +96 -0
  43. metadata +84 -228
  44. data/bin/hanami +0 -6
  45. data/lib/hanami/action/csrf_protection.rb +0 -211
  46. data/lib/hanami/action/routing_helpers.rb +0 -40
  47. data/lib/hanami/app.rb +0 -96
  48. data/lib/hanami/application_configuration.rb +0 -1495
  49. data/lib/hanami/application_name.rb +0 -108
  50. data/lib/hanami/application_namespace.rb +0 -14
  51. data/lib/hanami/assets/asset.rb +0 -72
  52. data/lib/hanami/assets/static.rb +0 -102
  53. data/lib/hanami/cli/commands/assets.rb +0 -16
  54. data/lib/hanami/cli/commands/assets/precompile.rb +0 -42
  55. data/lib/hanami/cli/commands/console.rb +0 -95
  56. data/lib/hanami/cli/commands/db.rb +0 -32
  57. data/lib/hanami/cli/commands/db/apply.rb +0 -32
  58. data/lib/hanami/cli/commands/db/console.rb +0 -44
  59. data/lib/hanami/cli/commands/db/create.rb +0 -32
  60. data/lib/hanami/cli/commands/db/drop.rb +0 -32
  61. data/lib/hanami/cli/commands/db/migrate.rb +0 -39
  62. data/lib/hanami/cli/commands/db/prepare.rb +0 -32
  63. data/lib/hanami/cli/commands/db/rollback.rb +0 -59
  64. data/lib/hanami/cli/commands/db/version.rb +0 -32
  65. data/lib/hanami/cli/commands/destroy.rb +0 -26
  66. data/lib/hanami/cli/commands/destroy/action.rb +0 -137
  67. data/lib/hanami/cli/commands/destroy/app.rb +0 -159
  68. data/lib/hanami/cli/commands/destroy/mailer.rb +0 -74
  69. data/lib/hanami/cli/commands/destroy/migration.rb +0 -51
  70. data/lib/hanami/cli/commands/destroy/model.rb +0 -84
  71. data/lib/hanami/cli/commands/generate.rb +0 -28
  72. data/lib/hanami/cli/commands/generate/action.rb +0 -321
  73. data/lib/hanami/cli/commands/generate/action/action.erb +0 -7
  74. data/lib/hanami/cli/commands/generate/action/action_spec.minitest.erb +0 -11
  75. data/lib/hanami/cli/commands/generate/action/action_spec.rspec.erb +0 -9
  76. data/lib/hanami/cli/commands/generate/action/action_without_view.erb +0 -7
  77. data/lib/hanami/cli/commands/generate/action/view.erb +0 -7
  78. data/lib/hanami/cli/commands/generate/action/view_spec.minitest.erb +0 -12
  79. data/lib/hanami/cli/commands/generate/action/view_spec.rspec.erb +0 -10
  80. data/lib/hanami/cli/commands/generate/app.rb +0 -243
  81. data/lib/hanami/cli/commands/generate/app/application.erb +0 -313
  82. data/lib/hanami/cli/commands/generate/app/favicon.ico +0 -0
  83. data/lib/hanami/cli/commands/generate/app/gitkeep.erb +0 -0
  84. data/lib/hanami/cli/commands/generate/app/layout.erb +0 -7
  85. data/lib/hanami/cli/commands/generate/app/layout_spec.minitest.erb +0 -10
  86. data/lib/hanami/cli/commands/generate/app/layout_spec.rspec.erb +0 -10
  87. data/lib/hanami/cli/commands/generate/app/routes.erb +0 -5
  88. data/lib/hanami/cli/commands/generate/app/template.erb.erb +0 -10
  89. data/lib/hanami/cli/commands/generate/app/template.haml.erb +0 -7
  90. data/lib/hanami/cli/commands/generate/app/template.slim.erb +0 -8
  91. data/lib/hanami/cli/commands/generate/mailer.rb +0 -104
  92. data/lib/hanami/cli/commands/generate/mailer/mailer.erb +0 -9
  93. data/lib/hanami/cli/commands/generate/mailer/mailer_spec.minitest.erb +0 -7
  94. data/lib/hanami/cli/commands/generate/mailer/mailer_spec.rspec.erb +0 -5
  95. data/lib/hanami/cli/commands/generate/migration.rb +0 -41
  96. data/lib/hanami/cli/commands/generate/migration/migration.erb +0 -4
  97. data/lib/hanami/cli/commands/generate/model.rb +0 -125
  98. data/lib/hanami/cli/commands/generate/model/entity.erb +0 -2
  99. data/lib/hanami/cli/commands/generate/model/entity_spec.minitest.erb +0 -5
  100. data/lib/hanami/cli/commands/generate/model/entity_spec.rspec.erb +0 -3
  101. data/lib/hanami/cli/commands/generate/model/migration.erb +0 -10
  102. data/lib/hanami/cli/commands/generate/model/repository.erb +0 -5
  103. data/lib/hanami/cli/commands/generate/model/repository_spec.minitest.erb +0 -5
  104. data/lib/hanami/cli/commands/generate/model/repository_spec.rspec.erb +0 -3
  105. data/lib/hanami/cli/commands/generate/secret.rb +0 -48
  106. data/lib/hanami/cli/commands/new.rb +0 -578
  107. data/lib/hanami/cli/commands/new/.env.development.erb +0 -3
  108. data/lib/hanami/cli/commands/new/.env.test.erb +0 -3
  109. data/lib/hanami/cli/commands/new/.gitkeep.erb +0 -0
  110. data/lib/hanami/cli/commands/new/Gemfile.erb +0 -58
  111. data/lib/hanami/cli/commands/new/README.md.erb +0 -33
  112. data/lib/hanami/cli/commands/new/config.ru.erb +0 -3
  113. data/lib/hanami/cli/commands/new/config/boot.erb +0 -2
  114. data/lib/hanami/cli/commands/new/config/environment.erb +0 -49
  115. data/lib/hanami/cli/commands/new/gitignore.erb +0 -2
  116. data/lib/hanami/cli/commands/new/gitignore_with_sqlite.erb +0 -3
  117. data/lib/hanami/cli/commands/new/hanamirc.erb +0 -3
  118. data/lib/hanami/cli/commands/new/lib/project.erb +0 -2
  119. data/lib/hanami/cli/commands/new/minitest/Rakefile.erb +0 -12
  120. data/lib/hanami/cli/commands/new/minitest/features_helper.erb +0 -11
  121. data/lib/hanami/cli/commands/new/minitest/spec_helper.erb +0 -7
  122. data/lib/hanami/cli/commands/new/rspec/Rakefile.erb +0 -9
  123. data/lib/hanami/cli/commands/new/rspec/capybara.erb +0 -8
  124. data/lib/hanami/cli/commands/new/rspec/features_helper.erb +0 -12
  125. data/lib/hanami/cli/commands/new/rspec/rspec.erb +0 -2
  126. data/lib/hanami/cli/commands/new/rspec/spec_helper.erb +0 -103
  127. data/lib/hanami/cli/commands/new/schema.sql.erb +0 -0
  128. data/lib/hanami/cli/commands/project.rb +0 -421
  129. data/lib/hanami/cli/commands/routes.rb +0 -21
  130. data/lib/hanami/cli/commands/templates.rb +0 -31
  131. data/lib/hanami/cli/commands/version.rb +0 -19
  132. data/lib/hanami/common_logger.rb +0 -93
  133. data/lib/hanami/components.rb +0 -156
  134. data/lib/hanami/components/app/assets.rb +0 -59
  135. data/lib/hanami/components/app/controller.rb +0 -74
  136. data/lib/hanami/components/app/routes.rb +0 -59
  137. data/lib/hanami/components/app/view.rb +0 -44
  138. data/lib/hanami/components/component.rb +0 -182
  139. data/lib/hanami/components/components.rb +0 -479
  140. data/lib/hanami/components/routes_inspector.rb +0 -72
  141. data/lib/hanami/config/cookies.rb +0 -69
  142. data/lib/hanami/config/framework_configuration.rb +0 -43
  143. data/lib/hanami/config/load_paths.rb +0 -46
  144. data/lib/hanami/config/mapper.rb +0 -47
  145. data/lib/hanami/config/routes.rb +0 -20
  146. data/lib/hanami/config/security.rb +0 -110
  147. data/lib/hanami/config/sessions.rb +0 -103
  148. data/lib/hanami/configuration/app.rb +0 -18
  149. data/lib/hanami/early_hints.rb +0 -129
  150. data/lib/hanami/env.rb +0 -69
  151. data/lib/hanami/environment.rb +0 -513
  152. data/lib/hanami/environment_application_configurations.rb +0 -37
  153. data/lib/hanami/frameworks.rb +0 -22
  154. data/lib/hanami/hanamirc.rb +0 -169
  155. data/lib/hanami/mailer/glue.rb +0 -27
  156. data/lib/hanami/middleware_stack.rb +0 -172
  157. data/lib/hanami/rake_helper.rb +0 -78
  158. data/lib/hanami/rake_tasks.rb +0 -2
  159. data/lib/hanami/rendering_policy.rb +0 -95
  160. data/lib/hanami/routes.rb +0 -219
  161. data/lib/hanami/routing/default.rb +0 -32
  162. data/lib/hanami/static.rb +0 -63
  163. data/lib/hanami/templates/default.html.erb +0 -30
  164. data/lib/hanami/templates/welcome.html.erb +0 -52
  165. data/lib/hanami/views/default.rb +0 -37
  166. data/lib/hanami/views/default_template_finder.rb +0 -22
  167. data/lib/hanami/views/null_view.rb +0 -15
  168. data/lib/hanami/welcome.rb +0 -36
metadata CHANGED
@@ -1,189 +1,159 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 2.0.0.alpha2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-18 00:00:00.000000000 Z
11
+ date: 2021-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: hanami-utils
14
+ name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.3'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
17
+ - - ">="
25
18
  - !ruby/object:Gem::Version
26
- version: '1.3'
27
- - !ruby/object:Gem::Dependency
28
- name: hanami-validations
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
19
+ version: '1.16'
20
+ - - "<"
32
21
  - !ruby/object:Gem::Version
33
- version: '1.3'
22
+ version: '3'
34
23
  type: :runtime
35
24
  prerelease: false
36
25
  version_requirements: !ruby/object:Gem::Requirement
37
26
  requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.3'
41
- - !ruby/object:Gem::Dependency
42
- name: hanami-router
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
27
+ - - ">="
46
28
  - !ruby/object:Gem::Version
47
- version: '1.3'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
29
+ version: '1.16'
30
+ - - "<"
53
31
  - !ruby/object:Gem::Version
54
- version: '1.3'
32
+ version: '3'
55
33
  - !ruby/object:Gem::Dependency
56
- name: hanami-controller
34
+ name: dry-core
57
35
  requirement: !ruby/object:Gem::Requirement
58
36
  requirements:
59
37
  - - "~>"
60
38
  - !ruby/object:Gem::Version
61
- version: '1.3'
39
+ version: '0.4'
62
40
  type: :runtime
63
41
  prerelease: false
64
42
  version_requirements: !ruby/object:Gem::Requirement
65
43
  requirements:
66
44
  - - "~>"
67
45
  - !ruby/object:Gem::Version
68
- version: '1.3'
46
+ version: '0.4'
69
47
  - !ruby/object:Gem::Dependency
70
- name: hanami-view
48
+ name: dry-inflector
71
49
  requirement: !ruby/object:Gem::Requirement
72
50
  requirements:
73
51
  - - "~>"
74
52
  - !ruby/object:Gem::Version
75
- version: '1.3'
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '1.3'
83
- - !ruby/object:Gem::Dependency
84
- name: hanami-helpers
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
53
+ version: '0.1'
54
+ - - ">="
88
55
  - !ruby/object:Gem::Version
89
- version: '1.3'
56
+ version: 0.1.2
90
57
  type: :runtime
91
58
  prerelease: false
92
59
  version_requirements: !ruby/object:Gem::Requirement
93
60
  requirements:
94
61
  - - "~>"
95
62
  - !ruby/object:Gem::Version
96
- version: '1.3'
63
+ version: '0.1'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 0.1.2
97
67
  - !ruby/object:Gem::Dependency
98
- name: hanami-mailer
68
+ name: dry-monitor
99
69
  requirement: !ruby/object:Gem::Requirement
100
70
  requirements:
101
- - - "~>"
71
+ - - ">="
102
72
  - !ruby/object:Gem::Version
103
- version: '1.3'
73
+ version: '0'
104
74
  type: :runtime
105
75
  prerelease: false
106
76
  version_requirements: !ruby/object:Gem::Requirement
107
77
  requirements:
108
- - - "~>"
78
+ - - ">="
109
79
  - !ruby/object:Gem::Version
110
- version: '1.3'
80
+ version: '0'
111
81
  - !ruby/object:Gem::Dependency
112
- name: hanami-assets
82
+ name: dry-system
113
83
  requirement: !ruby/object:Gem::Requirement
114
84
  requirements:
115
85
  - - "~>"
116
86
  - !ruby/object:Gem::Version
117
- version: '1.3'
87
+ version: '0.19'
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: 0.19.0
118
91
  type: :runtime
119
92
  prerelease: false
120
93
  version_requirements: !ruby/object:Gem::Requirement
121
94
  requirements:
122
95
  - - "~>"
123
96
  - !ruby/object:Gem::Version
124
- version: '1.3'
97
+ version: '0.19'
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: 0.19.0
125
101
  - !ruby/object:Gem::Dependency
126
102
  name: hanami-cli
127
103
  requirement: !ruby/object:Gem::Requirement
128
104
  requirements:
129
105
  - - "~>"
130
106
  - !ruby/object:Gem::Version
131
- version: '0.3'
107
+ version: 2.0.alpha
132
108
  type: :runtime
133
109
  prerelease: false
134
110
  version_requirements: !ruby/object:Gem::Requirement
135
111
  requirements:
136
112
  - - "~>"
137
113
  - !ruby/object:Gem::Version
138
- version: '0.3'
114
+ version: 2.0.alpha
139
115
  - !ruby/object:Gem::Dependency
140
- name: concurrent-ruby
116
+ name: hanami-utils
141
117
  requirement: !ruby/object:Gem::Requirement
142
118
  requirements:
143
119
  - - "~>"
144
120
  - !ruby/object:Gem::Version
145
- version: '1.0'
121
+ version: 2.0.alpha
146
122
  type: :runtime
147
123
  prerelease: false
148
124
  version_requirements: !ruby/object:Gem::Requirement
149
125
  requirements:
150
126
  - - "~>"
151
127
  - !ruby/object:Gem::Version
152
- version: '1.0'
128
+ version: 2.0.alpha
153
129
  - !ruby/object:Gem::Dependency
154
- name: bundler
130
+ name: zeitwerk
155
131
  requirement: !ruby/object:Gem::Requirement
156
132
  requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- version: '1.6'
160
- - - "<"
133
+ - - "~>"
161
134
  - !ruby/object:Gem::Version
162
- version: '3'
135
+ version: '2.4'
163
136
  type: :runtime
164
137
  prerelease: false
165
138
  version_requirements: !ruby/object:Gem::Requirement
166
139
  requirements:
167
- - - ">="
168
- - !ruby/object:Gem::Version
169
- version: '1.6'
170
- - - "<"
140
+ - - "~>"
171
141
  - !ruby/object:Gem::Version
172
- version: '3'
142
+ version: '2.4'
173
143
  - !ruby/object:Gem::Dependency
174
144
  name: rspec
175
145
  requirement: !ruby/object:Gem::Requirement
176
146
  requirements:
177
147
  - - "~>"
178
148
  - !ruby/object:Gem::Version
179
- version: '3.7'
149
+ version: '3.8'
180
150
  type: :development
181
151
  prerelease: false
182
152
  version_requirements: !ruby/object:Gem::Requirement
183
153
  requirements:
184
154
  - - "~>"
185
155
  - !ruby/object:Gem::Version
186
- version: '3.7'
156
+ version: '3.8'
187
157
  - !ruby/object:Gem::Dependency
188
158
  name: rack-test
189
159
  requirement: !ruby/object:Gem::Requirement
@@ -198,39 +168,24 @@ dependencies:
198
168
  - - "~>"
199
169
  - !ruby/object:Gem::Version
200
170
  version: '1.1'
201
- - !ruby/object:Gem::Dependency
202
- name: aruba
203
- requirement: !ruby/object:Gem::Requirement
204
- requirements:
205
- - - "~>"
206
- - !ruby/object:Gem::Version
207
- version: '0.14'
208
- type: :development
209
- prerelease: false
210
- version_requirements: !ruby/object:Gem::Requirement
211
- requirements:
212
- - - "~>"
213
- - !ruby/object:Gem::Version
214
- version: '0.14'
215
171
  - !ruby/object:Gem::Dependency
216
172
  name: rake
217
173
  requirement: !ruby/object:Gem::Requirement
218
174
  requirements:
219
175
  - - "~>"
220
176
  - !ruby/object:Gem::Version
221
- version: '12.0'
177
+ version: '13.0'
222
178
  type: :development
223
179
  prerelease: false
224
180
  version_requirements: !ruby/object:Gem::Requirement
225
181
  requirements:
226
182
  - - "~>"
227
183
  - !ruby/object:Gem::Version
228
- version: '12.0'
184
+ version: '13.0'
229
185
  description: Hanami is a web framework for Ruby
230
186
  email:
231
187
  - me@lucaguidi.com
232
- executables:
233
- - hanami
188
+ executables: []
234
189
  extensions: []
235
190
  extra_rdoc_files: []
236
191
  files:
@@ -239,148 +194,49 @@ files:
239
194
  - FEATURES.md
240
195
  - LICENSE.md
241
196
  - README.md
242
- - bin/hanami
243
197
  - hanami.gemspec
244
198
  - lib/hanami.rb
245
- - lib/hanami/action/csrf_protection.rb
246
- - lib/hanami/action/routing_helpers.rb
247
- - lib/hanami/app.rb
248
199
  - lib/hanami/application.rb
249
- - lib/hanami/application_configuration.rb
250
- - lib/hanami/application_name.rb
251
- - lib/hanami/application_namespace.rb
252
- - lib/hanami/assets/asset.rb
253
- - lib/hanami/assets/static.rb
200
+ - lib/hanami/application/autoloader/inflector_adapter.rb
201
+ - lib/hanami/application/container/boot/inflector.rb
202
+ - lib/hanami/application/container/boot/logger.rb
203
+ - lib/hanami/application/container/boot/rack_logger.rb
204
+ - lib/hanami/application/container/boot/rack_monitor.rb
205
+ - lib/hanami/application/container/boot/settings.rb
206
+ - lib/hanami/application/router.rb
207
+ - lib/hanami/application/routing/middleware/stack.rb
208
+ - lib/hanami/application/routing/resolver.rb
209
+ - lib/hanami/application/routing/resolver/node.rb
210
+ - lib/hanami/application/routing/resolver/trie.rb
211
+ - lib/hanami/application/settings.rb
212
+ - lib/hanami/application/settings/definition.rb
213
+ - lib/hanami/application/settings/loader.rb
214
+ - lib/hanami/application/settings/struct.rb
215
+ - lib/hanami/boot.rb
216
+ - lib/hanami/cli/application/cli.rb
217
+ - lib/hanami/cli/application/command.rb
218
+ - lib/hanami/cli/application/commands.rb
219
+ - lib/hanami/cli/application/commands/console.rb
220
+ - lib/hanami/cli/base_command.rb
254
221
  - lib/hanami/cli/commands.rb
255
- - lib/hanami/cli/commands/assets.rb
256
- - lib/hanami/cli/commands/assets/precompile.rb
257
222
  - lib/hanami/cli/commands/command.rb
258
- - lib/hanami/cli/commands/console.rb
259
- - lib/hanami/cli/commands/db.rb
260
- - lib/hanami/cli/commands/db/apply.rb
261
- - lib/hanami/cli/commands/db/console.rb
262
- - lib/hanami/cli/commands/db/create.rb
263
- - lib/hanami/cli/commands/db/drop.rb
264
- - lib/hanami/cli/commands/db/migrate.rb
265
- - lib/hanami/cli/commands/db/prepare.rb
266
- - lib/hanami/cli/commands/db/rollback.rb
267
- - lib/hanami/cli/commands/db/version.rb
268
- - lib/hanami/cli/commands/destroy.rb
269
- - lib/hanami/cli/commands/destroy/action.rb
270
- - lib/hanami/cli/commands/destroy/app.rb
271
- - lib/hanami/cli/commands/destroy/mailer.rb
272
- - lib/hanami/cli/commands/destroy/migration.rb
273
- - lib/hanami/cli/commands/destroy/model.rb
274
- - lib/hanami/cli/commands/generate.rb
275
- - lib/hanami/cli/commands/generate/action.rb
276
- - lib/hanami/cli/commands/generate/action/action.erb
277
- - lib/hanami/cli/commands/generate/action/action_spec.minitest.erb
278
- - lib/hanami/cli/commands/generate/action/action_spec.rspec.erb
279
- - lib/hanami/cli/commands/generate/action/action_without_view.erb
280
- - lib/hanami/cli/commands/generate/action/view.erb
281
- - lib/hanami/cli/commands/generate/action/view_spec.minitest.erb
282
- - lib/hanami/cli/commands/generate/action/view_spec.rspec.erb
283
- - lib/hanami/cli/commands/generate/app.rb
284
- - lib/hanami/cli/commands/generate/app/application.erb
285
- - lib/hanami/cli/commands/generate/app/favicon.ico
286
- - lib/hanami/cli/commands/generate/app/gitkeep.erb
287
- - lib/hanami/cli/commands/generate/app/layout.erb
288
- - lib/hanami/cli/commands/generate/app/layout_spec.minitest.erb
289
- - lib/hanami/cli/commands/generate/app/layout_spec.rspec.erb
290
- - lib/hanami/cli/commands/generate/app/routes.erb
291
- - lib/hanami/cli/commands/generate/app/template.erb.erb
292
- - lib/hanami/cli/commands/generate/app/template.haml.erb
293
- - lib/hanami/cli/commands/generate/app/template.slim.erb
294
- - lib/hanami/cli/commands/generate/mailer.rb
295
- - lib/hanami/cli/commands/generate/mailer/mailer.erb
296
- - lib/hanami/cli/commands/generate/mailer/mailer_spec.minitest.erb
297
- - lib/hanami/cli/commands/generate/mailer/mailer_spec.rspec.erb
298
- - lib/hanami/cli/commands/generate/migration.rb
299
- - lib/hanami/cli/commands/generate/migration/migration.erb
300
- - lib/hanami/cli/commands/generate/model.rb
301
- - lib/hanami/cli/commands/generate/model/entity.erb
302
- - lib/hanami/cli/commands/generate/model/entity_spec.minitest.erb
303
- - lib/hanami/cli/commands/generate/model/entity_spec.rspec.erb
304
- - lib/hanami/cli/commands/generate/model/migration.erb
305
- - lib/hanami/cli/commands/generate/model/repository.erb
306
- - lib/hanami/cli/commands/generate/model/repository_spec.minitest.erb
307
- - lib/hanami/cli/commands/generate/model/repository_spec.rspec.erb
308
- - lib/hanami/cli/commands/generate/secret.rb
309
- - lib/hanami/cli/commands/new.rb
310
- - lib/hanami/cli/commands/new/.env.development.erb
311
- - lib/hanami/cli/commands/new/.env.test.erb
312
- - lib/hanami/cli/commands/new/.gitkeep.erb
313
- - lib/hanami/cli/commands/new/Gemfile.erb
314
- - lib/hanami/cli/commands/new/README.md.erb
315
- - lib/hanami/cli/commands/new/config.ru.erb
316
- - lib/hanami/cli/commands/new/config/boot.erb
317
- - lib/hanami/cli/commands/new/config/environment.erb
318
- - lib/hanami/cli/commands/new/gitignore.erb
319
- - lib/hanami/cli/commands/new/gitignore_with_sqlite.erb
320
- - lib/hanami/cli/commands/new/hanamirc.erb
321
- - lib/hanami/cli/commands/new/lib/project.erb
322
- - lib/hanami/cli/commands/new/minitest/Rakefile.erb
323
- - lib/hanami/cli/commands/new/minitest/features_helper.erb
324
- - lib/hanami/cli/commands/new/minitest/spec_helper.erb
325
- - lib/hanami/cli/commands/new/rspec/Rakefile.erb
326
- - lib/hanami/cli/commands/new/rspec/capybara.erb
327
- - lib/hanami/cli/commands/new/rspec/features_helper.erb
328
- - lib/hanami/cli/commands/new/rspec/rspec.erb
329
- - lib/hanami/cli/commands/new/rspec/spec_helper.erb
330
- - lib/hanami/cli/commands/new/schema.sql.erb
331
- - lib/hanami/cli/commands/project.rb
332
- - lib/hanami/cli/commands/routes.rb
333
223
  - lib/hanami/cli/commands/server.rb
334
- - lib/hanami/cli/commands/templates.rb
335
- - lib/hanami/cli/commands/version.rb
336
- - lib/hanami/common_logger.rb
337
- - lib/hanami/components.rb
338
- - lib/hanami/components/app/assets.rb
339
- - lib/hanami/components/app/controller.rb
340
- - lib/hanami/components/app/routes.rb
341
- - lib/hanami/components/app/view.rb
342
- - lib/hanami/components/component.rb
343
- - lib/hanami/components/components.rb
344
- - lib/hanami/components/routes_inspector.rb
345
- - lib/hanami/config/cookies.rb
346
- - lib/hanami/config/framework_configuration.rb
347
- - lib/hanami/config/load_paths.rb
348
- - lib/hanami/config/mapper.rb
349
- - lib/hanami/config/routes.rb
350
- - lib/hanami/config/security.rb
351
- - lib/hanami/config/sessions.rb
352
224
  - lib/hanami/configuration.rb
353
- - lib/hanami/configuration/app.rb
354
225
  - lib/hanami/configuration/middleware.rb
355
- - lib/hanami/early_hints.rb
356
- - lib/hanami/env.rb
357
- - lib/hanami/environment.rb
358
- - lib/hanami/environment_application_configurations.rb
359
- - lib/hanami/frameworks.rb
360
- - lib/hanami/hanamirc.rb
361
- - lib/hanami/mailer/glue.rb
362
- - lib/hanami/middleware_stack.rb
363
- - lib/hanami/rake_helper.rb
364
- - lib/hanami/rake_tasks.rb
365
- - lib/hanami/rendering_policy.rb
366
- - lib/hanami/routes.rb
367
- - lib/hanami/routing/default.rb
226
+ - lib/hanami/configuration/router.rb
227
+ - lib/hanami/configuration/sessions.rb
228
+ - lib/hanami/init.rb
368
229
  - lib/hanami/server.rb
369
230
  - lib/hanami/setup.rb
370
- - lib/hanami/static.rb
371
- - lib/hanami/templates/default.html.erb
372
- - lib/hanami/templates/welcome.html.erb
231
+ - lib/hanami/slice.rb
373
232
  - lib/hanami/version.rb
374
- - lib/hanami/views/default.rb
375
- - lib/hanami/views/default_template_finder.rb
376
- - lib/hanami/views/null_view.rb
377
- - lib/hanami/welcome.rb
233
+ - lib/hanami/web/rack_logger.rb
378
234
  homepage: http://hanamirb.org
379
235
  licenses:
380
236
  - MIT
381
237
  metadata:
382
238
  allowed_push_host: https://rubygems.org
383
- post_install_message:
239
+ post_install_message:
384
240
  rdoc_options: []
385
241
  require_paths:
386
242
  - lib
@@ -388,15 +244,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
388
244
  requirements:
389
245
  - - ">="
390
246
  - !ruby/object:Gem::Version
391
- version: 2.3.0
247
+ version: 2.6.0
392
248
  required_rubygems_version: !ruby/object:Gem::Requirement
393
249
  requirements:
394
- - - ">="
250
+ - - ">"
395
251
  - !ruby/object:Gem::Version
396
- version: '0'
252
+ version: 1.3.1
397
253
  requirements: []
398
- rubygems_version: 3.0.2
399
- signing_key:
254
+ rubygems_version: 3.2.3
255
+ signing_key:
400
256
  specification_version: 4
401
257
  summary: The web, with simplicity
402
258
  test_files: []