octopress-ink 1.1.4 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 393f90ab27ed225dd0e5c7c4ffbaf5be7b2e9a3d
4
- data.tar.gz: 0ef937e4ecbb7f857a9de3ceb1f8aec3dc46d82c
3
+ metadata.gz: ab641c85bf02af85bd5c9ba9b9c62613a201301f
4
+ data.tar.gz: 6df6570f3fe6a12e03c4c7b1e31c93a802417ab9
5
5
  SHA512:
6
- metadata.gz: bd52d72b1b39bfa070e4e9709880dce5e893931be76301ff85ad60cd5b77542c0e5d672c754da0ff7baa6f43ff5265caf9344d738f1ba5fd390ae4b05d8dcec0
7
- data.tar.gz: 21c32ec66c2bf8946ce6fd60be983f44e1338fef2a2ee01e6fd75fa12402a3d4295023c434da66ca8069470955a24efd63103d8493f4025595bf56796a818952
6
+ metadata.gz: 89b573c1496e0732295713fe2d5c6d80f98e0c95b89170a257a0a40d72f397ecc52be91e3efed82a736bae13ae503386fec582ec23bff95ec30e2538261776bf
7
+ data.tar.gz: 501eb1f5581b7e3f2f173d21912a577a48cabb534b60edb5f8045beb4dc40df581988a627f8e2523032d7afdfd70711b167eba3648e5e513f88f312f9f7a8956
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.2.0 (2015-06-26)
4
+ - New: you can configure output destinations for asset pipeline stylesheets and javascripts.
5
+
3
6
  ### 1.1.4 (2015-05-18)
4
7
  - Fix: Cache writes no longer trigger Jekyll watch.
5
8
  - Fix: Cache writes happen after site builds.
data/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Use Ink to help you build themes and plugins for Jekyll.
4
4
 
5
- [![Gem Version](https://badge.fury.io/rb/octopress-ink.png)](http://badge.fury.io/rb/octopress-ink)
6
- [![Build Status](https://travis-ci.org/octopress/ink.png?branch=master)](https://travis-ci.org/octopress/ink)
5
+ [![Gem Version](https://badge.fury.io/rb/octopress-ink.svg)](http://badge.fury.io/rb/octopress-ink)
6
+ [![Build Status](https://travis-ci.org/octopress/ink.svg?branch=master)](https://travis-ci.org/octopress/ink)
7
7
 
8
8
  ## Installation
9
9
 
@@ -10,7 +10,9 @@ module Octopress
10
10
  'compress_js' => true,
11
11
  'uglifier' => {},
12
12
  'async_css' => false,
13
- 'async_js' => true
13
+ 'async_js' => true,
14
+ 'stylesheets_destination' => 'stylesheets',
15
+ 'javascripts_destination' => 'javascripts',
14
16
  },
15
17
 
16
18
  'date_format' => 'ordinal',
@@ -13,6 +13,8 @@ module Octopress
13
13
  @stylesheet_fingerprint = {}
14
14
  @javascript_fingerprint = nil
15
15
  @uglify_settings ||= Jekyll::Utils.symbolize_hash_keys(Ink.configuration['asset_pipeline']['uglifier'])
16
+ @css_dir = Ink.configuration['asset_pipeline']['stylesheets_destination']
17
+ @js_dir = Ink.configuration['asset_pipeline']['javascripts_destination']
16
18
  end
17
19
 
18
20
  # Compile CSS to take advantage of Sass's compression settings
@@ -143,7 +145,7 @@ module Octopress
143
145
  end
144
146
 
145
147
  def combined_stylesheet_path(media)
146
- File.join('stylesheets', "#{media}-#{stylesheet_fingerprint(media)}.css")
148
+ File.join(@css_dir, "#{media}-#{stylesheet_fingerprint(media)}.css")
147
149
  end
148
150
 
149
151
  def stylesheet_fingerprint(media)
@@ -181,7 +183,7 @@ module Octopress
181
183
  end
182
184
 
183
185
  def combined_javascript_path
184
- File.join('javascripts', "all-#{javascript_fingerprint}.js")
186
+ File.join(@js_dir, "all-#{javascript_fingerprint}.js")
185
187
  end
186
188
 
187
189
  def write_combined_javascript
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module Ink
3
- VERSION = "1.1.4"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-ink
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-18 00:00:00.000000000 Z
11
+ date: 2015-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -299,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
299
  version: '0'
300
300
  requirements: []
301
301
  rubyforge_project:
302
- rubygems_version: 2.4.6
302
+ rubygems_version: 2.4.7
303
303
  signing_key:
304
304
  specification_version: 4
305
305
  summary: A framework for creating themes and plugins for Jekyll sites