jekyll-assets 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ### master (unreleased)
2
2
 
3
+
4
+ ### 0.8.1 (2014-07-04)
5
+
6
+ * Fix support of `bootstrap-sass v3.2+`. See #85.
7
+
8
+
9
+ ### 0.8.0 (2014-06-23)
10
+
3
11
  * Explicitly require `sass`.
4
12
  * Fix `asset_*` helpers in imported SASS files.
5
13
  See #83, #63. (Thanks @sentience)
@@ -1,6 +1,10 @@
1
1
  require "sprockets"
2
2
 
3
- bootstrap = Gem::Specification.find_by_name("bootstrap-sass").gem_dir
3
+ gemspec = Gem::Specification.find_by_name "bootstrap-sass"
4
4
  %w[fonts javascripts stylesheets].each do |asset|
5
- Sprockets.append_path File.join(bootstrap, "vendor", "assets", 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
6
10
  end
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AssetsPlugin
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.1"
4
4
  end
5
5
  end
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.8.0
4
+ version: 0.8.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: 2014-06-23 00:00:00.000000000 Z
12
+ date: 2014-07-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -334,7 +334,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
334
334
  version: '0'
335
335
  segments:
336
336
  - 0
337
- hash: 483849259478873314
337
+ hash: -1413477886479781936
338
338
  required_rubygems_version: !ruby/object:Gem::Requirement
339
339
  none: false
340
340
  requirements:
@@ -343,13 +343,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
343
343
  version: '0'
344
344
  segments:
345
345
  - 0
346
- hash: 483849259478873314
346
+ hash: -1413477886479781936
347
347
  requirements: []
348
348
  rubyforge_project:
349
349
  rubygems_version: 1.8.23.2
350
350
  signing_key:
351
351
  specification_version: 3
352
- summary: jekyll-assets-0.8.0
352
+ summary: jekyll-assets-0.8.1
353
353
  test_files:
354
354
  - spec/fixtures/.gitignore
355
355
  - spec/fixtures/_assets/app.css.erb