hanamismith 0.0.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.
Files changed (61) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +2 -0
  3. data/LICENSE.adoc +134 -0
  4. data/README.adoc +206 -0
  5. data/exe/hanamismith +6 -0
  6. data/hanamismith.gemspec +42 -0
  7. data/lib/hanamismith/builders/binstub.rb +31 -0
  8. data/lib/hanamismith/builders/bundler.rb +95 -0
  9. data/lib/hanamismith/builders/caliber.rb +26 -0
  10. data/lib/hanamismith/builders/console.rb +22 -0
  11. data/lib/hanamismith/builders/core.rb +64 -0
  12. data/lib/hanamismith/builders/documentation/readme.rb +31 -0
  13. data/lib/hanamismith/builders/environment.rb +31 -0
  14. data/lib/hanamismith/builders/git/commit.rb +12 -0
  15. data/lib/hanamismith/builders/guard.rb +20 -0
  16. data/lib/hanamismith/builders/puma/configuration.rb +32 -0
  17. data/lib/hanamismith/builders/puma/procfile.rb +31 -0
  18. data/lib/hanamismith/builders/rack.rb +28 -0
  19. data/lib/hanamismith/builders/rake.rb +27 -0
  20. data/lib/hanamismith/builders/rspec/hanami.rb +34 -0
  21. data/lib/hanamismith/builders/rspec/helper.rb +24 -0
  22. data/lib/hanamismith/builders/slices/main.rb +67 -0
  23. data/lib/hanamismith/cli/actions/build.rb +66 -0
  24. data/lib/hanamismith/cli/actions/config.rb +34 -0
  25. data/lib/hanamismith/cli/actions/container.rb +19 -0
  26. data/lib/hanamismith/cli/actions/import.rb +11 -0
  27. data/lib/hanamismith/cli/parser.rb +38 -0
  28. data/lib/hanamismith/cli/parsers/core.rb +69 -0
  29. data/lib/hanamismith/cli/shell.rb +36 -0
  30. data/lib/hanamismith/configuration/content.rb +18 -0
  31. data/lib/hanamismith/configuration/defaults.yml +0 -0
  32. data/lib/hanamismith/configuration/loader.rb +27 -0
  33. data/lib/hanamismith/container.rb +17 -0
  34. data/lib/hanamismith/import.rb +7 -0
  35. data/lib/hanamismith/templates/%project_name%/Guardfile.erb +19 -0
  36. data/lib/hanamismith/templates/%project_name%/Procfile.dev.erb +1 -0
  37. data/lib/hanamismith/templates/%project_name%/Procfile.erb +1 -0
  38. data/lib/hanamismith/templates/%project_name%/app/action.rb.erb +9 -0
  39. data/lib/hanamismith/templates/%project_name%/app/repo.rb.erb +10 -0
  40. data/lib/hanamismith/templates/%project_name%/app/view.rb.erb +10 -0
  41. data/lib/hanamismith/templates/%project_name%/bin/hanami.erb +20 -0
  42. data/lib/hanamismith/templates/%project_name%/config/app.rb.erb +8 -0
  43. data/lib/hanamismith/templates/%project_name%/config/providers/persistence.rb.erb +28 -0
  44. data/lib/hanamismith/templates/%project_name%/config/puma.rb.erb +20 -0
  45. data/lib/hanamismith/templates/%project_name%/config/routes.rb.erb +8 -0
  46. data/lib/hanamismith/templates/%project_name%/config/settings.rb.erb +6 -0
  47. data/lib/hanamismith/templates/%project_name%/config.ru.erb +4 -0
  48. data/lib/hanamismith/templates/%project_name%/envrc.erb +1 -0
  49. data/lib/hanamismith/templates/%project_name%/lib/%project_path%/types.rb.erb +10 -0
  50. data/lib/hanamismith/templates/%project_name%/slices/main/action.rb.erb +7 -0
  51. data/lib/hanamismith/templates/%project_name%/slices/main/actions/home/show.rb.erb +10 -0
  52. data/lib/hanamismith/templates/%project_name%/slices/main/repo.rb.erb +7 -0
  53. data/lib/hanamismith/templates/%project_name%/slices/main/templates/home/show.html.erb.erb +3 -0
  54. data/lib/hanamismith/templates/%project_name%/slices/main/templates/layouts/app.html.erb.erb +32 -0
  55. data/lib/hanamismith/templates/%project_name%/slices/main/view.rb.erb +8 -0
  56. data/lib/hanamismith/templates/%project_name%/slices/main/views/home/show.rb.erb +9 -0
  57. data/lib/hanamismith/templates/%project_name%/spec/hanami_helper.rb.erb +22 -0
  58. data/lib/hanamismith.rb +13 -0
  59. data.tar.gz.sig +0 -0
  60. metadata +283 -0
  61. metadata.gz.sig +2 -0
