hanamismith 0.3.0 → 0.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbbbb6d45c490481033d4097a84a5685b1db9dd0473b4a0b696c33a926278e7a
4
- data.tar.gz: e366cae2d1d03af350bc669dfcd5b520ada312bd1128fef5af0e55c310feaaad
3
+ metadata.gz: c995cc8bcbf6dde68acf3890fbd5f5b333b4762cf790fd71f0f31c3f3fc28d9b
4
+ data.tar.gz: 8efc608cd596ccd6e4df45591e954fe4376a48e24914abaa07f05824b6b13d68
5
5
  SHA512:
6
- metadata.gz: c1ef21826c24b1a4dfc0bf68d292bff187bdd8fb373171a4c60117b88a6775b829afb18f3577f306c20674917219552478ef5fb3b9596b92a11ac16542c6e2ca
7
- data.tar.gz: fa9d17895f7144eaf6987bfb972f38b364b177618342fb77fd6988e0a916e3473eab5e41b2560146c4159f37a1e39b5bd9af16fe9f1f615c2ea3ae45b92a2e47
6
+ metadata.gz: 17721edd755075c794ff845b06149ef57ab933a20c99ff81a9037b0ac35e871f6b7d8e99564ea50bf98b040f8d503540051891476700145cbf52ecfda892ce38
7
+ data.tar.gz: 26d3b8140551d02097ff2d901b59d2e6579396f9c8acc0737dd9ad26f03c06ee2ffeaf4785d9126cf03b04759766f818c5899cf0e8489256ca9947940247738d
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -39,6 +39,7 @@ toc::[]
39
39
  * Uses {puma_link} as the default web server and fully configured for local and production environments.
40
40
  * Uses {capybara_link} with {cuprite_link} (driver) for full, headless, feature testing.
41
41
  * Uses {dotenv_link} for managing your environment configurations.
42
+ * Provides support for Continuous Integration systems like link:https://circleci.com[Circle CI] (default) and link:https://docs.github.com/en/actions[GitHub Actions].
42
43
 
43
44
  == Requirements
44
45
 
@@ -139,7 +140,7 @@ hanamismith --build demo
139
140
  # Run code quality and test coverage checks
140
141
  cd demo
141
142
  bin/setup
142
- hanami db create
143
+ bin/hanami db create
143
144
  HANAMI_ENV=test hanami db create
144
145
  bin/rake
145
146
 
@@ -151,10 +152,13 @@ git commit # (repeat until finished with implementation)
151
152
  overmind start --port-step 10 --procfile Procfile.dev
152
153
 
153
154
  # Run: Without Overmind
154
- hanami server
155
+ bin/hanami server
155
156
 
156
157
  # Deploy
157
158
  git push
159
+
160
+ # Help
161
+ bin/hanami --help
158
162
  ----
159
163
 
160
164
  Once the server is running you can visit (or ping) the following endpoints:
@@ -175,12 +179,16 @@ alias hsh="hanamismith --help"
175
179
 
176
180
  The above is what I use via my {dotfiles_link} project.
177
181
 
178
- === Demonstration
182
+ === Demonstrations
179
183
 
180
- 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 demonstration application:
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:
181
185
 
182
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]
183
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:
189
+
190
+ video::V4QPZi3j7uY[youtube,role=video]
191
+
184
192
  == Development
185
193
 
186
194
  To contribute, run:
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.3.0"
5
+ spec.version = "0.3.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/hanamismith"
@@ -55,6 +55,10 @@ module Hanamismith
55
55
  path = "%project_name%/lib/%project_path%/types.rb.erb"
56
56
  builder.call(configuration.merge(template_path: path)).render
57
57
  end
58
+
59
+ def add_temp_directory
60
+ builder.call(configuration.merge(template_path: "%project_name%/tmp")).make_path
61
+ end
58
62
  end
59
63
  end
60
64
  end
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.3.0
4
+ version: 0.3.1
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-01-29 00:00:00.000000000 Z
31
+ date: 2023-02-01 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: cogger
metadata.gz.sig CHANGED
Binary file