hanamismith 0.10.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1a86151af6aa23c90da258514d1b75edacdd1b5b8e45ed509251d5eec4be7fe
4
- data.tar.gz: 7c98b06f7ede71e0b0dd2707cf1d1d1391c403be19c397e32d45b7c78a5ea5dd
3
+ metadata.gz: e1f5cbb4d713cfc1a7150d1005ee9cc8b1e6641f4a1ec96367ea3a45da966e9e
4
+ data.tar.gz: 3b53d34b677f9485c725121d5de2a4097b2d0b433a297db76456dc24c523acbf
5
5
  SHA512:
6
- metadata.gz: 769ecb3a1a3b08ef3e42e6cf4b59d984717863278d89cd227b716df543e03b4a8c056caf1b4f3f48966d774ed7d6065cb81e96119be566e31e8d1d82e9ac8e6c
7
- data.tar.gz: 5b49ec28c1bfd5d4821714dccf69a00b233eb050a6787bf990ceedf74f231791378c6089493f097adce9d6c94b3b88e8a6b997bcdd76d63cc5d1d4012dd08691
6
+ metadata.gz: ad47edf81a8e17cd5402703ba82a0290847e6664b2f7ef7070223e87df812b1fe9b6694a3bd513bf7cfc397bbf240e4f8a7fe76e26b9b491b31386404726ce1f
7
+ data.tar.gz: fd59aa6a491e24ff2360b47179e9bf15575bb324e257c4b76d4c4ff1af69730b960d28e051978c4bccccadfc1f581edba802fb66c15d6bca217df70052513762
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -8,7 +8,7 @@
8
8
  :dotenv_link: link:https://github.com/bkeepers/dotenv[Dotenv]
9
9
  :dotfiles_link: link:https://alchemists.io/projects/dotfiles[Dotfiles]
10
10
  :hanami_link: link:https://hanamirb.org[Hanami]
11
- :htmx_link: link:https://htmx.org[HTMX]
11
+ :htmx_link: link:https://alchemists.io/projects/htmx[HTMX]
12
12
  :pg_link: link:https://github.com/ged/ruby-pg[pg]
13
13
  :puma_link: link:https://puma.io[Puma]
14
14
  :rack_link: link:https://github.com/rack/rack[Rack]
@@ -33,7 +33,7 @@ toc::[]
33
33
  * Built atop {rubysmith_link} for building project skeleton.
34
34
  * Uses {dry_link} for functional programming.
35
35
  * Uses {hanami_link} for web application development.
36
- * Uses {htmx_link} for proper REST (hypermedia) architectures (i.e. HTML over the wire) so you can write less code and avoid bloated JavaScript stacks.
36
+ * Uses {htmx_link} for proper Hypermedia REST APIs (i.e. HTML over the wire) so you can write less code and avoid bloated JavaScript stacks.
37
37
  * Uses {pg_link} coupled with {rom_link} for database management.
38
38
  * Uses {rack_link}, specifically: `Rack::Deflater`, `Rack::Static`, and link:https://github.com/rack/rack-attack[Rack::Attack].
39
39
  * Uses {puma_link} as the default web server and fully configured for local and production environments.
data/hanamismith.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "hanamismith"
5
- spec.version = "0.10.0"
5
+ spec.version = "0.12.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/hanamismith"
@@ -28,11 +28,12 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency "dry-container", "~> 0.11"
29
29
  spec.add_dependency "dry-monads", "~> 1.6"
30
30
  spec.add_dependency "hanami", "~> 2.0"
31
+ spec.add_dependency "htmx", "~> 0.0"
31
32
  spec.add_dependency "infusible", "~> 1.0"
32
33
  spec.add_dependency "refinements", "~> 10.0"
33
- spec.add_dependency "rubysmith", "~> 4.8"
34
+ spec.add_dependency "rubysmith", "~> 4.9"
34
35
  spec.add_dependency "runcom", "~> 9.0"
35
- spec.add_dependency "spek", "~> 1.0"
36
+ spec.add_dependency "spek", "~> 1.1"
36
37
  spec.add_dependency "zeitwerk", "~> 2.6"
37
38
 
38
39
  spec.bindir = "exe"
@@ -28,40 +28,48 @@ module Hanamismith
28
28
  # rubocop:todo Metrics/MethodLength
29
29
  def insert_main_dependencies
30
30
  with_template.insert_after("source", %(gem "dry-types", "~> 1.7"))
31
- .insert_after("source", %(gem "erbse", "~> 0.1"\n))
32
- .insert_after("source", %(gem "hanami", "~> 2.0"\n))
33
- .insert_after("source", %(gem "hanami-controller", "~> 2.0"\n))
34
31
  .insert_after(
35
32
  "source",
36
- %(gem "hanami-helpers", github: "hanami/helpers", branch: "main"\n)
33
+ %(gem "hanami", github: "hanami/hanami", branch: "main"\n)
34
+ )
35
+ .insert_after(
36
+ "source",
37
+ %(gem "hanami-controller", github: "hanami/controller", branch: "main"\n)
38
+ )
39
+ .insert_after(
40
+ "source",
41
+ %(gem "hanami-router", github: "hanami/router", branch: "main"\n)
42
+ )
43
+ .insert_after(
44
+ "source",
45
+ %(gem "hanami-validations", github: "hanami/validations", branch: "main"\n)
37
46
  )
38
- .insert_after("source", %(gem "hanami-router", "~> 2.0"\n))
39
- .insert_after("source", %(gem "hanami-validations", "~> 2.0"\n))
40
47
  .insert_after(
41
48
  "source",
42
49
  %(gem "hanami-view", github: "hanami/view", branch: "main"\n)
43
50
  )
