hanamismith 0.3.1 → 0.5.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: c995cc8bcbf6dde68acf3890fbd5f5b333b4762cf790fd71f0f31c3f3fc28d9b
4
- data.tar.gz: 8efc608cd596ccd6e4df45591e954fe4376a48e24914abaa07f05824b6b13d68
3
+ metadata.gz: cb4751527ea999f3256458b6597d01c43d0244267dc857cf31fcce2ffb70e158
4
+ data.tar.gz: 39a561ae20f394be55815bb28b4830db199a5ce15254115c97ea4604a853c840
5
5
  SHA512:
6
- metadata.gz: 17721edd755075c794ff845b06149ef57ab933a20c99ff81a9037b0ac35e871f6b7d8e99564ea50bf98b040f8d503540051891476700145cbf52ecfda892ce38
7
- data.tar.gz: 26d3b8140551d02097ff2d901b59d2e6579396f9c8acc0737dd9ad26f03c06ee2ffeaf4785d9126cf03b04759766f818c5899cf0e8489256ca9947940247738d
6
+ metadata.gz: 8eb9623af682563f1aabbe25965a1f5578d16bb1d15049e995b83e4a75f361c4bc9aa11310e7b156be0d7576af57fe06be2634dec02c461679c47204ae68f144
7
+ data.tar.gz: 9039ddf30e1c0bd6531ba26b27546a6ec2355d56dcc24accf0693fe16d70a844d6a0ad9e31c663b1171febc06546bba65a2d5a11f7d28cf47b9fd24fe8037550
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -6,14 +6,14 @@
6
6
  :cuprite_link: link:https://cuprite.rubycdp.com[Cuprite]
7
7
  :dry_link: link:https://dry-rb.org[Dry RB]
8
8
  :dotenv_link: link:https://github.com/bkeepers/dotenv[Dotenv]
9
- :dotfiles_link: link:https://www.alchemists.io/projects/dotfiles[Dotfiles]
9
+ :dotfiles_link: link:https://alchemists.io/projects/dotfiles[Dotfiles]
10
10
  :hanami_link: link:https://hanamirb.org[Hanami]
11
11
  :htmx_link: link:https://htmx.org[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]
15
15
  :rom_link: link:https://rom-rb.org[ROM]
16
- :rubysmith_link: link:https://www.alchemists.io/projects/rubysmith[Rubysmith]
16
+ :rubysmith_link: link:https://alchemists.io/projects/rubysmith[Rubysmith]
17
17
 
18
18
  = Hanamismith
19
19
 
@@ -99,7 +99,7 @@ BUILD OPTIONS:
99
99
  --[no-]zeitwerk Add Zeitwerk gem. Default: true.
100
100
  ....
101
101
 
102
- The core functionality of this gem centers around the `--build` command and associated flags. The build options allow you to further customize the kind of gem you want to build. Most build options are enabled by default. For detailed documentation on all supported flags, see the link:https://www.alchemists.io/projects/rubysmith/#_build[Rubysmith] documentation.
102
+ The core functionality of this gem centers around the `--build` command and associated flags. The build options allow you to further customize the kind of gem you want to build. Most build options are enabled by default. For detailed documentation on all supported flags, see the link:https://alchemists.io/projects/rubysmith/#_build[Rubysmith] documentation.
103
103
 
104
104
  ℹ️ Use of the `--zeitwerk` or `--no-zeitwerk` flags will have no effect so you can ignore them since {hanami_link} builds in this functionality for you by default. At the moment, this flag is a carry over from the {rubysmith_link} project and will be removed in the future.
105
105
 
@@ -111,11 +111,11 @@ This gem can be configured via a global configuration:
111
111
  $HOME/.config/hanamismith/configuration.yml
112
112
  ....
113
113
 
114
- It can also be configured via link:https://www.alchemists.io/projects/xdg[XDG] environment
114
+ It can also be configured via link:https://alchemists.io/projects/xdg[XDG] environment
115
115
  variables.
116
116
 
117
117
  The default configuration is everything provided in the
118
- link:https://www.alchemists.io/projects/rubysmith/#_configuration[Rubysmith].
118
+ link:https://alchemists.io/projects/rubysmith/#_configuration[Rubysmith].
119
119
 
120
120
  Feel free to modify the default and save as your own custom `configuration.yml`. It is recommended that you provide common URLs for your project which would be all keys found in this section:
121
121
 
@@ -181,11 +181,11 @@ The above is what I use via my {dotfiles_link} project.
181
181
 
182
182
  === Demonstrations
183
183
 
184
- If you'd like a fully working demonstration application -- as built by this gem -- then check out the link:https://github.com/bkuhlmann/hemo[Hemo] project. Here's a quick screencast overview of this demonstration application in action:
184
+ For a fully working demonstration application -- as built by this gem -- check out the link:https://github.com/bkuhlmann/hemo[Hemo] project. Here's a quick screencast overview of this demonstration application in action:
185
185
 
