togostanza 0.0.2 → 0.0.3

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: db7fc87cbe486459bf88ee462931d524c7ebf485
4
- data.tar.gz: 1eb86476a970cb301fbb47b285cabfcf8558cf39
3
+ metadata.gz: 6975b80bcc18f7707b07b176acbbc8ebfb09671a
4
+ data.tar.gz: b9bcb840c5b722462661ceda577927830a8e2a57
5
5
  SHA512:
6
- metadata.gz: 1b550a2d48ff9f0096182d6797d9efc004154408109678307a77f5e2311fa49539c847ffc0c780c68b602c0eccc331db253bb9cfa0299d60b83f829b16d90be3
7
- data.tar.gz: 1b8c3e2f59d8dad58039c2a3fdafd4b194ee975dc878cfd788d0dd2ca5d7867ddcf11e4e5b740afe1529d8424e0efa81b7870222f4b631e998e2eb1329630d45
6
+ metadata.gz: f6b7123db1b83a7efd4d75739ed3f74d86854aed696fdd3d5c0629326ab5839083501aeeda141b3a69a191235ed2ffb068739131a9a694dea005fbdfb58c77d9
7
+ data.tar.gz: 89188b35106edc7ef9e65cb96741c3f5961199e9d1e67821d0f03451addb8eecdf67c0684ecf9a9cc8075a2e0dd3a8d00c1d1aae5a6e408a0d6961bced7af6c7
@@ -42,6 +42,8 @@ module TogoStanza
42
42
  template 'stanza.rb.erb', "#{file_name}/stanza.rb"
43
43
  template 'template.hbs.erb', "#{file_name}/template.hbs"
44
44
  template 'help.md.erb', "#{file_name}/help.md"
45
+
46
+ create_file "#{file_name}/assets/.keep"
45
47
  end
46
48
 
47
49
  def inject_gem
@@ -1,3 +1,3 @@
1
1
  module TogoStanza
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
@@ -1,6 +1,10 @@
1
1
  require 'bundler'
2
2
  Bundler.require
3
3
 
4
+ map '/stanza/assets' do
5
+ run TogoStanza.sprockets
6
+ end
7
+
4
8
  map '/stanza' do
5
9
  run TogoStanza::Application
6
10
  end
@@ -2,3 +2,5 @@ require 'togostanza'
2
2
  require_relative '../stanza'
3
3
 
4
4
  <%= class_name %>.root = File.expand_path('../..', __FILE__)
5
+
6
+ TogoStanza.sprockets.append_path File.expand_path('../../assets', __FILE__)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: togostanza
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keita Urashima