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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f452ac173dc980027b942716bd56472cb40a8770
4
- data.tar.gz: ba9020e54e6db010d51ea17a7514053514363edf
3
+ metadata.gz: 35663a0571ac59386c29a85223b2b3f75690dd70
4
+ data.tar.gz: 26a5bba70e214f1f059a58014b418c5dbd9a2d84
5
5
  SHA512:
6
- metadata.gz: 5fbce4a8509ff7a4138348221ef43b82fe37355903f5716ddc4443ba92683154becca9fc98d7bf2ced0fe6384508935035053aa77a654697edafdc3fa8dd7794
7
- data.tar.gz: 0ed5d01d23a2549742becf9c089b25f7641b13201e3c583814a164ee595efe41a53b520e6d10cf0e2f61fa182d6de0891d26237a260158228adf1e7515f3b288
6
+ metadata.gz: 509a76eccd21d5f1d46c02f24dc35e99e4bd5aa93fa17694d058bea5316ff59a945ca738ff261ca77a570a0a7f372e384f4579b0d355192b6fc61cc3035710b5
7
+ data.tar.gz: 5b20daf5028f0983ddc42de1ce01c99bed88e7408cc763bfbe75b8ee09bd6e7f4fd6bc7e083936080cd372386abadafaad62f3f2456b506c8a99604b31e72a0a
data/lib/constants.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  require_relative 'core/util/util'
4
4
 
5
5
  module Zashoku
6
- Version = [1, 5, 3].freeze
6
+ Version = [1, 5, 4].freeze
7
7
 
8
8
  Root = File.expand_path('../', __dir__)
9
9
 
@@ -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)
@@ -5,6 +5,9 @@ require_relative '<name>_item'
5
5
  module Zashoku
6
6
  module <Name>
7
7
  class <Name>Controller < Zashoku::Controller
8
+ def items
9
+ {}
10
+ end
8
11
  end
9
12
  end
10
13
  end
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.3
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"