186
- video::https://www.alchemists.io/videos/projects/hemo/demo.mp4[poster=https://www.alchemists.io/images/projects/hemo/demo.png,width=1400,height=811,role=focal_point]
186
+ video::https://alchemists.io/videos/projects/hemo/demo.mp4[poster=https://alchemists.io/images/projects/hemo/demo.png,width=800,height=450,role=focal_point]
187
187
 
188
- In case you are not aware of link:https://hanamimastery.com[Hanami Mastery], now might be a good time to introduce you. link:https://hanamimastery.com/about[Seb Wilgosz] -- the creator of Hanami Mastery -- recently published Episode 40 (see below) which features this gem. This'll give you another perspective on usage which you might enjoy:
188
+ In case you are not aware of link:https://hanamimastery.com[Hanami Mastery], now would be a good time to introduce you. link:https://hanamimastery.com/about[Seb Wilgosz] -- the creator of Hanami Mastery -- recently published link:https://hanamimastery.com/episodes/40-hanamismith[Episode 40] (see below) which features this gem. _Please note that multiple advancements have been applied since the original recording of this video_. That said, this'll give you another perspective on usage which you might enjoy:
189
189
 
190
190
  video::V4QPZi3j7uY[youtube,role=video]
191
191
 
@@ -216,19 +216,19 @@ To test, run:
216
216
  bin/rake
217
217
  ----
218
218
 
219
- == link:https://www.alchemists.io/policies/license[License]
219
+ == link:https://alchemists.io/policies/license[License]
220
220
 
221
- == link:https://www.alchemists.io/policies/security[Security]
221
+ == link:https://alchemists.io/policies/security[Security]
222
222
 
223
- == link:https://www.alchemists.io/policies/code_of_conduct[Code of Conduct]
223
+ == link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
224
224
 
225
- == link:https://www.alchemists.io/policies/contributions[Contributions]
225
+ == link:https://alchemists.io/policies/contributions[Contributions]
226
226
 
227
- == link:https://www.alchemists.io/projects/hanamismith/versions[Versions]
227
+ == link:https://alchemists.io/projects/hanamismith/versions[Versions]
228
228
 
229
- == link:https://www.alchemists.io/community[Community]
229
+ == link:https://alchemists.io/community[Community]
230
230
 
231
231
  == Credits
232
232
 
233
- * Built with link:https://www.alchemists.io/projects/gemsmith[Gemsmith].
234
- * Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
233
+ * Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
234
+ * Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
data/hanamismith.gemspec CHANGED
@@ -2,17 +2,17 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "hanamismith"
5
- spec.version = "0.3.1"
5
+ spec.version = "0.5.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
- spec.homepage = "https://www.alchemists.io/projects/hanamismith"
8
+ spec.homepage = "https://alchemists.io/projects/hanamismith"
9
9
  spec.summary = "A command line interface for smithing Hanami projects."
10
10
  spec.license = "Hippocratic-2.1"
11
11
 
12
12
  spec.metadata = {
13
13
  "bug_tracker_uri" => "https://github.com/bkuhlmann/hanamismith/issues",
14
- "changelog_uri" => "https://www.alchemists.io/projects/hanamismith/versions",
15
- "documentation_uri" => "https://www.alchemists.io/projects/hanamismith",
14
+ "changelog_uri" => "https://alchemists.io/projects/hanamismith/versions",
15
+ "documentation_uri" => "https://alchemists.io/projects/hanamismith",
16
16
  "funding_uri" => "https://github.com/sponsors/bkuhlmann",
17
17
  "label" => "Hanamismith",
18
18
  "rubygems_mfa_required" => "true",
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.add_dependency "hanami", "~> 2.0"
31
31
  spec.add_dependency "infusible", "~> 1.0"
32
32
  spec.add_dependency "refinements", "~> 10.0"
33
- spec.add_dependency "rubysmith", "~> 4.4"
33
+ spec.add_dependency "rubysmith", "~> 4.6"
34
34
  spec.add_dependency "runcom", "~> 9.0"
35
35
  spec.add_dependency "spek", "~> 1.0"
36
36
  spec.add_dependency "zeitwerk", "~> 2.6"
@@ -54,8 +54,8 @@ module Hanamismith
54
54
  Builders::Git::Commit
55
55
  ].freeze
56
56
 
57
- def initialize builders: BUILDERS, **dependencies
58
- super(**dependencies)
57
+ def initialize(builders: BUILDERS, **)
58
+ super(**)
59
59
  @builders = builders
60
60
  end
61
61
 
@@ -7,9 +7,8 @@ module Hanamismith
7
7
  class Config
8
8
  include Hanamismith::Import[:kernel, :logger]
