asset_pages 0.9.11 → 0.9.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asset_pages/jekyll/liquid_helper.rb +4 -2
- data/lib/asset_pages/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c797eeff2ca32cfee5ea6b1aacbb6608b8a8caf6
|
4
|
+
data.tar.gz: 8fe5d1dd477cd1644487ea490b413e336eb923e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15778af772a655a0fccaac5859903bf7b3845c2c62d6278c5e669e91bd7bce3403387f23edb4586b3c190d1cae6ff25f8f4774c595d99b7502bf316566f0a733
|
7
|
+
data.tar.gz: a568a01ff429e0073a9e7171385f5f6e8c0393a7c968fd4e8423c3dfd60aef08e3d43623d92c632e17b0eeee293b37ba4a4e860972fe228cd739e635192a81d8
|
@@ -101,7 +101,9 @@ module AssetPages
|
|
101
101
|
|
102
102
|
# Write the asset into the staging directory.
|
103
103
|
site_file.open("wb") { |f| f.write(asset_hash["source"]) } \
|
104
|
-
if !site_file.file?
|
104
|
+
if !site_file.file? \
|
105
|
+
|| site_file.mtime < Time.at(asset_hash["mtime"]) \
|
106
|
+
|| (asset_hash["dependency_paths"] || []).find { |dep| site_file.mtime < dep["mtime"] }
|
105
107
|
else
|
106
108
|
staging_dir = Root.relative_path_from(Pathname.new(assets_prefix)).expand_path(assets_manifest.dir)
|
107
109
|
site_file_relative = assets_dir + asset_hash["filename"]
|
@@ -109,7 +111,7 @@ module AssetPages
|
|
109
111
|
|
110
112
|
# Add to Jekyll's static file manifest, which ensures that said asset is moved into place.
|
111
113
|
site.static_files \
|
112
|
-
.push(::Jekyll::StaticFile.new(
|
114
|
+
.push(::Jekyll::StaticFile.new(site,
|
113
115
|
staging_dir,
|
114
116
|
site_file_relative.dirname,
|
115
117
|
site_file_relative.basename)) \
|
data/lib/asset_pages/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asset_pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roy Liu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.5.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.5.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 4.
|
33
|
+
version: 4.2.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 4.
|
40
|
+
version: 4.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rugged
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.22.0b5
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.22.0b5
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: uglifier
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
61
|
+
version: 2.7.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.
|
68
|
+
version: 2.7.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: yui-compressor
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|