hanamismith 0.41.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +2 -0
- data/hanamismith.gemspec +2 -2
- data/lib/hanamismith/builders/docker/file.rb +24 -0
- data/lib/hanamismith/cli/commands/build.rb +15 -0
- data/lib/hanamismith/templates/%project_name%/.github/workflows/ci.yml.erb +6 -1
- data/lib/hanamismith/templates/%project_name%/spec/hanami_helper.rb.erb +1 -0
- data.tar.gz.sig +0 -0
- metadata +5 -4
- 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: 11d6d481f38550ad4fcf1b5ec6426e410f7b95974e7dde943d211c0268c8ffe4
|
4
|
+
data.tar.gz: 6e911d738dec0c4bcf0aa9d7f3d351e6f77a97a429830c1a8bf2bdc9e9611d05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 937f8abd7939f5efa1f44e261c6512e8947009e7ad8e1a4ec87a1c6f59e354030bc7438c20773298df0f4390c94dc3891a39188d3f74bd0c787a0a8a87665d00
|
7
|
+
data.tar.gz: f30be025d31981caa38479deca108842cf3de2f8d5d901cb894c64cc917668aa10aaaa8612f545cfcf4c574cc493a81d1ac0d83783b408fd59f455d3450eea57
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -189,6 +189,8 @@ bin/rake
|
|
189
189
|
|
190
190
|
== link:https://alchemists.io/policies/contributions[Contributions]
|
191
191
|
|
192
|
+
== link:https://alchemists.io/policies/developer_certificate_of_origin[Developer Certificate of Origin]
|
193
|
+
|
192
194
|
== link:https://alchemists.io/projects/hanamismith/versions[Versions]
|
193
195
|
|
194
196
|
== link:https://alchemists.io/community[Community]
|
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.
|
5
|
+
spec.version = "0.42.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/hanamismith"
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_dependency "htmx", "~> 1.0"
|
32
32
|
spec.add_dependency "infusible", "~> 3.8"
|
33
33
|
spec.add_dependency "refinements", "~> 12.7"
|
34
|
-
spec.add_dependency "rubysmith", "~> 7.
|
34
|
+
spec.add_dependency "rubysmith", "~> 7.3"
|
35
35
|
spec.add_dependency "runcom", "~> 11.5"
|
36
36
|
spec.add_dependency "sod", "~> 0.14"
|
37
37
|
spec.add_dependency "spek", "~> 3.0"
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "refinements/struct"
|
4
|
+
|
5
|
+
module Hanamismith
|
6
|
+
module Builders
|
7
|
+
module Docker
|
8
|
+
# Builds Dockerfile configuration.
|
9
|
+
class File < Rubysmith::Builders::Docker::File
|
10
|
+
using Refinements::Struct
|
11
|
+
|
12
|
+
def call
|
13
|
+
return false unless settings.build_docker
|
14
|
+
|
15
|
+
super
|
16
|
+
builder.call(settings.merge(template_path: "%project_name%/Dockerfile.erb"))
|
17
|
+
.render
|
18
|
+
.insert_after(/RACK_ENV/, "ENV HANAMI_ENV=production\n")
|
19
|
+
true
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -57,6 +57,14 @@ module Hanamismith
|
|
57
57
|
Builders::Puma::Configuration,
|
58
58
|
Builders::Puma::Procfile,
|
59
59
|
Builders::Caliber,
|
60
|
+
Rubysmith::Builders::DevContainer::Dockerfile,
|
61
|
+
Rubysmith::Builders::DevContainer::Compose,
|
62
|
+
Rubysmith::Builders::DevContainer::Configuration,
|
63
|
+
Rubysmith::Builders::Docker::Build,
|
64
|
+
Rubysmith::Builders::Docker::Console,
|
65
|
+
Rubysmith::Builders::Docker::Entrypoint,
|
66
|
+
Rubysmith::Builders::Docker::File,
|
67
|
+
Rubysmith::Builders::Docker::Ignore,
|
60
68
|
Rubysmith::Extensions::Bundler,
|
61
69
|
Rubysmith::Extensions::Pragmater,
|
62
70
|
Rubysmith::Extensions::Tocer,
|
@@ -74,6 +82,7 @@ module Hanamismith
|
|
74
82
|
|
75
83
|
on Rubysmith::CLI::Actions::Name, settings: Container[:settings]
|
76
84
|
on Rubysmith::CLI::Actions::AmazingPrint, settings: Container[:settings]
|
85
|
+
on Rubysmith::CLI::Actions::Bootsnap, settings: Container[:settings]
|
77
86
|
on Rubysmith::CLI::Actions::Caliber, settings: Container[:settings]
|
78
87
|
on Rubysmith::CLI::Actions::CircleCI, settings: Container[:settings]
|
79
88
|
on Rubysmith::CLI::Actions::Citation, settings: Container[:settings]
|
@@ -81,13 +90,17 @@ module Hanamismith
|
|
81
90
|
on Rubysmith::CLI::Actions::Conduct, settings: Container[:settings]
|
82
91
|
on Rubysmith::CLI::Actions::Console, settings: Container[:settings]
|
83
92
|
on Rubysmith::CLI::Actions::Contributions, settings: Container[:settings]
|
93
|
+
on Rubysmith::CLI::Actions::DCOO, settings: Container[:settings]
|
84
94
|
on Rubysmith::CLI::Actions::Debug, settings: Container[:settings]
|
95
|
+
on Rubysmith::CLI::Actions::DevContainer, settings: Container[:settings]
|
96
|
+
on Rubysmith::CLI::Actions::Docker, settings: Container[:settings]
|
85
97
|
on Rubysmith::CLI::Actions::Funding, settings: Container[:settings]
|
86
98
|
on Rubysmith::CLI::Actions::Git, settings: Container[:settings]
|
87
99
|
on Rubysmith::CLI::Actions::GitHub, settings: Container[:settings]
|
88
100
|
on Rubysmith::CLI::Actions::GitHubCI, settings: Container[:settings]
|
89
101
|
on Rubysmith::CLI::Actions::GitLint, settings: Container[:settings]
|
90
102
|
on Rubysmith::CLI::Actions::Guard, settings: Container[:settings]
|
103
|
+
on Rubysmith::CLI::Actions::IRBKit, settings: Container[:settings]
|
91
104
|
on Rubysmith::CLI::Actions::License, settings: Container[:settings]
|
92
105
|
on Rubysmith::CLI::Actions::Maximum, settings: Container[:settings]
|
93
106
|
on Rubysmith::CLI::Actions::Minimum, settings: Container[:settings]
|
@@ -96,10 +109,12 @@ module Hanamismith
|
|
96
109
|
on Rubysmith::CLI::Actions::Reek, settings: Container[:settings]
|
97
110
|
on Rubysmith::CLI::Actions::Refinements, settings: Container[:settings]
|
98
111
|
on Rubysmith::CLI::Actions::RSpec, settings: Container[:settings]
|
112
|
+
on Rubysmith::CLI::Actions::RTC, settings: Container[:settings]
|
99
113
|
on Rubysmith::CLI::Actions::Security, settings: Container[:settings]
|
100
114
|
on Rubysmith::CLI::Actions::Setup, settings: Container[:settings]
|
101
115
|
on Rubysmith::CLI::Actions::SimpleCov, settings: Container[:settings]
|
102
116
|
on Rubysmith::CLI::Actions::Versions, settings: Container[:settings]
|
117
|
+
on Rubysmith::CLI::Actions::Zeitwerk, settings: Container[:settings]
|
103
118
|
|
104
119
|
def initialize(builders: BUILDERS, **)
|
105
120
|
super(**)
|
@@ -24,6 +24,11 @@ jobs:
|
|
24
24
|
--health-retries 5
|
25
25
|
|
26
26
|
steps:
|
27
|
+
- name: System Update
|
28
|
+
run: |
|
29
|
+
sudo apt-get update
|
30
|
+
sudo apt-get install --no-install-recommends -y curl libjemalloc2
|
31
|
+
|
27
32
|
- name: Chromium Setup
|
28
33
|
uses: nanasess/setup-chromedriver@v2
|
29
34
|
|
@@ -41,7 +46,7 @@ jobs:
|
|
41
46
|
bundler-cache: true
|
42
47
|
|
43
48
|
- name: Node Setup
|
44
|
-
uses: actions/setup-node@
|
49
|
+
uses: actions/setup-node@v4
|
45
50
|
with:
|
46
51
|
cache: npm
|
47
52
|
|
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.
|
4
|
+
version: 0.42.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: 2024-08-
|
38
|
+
date: 2024-08-21 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: cogger
|
@@ -155,14 +155,14 @@ dependencies:
|
|
155
155
|
requirements:
|
156
156
|
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: '7.
|
158
|
+
version: '7.3'
|
159
159
|
type: :runtime
|
160
160
|
prerelease: false
|
161
161
|
version_requirements: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
163
|
- - "~>"
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version: '7.
|
165
|
+
version: '7.3'
|
166
166
|
- !ruby/object:Gem::Dependency
|
167
167
|
name: runcom
|
168
168
|
requirement: !ruby/object:Gem::Requirement
|
@@ -241,6 +241,7 @@ files:
|
|
241
241
|
- lib/hanamismith/builders/circle_ci.rb
|
242
242
|
- lib/hanamismith/builders/console.rb
|
243
243
|
- lib/hanamismith/builders/core.rb
|
244
|
+
- lib/hanamismith/builders/docker/file.rb
|
244
245
|
- lib/hanamismith/builders/documentation/readme.rb
|
245
246
|
- lib/hanamismith/builders/environments/development.rb
|
246
247
|
- lib/hanamismith/builders/environments/test.rb
|
metadata.gz.sig
CHANGED
Binary file
|