jekyll-assets 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/.rspec +1 -1
- data/Gemfile +12 -16
- data/HISTORY.md +8 -0
- data/README.md +51 -11
- data/jekyll-assets.gemspec +5 -4
- data/lib/jekyll/assets_plugin/configuration.rb +2 -0
- data/lib/jekyll/assets_plugin/environment.rb +24 -8
- data/lib/jekyll/assets_plugin/patches/asset_patch.rb +34 -0
- data/lib/jekyll/assets_plugin/patches/context_patch.rb +7 -3
- data/lib/jekyll/assets_plugin/patches/processed_asset_patch.rb +3 -4
- data/lib/jekyll/assets_plugin/patches/site_patch.rb +2 -8
- data/lib/jekyll/assets_plugin/renderer.rb +26 -3
- data/lib/jekyll/assets_plugin/version.rb +1 -1
- data/spec/fixtures/_assets/noize.png +0 -0
- data/spec/fixtures/_posts/2015-02-02-duplicates.md +8 -0
- data/spec/lib/jekyll/assets_plugin/configuration_spec.rb +0 -1
- data/spec/lib/jekyll/assets_plugin/patches/site_patch_spec.rb +8 -1
- data/spec/lib/jekyll/assets_plugin/renderer_spec.rb +13 -0
- data/spec/spec_helper.rb +2 -0
- metadata +21 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf03f1b3026830cb23f34e9b0a81488df68fd46f
|
4
|
+
data.tar.gz: 3a5d3c9cef7200210cd60c9f91f0f22b360af288
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 366b58cf0cf02cb41c7a95a6d167fb16d23e1e8d8ffdb6a89561dcfb68d1d823ea622bdb6255fa8955289655983a500d56be68734cd977bf5e2bdd43ac1f16e2
|
7
|
+
data.tar.gz: f4d412a6a92d0c4cd39b604e81a2afcc78090ff4be70c82e961564edd71906c172e1dc649d2fc92d744d12444885b9a03c18b965f36c23240f1388ee51a88dc4
|
data/.gitignore
CHANGED
data/.rspec
CHANGED
@@ -1 +1 @@
|
|
1
|
-
--
|
1
|
+
--color --format documentation
|
data/Gemfile
CHANGED
@@ -1,24 +1,20 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
2
|
|
3
|
-
|
4
|
-
gem "
|
5
|
-
gem "
|
6
|
-
gem "
|
7
|
-
gem "font-awesome-sass", "~> 4.2"
|
8
|
-
|
9
|
-
# compass fails with SASS than 3.3+
|
10
|
-
# https://github.com/chriseppstein/compass/issues/1513
|
11
|
-
gem "sass", "~> 3.2.13"
|
3
|
+
group :development do
|
4
|
+
gem "rubocop"
|
5
|
+
gem "rake"
|
6
|
+
gem "rspec"
|
12
7
|
|
13
|
-
gem "
|
14
|
-
gem "rake"
|
15
|
-
gem "rspec"
|
8
|
+
gem "guard-rspec"
|
16
9
|
|
17
|
-
gem "coveralls", :require => false
|
18
|
-
gem "simplecov", :require => false
|
10
|
+
gem "coveralls", :require => false
|
11
|
+
gem "simplecov", :require => false
|
19
12
|
|
20
|
-
|
21
|
-
gem "
|
13
|
+
gem "compass"
|
14
|
+
gem "bourbon"
|
15
|
+
gem "neat"
|
16
|
+
gem "bootstrap-sass", "~> 3.2"
|
17
|
+
gem "font-awesome-sass", "~> 4.2"
|
22
18
|
end
|
23
19
|
|
24
20
|
# Specify your gem's dependencies in jekyll-assets.gemspec
|
data/HISTORY.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
### master (unreleased)
|
2
2
|
|
3
3
|
|
4
|
+
### 0.14.0 (2015-03-09)
|
5
|
+
|
6
|
+
* Add support for resizing image assets. See #130. (Thanks @zmbush)
|
7
|
+
* Respect `_autoprefixer.yml` along with `autoprefixer.yml` configs.
|
8
|
+
See #128. (Thanks @zmbush)
|
9
|
+
* Fix issue with files being ignored when same content. See #112.
|
10
|
+
|
11
|
+
|
4
12
|
### 0.13.0 (2015-02-01)
|
5
13
|
|
6
14
|
* Respect Jekyll config's `baseurl` when auto-guessing baseurl. See #125.
|
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# Jekyll::AssetsPlugin
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/jekyll-assets.
|
4
|
-
[![Build Status](https://
|
5
|
-
[![Dependency Status](https://gemnasium.com/ixti/jekyll-assets.
|
6
|
-
[![Code Climate](https://codeclimate.com/github/ixti/jekyll-assets.
|
7
|
-
[![Coverage Status](https://coveralls.io/repos/ixti/jekyll-assets/badge.
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/jekyll-assets.svg)](http://badge.fury.io/rb/jekyll-assets)
|
4
|
+
[![Build Status](https://travis-ci.org/ixti/jekyll-assets.svg?branch=master)](http://travis-ci.org/ixti/jekyll-assets)
|
5
|
+
[![Dependency Status](https://gemnasium.com/ixti/jekyll-assets.svg)](https://gemnasium.com/ixti/jekyll-assets)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/ixti/jekyll-assets.svg)](https://codeclimate.com/github/ixti/jekyll-assets)
|
7
|
+
[![Coverage Status](https://coveralls.io/repos/ixti/jekyll-assets/badge.svg?branch=master)](https://coveralls.io/r/ixti/jekyll-assets?branch=master)
|
8
8
|
|
9
9
|
Jekyll plugin, that adds Rails-alike assets pipeline, that means that:
|
10
10
|
|
@@ -268,6 +268,43 @@ config, then:
|
|
268
268
|
width="50" height="50">
|
269
269
|
```
|
270
270
|
|
271
|
+
### Images resizing
|
272
|
+
|
273
|
+
The image helper accepts an option param with [resize:dimension] switch.
|
274
|
+
If given the image will be resized to the appropriate dimensions.
|
275
|
+
|
276
|
+
``` html
|
277
|
+
{% image huge-logo.png [resize:50x50] %}
|
278
|
+
|
279
|
+
<!-- which will render something like: -->
|
280
|
+
<img src="/assets/logo-50x50-68b329da9893e34099c7d8ad5cb9c940.png">
|
281
|
+
```
|
282
|
+
|
283
|
+
You can also mix auto resizing with dimension guessing
|
284
|
+
|
285
|
+
``` html
|
286
|
+
{% image huge-logo.png [resize:50x50, autosize] %}
|
287
|
+
|
288
|
+
<!-- Will be rendered like: -->
|
289
|
+
<img src="/assets/logo-50x50-68b329da9893e34099c7d8ad5cb9c940.png" width="50" height="50">
|
290
|
+
```
|
291
|
+
|
292
|
+
This feature requires imagemagick to be installed, and the dimension is any
|
293
|
+
format that imagemagick understands: [Resize documentation][resize-doc].
|
294
|
+
|
295
|
+
More examples:
|
296
|
+
``` html
|
297
|
+
{% image image.png [resize:400x400] %} <!-- Fit whole image in these dimensions -->
|
298
|
+
{% image image.png [resize:!300x150] %} <!-- Ignore aspect ratio -->
|
299
|
+
{% image image.png [resize:200%] %} <!-- Resize by percentage -->
|
300
|
+
{% image image.png [resize:500@] %} <!-- Resize to specific pixel count -->
|
301
|
+
{% image image.png [resize:200x100^] %} <!-- Resize to fill area -->
|
302
|
+
{% image image.png [resize:<200x10] %} <!-- Only enlarge small image -->
|
303
|
+
{% image image.png [resize:>200x10] %} <!-- Only shrink large image -->
|
304
|
+
```
|
305
|
+
|
306
|
+
[resize-doc]: http://www.imagemagick.org/Usage/resize/#resize
|
307
|
+
|
271
308
|
### Custom Compressors
|
272
309
|
|
273
310
|
Sprockets comes with good set of preconfigured compressors, but imagine you are
|
@@ -648,16 +685,19 @@ write an [e-mail][e-mail]. :D
|
|
648
685
|
|
649
686
|
## Contributing
|
650
687
|
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
688
|
+
* Fork [jekyll-assets][] on GitHub
|
689
|
+
* Make your changes
|
690
|
+
* Ensure all tests pass (`bundle exec rake`)
|
691
|
+
* Send a pull request
|
692
|
+
* If we like them we'll merge them
|
693
|
+
* If we've accepted a patch, feel free to ask for commit access!
|
694
|
+
|
695
|
+
[jekyll-assets]: https://github.com/ixti/jekyll-assets
|
656
696
|
|
657
697
|
|
658
698
|
## License
|
659
699
|
|
660
|
-
Copyright (C) 2012-
|
700
|
+
Copyright (C) 2012-2015 Aleksey V Zapparov
|
661
701
|
|
662
702
|
The MIT License
|
663
703
|
|
data/jekyll-assets.gemspec
CHANGED
@@ -22,10 +22,11 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.test_files = spec.files.grep(/^(test|spec|features)\//)
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
spec.add_dependency "jekyll",
|
26
|
-
spec.add_dependency "sass",
|
27
|
-
spec.add_dependency "fastimage",
|
28
|
-
spec.add_dependency "
|
25
|
+
spec.add_dependency "jekyll", "~> 2.0"
|
26
|
+
spec.add_dependency "sass", "~> 3.2"
|
27
|
+
spec.add_dependency "fastimage", "~> 1.6"
|
28
|
+
spec.add_dependency "mini_magick", "~> 4.1"
|
29
|
+
spec.add_dependency "sprockets", "~> 2.10"
|
29
30
|
spec.add_dependency "sprockets-sass"
|
30
31
|
spec.add_dependency "sprockets-helpers"
|
31
32
|
|
@@ -19,6 +19,7 @@ module Jekyll
|
|
19
19
|
:version => 1
|
20
20
|
}.freeze
|
21
21
|
|
22
|
+
# rubocop:disable Metrics/AbcSize
|
22
23
|
def initialize(site, config = {})
|
23
24
|
@site = site
|
24
25
|
@data = OpenStruct.new DEFAULTS.merge(config)
|
@@ -32,6 +33,7 @@ module Jekyll
|
|
32
33
|
@data.css_compressor ||= compress.css
|
33
34
|
@data.cache ||= @data.cache_assets
|
34
35
|
end
|
36
|
+
# rubocop:enable Metrics/AbcSize
|
35
37
|
|
36
38
|
def baseurl
|
37
39
|
unless @data.baseurl
|
@@ -10,6 +10,8 @@ require "sprockets-helpers"
|
|
10
10
|
module Jekyll
|
11
11
|
module AssetsPlugin
|
12
12
|
class Environment < Sprockets::Environment
|
13
|
+
AUTOPREFIXER_CONFIG_FILES = %w(autoprefixer.yml _autoprefixer.yml)
|
14
|
+
|
13
15
|
class AssetNotFound < StandardError
|
14
16
|
def initialize(path)
|
15
17
|
super "Couldn't find file '#{path}'"
|
@@ -18,6 +20,7 @@ module Jekyll
|
|
18
20
|
|
19
21
|
attr_reader :site
|
20
22
|
|
23
|
+
# rubocop:disable Metrics/AbcSize
|
21
24
|
def initialize(site)
|
22
25
|
super site.source
|
23
26
|
|
@@ -25,6 +28,7 @@ module Jekyll
|
|
25
28
|
|
26
29
|
# append asset paths
|
27
30
|
site.assets_config.sources.each { |p| append_path p }
|
31
|
+
append_path resize_cache_path
|
28
32
|
|
29
33
|
self.js_compressor = site.assets_config.js_compressor
|
30
34
|
self.css_compressor = site.assets_config.css_compressor
|
@@ -43,11 +47,16 @@ module Jekyll
|
|
43
47
|
context_class.instance_variable_set :@site, site
|
44
48
|
context_class.send :include, Patches::ContextPatch
|
45
49
|
end
|
50
|
+
# rubocop:enable Metrics/AbcSize
|
46
51
|
|
47
52
|
def cache_path
|
48
53
|
Pathname.new(@site.source).join @site.assets_config.cache_path
|
49
54
|
end
|
50
55
|
|
56
|
+
def resize_cache_path
|
57
|
+
cache_path.join "resize"
|
58
|
+
end
|
59
|
+
|
51
60
|
def find_asset(path, *args)
|
52
61
|
super || fail(AssetNotFound, path)
|
53
62
|
end
|
@@ -55,15 +64,22 @@ module Jekyll
|
|
55
64
|
private
|
56
65
|
|
57
66
|
def browsers
|
58
|
-
|
59
|
-
opts = {}
|
60
|
-
params = file.exist? ? YAML.load_file(file) : {}
|
61
|
-
params = params.reduce({}) do |h, (key, value)|
|
62
|
-
h.update(key.to_sym => value)
|
63
|
-
end
|
67
|
+
config = autoprefixer_config
|
68
|
+
opts = { :safe => config.delete(:safe) }
|
64
69
|
|
65
|
-
opts
|
66
|
-
|
70
|
+
[config, opts]
|
71
|
+
end
|
72
|
+
|
73
|
+
def autoprefixer_config
|
74
|
+
config_file = AUTOPREFIXER_CONFIG_FILES
|
75
|
+
.map { |f| Pathname.new(@site.source).join f }
|
76
|
+
.find(&:exist?)
|
77
|
+
|
78
|
+
return {} unless config_file
|
79
|
+
|
80
|
+
YAML.load_file(config_file).reduce({}) do |h, (k, v)|
|
81
|
+
h.update(k.to_sym => v)
|
82
|
+
end
|
67
83
|
end
|
68
84
|
|
69
85
|
def install_autoprefixer!
|
@@ -1,5 +1,6 @@
|
|
1
1
|
# 3rd-party
|
2
2
|
require "sprockets"
|
3
|
+
require "mini_magick"
|
3
4
|
|
4
5
|
module Jekyll
|
5
6
|
module AssetsPlugin
|
@@ -59,6 +60,39 @@ module Jekyll
|
|
59
60
|
def gzip?
|
60
61
|
site.assets_config.gzip.include? content_type
|
61
62
|
end
|
63
|
+
|
64
|
+
def extname
|
65
|
+
@extname ||= File.extname(pathname)
|
66
|
+
end
|
67
|
+
|
68
|
+
def basename
|
69
|
+
@basename ||= File.basename(pathname, extname)
|
70
|
+
end
|
71
|
+
|
72
|
+
def resize_outdir
|
73
|
+
site.assets.resize_cache_path
|
74
|
+
end
|
75
|
+
|
76
|
+
def ensure_resize_directory!
|
77
|
+
FileUtils.mkdir_p resize_outdir
|
78
|
+
end
|
79
|
+
|
80
|
+
def do_resize(dimensions)
|
81
|
+
name = "#{basename}-#{dimensions}#{extname}".gsub(/%/, "P")
|
82
|
+
img = MiniMagick::Image.read(to_s, extname)
|
83
|
+
img.resize dimensions
|
84
|
+
img.write "#{resize_outdir}/#{name}"
|
85
|
+
|
86
|
+
[name, site.assets[name]]
|
87
|
+
end
|
88
|
+
|
89
|
+
def resize(dimensions)
|
90
|
+
ensure_resize_directory!
|
91
|
+
|
92
|
+
@outfiles ||= {}
|
93
|
+
|
94
|
+
@outfiles[dimensions] ||= do_resize(dimensions)
|
95
|
+
end
|
62
96
|
end
|
63
97
|
end
|
64
98
|
end
|
@@ -14,10 +14,14 @@ module Jekyll
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def asset_path(pathname, *args)
|
17
|
-
|
18
|
-
|
17
|
+
pathname = pathname.to_s.strip
|
18
|
+
|
19
|
+
return "" if pathname.empty?
|
20
|
+
|
21
|
+
asset = resolve(pathname[/^[^#?]+/]).to_s
|
19
22
|
jekyll_assets << asset
|
20
|
-
|
23
|
+
|
24
|
+
site.asset_path(asset, *args) + (pathname[/[#?].+/] || "")
|
21
25
|
rescue Sprockets::FileNotFound
|
22
26
|
raise Environment::AssetNotFound, pathname
|
23
27
|
end
|
@@ -31,8 +31,7 @@ module Jekyll
|
|
31
31
|
|
32
32
|
context.jekyll_assets.each do |path|
|
33
33
|
@jekyll_assets << path
|
34
|
-
environment.find_asset(path)
|
35
|
-
.jekyll_assets.each { |p| @jekyll_assets << p }
|
34
|
+
@jekyll_assets += environment.find_asset(path).jekyll_assets
|
36
35
|
end
|
37
36
|
|
38
37
|
__orig_build_dependency_paths environment, context
|
@@ -41,8 +40,8 @@ module Jekyll
|
|
41
40
|
def __wrap_init_with(environment, coder)
|
42
41
|
__orig_init_with environment, coder
|
43
42
|
|
44
|
-
|
45
|
-
|
43
|
+
jekyll_assets = coder["jekyll_assets"].map { |p| expand_root_path(p) }
|
44
|
+
@jekyll_assets = Set.new jekyll_assets
|
46
45
|
end
|
47
46
|
|
48
47
|
def __wrap_encode_with(coder)
|
@@ -29,7 +29,7 @@ module Jekyll
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def asset_files
|
32
|
-
@asset_files ||=
|
32
|
+
@asset_files ||= Set.new
|
33
33
|
end
|
34
34
|
|
35
35
|
def asset_path(pathname, *args)
|
@@ -51,13 +51,7 @@ module Jekyll
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def __wrap_write
|
54
|
-
static_files.push(*asset_files)
|
55
|
-
case hash = asset.hash
|
56
|
-
when Fixnum then hash
|
57
|
-
else Digest::MD5.new.update(hash.to_s).hash
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
54
|
+
static_files.push(*asset_files)
|
61
55
|
__orig_write
|
62
56
|
end
|
63
57
|
end
|
@@ -28,14 +28,20 @@ module Jekyll
|
|
28
28
|
|
29
29
|
@path = match["path"]
|
30
30
|
@attrs = match["attrs"].strip
|
31
|
-
@options = match["options"].to_s.split(",")
|
31
|
+
@options = match["options"].to_s.split(",").map(&:strip)
|
32
32
|
|
33
33
|
@attrs = " #{@attrs}" unless @attrs.empty?
|
34
|
+
|
35
|
+
resize!
|
36
|
+
end
|
37
|
+
|
38
|
+
def asset
|
39
|
+
@asset ||= site.assets[path]
|
34
40
|
end
|
35
41
|
|
36
42
|
def render_asset
|
37
43
|
fail "Can't render remote asset: #{path}" if remote?
|
38
|
-
|
44
|
+
asset.to_s
|
39
45
|
end
|
40
46
|
|
41
47
|
def render_asset_path
|
@@ -58,18 +64,19 @@ module Jekyll
|
|
58
64
|
|
59
65
|
private
|
60
66
|
|
67
|
+
# rubocop:disable Metrics/AbcSize
|
61
68
|
def render_tag(template, extension = "")
|
62
69
|
return format(template, :path => path, :attrs => attrs) if remote?
|
63
70
|
|
64
71
|
path << extension if extension.to_s != File.extname(path)
|
65
72
|
|
66
|
-
asset = site.assets[path]
|
67
73
|
tags = (site.assets_config.debug ? asset.to_a : [asset]).map do |a|
|
68
74
|
format template, :path => AssetPath.new(a).to_s, :attrs => attrs
|
69
75
|
end
|
70
76
|
|
71
77
|
tags.join "\n"
|
72
78
|
end
|
79
|
+
# rubocop:enable Metrics/AbcSize
|
73
80
|
|
74
81
|
def autosize!
|
75
82
|
return unless autosize?
|
@@ -91,6 +98,22 @@ module Jekyll
|
|
91
98
|
end
|
92
99
|
end
|
93
100
|
|
101
|
+
def make_resize_directory!
|
102
|
+
FileUtils.mkdir_p site.assets.resize_cache_path
|
103
|
+
end
|
104
|
+
|
105
|
+
def resize!
|
106
|
+
return unless resize?
|
107
|
+
|
108
|
+
dimensions = options.grep(/resize/)[-1].split(":")[1]
|
109
|
+
|
110
|
+
@path, @asset = asset.resize(dimensions)
|
111
|
+
end
|
112
|
+
|
113
|
+
def resize?
|
114
|
+
options.grep(/resize:/).length > 0
|
115
|
+
end
|
116
|
+
|
94
117
|
def remote?
|
95
118
|
path =~ URI_RE
|
96
119
|
end
|
Binary file
|
@@ -128,6 +128,14 @@ RSpec.describe Jekyll::AssetsPlugin::Patches::SitePatch do
|
|
128
128
|
expect(@dest.join "assets", "app.css").to exist
|
129
129
|
end
|
130
130
|
|
131
|
+
it "does not ignores files with duplicate contents" do
|
132
|
+
@site.assets_config.cachebust = :none
|
133
|
+
@site.process
|
134
|
+
|
135
|
+
expect(@dest.join "assets", "noise.png").to exist
|
136
|
+
expect(@dest.join "assets", "noize.png").to exist
|
137
|
+
end
|
138
|
+
|
131
139
|
context "with cache" do
|
132
140
|
def site
|
133
141
|
Jekyll::Site.new(Jekyll.configuration({
|
@@ -163,7 +171,6 @@ RSpec.describe Jekyll::AssetsPlugin::Patches::SitePatch do
|
|
163
171
|
|
164
172
|
expect(@dest.join "assets", "app.css.gz").to_not exist
|
165
173
|
end
|
166
|
-
|
167
174
|
end
|
168
175
|
|
169
176
|
it "is included into Jekyll::Site" do
|
@@ -244,6 +244,19 @@ RSpec.describe Jekyll::AssetsPlugin::Renderer do
|
|
244
244
|
it { is_expected.to match(/^<img #{attr_src}>$/) }
|
245
245
|
end
|
246
246
|
end
|
247
|
+
|
248
|
+
context "with [resize:*] helper option" do
|
249
|
+
let(:params) { "noise.png [resize:10x10]" }
|
250
|
+
let(:attr_src) { 'src="/assets/noise-10x10-[^.]+\.png"' }
|
251
|
+
it { is_expected.to match(/^<img #{attr_src}>$/) }
|
252
|
+
end
|
253
|
+
|
254
|
+
context "with [resize:*] and [autosize] helpers" do
|
255
|
+
let(:params) { "noise.png [resize:10x10, autosize]" }
|
256
|
+
let(:attr_src) { 'src="/assets/noise-10x10-[^.]+\.png"' }
|
257
|
+
let(:attr_size) { 'width="10" height="10"' }
|
258
|
+
it { is_expected.to match(/^<img #{attr_src} #{attr_size}>$/) }
|
259
|
+
end
|
247
260
|
end
|
248
261
|
|
249
262
|
describe "#render_asset" do
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aleksey V Zapparov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.6'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: mini_magick
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '4.1'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '4.1'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: sprockets
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -165,6 +179,7 @@ files:
|
|
165
179
|
- spec/fixtures/_assets/fonts/vapor.woff
|
166
180
|
- spec/fixtures/_assets/lib/relative.css.scss
|
167
181
|
- spec/fixtures/_assets/noise.png
|
182
|
+
- spec/fixtures/_assets/noize.png
|
168
183
|
- spec/fixtures/_assets/should_be_blank.css.erb
|
169
184
|
- spec/fixtures/_assets/should_fail.css.erb
|
170
185
|
- spec/fixtures/_assets/vapor.css.scss
|
@@ -178,6 +193,7 @@ files:
|
|
178
193
|
- spec/fixtures/_config.yml
|
179
194
|
- spec/fixtures/_layouts/default.html
|
180
195
|
- spec/fixtures/_posts/2012-10-19-hello-world.md
|
196
|
+
- spec/fixtures/_posts/2015-02-02-duplicates.md
|
181
197
|
- spec/fixtures/index.html
|
182
198
|
- spec/lib/jekyll-assets/bootstrap_spec.rb
|
183
199
|
- spec/lib/jekyll-assets/bourbon_spec.rb
|
@@ -215,7 +231,7 @@ rubyforge_project:
|
|
215
231
|
rubygems_version: 2.2.2
|
216
232
|
signing_key:
|
217
233
|
specification_version: 4
|
218
|
-
summary: jekyll-assets-0.
|
234
|
+
summary: jekyll-assets-0.14.0
|
219
235
|
test_files:
|
220
236
|
- spec/fixtures/.gitignore
|
221
237
|
- spec/fixtures/_assets/alert.js
|
@@ -229,6 +245,7 @@ test_files:
|
|
229
245
|
- spec/fixtures/_assets/fonts/vapor.woff
|
230
246
|
- spec/fixtures/_assets/lib/relative.css.scss
|
231
247
|
- spec/fixtures/_assets/noise.png
|
248
|
+
- spec/fixtures/_assets/noize.png
|
232
249
|
- spec/fixtures/_assets/should_be_blank.css.erb
|
233
250
|
- spec/fixtures/_assets/should_fail.css.erb
|
234
251
|
- spec/fixtures/_assets/vapor.css.scss
|
@@ -242,6 +259,7 @@ test_files:
|
|
242
259
|
- spec/fixtures/_config.yml
|
243
260
|
- spec/fixtures/_layouts/default.html
|
244
261
|
- spec/fixtures/_posts/2012-10-19-hello-world.md
|
262
|
+
- spec/fixtures/_posts/2015-02-02-duplicates.md
|
245
263
|
- spec/fixtures/index.html
|
246
264
|
- spec/lib/jekyll-assets/bootstrap_spec.rb
|
247
265
|
- spec/lib/jekyll-assets/bourbon_spec.rb
|