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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +16 -16
- data/hanamismith.gemspec +5 -5
- data/lib/hanamismith/cli/actions/build.rb +2 -2
- data/lib/hanamismith/cli/actions/config.rb +2 -3
- data/lib/hanamismith/cli/parser.rb +2 -3
- data/lib/hanamismith/cli/parsers/core.rb +2 -5
- data/lib/hanamismith/cli/shell.rb +2 -2
- data/lib/hanamismith/templates/%project_name%/config/settings.rb.erb +1 -1
- data.tar.gz.sig +2 -2
- metadata +8 -8
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb4751527ea999f3256458b6597d01c43d0244267dc857cf31fcce2ffb70e158
|
4
|
+
data.tar.gz: 39a561ae20f394be55815bb28b4830db199a5ce15254115c97ea4604a853c840
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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://
|
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://
|
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://
|
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://
|
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://
|
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
|
-
|
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://
|
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
|
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://
|
219
|
+
== link:https://alchemists.io/policies/license[License]
|
220
220
|
|
221
|
-
== link:https://
|
221
|
+
== link:https://alchemists.io/policies/security[Security]
|
222
222
|
|
223
|
-
== link:https://
|
223
|
+
== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
|
224
224
|
|
225
|
-
== link:https://
|
225
|
+
== link:https://alchemists.io/policies/contributions[Contributions]
|
226
226
|
|
227
|
-
== link:https://
|
227
|
+
== link:https://alchemists.io/projects/hanamismith/versions[Versions]
|
228
228
|
|
229
|
-
== link:https://
|
229
|
+
== link:https://alchemists.io/community[Community]
|
230
230
|
|
231
231
|
== Credits
|
232
232
|
|
233
|
-
* Built with link:https://
|
234
|
-
* Engineered by link:https://
|
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.
|
5
|
+
spec.version = "0.5.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
|
-
spec.homepage = "https://
|
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://
|
15
|
-
"documentation_uri" => "https://
|
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.
|
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"
|
@@ -7,9 +7,8 @@ module Hanamismith
|
|
7
7
|
class Config
|
8
8
|
include Hanamismith::Import[:kernel, :logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
super(**
|
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
|
18
|
-
super(**
|
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
|
18
|
-
|
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
|
12
|
-
super(**
|
11
|
+
def initialize(parser: Parser.new, **)
|
12
|
+
super(**)
|
13
13
|
@parser = parser
|
14
14
|
end
|
15
15
|
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
�
|
1
|
+
|
2
|
+
P"T"Fw%{F��t4t2!NJ��sJ9_Q���mɎg&���>w�Y�\������:Ypu��,T�|�g+�%^�ti��[?����>&%v��K��W{�x�C�f̧bj�~�B��!�&������u@�s]�H�1��şk'�c��?߽y�A���$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.
|
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-
|
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.
|
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.
|
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://
|
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://
|
284
|
-
documentation_uri: https://
|
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.
|
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
|