octopress-ink 1.0.0.rc.15 → 1.0.0.rc.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/octopress-ink/assets/page.rb +4 -2
- data/lib/octopress-ink/plugin_asset_pipeline.rb +5 -3
- data/lib/octopress-ink/version.rb +1 -1
- data/octopress-ink.gemspec +2 -2
- metadata +19 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ba88def84f65ef7503c5b5a941a26f14e97c5b3
|
4
|
+
data.tar.gz: 4e8400a9687891cd1ad840793aef6a7062e7993b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6ccd4603c14136e57c40062bd378d437cc329cd5d5e644fc0652ea7f094d49228a66c9afb95bd1a3802e7e79ef298c70677cecfe50493199f814ea52a3ad50f
|
7
|
+
data.tar.gz: 09e3fe1c274b60c291a08ed4ad1cc46ae5332fcb0aebaa6fde7c76c10408ec0ea53fbf2be61787871739b2361717c8ed2577dabf195ca59e132d0e8b9ee87d03
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
### 1.0.0 RC16 - 2014-08-21
|
4
|
+
|
5
|
+
- New: Access the url for a plugin's page from anywhere with `{{ theme.permalinks.page_name }}` or `{{ plugins.pugin-name.permalinks.page_name }}`.
|
6
|
+
- Fix: Properly invalidate caches for `jekyll build --watch` support.
|
7
|
+
|
3
8
|
### 1.0.0 RC15 - 2014-08-17
|
4
9
|
|
5
10
|
- Fixed an issue where Octopress would trigger site_payload too early.
|
@@ -21,8 +21,10 @@ module Octopress
|
|
21
21
|
# Add page to Jekyll pages if no other page has a conflicting destination
|
22
22
|
#
|
23
23
|
def add
|
24
|
-
if page.url && !Octopress.config['docs_mode']
|
25
|
-
Octopress.site.pages << page
|
24
|
+
if page.url && !Octopress.config['docs_mode'] && !find_page(page)
|
25
|
+
Octopress.site.pages << page
|
26
|
+
plugin.config['permalinks'] ||= {}
|
27
|
+
plugin.config['permalinks'][File.basename(filename, '.*')] ||= page.url
|
26
28
|
end
|
27
29
|
end
|
28
30
|
|
@@ -86,6 +86,7 @@ module Octopress
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def self.write_combined_stylesheet
|
89
|
+
@combined_stylesheets = nil
|
89
90
|
css = combine_stylesheets
|
90
91
|
css.keys.each do |media|
|
91
92
|
contents = compile_css(css[media])
|
@@ -135,8 +136,8 @@ module Octopress
|
|
135
136
|
end
|
136
137
|
|
137
138
|
def self.combine_javascripts
|
138
|
-
if @
|
139
|
-
@
|
139
|
+
if @combined_javascripts
|
140
|
+
@combined_javascripts
|
140
141
|
else
|
141
142
|
js = ""
|
142
143
|
javascripts.clone.each do |file|
|
@@ -145,7 +146,7 @@ module Octopress
|
|
145
146
|
end
|
146
147
|
js += (file.ext.match(/.coffee/) ? file.compile : file.content)
|
147
148
|
end
|
148
|
-
@
|
149
|
+
@combined_javascripts = js
|
149
150
|
end
|
150
151
|
end
|
151
152
|
|
@@ -154,6 +155,7 @@ module Octopress
|
|
154
155
|
end
|
155
156
|
|
156
157
|
def self.write_combined_javascript
|
158
|
+
@combined_javascripts = nil
|
157
159
|
js = combine_javascripts
|
158
160
|
unless js == ''
|
159
161
|
if Octopress.config['compress_js']
|
data/octopress-ink.gemspec
CHANGED
@@ -25,8 +25,8 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_runtime_dependency "octopress-filters", "~> 1.1"
|
26
26
|
spec.add_runtime_dependency "octopress"
|
27
27
|
|
28
|
-
spec.add_development_dependency "bundler", "~> 1.3"
|
29
28
|
spec.add_development_dependency "rake"
|
30
|
-
spec.add_development_dependency "
|
29
|
+
spec.add_development_dependency "bundler", "~> 1.6", "<= 1.6.2"
|
30
|
+
spec.add_development_dependency "pry-byebug"
|
31
31
|
spec.add_development_dependency "clash"
|
32
32
|
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.0.0.rc.
|
4
|
+
version: 1.0.0.rc.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -95,35 +95,41 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: bundler
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '1.6'
|
118
|
+
- - "<="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: 1.6.2
|
118
121
|
type: :development
|
119
122
|
prerelease: false
|
120
123
|
version_requirements: !ruby/object:Gem::Requirement
|
121
124
|
requirements:
|
122
|
-
- - "
|
125
|
+
- - "~>"
|
123
126
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
127
|
+
version: '1.6'
|
128
|
+
- - "<="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 1.6.2
|
125
131
|
- !ruby/object:Gem::Dependency
|
126
|
-
name: pry-
|
132
|
+
name: pry-byebug
|
127
133
|
requirement: !ruby/object:Gem::Requirement
|
128
134
|
requirements:
|
129
135
|
- - ">="
|