hanamismith 0.3.0 → 0.3.1
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 +12 -4
- data/hanamismith.gemspec +1 -1
- data/lib/hanamismith/builders/core.rb +4 -0
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: c995cc8bcbf6dde68acf3890fbd5f5b333b4762cf790fd71f0f31c3f3fc28d9b
|
4
|
+
data.tar.gz: 8efc608cd596ccd6e4df45591e954fe4376a48e24914abaa07f05824b6b13d68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
===
|
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
@@ -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.
|
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
|
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
|