jekyll-assets 0.8.1 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c9e962a56e2ea05396af2694d5e1b76bd4d7a9b7
4
+ data.tar.gz: e530fd53d2636b89b33f56b4e6165686b66caefa
5
+ SHA512:
6
+ metadata.gz: 7793a52b1bcaf8bd80908e23fa4a1bb51a7724c55c44b140505ff1f713b2727db698a3b0aefd6d628bba6825b74c353b889cc9360d3fcbf627abe167a8ee5cc5
7
+ data.tar.gz: e223e29a12f9d1c2b73b75c8ecc137fb1f4a93bc308d909600d63f1b5ca8b5f70bd3e1f4dec843081a5985ea4b368842879754b02b7022fb8864dbc78dd14508
data/.gitignore CHANGED
@@ -17,3 +17,4 @@ test/version_tmp
17
17
  tmp
18
18
  tags
19
19
  .sass-cache
20
+ .ruby-version
data/Gemfile CHANGED
@@ -1,11 +1,21 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem "rubocop", "~> 0.22.0"
3
+ gem "compass"
4
+ gem "bourbon"
5
+ gem "neat"
6
+ gem "bootstrap-sass"
7
+ gem "font-awesome-sass"
4
8
 
5
- group :test do
6
- gem "coveralls", :require => false
7
- gem "simplecov", :require => false
8
- end
9
+ # compass fails with SASS than 3.3+
10
+ # https://github.com/chriseppstein/compass/issues/1513
11
+ gem "sass", "~> 3.2.13"
12
+
13
+ gem "rubocop", "~> 0.24.0"
14
+ gem "rake"
15
+ gem "rspec"
16
+
17
+ gem "coveralls", :require => false
18
+ gem "simplecov", :require => false
9
19
 
10
20
  group :development do
11
21
  gem "guard-rspec"
data/HISTORY.md CHANGED
@@ -1,6 +1,14 @@
1
1
  ### master (unreleased)
2
2
 
3
3
 
4
+ ### 0.9.0 (2014-07-19)
5
+
6
+ * Allow pass remote URIs to image/stylesheet/javascript tags/filters.
7
+ See #52.
8
+ * Allow pass extra tag attributes to image/stylesheet/javascript tags/filters.
9
+ See #52.
10
+
11
+
4
12
  ### 0.8.1 (2014-07-04)
5
13
 
6
14
  * Fix support of `bootstrap-sass v3.2+`. See #85.
data/Rakefile CHANGED
@@ -4,6 +4,6 @@ require "rspec/core/rake_task"
4
4
  RSpec::Core::RakeTask.new
5
5
 
6
6
  require "rubocop/rake_task"
7
- Rubocop::RakeTask.new
7
+ RuboCop::RakeTask.new
8
8
 
9
9
  task :default => [:spec, :rubocop]
@@ -26,18 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.add_dependency "sprockets", "~> 2.10"
27
27
  spec.add_dependency "sprockets-sass"
28
28
  spec.add_dependency "sprockets-helpers"
29
- spec.add_dependency "sass"
29
+ spec.add_dependency "sass", "~> 3.2"
30
30
 
31
- spec.add_development_dependency "bundler", "~> 1.3"
32
- spec.add_development_dependency "rake"
33
- spec.add_development_dependency "rspec"
34
- spec.add_development_dependency "compass"
35
- spec.add_development_dependency "bourbon"
36
- spec.add_development_dependency "neat"
37
- spec.add_development_dependency "bootstrap-sass"
38
- spec.add_development_dependency "font-awesome-sass"
39
-
40
- # compass fails with SASS than 3.3+
41
- # https://github.com/chriseppstein/compass/issues/1513
42
- spec.add_development_dependency "sass", "~> 3.2.13"
31
+ spec.add_development_dependency "bundler", "~> 1.6"
43
32
  end
@@ -1,10 +1,8 @@
1
1
  require "sprockets"
2
2
 
