zashoku 1.5.3 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/constants.rb +1 -1
- data/templates/app/bin/<name> +23 -0
- data/templates/module/lib/<name>/<name>_controller.rb +3 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35663a0571ac59386c29a85223b2b3f75690dd70
|
4
|
+
data.tar.gz: 26a5bba70e214f1f059a58014b418c5dbd9a2d84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 509a76eccd21d5f1d46c02f24dc35e99e4bd5aa93fa17694d058bea5316ff59a945ca738ff261ca77a570a0a7f372e384f4579b0d355192b6fc61cc3035710b5
|
7
|
+
data.tar.gz: 5b20daf5028f0983ddc42de1ce01c99bed88e7408cc763bfbe75b8ee09bd6e7f4fd6bc7e083936080cd372386abadafaad62f3f2456b506c8a99604b31e72a0a
|
data/lib/constants.rb
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Zashoku
|
5
|
+
AppConf = {
|
6
|
+
app: {
|
7
|
+
root: File.expand_path('../', __dir__),
|
8
|
+
name: '<name>',
|
9
|
+
modules: {
|
10
|
+
viewer: %w[<Name>],
|
11
|
+
daemon: %w[<Name>]
|
12
|
+
},
|
13
|
+
net: {
|
14
|
+
host: 'localhost',
|
15
|
+
port: 12_345
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
end
|
20
|
+
|
21
|
+
require 'zashoku'
|
22
|
+
|
23
|
+
Zashoku.main(ARGV)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zashoku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- annacrombie
|
@@ -137,6 +137,7 @@ files:
|
|
137
137
|
- "./lib/viewer.rb"
|
138
138
|
- "./lib/zashoku.rb"
|
139
139
|
- "./templates/app/README.md"
|
140
|
+
- "./templates/app/bin/<name>"
|
140
141
|
- "./templates/app/config/daemon.yml"
|
141
142
|
- "./templates/app/config/view.yml"
|
142
143
|
- "./templates/app/lib/<name>.rb"
|