44
- .insert_after("source", %(gem "puma", "~> 6.0"\n))
51
+ .insert_after("source", %(gem "htmx", "~> 0.1"\n))
52
+ .insert_after("source", %(gem "puma", "~> 6.2"\n))
45
53
  .insert_after("source", %(gem "rack-attack", "~> 6.6"\n))
46
54
  end
47
55
  # rubocop:enable Metrics/MethodLength
48
56
 
49
57
  def insert_persistence_dependencies
50
- with_template.insert_after("source", %(gem "pg", "~> 1.4"\n))
58
+ with_template.insert_after("source", %(gem "pg", "~> 1.5"\n))
51
59
  .insert_after("source", %(gem "rom", "~> 5.3"\n))
52
60
  .insert_after("source", %(gem "rom-sql", "~> 3.6"\n))
53
- .insert_after("source", %(\ngem "sequel", "~> 5.64"\n))
61
+ .insert_after("source", %(\ngem "sequel", "~> 5.68"\n))
54
62
  end
55
63
 
56
64
  def alter_groups
57
65
  with_template.insert_after(/group :code_quality/, %( gem "rubocop-sequel", "~> 0.3"\n))
58
66
  .insert_after(/group :development do/, %( gem "localhost", "~> 1.1"\n))
59
67
  .insert_after(/group :development do/, %( gem "rerun", "~> 0.14"\n))
60
- .insert_after(/group :test/, %( gem "capybara", "~> 3.38"\n))
68
+ .insert_after(/group :test/, %( gem "capybara", "~> 3.39"\n))
61
69
  .insert_after(/group :test/, %( gem "cuprite", "~> 0.14"\n))
62
70
  .insert_after(/group :test/, %( gem "database_cleaner-sequel", "~> 2.0"\n))
63
71
  .insert_after(/group :test/, %( gem "launchy", "~> 2.5"\n))
64
- .insert_after(/group :test/, %( gem "rack-test", "~> 2.0"\n))
72
+ .insert_after(/group :test/, %( gem "rack-test", "~> 2.1"\n))
65
73
  .insert_after(/group :test/, %( gem "rom-factory", "~> 0.11"\n))
66
74
  end
67
75
 
@@ -82,12 +90,12 @@ module Hanamismith
82
90
 
83
91
  with_template.append <<~CONTENT
84
92
  group :test do
85
- gem "capybara", "~> 3.38"
93
+ gem "capybara", "~> 3.39"
86
94
  gem "cuprite", "~> 0.14"
87
95
  gem "database_cleaner-sequel", "~> 2.0"
88
96
  gem "hanami-rspec", "~> 2.0"
89
97
  gem "launchy", "~> 2.5"
90
- gem "rack-test", "~> 2.0"
98
+ gem "rack-test", "~> 2.1"
91
99
  gem "rom-factory", "~> 0.11"
92
100
  end
93
101
  CONTENT
@@ -1,6 +1,5 @@
1
1
  # auto_register: false
2
2
 
3
- require "erbse"
4
3
  require "hanami/view"
5
4
 
6
5
  <% namespace do %>
@@ -3,9 +3,7 @@
3
3
  <head>
4
4
  <title><%= configuration.project_label %></title>
5
5
  <meta name="viewport" content="width=device-width,initial-scale=1">
6
-
7
6
  <link title="<%= configuration.project_label %> - Stylesheet" rel="stylesheet" href="/stylesheets/site.css" type="text/css">
8
-
9
7
  <script src="/javascripts/htmx.js"></script>
10
8
  </head>
11
9
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanamismith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -35,7 +35,7 @@ cert_chain:
35
35
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
36
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-04-13 00:00:00.000000000 Z
38
+ date: 2023-05-30 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -107,6 +107,20 @@ dependencies:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
109
  version: '2.0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: htmx
112
+ requirement: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '0.0'
117
+ type: :runtime
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '0.0'
110
124
  - !ruby/object:Gem::Dependency
111
125
  name: infusible
112
126
  requirement: !ruby/object:Gem::Requirement
@@ -141,14 +155,14 @@ dependencies:
141
155
  requirements:
142
156
  - - "~>"
143
157
  - !ruby/object:Gem::Version
144
- version: '4.8'
158
+ version: '4.9'
145
159
  type: :runtime
146
160
  prerelease: false
147
161
  version_requirements: !ruby/object:Gem::Requirement
148
162
  requirements:
149
163
  - - "~>"
150
164
  - !ruby/object:Gem::Version
151
- version: '4.8'
165
+ version: '4.9'
152
166
  - !ruby/object:Gem::Dependency
153
167
  name: runcom
154
168
  requirement: !ruby/object:Gem::Requirement
@@ -169,14 +183,14 @@ dependencies:
169
183
  requirements:
170
184
  - - "~>"
171
185
  - !ruby/object:Gem::Version
172
- version: '1.0'
186
+ version: '1.1'
173
187
  type: :runtime
174
188
  prerelease: false
175
189
  version_requirements: !ruby/object:Gem::Requirement
176
190
  requirements:
177
191
  - - "~>"
178
192
  - !ruby/object:Gem::Version
179
- version: '1.0'
193
+ version: '1.1'
180
194
  - !ruby/object:Gem::Dependency
181
195
  name: zeitwerk
182
196
  requirement: !ruby/object:Gem::Requirement
@@ -306,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
306
320
  - !ruby/object:Gem::Version
307
321
  version: '0'
308
322
  requirements: []
309
- rubygems_version: 3.4.12
323
+ rubygems_version: 3.4.13
310
324
  signing_key:
311
325
  specification_version: 4
312
326
  summary: A command line interface for smithing Hanami projects.
metadata.gz.sig CHANGED
Binary file