@@ -0,0 +1,19 @@
1
+ guard :rspec, cmd: "NO_COVERAGE=true bundle exec rspec --format documentation" do
2
+ require "guard/rspec/dsl"
3
+
4
+ dsl = Guard::RSpec::Dsl.new self
5
+
6
+ # Ruby
7
+ ruby = dsl.ruby
8
+ dsl.watch_spec_files_for ruby.lib_files
9
+
10
+ # RSpec
11
+ rspec = dsl.rspec
12
+ watch rspec.spec_files
13
+
14
+ # Hanami
15
+ watch(rspec.spec_helper) { rspec.spec_dir }
16
+ watch(%r(^spec/hanami_helper.rb$)) { rspec.spec_dir }
17
+ watch(%r(^app/(.+)\.rb$)) { |result| rspec.spec.call("app/#{result[1]}") }
18
+ watch(%r(^slices/(.+)\.rb$)) { |result| rspec.spec.call("slices/#{result[1]}") }
19
+ end
@@ -0,0 +1 @@
1
+ web: rerun --pattern="**/*.{css,erb,js,rb}" -- bundle exec puma --config ./config/puma.rb
@@ -0,0 +1 @@
1
+ web: bundle exec puma --port $PORT --config ./config/puma.rb
@@ -0,0 +1,9 @@
1
+ # auto_register: false
2
+
3
+ require "hanami/action"
4
+
5
+ <% namespace do %>
6
+ # The application action.
7
+ class Action < Hanami::Action
8
+ end
9
+ <% end %>
@@ -0,0 +1,10 @@
1
+ # auto_register: false
2
+
3
+ require "rom-repository"
4
+
5
+ <% namespace do %>
6
+ # The application repository.
7
+ class Repo < ROM::Repository::Root
8
+ include Deps[container: "persistence.rom"]
9
+ end
10
+ <% end %>
@@ -0,0 +1,10 @@
1
+ # auto_register: false
2
+
3
+ require "erbse"
4
+ require "hanami/view"
5
+
6
+ <% namespace do %>
7
+ # The application view.
8
+ class View < Hanami::View
9
+ end
10
+ <% end %>
@@ -0,0 +1,20 @@
1
+ #! /usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "hanami/cli"
5
+
6
+ Hanami::CLI.tap do |cli|
7
+ cli.register "db create", Hanami::CLI::Commands::App::DB::Create
8
+ cli.register "db create_migration", Hanami::CLI::Commands::App::DB::CreateMigration
9
+ cli.register "db drop", Hanami::CLI::Commands::App::DB::Drop
10
+ cli.register "db migrate", Hanami::CLI::Commands::App::DB::Migrate
11
+ cli.register "db setup", Hanami::CLI::Commands::App::DB::Setup
12
+ cli.register "db reset", Hanami::CLI::Commands::App::DB::Reset
13
+ cli.register "db rollback", Hanami::CLI::Commands::App::DB::Rollback
14
+ cli.register "db seed", Hanami::CLI::Commands::App::DB::Seed
15
+ cli.register "db structure dump", Hanami::CLI::Commands::App::DB::Structure::Dump
16
+ cli.register "db version", Hanami::CLI::Commands::App::DB::Version
17
+ end
18
+
19
+ Hanami::CLI::Bundler.require :cli
20
+ Dry::CLI.new(Hanami::CLI).call
@@ -0,0 +1,8 @@
1
+ require "hanami"
2
+
3
+ <% namespace do %>
4
+ # Handles HTTP requests.
5
+ class App < Hanami::App
6
+ config.actions.content_security_policy[:script_src] = "https://unpkg.com"
7
+ end
8
+ <% end %>
@@ -0,0 +1,28 @@
1
+ Hanami.app.register_provider :persistence, namespace: true do
2
+ prepare do
3
+ require "rom-changeset"
4
+ require "rom/core"
5
+ require "rom/sql"
6
+
7
+ configuration = ROM::Configuration.new :sql, target["settings"].database_url
8
+
9
+ configuration.plugin :sql, relations: :instrumentation do |plugin_config|
10
+ plugin_config.notifications = target["notifications"]
11
+ end
12
+
13
+ configuration.plugin :sql, relations: :auto_restrictions
14
+
15
+ register "config", configuration
16
+ register "db", configuration.gateways[:default].connection
17
+ end
18
+
19
+ start do
20
+ configuration = target["persistence.config"]
21
+ configuration.auto_registration(
22
+ target.root.join("lib/<%= configuration.project_path %>/persistence"),
23
+ namespace: "<%= configuration.project_namespaced_class %>::Persistence"
24
+ )
25
+
26
+ register "rom", ROM.container(configuration)
27
+ end
28
+ end
@@ -0,0 +1,20 @@
1
+ development = ENV.fetch("HANAMI_ENV", "development") == "development"
2
+
3
+ require "concurrent"
4
+ require "localhost" if development
5
+ Bundler.require :tools if development
6
+
7
+ max_threads_count = ENV.fetch "HANAMI_MAX_THREADS", 5
8
+ min_threads_count = ENV.fetch "HANAMI_MIN_THREADS", max_threads_count
9
+ threads min_threads_count, max_threads_count
10
+
11
+ port ENV.fetch "HANAMI_PORT", 2300
12
+ environment ENV.fetch "HANAMI_ENV", "development"
13
+ workers ENV.fetch "HANAMI_WEB_CONCURRENCY", Concurrent.physical_processor_count
14
+ worker_timeout 3600 if development
15
+ ssl_bind "localhost", "9050" if development
16
+ pidfile ENV.fetch "PIDFILE", "tmp/server.pid"
17
+ on_worker_boot { Hanami.shutdown }
18
+ plugin :tmp_restart
19
+
20
+ preload_app!
@@ -0,0 +1,8 @@
1
+ <% namespace do %>
2
+ # Configures application routes.
3
+ class Routes < Hanami::Routes
4
+ slice :main, at: "/" do
5
+ root to: "home.show"
6
+ end
7
+ end
8
+ <% end %>
@@ -0,0 +1,6 @@
1
+ <% namespace do %>
2
+ # Configures application settings.
3
+ class Settings < Hanami::Settings
4
+ setting :database_url
5
+ end
6
+ <% end %>
@@ -0,0 +1,4 @@
1
+ require "hanami/boot"
2
+ Bundler.require :tools if Hanami.env? :development
3
+
4
+ run Hanami.app
@@ -0,0 +1 @@
1
+ export DATABASE_URL=postgres://localhost/<%= configuration.project_name %>_development
@@ -0,0 +1,10 @@
1
+ require "dry/types"
2
+
3
+ <% namespace do %>
4
+ Types = Dry.Types
5
+
6
+ # Defines custom types.
7
+ module Types
8
+ # Add custom types here.
9
+ end
10
+ <% end %>
@@ -0,0 +1,7 @@
1
+ # auto_register: false
2
+
3
+ module Main
4
+ # The main action.
5
+ class Action < <%= configuration.project_namespaced_class %>::Action
6
+ end
7
+ end
@@ -0,0 +1,10 @@
1
+ module Main
2
+ module Actions
3
+ module Home
4
+ # Processes show action.
5
+ class Show < Main::Action
6
+ def handle(*, response) = response.render view
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,7 @@
1
+ # auto_register: false
2
+
3
+ module Main
4
+ # The main repository.
5
+ class Repo < <%= configuration.project_namespaced_class %>::Repo
6
+ end
7
+ end
@@ -0,0 +1,32 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title><%= configuration.project_label %></title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+
7
+ <style type="text/css">
8
+ :root {
9
+ --site-font-family: Verdana;
10
+ --site-color-black: hsl(0, 0%, 0%);
11
+ --site-color-white: hsl(0, 0%, 100%);
12
+ }
13
+
14
+ body {
15
+ align-items: center;
16
+ display: flex;
17
+ flex-direction: column;
18
+ font-family: var(--site-font-family);
19
+ margin: 1rem 5rem;
20
+ }
21
+ </style>
22
+
23
+ <script src="https://unpkg.com/htmx.org@1.8.4/dist/htmx.min.js"
24
+ crossorigin="anonymous"
25
+ integrity="sha384-wg5Y/JwF7VxGk4zLsJEcAojRtlVp1FKKdGy1qN+OMtdq72WRvX/EdRdqg/LOhYeV">
26
+ </script>
27
+ </head>
28
+
29
+ <body>
30
+ <!-- yield -->
31
+ </body>
32
+ </html>
@@ -0,0 +1,8 @@
1
+ # auto_register: false
2
+
3
+ module Main
4
+ # The main view.
5
+ class View < <%= configuration.project_namespaced_class %>::View
6
+ config.paths = [Pathname(__dir__).join("templates").expand_path]
7
+ end
8
+ end
@@ -0,0 +1,9 @@
1
+ module Main
2
+ module Views
3
+ module Home
4
+ # Renders show view.
5
+ class Show < Main::View
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,22 @@
1
+ require "capybara/cuprite"
2
+ require "capybara/rspec"
3
+ require "rack/test"
4
+ require "spec_helper"
5
+
6
+ ENV["HANAMI_ENV"] = "test"
7
+ require "hanami/prepare"
8
+
9
+ Capybara.server = :puma, {Silent: true}
10
+ Capybara.javascript_driver = :cuprite
11
+ Capybara.register_driver :cuprite do |app|
12
+ Capybara::Cuprite::Driver.new app, window_size: [1200, 800]
13
+ end
14
+
15
+ RSpec.shared_context "with Hanami application" do
16
+ let(:app) { Hanami.app }
17
+ end
18
+
19
+ RSpec.configure do |config|
20
+ config.include Rack::Test::Methods, type: :request
21
+ config.include_context "with Hanami application", type: :request
22
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rubysmith"
4
+ require "zeitwerk"
5
+
6
+ Zeitwerk::Loader.for_gem.then do |loader|
7
+ loader.inflector.inflect "cli" => "CLI", "rspec" => "RSpec"
8
+ loader.setup
9
+ end
10
+
11
+ # Main namespace.
12
+ module Hanamismith
13
+ end
data.tar.gz.sig ADDED
Binary file
metadata ADDED
@@ -0,0 +1,283 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hanamismith
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Brooke Kuhlmann
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIC/jCCAeagAwIBAgIBBTANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
+ a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMjAzMTkxNzI0MzJaFw0yMzAzMTkx
15
+ NzI0MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
17
+ xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
18
+ brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
19
+ 9z0A8KcGhz67SdcoQiD7qiCjL/2NTeWHOzkpPrdGlt088+VerEEGf5I13QCvaftP
20
+ D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
21
+ 3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
22
+ AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
23
+ 2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAJbbNyWzFjqUNVPPCUCo
24
+ IMrhDa9xf1xkORXNYYbmXgoxRy/KyNbUr+jgEEoWJAm9GXlcqxxWAUI6pK/i4/Qi
25
+ X6rPFEFmeObDOHNvuqy8Hd6AYsu+kP94U/KJhe9wnWGMmGoNKJNU3EkW3jM/osSl
26
+ +JRxiH5t4WtnDiVyoYl5nYC02rYdjJkG6VMxDymXTqn7u6HhYgZkGujq1UPar8x2
27
+ hNIWJblDKKSu7hA2d6+kUthuYo13o1sg1Da/AEDg0hoZSUvhqDEF5Hy232qb3pDt
28
+ CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
29
+ RFE=
30
+ -----END CERTIFICATE-----
31
+ date: 2023-01-18 00:00:00.000000000 Z
32
+ dependencies:
33
+ - !ruby/object:Gem::Dependency
34
+ name: cogger
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '0.5'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '0.5'
47
+ - !ruby/object:Gem::Dependency
48
+ name: core
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '0.1'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '0.1'
61
+ - !ruby/object:Gem::Dependency
62
+ name: dry-container
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '0.11'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '0.11'
75
+ - !ruby/object:Gem::Dependency
76
+ name: dry-monads
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '1.6'
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '1.6'
89
+ - !ruby/object:Gem::Dependency
90
+ name: hanami
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '2.0'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '2.0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: infusible
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '1.0'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '1.0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: refinements
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '10.0'
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '10.0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: rubysmith
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: '4.3'
138
+ type: :runtime
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: '4.3'
145
+ - !ruby/object:Gem::Dependency
146
+ name: runcom
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: '9.0'
152
+ type: :runtime
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - "~>"
157
+ - !ruby/object:Gem::Version
158
+ version: '9.0'
159
+ - !ruby/object:Gem::Dependency
160
+ name: spek
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - "~>"
164
+ - !ruby/object:Gem::Version
165
+ version: '1.0'
166
+ type: :runtime
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - "~>"
171
+ - !ruby/object:Gem::Version
172
+ version: '1.0'
173
+ - !ruby/object:Gem::Dependency
174
+ name: zeitwerk
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '2.6'
180
+ type: :runtime
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - "~>"
185
+ - !ruby/object:Gem::Version
186
+ version: '2.6'
187
+ description:
188
+ email:
189
+ - brooke@alchemists.io
190
+ executables:
191
+ - hanamismith
192
+ extensions: []
193
+ extra_rdoc_files:
194
+ - README.adoc
195
+ - LICENSE.adoc
196
+ files:
197
+ - LICENSE.adoc
198
+ - README.adoc
199
+ - exe/hanamismith
200
+ - hanamismith.gemspec
201
+ - lib/hanamismith.rb
202
+ - lib/hanamismith/builders/binstub.rb
203
+ - lib/hanamismith/builders/bundler.rb
204
+ - lib/hanamismith/builders/caliber.rb
205
+ - lib/hanamismith/builders/console.rb
206
+ - lib/hanamismith/builders/core.rb
207
+ - lib/hanamismith/builders/documentation/readme.rb
208
+ - lib/hanamismith/builders/environment.rb
209
+ - lib/hanamismith/builders/git/commit.rb
210
+ - lib/hanamismith/builders/guard.rb
211
+ - lib/hanamismith/builders/puma/configuration.rb
212
+ - lib/hanamismith/builders/puma/procfile.rb
213
+ - lib/hanamismith/builders/rack.rb
214
+ - lib/hanamismith/builders/rake.rb
215
+ - lib/hanamismith/builders/rspec/hanami.rb
216
+ - lib/hanamismith/builders/rspec/helper.rb
217
+ - lib/hanamismith/builders/slices/main.rb
218
+ - lib/hanamismith/cli/actions/build.rb
219
+ - lib/hanamismith/cli/actions/config.rb
220
+ - lib/hanamismith/cli/actions/container.rb
221
+ - lib/hanamismith/cli/actions/import.rb
222
+ - lib/hanamismith/cli/parser.rb
223
+ - lib/hanamismith/cli/parsers/core.rb
224
+ - lib/hanamismith/cli/shell.rb
225
+ - lib/hanamismith/configuration/content.rb
226
+ - lib/hanamismith/configuration/defaults.yml
227
+ - lib/hanamismith/configuration/loader.rb
228
+ - lib/hanamismith/container.rb
229
+ - lib/hanamismith/import.rb
230
+ - lib/hanamismith/templates/%project_name%/Guardfile.erb
231
+ - lib/hanamismith/templates/%project_name%/Procfile.dev.erb
232
+ - lib/hanamismith/templates/%project_name%/Procfile.erb
233
+ - lib/hanamismith/templates/%project_name%/app/action.rb.erb
234
+ - lib/hanamismith/templates/%project_name%/app/repo.rb.erb
235
+ - lib/hanamismith/templates/%project_name%/app/view.rb.erb
236
+ - lib/hanamismith/templates/%project_name%/bin/hanami.erb
237
+ - lib/hanamismith/templates/%project_name%/config.ru.erb
238
+ - lib/hanamismith/templates/%project_name%/config/app.rb.erb
239
+ - lib/hanamismith/templates/%project_name%/config/providers/persistence.rb.erb
240
+ - lib/hanamismith/templates/%project_name%/config/puma.rb.erb
241
+ - lib/hanamismith/templates/%project_name%/config/routes.rb.erb
242
+ - lib/hanamismith/templates/%project_name%/config/settings.rb.erb
243
+ - lib/hanamismith/templates/%project_name%/envrc.erb
244
+ - lib/hanamismith/templates/%project_name%/lib/%project_path%/types.rb.erb
245
+ - lib/hanamismith/templates/%project_name%/slices/main/action.rb.erb
246
+ - lib/hanamismith/templates/%project_name%/slices/main/actions/home/show.rb.erb
247
+ - lib/hanamismith/templates/%project_name%/slices/main/repo.rb.erb
248
+ - lib/hanamismith/templates/%project_name%/slices/main/templates/home/show.html.erb.erb
249
+ - lib/hanamismith/templates/%project_name%/slices/main/templates/layouts/app.html.erb.erb
250
+ - lib/hanamismith/templates/%project_name%/slices/main/view.rb.erb
251
+ - lib/hanamismith/templates/%project_name%/slices/main/views/home/show.rb.erb
252
+ - lib/hanamismith/templates/%project_name%/spec/hanami_helper.rb.erb
253
+ homepage: https://www.alchemists.io/projects/hanamismith
254
+ licenses:
255
+ - Hippocratic-2.1
256
+ metadata:
257
+ bug_tracker_uri: https://github.com/bkuhlmann/hanamismith/issues
258
+ changelog_uri: https://www.alchemists.io/projects/hanamismith/versions
259
+ documentation_uri: https://www.alchemists.io/projects/hanamismith
260
+ funding_uri: https://github.com/sponsors/bkuhlmann
261
+ label: Hanamismith
262
+ rubygems_mfa_required: 'true'
263
+ source_code_uri: https://github.com/bkuhlmann/hanamismith
264
+ post_install_message:
265
+ rdoc_options: []
266
+ require_paths:
267
+ - lib
268
+ required_ruby_version: !ruby/object:Gem::Requirement
269
+ requirements:
270
+ - - "~>"
271
+ - !ruby/object:Gem::Version
272
+ version: '3.2'
273
+ required_rubygems_version: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - ">="
276
+ - !ruby/object:Gem::Version
277
+ version: '0'
278
+ requirements: []
279
+ rubygems_version: 3.4.4
280
+ signing_key:
281
+ specification_version: 4
282
+ summary: A command line interface for smithing Hanami projects.
283
+ test_files: []
metadata.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ �FL�U��*�#��YR?�By#�^��ĵb�ꬣ��8kV��a�ӭI��?�z<��b m�M#9H�dW�}�H�شu�c����g���Fq���%,��(.Ȏ�Wy ēp�z�|'h��B!Ki�&� ��k"Ŋ ���o��;���s5n-iOi��rW����O���/u�ߎ\s
2
+ U��W