9
9
 
10
- def initialize client: Configuration::Loader::CLIENT, **dependencies
11
- super(**dependencies)
12
-
10
+ def initialize(client: Configuration::Loader::CLIENT, **)
11
+ super(**)
13
12
  @client = client
14
13
  end
15
14
 
@@ -14,9 +14,8 @@ module Hanamismith
14
14
  # Order is important.
15
15
  SECTIONS = [Parsers::Core, Rubysmith::CLI::Parsers::Build].freeze
16
16
 
17
- def initialize sections: SECTIONS, client: CLIENT, **dependencies
18
- super(**dependencies)
19
-
17
+ def initialize(sections: SECTIONS, client: CLIENT, **)
18
+ super(**)
20
19
  @sections = sections
21
20
  @client = client
22
21
  @configuration_duplicate = configuration.dup
@@ -14,11 +14,8 @@ module Hanamismith
14
14
 
15
15
  def self.call(...) = new(...).call
16
16
 
17
- def initialize configuration = Container[:configuration],
18
- client: Parser::CLIENT,
19
- **dependencies
20
-
21
- super(**dependencies)
17
+ def initialize(configuration = Container[:configuration], client: Parser::CLIENT, **)
18
+ super(**)
22
19
  @configuration = configuration
23
20
  @client = client
24
21
  end
@@ -8,8 +8,8 @@ module Hanamismith
8
8
  class Shell
9
9
  include Actions::Import[:config, :build, :specification, :logger]
10
10
 
11
- def initialize parser: Parser.new, **dependencies
12
- super(**dependencies)
11
+ def initialize(parser: Parser.new, **)
12
+ super(**)
13
13
  @parser = parser
14
14
  end
15
15
 
@@ -1,6 +1,6 @@
1
1
  <% namespace do %>
2
2
  # Configures application settings.
3
3
  class Settings < Hanami::Settings
4
- setting :database_url
4
+ setting :database_url, constructor: Types::Params::String
5
5
  end
6
6
  <% end %>
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- � (98LX����h��O�!��GF�A=�a���.<��.���1�X�p��^��G�)p�� �q��ex#t�]��A5|B娯V g'�1���M��L> H�~�i�+ʱZo_H�Wë3H�[#�
2
- 2ŀ�]$����Rg 0v*�23è���P[d?��o���}>�)ϛc˓o
1
+
2
+ P"T"Fw%{F��t4t2!NJ��sJ9_Q���mɎg&���>wY�\������:Ypu��,T�|�g+�%^�ti��[?����>&%v��K��W{�x�C�f̧bj�~�B��!�&������u@�s]�H1��şk'�c��?߽yA���$A�����U�h�C,�� d� H��^8(��z�t��C�a<I Y�+z�=�͛.3X.�
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.3.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
29
29
  RFE=
30
30
  -----END CERTIFICATE-----
31
- date: 2023-02-01 00:00:00.000000000 Z
31
+ date: 2023-02-19 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: cogger
@@ -134,14 +134,14 @@ dependencies:
134
134
  requirements:
135
135
  - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: '4.4'
137
+ version: '4.6'
138
138
  type: :runtime
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: '4.4'
144
+ version: '4.6'
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: runcom
147
147
  requirement: !ruby/object:Gem::Requirement
@@ -275,13 +275,13 @@ files:
275
275
  - lib/hanamismith/templates/%project_name%/spec/support/database.rb.erb
276
276
  - lib/hanamismith/templates/%project_name%/spec/support/factory.rb.erb
277
277
  - lib/hanamismith/templates/%project_name%/spec/support/shared_contexts/application.rb.erb
278
- homepage: https://www.alchemists.io/projects/hanamismith
278
+ homepage: https://alchemists.io/projects/hanamismith
279
279
  licenses:
280
280
  - Hippocratic-2.1
281
281
  metadata:
282
282
  bug_tracker_uri: https://github.com/bkuhlmann/hanamismith/issues
283
- changelog_uri: https://www.alchemists.io/projects/hanamismith/versions
284
- documentation_uri: https://www.alchemists.io/projects/hanamismith
283
+ changelog_uri: https://alchemists.io/projects/hanamismith/versions
284
+ documentation_uri: https://alchemists.io/projects/hanamismith
285
285
  funding_uri: https://github.com/sponsors/bkuhlmann
286
286
  label: Hanamismith
287
287
  rubygems_mfa_required: 'true'
@@ -301,7 +301,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
301
301
  - !ruby/object:Gem::Version
302
302
  version: '0'
303
303
  requirements: []
304
- rubygems_version: 3.4.5
304
+ rubygems_version: 3.4.7
305
305
  signing_key:
306
306
  specification_version: 4
307
307
  summary: A command line interface for smithing Hanami projects.
metadata.gz.sig CHANGED
Binary file