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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad1fd96c25d4a8c6d14fa533544cb0b0e4ef5745
4
- data.tar.gz: ad1ca86ad359ff0c7d2f34ec0bbe595b10d066ef
3
+ metadata.gz: 463049d724d82260a66dc52ae4ad9d8f4d8f32e4
4
+ data.tar.gz: d6d67c9f4f053c4031d72810ee9c2651fd0d8ee0
5
5
  SHA512:
6
- metadata.gz: f74c98fe2cbec3fafe73888e55ae424907bb90322ac60e43178fb0a9881cf7703def943cc2e8e1e33a8da99e4ff16a335f7c3993a274d8b1a3fffdc0b1cfa915
7
- data.tar.gz: 3238f074d9109ca616132c24c1c3fbab2f881a60a7a89edc163c5d8a5ef465ca6597fc2a9631d48f22aac46ac4cf1690f271dc442d871c81e3c376e0db91865c
6
+ metadata.gz: 9b580ee8384a29b83a93c1b47745bf2adfd1b31a3ea94ed2d2346765785927b1edb8a328a6a4c3dad03545ce472d9f7b54c1539f44bf810f56574adfa9c1079c
7
+ data.tar.gz: f04bf5352ef488ac0bfaf6c56c18b36f93798290ae6dd3afcaf82a51d9f974dd76ce4f9a1500a5018fbfe9bfc33d3944575bb7fbf958f26145b69a627b7f87db
data/hobby-pages.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |g|
2
2
  g.name = 'hobby-pages'
3
3
  g.files = `git ls-files`.split($/)
4
- g.version = '0.0.2'
4
+ g.version = '0.0.3'
5
5
  g.summary = 'A Hobby app to return a bunch of HTML pages from a directory.'
6
6
  g.authors = ['Anatoly Chernow']
7
7
 
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.2
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-20 00:00:00.000000000 Z
11
+ date: 2017-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hobby