3
3
  gemspec = Gem::Specification.find_by_name "bootstrap-sass"
4
- %w[fonts javascripts stylesheets].each do |asset|
5
- if Gem::Version.new("3.2") <= gemspec.version
6
- Sprockets.append_path File.join(gemspec.gem_dir, "assets", asset)
7
- else
8
- Sprockets.append_path File.join(gemspec.gem_dir, "vendor", "assets", asset)
9
- end
4
+ subpath = Gem::Version.new("3.2") <= gemspec.version ? "" : "vendor"
5
+
6
+ %w[images fonts javascripts stylesheets].each do |asset|
7
+ Sprockets.append_path File.join(gemspec.gem_dir, subpath, "assets", asset)
10
8
  end
@@ -1,47 +1,59 @@
1
1
  module Jekyll
2
2
  module AssetsPlugin
3
3
  class Renderer
4
- STYLESHEET = '<link rel="stylesheet" href="%s">'
5
- JAVASCRIPT = '<script src="%s"></script>'
6
- IMAGE = '<img src="%s">'
4
+ STYLESHEET = '<link rel="stylesheet" href="%{path}"%{attrs}>'
5
+ JAVASCRIPT = '<script src="%{path}"%{attrs}></script>'
6
+ IMAGE = '<img src="%{path}"%{attrs}>'
7
+
8
+ URI_RE = %r{^(?:[^:]+:)?//(?:[^./]+\.)+[^./]+/}
7
9
 
8
10
  def initialize(context, logical_path)
9
- @site = context.registers[:site]
10
- @path = logical_path.strip
11
+ @site = context.registers[:site]
12
+ @path = logical_path.strip
13
+
14
+ @path, _, @attrs = @path.partition(" ") if @path[" "]
11
15
  end
12
16
 
13
17
  def render_asset
18
+ fail "Can't render remote asset: #{@path}" if remote?
14
19
  @site.assets[@path].to_s
15
20
  end
16
21
 
17
22
  def render_asset_path
23
+ return @path if remote?
18
24
  @site.asset_path @path
19
25
  end
20
26
 
21
27
  def render_javascript
22
- @path << ".js" if File.extname(@path).empty?
23
- render_tag JAVASCRIPT
28
+ render_tag JAVASCRIPT, ".js"
24
29
  end
25
30
 
26
31
  def render_stylesheet
27
- @path << ".css" if File.extname(@path).empty?
28
- render_tag STYLESHEET
32
+ render_tag STYLESHEET, ".css"
29
33
  end
30
34
 
31
35
  def render_image
32
36
  render_tag IMAGE
33
37
  end
34
38
 
35
- protected
39
+ private
40
+
41
+ def render_tag(template, extension = nil)
42
+ return format(template, :path => @path, :attrs => @attrs) if remote?
43
+
44
+ @path << extension if extension && File.extname(@path).empty?
36
45
 
37
- def render_tag(template)
38
46
  asset = @site.assets[@path]
39
47
  tags = (@site.assets_config.debug ? asset.to_a : [asset]).map do |a|
40
- format template, AssetPath.new(a).to_s
48
+ format template, :path => AssetPath.new(a).to_s, :attrs => @attrs
41
49
  end
42
50
 
43
51
  tags.join "\n"
44
52
  end
53
+
54
+ def remote?
55
+ @path =~ URI_RE
56
+ end
45
57
  end
46
58
  end
47
59
  end
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AssetsPlugin
3
- VERSION = "0.8.1"
3
+ VERSION = "0.9.0"
4
4
  end
5
5
  end
@@ -0,0 +1 @@
1
+ alert('test');
@@ -11,10 +11,15 @@ RSpec.describe Jekyll::AssetsPlugin::Filters do
11
11
  "Liquid error: Couldn't find file '#{file}"
12
12
  end
13
13
 
14
+ def render_tag(template, path, attrs = "")
15
+ template = Jekyll::AssetsPlugin::Renderer.const_get template
16
+ format template, :path => path, :attrs => attrs
17
+ end
18
+
14
19
  context "{{ '<file>' | image }}" do
15
20
  def tag_re(name)
16
21
  file = "/assets/#{name}-[a-f0-9]{32}\.png"
17
- Regexp.new "^#{Jekyll::AssetsPlugin::Renderer::IMAGE % file}$"
22
+ Regexp.new "^#{render_tag :IMAGE, file}$"
18
23
  end
19
24
 
20
25
  context "when <file> exists" do
@@ -31,7 +36,7 @@ RSpec.describe Jekyll::AssetsPlugin::Filters do
31
36
  context "{{ '<file>' | stylesheet }}" do
32
37
  def tag_re(name)
33
38
  file = "/assets/#{name}-[a-f0-9]{32}\.css"
34
- Regexp.new "^#{Jekyll::AssetsPlugin::Renderer::STYLESHEET % file}$"
39
+ Regexp.new "^#{render_tag :STYLESHEET, file}$"
35
40
  end
36
41
 
37
42
  context "when <file> exists" do
@@ -53,7 +58,7 @@ RSpec.describe Jekyll::AssetsPlugin::Filters do
53
58
  context "{{ '<file>' | javascript }}" do
54
59
  def tag_re(name)
55
60
  file = "/assets/#{name}-[a-f0-9]{32}\.js"
56
- Regexp.new "^#{Jekyll::AssetsPlugin::Renderer::JAVASCRIPT % file}$"
61
+ Regexp.new "^#{render_tag :JAVASCRIPT, file}$"
57
62
  end
58
63
 
59
64
  context "when <file> exists" do
@@ -14,20 +14,42 @@ RSpec.describe Jekyll::AssetsPlugin::Renderer do
14
14
 
15
15
  let(:renderer) do
16
16
  context = OpenStruct.new(:registers => { :site => site })
17
- described_class.new context, "app"
17
+ described_class.new context, asset
18
18
  end
19
19
 
20
+ let(:asset) { "app" }
21
+
20
22
  describe "#render_javascript" do
21
23
  subject { renderer.render_javascript }
22
24
 
23
25
  context "when debug mode enabled" do
24
26
  let(:assets_config) { Hash[:debug, true] }
25
27
  it { is_expected.to match(/^(\s*<script src="[^"]+"><\/script>\s*){3}$/) }
28
+
29
+ context "and URI given" do
30
+ let(:asset) { "http://example.com/app.js" }
31
+ it { is_expected.to match(/^<script src="#{asset}"><\/script>$/) }
32
+ end
33
+
34
+ context "and path contains attributes" do
35
+ let(:asset) { "app data-test=true" }
36
+ it { is_expected.to include "data-test=true" }
37
+ end
26
38
  end
27
39
 
28
40
  context "when debug mode disabled" do
29
41
  let(:assets_config) { Hash[:debug, false] }
30
42
  it { is_expected.to match(/^(\s*<script src="[^"]+"><\/script>\s*){1}$/) }
43
+
44
+ context "and URI given" do
45
+ let(:asset) { "http://example.com/app.js" }
46
+ it { is_expected.to match(/^<script src="#{asset}"><\/script>$/) }
47
+ end
48
+
49
+ context "and path contains attributes" do
50
+ let(:asset) { "app data-test=true" }
51
+ it { is_expected.to include "data-test=true" }
52
+ end
31
53
  end
32
54
  end
33
55
 
@@ -37,12 +59,92 @@ RSpec.describe Jekyll::AssetsPlugin::Renderer do
37
59
  context "when debug mode enabled" do
38
60
  let(:assets_config) { Hash[:debug, true] }
39
61
  it { is_expected.to match(/^(\s*<link rel="stylesheet" [^>]+>\s*){3}$/) }
62
+
63
+ context "and URI given" do
64
+ let(:asset) { "http://example.com/style.css" }
65
+ it { is_expected.to match(/^<link rel="stylesheet" href="#{asset}">$/) }
66
+ end
67
+
68
+ context "and path contains attributes" do
69
+ let(:asset) { "app data-test=true" }
70
+ it { is_expected.to include "data-test=true" }
71
+ end
40
72
  end
41
73
 
42
74
  context "when debug mode disabled" do
43
75
  let(:assets_config) { Hash[:debug, false] }
44
76
  it { is_expected.to match(/^(\s*<link rel="stylesheet" [^>]+>\s*){1}$/) }
77
+
78
+ context "and URI given" do
79
+ let(:asset) { "http://example.com/style.css" }
80
+ it { is_expected.to match(/^<link rel="stylesheet" href="#{asset}">$/) }
81
+ end
82
+
83
+ context "and path contains attributes" do
84
+ let(:asset) { "app data-test=true" }
85
+ it { is_expected.to include "data-test=true" }
86
+ end
45
87
  end
46
88
  end
47
89
 
90
+ describe "#render_image" do
91
+ subject { renderer.render_image }
92
+
93
+ let(:asset) { "noise.png" }
94
+
95
+ context "when debug mode enabled" do
96
+ let(:assets_config) { Hash[:debug, true] }
97
+ it { is_expected.to match(%r{^<img src="/assets/noise-[^.]+\.png">$}) }
98
+
99
+ context "and URI given" do
100
+ let(:asset) { "http://example.com/style.css" }
101
+ it { is_expected.to match(/^<img src="#{asset}">$/) }
102
+ end
103
+
104
+ context "and path contains attributes" do
105
+ let(:asset) { "noise.png data-test=true" }
106
+ it { is_expected.to include "data-test=true" }
107
+ end
108
+ end
109
+
110
+ context "when debug mode disabled" do
111
+ let(:assets_config) { Hash[:debug, false] }
112
+ it { is_expected.to match(%r{^<img src="/assets/noise-[^.]+\.png">$}) }
113
+
114
+ context "and URI given" do
115
+ let(:asset) { "http://example.com/style.css" }
116
+ it { is_expected.to match(/^<img src="#{asset}">$/) }
117
+ end
118
+
119
+ context "and path contains attributes" do
120
+ let(:asset) { "noise.png data-test=true" }
121
+ it { is_expected.to include "data-test=true" }
122
+ end
123
+ end
124
+ end
125
+
126
+ describe "#render_asset" do
127
+ subject { renderer.render_asset }
128
+ let(:asset) { "alert.js" }
129
+
130
+ context "when debug mode enabled" do
131
+ let(:assets_config) { Hash[:debug, true] }
132
+ it { is_expected.to eq "alert('test');\n" }
133
+
134
+ context "and URI given" do
135
+ let(:asset) { "http://example.com/style.css" }
136
+ it { expect { subject }.to raise_error(/#{asset}/) }
137
+ end
138
+ end
139
+
140
+ context "when debug mode disabled" do
141
+ let(:assets_config) { Hash[:debug, false] }
142
+ it { is_expected.to eq "alert('test');\n" }
143
+
144
+ context "and URI given" do
145
+ let(:asset) { "http://example.com/style.css" }
146
+ it { expect { subject }.to raise_error(/#{asset}/) }
147
+ end
148
+ end
149
+ end
48
150
  end
@@ -11,10 +11,15 @@ RSpec.describe Jekyll::AssetsPlugin::Tag do
11
11
  "Liquid error: Couldn't find file '#{file}'"
12
12
  end
13
13
 
14
+ def render_tag(template, path, attrs = "")
15
+ template = Jekyll::AssetsPlugin::Renderer.const_get template
16
+ format template, :path => path, :attrs => attrs
17
+ end
18
+
14
19
  context "{% image <file> %}" do
15
20
  def tag_re(name)
16
21
  file = "/assets/#{name}-[a-f0-9]{32}\.png"
17
- Regexp.new "^#{Jekyll::AssetsPlugin::Renderer::IMAGE % file}$"
22
+ Regexp.new "^#{render_tag :IMAGE, file}$"
18
23
  end
19
24
 
20
25
  context "when <file> exists" do
@@ -31,7 +36,7 @@ RSpec.describe Jekyll::AssetsPlugin::Tag do
31
36
  context "{% stylesheet <file> %}" do
32
37
  def tag_re(name)
33
38
  file = "/assets/#{name}-[a-f0-9]{32}\.css"
34
- Regexp.new "^#{Jekyll::AssetsPlugin::Renderer::STYLESHEET % file}$"
39
+ Regexp.new "^#{render_tag :STYLESHEET, file}$"
35
40
  end
36
41
 
37
42
  context "when <file> exists" do
@@ -53,7 +58,7 @@ RSpec.describe Jekyll::AssetsPlugin::Tag do
53
58
  context "{% javascript <file> %}" do
54
59
  def tag_re(name)
55
60
  file = "/assets/#{name}-[a-f0-9]{32}\.js"
56
- Regexp.new "^#{Jekyll::AssetsPlugin::Renderer::JAVASCRIPT % file}$"
61
+ Regexp.new "^#{render_tag :JAVASCRIPT, file}$"
57
62
  end
58
63
 
59
64
  context "when <file> exists" do
metadata CHANGED
@@ -1,260 +1,120 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
5
- prerelease:
4
+ version: 0.9.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Aleksey V Zapparov
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-07-04 00:00:00.000000000 Z
11
+ date: 2014-07-19 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: jekyll
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.0.0
22
- - - <
20
+ - - "<"
23
21
  - !ruby/object:Gem::Version
24
22
  version: 3.0.0
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
- - - ! '>='
27
+ - - ">="
31
28
  - !ruby/object:Gem::Version
32
29
  version: 1.0.0
33
- - - <
30
+ - - "<"
34
31
  - !ruby/object:Gem::Version
35
32
  version: 3.0.0
36
33
  - !ruby/object:Gem::Dependency
37
34
  name: sprockets
38
35
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
- - - ~>
37
+ - - "~>"
42
38
  - !ruby/object:Gem::Version
43
39
  version: '2.10'
44
40
  type: :runtime
45
41
  prerelease: false
46
42
  version_requirements: !ruby/object:Gem::Requirement
47
- none: false
48
43
  requirements:
49
- - - ~>
44
+ - - "~>"
50
45
  - !ruby/object:Gem::Version
51
46
  version: '2.10'
52
47
  - !ruby/object:Gem::Dependency
53
48
  name: sprockets-sass
54
49
  requirement: !ruby/object:Gem::Requirement
55
- none: false
56
50
  requirements:
57
- - - ! '>='
51
+ - - ">="
58
52
  - !ruby/object:Gem::Version
59
53
  version: '0'
60
54
  type: :runtime
61
55
  prerelease: false
62
56
  version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
57
  requirements:
65
- - - ! '>='
58
+ - - ">="
66
59
  - !ruby/object:Gem::Version
67
60
  version: '0'
68
61
  - !ruby/object:Gem::Dependency
69
62
  name: sprockets-helpers
70
63
  requirement: !ruby/object:Gem::Requirement
71
- none: false
72
64
  requirements:
73
- - - ! '>='
65
+ - - ">="
74
66
  - !ruby/object:Gem::Version
75
67
  version: '0'
76
68
  type: :runtime
77
69
  prerelease: false
78
70
  version_requirements: !ruby/object:Gem::Requirement
79
- none: false
80
71
  requirements:
81
- - - ! '>='
72
+ - - ">="
82
73
  - !ruby/object:Gem::Version
83
74
  version: '0'
84
75
  - !ruby/object:Gem::Dependency
85
76
  name: sass
86
77
  requirement: !ruby/object:Gem::Requirement
87
- none: false
88
78
  requirements:
89
- - - ! '>='
79
+ - - "~>"
90
80
  - !ruby/object:Gem::Version
91
- version: '0'
81
+ version: '3.2'
92
82
  type: :runtime
93
83
  prerelease: false
94
84
  version_requirements: !ruby/object:Gem::Requirement
95
- none: false
96
85
  requirements:
97
- - - ! '>='
86
+ - - "~>"
98
87
  - !ruby/object:Gem::Version
99
- version: '0'
88
+ version: '3.2'
100
89
  - !ruby/object:Gem::Dependency
101
90
  name: bundler
102
91
  requirement: !ruby/object:Gem::Requirement
103
- none: false
104
- requirements:
105
- - - ~>
106
- - !ruby/object:Gem::Version
107
- version: '1.3'
108
- type: :development
109
- prerelease: false
110
- version_requirements: !ruby/object:Gem::Requirement
111
- none: false
112
- requirements:
113
- - - ~>
114
- - !ruby/object:Gem::Version
115
- version: '1.3'
116
- - !ruby/object:Gem::Dependency
117
- name: rake
118
- requirement: !ruby/object:Gem::Requirement
119
- none: false
120
- requirements:
121
- - - ! '>='
122
- - !ruby/object:Gem::Version
123
- version: '0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- none: false
128
- requirements:
129
- - - ! '>='
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- - !ruby/object:Gem::Dependency
133
- name: rspec
134
- requirement: !ruby/object:Gem::Requirement
135
- none: false
136
- requirements:
137
- - - ! '>='
138
- - !ruby/object:Gem::Version
139
- version: '0'
140
- type: :development
141
- prerelease: false
142
- version_requirements: !ruby/object:Gem::Requirement
143
- none: false
144
- requirements:
145
- - - ! '>='
146
- - !ruby/object:Gem::Version
147
- version: '0'
148
- - !ruby/object:Gem::Dependency
149
- name: compass
150
- requirement: !ruby/object:Gem::Requirement
151
- none: false
152
- requirements:
153
- - - ! '>='
154
- - !ruby/object:Gem::Version
155
- version: '0'
156
- type: :development
157
- prerelease: false
158
- version_requirements: !ruby/object:Gem::Requirement
159
- none: false
160
- requirements:
161
- - - ! '>='
162
- - !ruby/object:Gem::Version
163
- version: '0'
164
- - !ruby/object:Gem::Dependency
165
- name: bourbon
166
- requirement: !ruby/object:Gem::Requirement
167
- none: false
168
- requirements:
169
- - - ! '>='
170
- - !ruby/object:Gem::Version
171
- version: '0'
172
- type: :development
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- none: false
176
- requirements:
177
- - - ! '>='
178
- - !ruby/object:Gem::Version
179
- version: '0'
180
- - !ruby/object:Gem::Dependency
181
- name: neat
182
- requirement: !ruby/object:Gem::Requirement
183
- none: false
184
- requirements:
185
- - - ! '>='
186
- - !ruby/object:Gem::Version
187
- version: '0'
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- none: false
192
- requirements:
193
- - - ! '>='
194
- - !ruby/object:Gem::Version
195
- version: '0'
196
- - !ruby/object:Gem::Dependency
197
- name: bootstrap-sass
198
- requirement: !ruby/object:Gem::Requirement
199
- none: false
200
- requirements:
201
- - - ! '>='
202
- - !ruby/object:Gem::Version
203
- version: '0'
204
- type: :development
205
- prerelease: false
206
- version_requirements: !ruby/object:Gem::Requirement
207
- none: false
208
- requirements:
209
- - - ! '>='
210
- - !ruby/object:Gem::Version
211
- version: '0'
212
- - !ruby/object:Gem::Dependency
213
- name: font-awesome-sass
214
- requirement: !ruby/object:Gem::Requirement
215
- none: false
216
- requirements:
217
- - - ! '>='
218
- - !ruby/object:Gem::Version
219
- version: '0'
220
- type: :development
221
- prerelease: false
222
- version_requirements: !ruby/object:Gem::Requirement
223
- none: false
224
- requirements:
225
- - - ! '>='
226
- - !ruby/object:Gem::Version
227
- version: '0'
228
- - !ruby/object:Gem::Dependency
229
- name: sass
230
- requirement: !ruby/object:Gem::Requirement
231
- none: false
232
92
  requirements:
233
- - - ~>
93
+ - - "~>"
234
94
  - !ruby/object:Gem::Version
235
- version: 3.2.13
95
+ version: '1.6'
236
96
  type: :development
237
97
  prerelease: false
238
98
  version_requirements: !ruby/object:Gem::Requirement
239
- none: false
240
99
  requirements:
241
- - - ~>
100
+ - - "~>"
242
101
  - !ruby/object:Gem::Version
243
- version: 3.2.13
244
- description: ! " Jekyll plugin, that allows you to write javascript/css assets in\n
245
- \ other languages such as CoffeeScript, Sass, Less and ERB, concatenate\n them,
246
- respecting dependencies, minify and many more.\n"
102
+ version: '1.6'
103
+ description: |2
104
+ Jekyll plugin, that allows you to write javascript/css assets in
105
+ other languages such as CoffeeScript, Sass, Less and ERB, concatenate
106
+ them, respecting dependencies, minify and many more.
247
107
  email:
248
108
  - ixti@member.fsf.org
249
109
  executables: []
250
110
  extensions: []
251
111
  extra_rdoc_files: []
252
112
  files:
253
- - .gitignore
254
- - .rspec
255
- - .rubocop.yml
256
- - .travis.yml
257
- - .yardopts
113
+ - ".gitignore"
114
+ - ".rspec"
115
+ - ".rubocop.yml"
116
+ - ".travis.yml"
117
+ - ".yardopts"
258
118
  - Gemfile
259
119
  - Gemfile.jekyll-1.0
260
120
  - Guardfile
@@ -285,6 +145,7 @@ files:
285
145
  - lib/jekyll/assets_plugin/tag.rb
286
146
  - lib/jekyll/assets_plugin/version.rb
287
147
  - spec/fixtures/.gitignore
148
+ - spec/fixtures/_assets/alert.js
288
149
  - spec/fixtures/_assets/app.css.erb
289
150
  - spec/fixtures/_assets/app.js
290
151
  - spec/fixtures/_assets/fonts/vapor.eot
@@ -322,36 +183,30 @@ files:
322
183
  homepage: http://ixti.github.com/jekyll-assets
323
184
  licenses:
324
185
  - MIT
186
+ metadata: {}
325
187
  post_install_message:
326
188
  rdoc_options: []
327
189
  require_paths:
328
190
  - lib
329
191
  required_ruby_version: !ruby/object:Gem::Requirement
330
- none: false
331
192
  requirements:
332
- - - ! '>='
193
+ - - ">="
333
194
  - !ruby/object:Gem::Version
334
195
  version: '0'
335
- segments:
336
- - 0
337
- hash: -1413477886479781936
338
196
  required_rubygems_version: !ruby/object:Gem::Requirement
339
- none: false
340
197
  requirements:
341
- - - ! '>='
198
+ - - ">="
342
199
  - !ruby/object:Gem::Version
343
200
  version: '0'
344
- segments:
345
- - 0
346
- hash: -1413477886479781936
347
201
  requirements: []
348
202
  rubyforge_project:
349
- rubygems_version: 1.8.23.2
203
+ rubygems_version: 2.2.2
350
204
  signing_key:
351
- specification_version: 3
352
- summary: jekyll-assets-0.8.1
205
+ specification_version: 4
206
+ summary: jekyll-assets-0.9.0
353
207
  test_files:
354
208
  - spec/fixtures/.gitignore
209
+ - spec/fixtures/_assets/alert.js
355
210
  - spec/fixtures/_assets/app.css.erb
356
211
  - spec/fixtures/_assets/app.js
357
212
  - spec/fixtures/_assets/fonts/vapor.eot