togostanza 0.0.1 → 0.0.2

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: 73791980af93f171cb47540d0e3a4fe4edb007ab
4
- data.tar.gz: 4f6a9c402d3a859f900f8e2a1b0815199d9af470
3
+ metadata.gz: db7fc87cbe486459bf88ee462931d524c7ebf485
4
+ data.tar.gz: 1eb86476a970cb301fbb47b285cabfcf8558cf39
5
5
  SHA512:
6
- metadata.gz: 2299c7c8161f845fc547ee51096b859b008754eaea2b1ed14523d5135febfc7b9629949a243b86ea6627dbc6a0f6751e6a23474141448dde7a22eabbfca3bc57
7
- data.tar.gz: de344269365ebbcc02e404cc7317ee0ef559da3978a62edb4eb192942286548f1fda02265bc921bec7d9130a4fe2a3a6829b386b4d30140130fe84f53309db4c
6
+ metadata.gz: 1b550a2d48ff9f0096182d6797d9efc004154408109678307a77f5e2311fa49539c847ffc0c780c68b602c0eccc331db253bb9cfa0299d60b83f829b16d90be3
7
+ data.tar.gz: 1b8c3e2f59d8dad58039c2a3fdafd4b194ee975dc878cfd788d0dd2ca5d7867ddcf11e4e5b740afe1529d8424e0efa81b7870222f4b631e998e2eb1329630d45
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module TogoStanza
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
data/lib/togostanza.rb CHANGED
@@ -1,8 +1,15 @@
1
1
  require 'togostanza/version'
2
+ require 'sprockets'
2
3
 
3
4
  module TogoStanza
4
5
  autoload :Application, 'togostanza/application'
5
6
  autoload :CLI, 'togostanza/cli'
6
7
  autoload :Markdown, 'togostanza/markdown'
7
8
  autoload :Stanza, 'togostanza/stanza'
9
+
10
+ def self.sprockets
11
+ @sprockets ||= Sprockets::Environment.new.tap {|sprockets|
12
+ sprockets.append_path File.expand_path('../../assets', __FILE__)
13
+ }
14
+ end
8
15
  end
data/togostanza.gemspec CHANGED
@@ -25,6 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_runtime_dependency 'sinatra'
26
26
  spec.add_runtime_dependency 'sinatra-contrib'
27
27
  spec.add_runtime_dependency 'sparql-client'
28
+ spec.add_runtime_dependency 'sprockets'
28
29
  spec.add_runtime_dependency 'thor'
29
30
 
30
31
  spec.add_development_dependency 'appraisal'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: togostanza
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keita Urashima
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-21 00:00:00.000000000 Z
11
+ date: 2013-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -136,6 +136,20 @@ dependencies:
136
136
  - - '>='
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: sprockets
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: thor
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -236,6 +250,8 @@ files:
236
250
  - LICENSE.txt
237
251
  - README.md
238
252
  - Rakefile
253
+ - assets/stanza.css
254
+ - assets/stanza.js
239
255
  - bin/togostanza
240
256
  - gemfiles/activesupport_3.x.gemfile
241
257
  - gemfiles/activesupport_3.x.gemfile.lock
@@ -251,8 +267,6 @@ files:
251
267
  - lib/togostanza/stanza/markdown.rb
252
268
  - lib/togostanza/stanza/querying.rb
253
269
  - lib/togostanza/version.rb
254
- - public/assets/stanza.css
255
- - public/assets/stanza.js
256
270
  - spec/dummy/app.rb
257
271
  - spec/dummy/bar_stanza/help.md
258
272
  - spec/dummy/bar_stanza/lib/bar_stanza.rb