hanamismith 0.40.0 → 0.42.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: 3dce1fdecf6030b163d25c1d9a7f76ed8e3659d4544c12ee369ee4e2193a9808
4
- data.tar.gz: 44ae0c30d415c05d69f2f219b5cb5955fe6cdfba6b9eefead1cb61adb09be13d
3
+ metadata.gz: 11d6d481f38550ad4fcf1b5ec6426e410f7b95974e7dde943d211c0268c8ffe4
4
+ data.tar.gz: 6e911d738dec0c4bcf0aa9d7f3d351e6f77a97a429830c1a8bf2bdc9e9611d05
5
5
  SHA512:
6
- metadata.gz: f05f0df3dd4b946e318b76e63f160c21118d4f31db606958ab850552c722365475f45d50b948beacb48cf87ca045eedc4838b16a4413352e110cbc491491f956
7
- data.tar.gz: 6bcfd4fedeb1d5530343ec52f37c36b30460d9cdb51d07e6ba14114388d07d88299cebedd44cf80c4022635aff25d7871ec2044df0fd1f876eb22c6955306698
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.40.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,9 +31,9 @@ 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.1"
34
+ spec.add_dependency "rubysmith", "~> 7.3"
35
35
  spec.add_dependency "runcom", "~> 11.5"
36
- spec.add_dependency "sod", "~> 0.12"
36
+ spec.add_dependency "sod", "~> 0.14"
37
37
  spec.add_dependency "spek", "~> 3.0"
38
38
  spec.add_dependency "zeitwerk", "~> 2.6"
39
39
 
@@ -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@v2
49
+ uses: actions/setup-node@v4
45
50
  with:
46
51
  cache: npm
47
52
 
@@ -12,6 +12,7 @@ require_relative "support/factory"
12
12
 
13
13
  using Refinements::Pathname
14
14
 
15
+ ENV["LD_PRELOAD"] = nil
15
16
  Capybara.app = Hanami.app
16
17
  Capybara.server = :puma, {Silent: true, Threads: "0:1"}
17
18
  Capybara.javascript_driver = :cuprite
data.tar.gz.sig CHANGED
@@ -1,4 +1,2 @@
1
- �����bA�'�ñѬZڦ����j5(�������p
2
- 0�O2�%��oQlX�����$d�B���I �~�7)���rf��8Y�d^�����ؐ��0!l#��K��x3�d'�Vw�(���Ҹ�sZt~ǰ�����m�w���W@f�F���A3 oD�a)�1�>@����"4/@c4��R\
3
- �X.��dn�4�Rƅ�{���n O��5�:x�
4
- ��&�$���q}��E
1
+ �����Ǥ�kӏ�NS2��=���"hӰ����Í���@�6 4.�I�!���
2
+ $ Qm"��� ��bNi��;̿7)�voHBi
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.40.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-07-24 00:00:00.000000000 Z
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.1'
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.1'
165
+ version: '7.3'
166
166
  - !ruby/object:Gem::Dependency
167
167
  name: runcom
168
168
  requirement: !ruby/object:Gem::Requirement
@@ -183,14 +183,14 @@ dependencies:
183
183
  requirements:
184
184
  - - "~>"
185
185
  - !ruby/object:Gem::Version
186
- version: '0.12'
186
+ version: '0.14'
187
187
  type: :runtime
188
188
  prerelease: false
189
189
  version_requirements: !ruby/object:Gem::Requirement
190
190
  requirements:
191
191
  - - "~>"
192
192
  - !ruby/object:Gem::Version
193
- version: '0.12'
193
+ version: '0.14'
194
194
  - !ruby/object:Gem::Dependency
195
195
  name: spek
196
196
  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
@@ -356,7 +357,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
356
357
  - !ruby/object:Gem::Version
357
358
  version: '0'
358
359
  requirements: []
359
- rubygems_version: 3.5.16
360
+ rubygems_version: 3.5.17
360
361
  signing_key:
361
362
  specification_version: 4
362
363
  summary: A command line interface for smithing Hanami projects.
metadata.gz.sig CHANGED
Binary file