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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c418b320600ccde0e84cc5250117b3d8c5aadba
4
- data.tar.gz: e3b8474832d3515c04a3deb208f190eed65c8421
3
+ metadata.gz: 9ba88def84f65ef7503c5b5a941a26f14e97c5b3
4
+ data.tar.gz: 4e8400a9687891cd1ad840793aef6a7062e7993b
5
5
  SHA512:
6
- metadata.gz: b032d79261a2a9a5edef35dfe846c915d0ade487d099307f72992adfc67d6238b85c80b4a0c291e3a7b5c946f9b459ac434246b4d6fd8a271d58a05d0ea84e18
7
- data.tar.gz: e12bb1b356643d00c6c80e22c2e7fe72fbd040742aeac083537661ee3a5fa0390d233ed1ecf09bec489c9c853180a24f9ca63594b33656477fd9a93174901d13
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 unless find_page(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 @combined_javascript
139
- @combined_javascript
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
- @combined_javascript = js
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']
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module Ink
3
- VERSION = "1.0.0.rc.15"
3
+ VERSION = "1.0.0.rc.16"
4
4
  end
5
5
  end
@@ -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 "pry-debugger"
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.15
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-17 00:00:00.000000000 Z
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: bundler
98
+ name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '1.3'
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: '1.3'
110
+ version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: rake
112
+ name: bundler
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
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: '0'
127
+ version: '1.6'
128
+ - - "<="
129
+ - !ruby/object:Gem::Version
130
+ version: 1.6.2
125
131
  - !ruby/object:Gem::Dependency
126
- name: pry-debugger
132
+ name: pry-byebug
127
133
  requirement: !ruby/object:Gem::Requirement
128
134
  requirements:
129
135
  - - ">="