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 +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +2 -2
- data/lib/octopress-ink/configuration.rb +3 -1
- data/lib/octopress-ink/plugin_asset_pipeline.rb +4 -2
- data/lib/octopress-ink/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab641c85bf02af85bd5c9ba9b9c62613a201301f
|
4
|
+
data.tar.gz: 6df6570f3fe6a12e03c4c7b1e31c93a802417ab9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89b573c1496e0732295713fe2d5c6d80f98e0c95b89170a257a0a40d72f397ecc52be91e3efed82a736bae13ae503386fec582ec23bff95ec30e2538261776bf
|
7
|
+
data.tar.gz: 501eb1f5581b7e3f2f173d21912a577a48cabb534b60edb5f8045beb4dc40df581988a627f8e2523032d7afdfd70711b167eba3648e5e513f88f312f9f7a8956
|
data/CHANGELOG.md
CHANGED
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.
|
6
|
-
[![Build Status](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(
|
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(
|
186
|
+
File.join(@js_dir, "all-#{javascript_fingerprint}.js")
|
185
187
|
end
|
186
188
|
|
187
189
|
def write_combined_javascript
|
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.
|
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-
|
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.
|
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
|