jekyll-assets 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.md +5 -0
- data/lib/jekyll/assets_plugin/asset_file.rb +3 -2
- data/lib/jekyll/assets_plugin/version.rb +1 -1
- metadata +3 -3
data/HISTORY.md
CHANGED
@@ -9,7 +9,7 @@ module Jekyll
|
|
9
9
|
|
10
10
|
|
11
11
|
def initialize site, asset
|
12
|
-
@site, @logical_path = site, asset.logical_path
|
12
|
+
@site, @asset, @logical_path = site, asset, asset.logical_path
|
13
13
|
end
|
14
14
|
|
15
15
|
|
@@ -28,7 +28,8 @@ module Jekyll
|
|
28
28
|
|
29
29
|
|
30
30
|
def asset
|
31
|
-
@site.assets[logical_path]
|
31
|
+
@asset = @site.assets[logical_path] if @asset.stale? @site.assets
|
32
|
+
@asset
|
32
33
|
end
|
33
34
|
|
34
35
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|
@@ -242,7 +242,7 @@ rubyforge_project:
|
|
242
242
|
rubygems_version: 1.8.23
|
243
243
|
signing_key:
|
244
244
|
specification_version: 3
|
245
|
-
summary: jekyll-assets-0.5.
|
245
|
+
summary: jekyll-assets-0.5.1
|
246
246
|
test_files:
|
247
247
|
- spec/fixtures/.gitignore
|
248
248
|
- spec/fixtures/_assets/app.css.erb
|