hobby-pages 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 +4 -4
- data/hobby-pages.gemspec +1 -1
- data/lib/hobby/pages.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 463049d724d82260a66dc52ae4ad9d8f4d8f32e4
|
4
|
+
data.tar.gz: d6d67c9f4f053c4031d72810ee9c2651fd0d8ee0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b580ee8384a29b83a93c1b47745bf2adfd1b31a3ea94ed2d2346765785927b1edb8a328a6a4c3dad03545ce472d9f7b54c1539f44bf810f56574adfa9c1079c
|
7
|
+
data.tar.gz: f04bf5352ef488ac0bfaf6c56c18b36f93798290ae6dd3afcaf82a51d9f974dd76ce4f9a1500a5018fbfe9bfc33d3944575bb7fbf958f26145b69a627b7f87db
|
data/hobby-pages.gemspec
CHANGED
data/lib/hobby/pages.rb
CHANGED
@@ -52,6 +52,11 @@ module Hobby
|
|
52
52
|
|
53
53
|
@sprockets = Sprockets::Environment.new
|
54
54
|
@sprockets.append_path "#{root}/js"
|
55
|
+
if defined? RailsAssets
|
56
|
+
RailsAssets.load_paths.each do |path|
|
57
|
+
@sprockets.append_path path
|
58
|
+
end
|
59
|
+
end
|
55
60
|
|
56
61
|
@pages = Dir["#{root}/html/pages/*.slim"].map do |path|
|
57
62
|
page = Page.new path, self
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobby-pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anatoly Chernow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hobby
|