jekyll 0.11.0 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of jekyll might be problematic. Click here for more details.

@@ -1,3 +1,12 @@
1
+ == 0.11.2 / 2011-12-27
2
+ * Bug Fixes
3
+ * Fix gemspec
4
+
5
+ == 0.11.1 / 2011-12-27
6
+ * Bug Fixes
7
+ * Fix extra blank line in highlight blocks (#409)
8
+ * Update dependencies
9
+
1
10
  == 0.11.0 / 2011-07-10
2
11
  * Major Enhancements
3
12
  * Add command line importer functionality (#253)
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
+ require 'rdoc'
3
4
  require 'date'
4
5
 
5
6
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), *%w[lib]))
@@ -49,6 +50,10 @@ task :default => [:test, :features]
49
50
 
50
51
  require 'rake/testtask'
51
52
  Rake::TestTask.new(:test) do |test|
53
+ if `which pygmentize` == ''
54
+ puts "You must have Pygments installed to run the tests."
55
+ exit 1
56
+ end
52
57
  test.libs << 'lib' << 'test'
53
58
  test.pattern = 'test/**/test_*.rb'
54
59
  test.verbose = true
@@ -62,7 +67,7 @@ task :coverage do
62
67
  sh "open coverage/index.html"
63
68
  end
64
69
 
65
- require 'rake/rdoctask'
70
+ require 'rdoc/task'
66
71
  Rake::RDocTask.new do |rdoc|
67
72
  rdoc.rdoc_dir = 'rdoc'
68
73
  rdoc.title = "#{name} #{version}"
@@ -119,7 +124,7 @@ task :release => :build do
119
124
  puts "You must be on the master branch to release!"
120
125
  exit!
121
126
  end
122
- sh "git commit --allow-empty -a -m 'Release #{version}'"
127
+ sh "git commit --allow-empty -m 'Release #{version}'"
123
128
  sh "git tag v#{version}"
124
129
  sh "git push origin master"
125
130
  sh "git push origin v#{version}"
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'jekyll'
7
- s.version = '0.11.0'
8
- s.date = '2011-07-10'
7
+ s.version = '0.11.2'
8
+ s.date = '2011-12-27'
9
9
  s.rubyforge_project = 'jekyll'
10
10
 
11
11
  s.summary = "A simple, blog aware, static site generator."
@@ -22,20 +22,22 @@ Gem::Specification.new do |s|
22
22
  s.rdoc_options = ["--charset=UTF-8"]
23
23
  s.extra_rdoc_files = %w[README.textile LICENSE]
24
24
 
25
- s.add_runtime_dependency('liquid', ">= 1.9.0")
26
- s.add_runtime_dependency('classifier', ">= 1.3.1")
27
- s.add_runtime_dependency('directory_watcher', ">= 1.1.1")
28
- s.add_runtime_dependency('maruku', ">= 0.5.9")
29
- s.add_runtime_dependency('kramdown', ">= 0.13.2")
30
- s.add_runtime_dependency('albino', ">= 1.3.2")
25
+ s.add_runtime_dependency('liquid', "~> 2.3")
26
+ s.add_runtime_dependency('classifier', "~> 1.3")
27
+ s.add_runtime_dependency('directory_watcher', "~> 1.1")
28
+ s.add_runtime_dependency('maruku', "~> 0.5")
29
+ s.add_runtime_dependency('kramdown', "~> 0.13")
30
+ s.add_runtime_dependency('albino', "~> 1.3")
31
31
 
32
- s.add_development_dependency('redgreen', ">= 1.2.2")
33
- s.add_development_dependency('shoulda', ">= 2.11.3")
34
- s.add_development_dependency('rr', ">= 1.0.2")
35
- s.add_development_dependency('cucumber', ">= 0.10.3")
36
- s.add_development_dependency('RedCloth', ">= 4.2.1")
37
- s.add_development_dependency('rdiscount', ">= 1.6.5")
38
- s.add_development_dependency('redcarpet', ">= 1.9.0")
32
+ s.add_development_dependency('rake', "~> 0.9")
33
+ s.add_development_dependency('rdoc', "~> 3.11")
34
+ s.add_development_dependency('redgreen', "~> 1.2")
35
+ s.add_development_dependency('shoulda', "~> 2.11")
36
+ s.add_development_dependency('rr', "~> 1.0")
37
+ s.add_development_dependency('cucumber', "1.1")
38
+ s.add_development_dependency('RedCloth', "~> 4.2")
39
+ s.add_development_dependency('rdiscount', "~> 1.6")
40
+ s.add_development_dependency('redcarpet', "~> 1.9")
39
41
 
40
42
  # = MANIFEST =
41
43
  s.files = %w[
@@ -46,14 +48,6 @@ Gem::Specification.new do |s|
46
48
  Rakefile
47
49
  bin/jekyll
48
50
  cucumber.yml
49
- doc/output/book.html
50
- doc/output/ch00-preface.asc
51
- doc/output/ch01-quick-start.asc
52
- doc/output/ch02-directory-layout.asc
53
- doc/output/stylesheets/handbookish-quirks.css
54
- doc/output/stylesheets/handbookish.css
55
- doc/output/stylesheets/scribe-quirks.css
56
- doc/output/stylesheets/scribe.css
57
51
  features/create_sites.feature
58
52
  features/embed_filters.feature
59
53
  features/markdown.feature
@@ -64,7 +58,6 @@ Gem::Specification.new do |s|
64
58
  features/site_data.feature
65
59
  features/step_definitions/jekyll_steps.rb
66
60
  features/support/env.rb
67
- g.pl
68
61
  jekyll.gemspec
69
62
  lib/jekyll.rb
70
63
  lib/jekyll/converter.rb
@@ -97,8 +90,6 @@ Gem::Specification.new do |s|
97
90
  lib/jekyll/static_file.rb
98
91
  lib/jekyll/tags/highlight.rb
99
92
  lib/jekyll/tags/include.rb
100
- output/stylesheets/scribe-quirks.css
101
- output/stylesheets/scribe.css
102
93
  test/helper.rb
103
94
  test/source/.htaccess
104
95
  test/source/_includes/sig.markdown
@@ -46,7 +46,7 @@ require_all 'jekyll/generators'
46
46
  require_all 'jekyll/tags'
47
47
 
48
48
  module Jekyll
49
- VERSION = '0.11.0'
49
+ VERSION = '0.11.2'
50
50
 
51
51
  # Default options. Overriden by values in _config.yml or command-line opts.
52
52
  # (Strings rather symbols used for compatability with YAML).
@@ -36,9 +36,9 @@ module Jekyll
36
36
 
37
37
  def render(context)
38
38
  if context.registers[:site].pygments
39
- render_pygments(context, super.join)
39
+ render_pygments(context, super)
40
40
  else
41
- render_codehighlighter(context, super.join)
41
+ render_codehighlighter(context, super)
42
42
  end
43
43
  end
44
44
 
@@ -53,9 +53,7 @@ module Jekyll
53
53
  #The div is required because RDiscount blows ass
54
54
  <<-HTML
55
55
  <div>
56
- <pre>
57
- <code class='#{@lang}'>#{h(code).strip}</code>
58
- </pre>
56
+ <pre><code class='#{@lang}'>#{h(code).strip}</code></pre>
59
57
  </div>
60
58
  HTML
61
59
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
5
- prerelease: false
4
+ hash: 55
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 11
9
- - 0
10
- version: 0.11.0
9
+ - 2
10
+ version: 0.11.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Preston-Werner
@@ -15,217 +15,234 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-10 00:00:00 -07:00
18
+ date: 2011-12-27 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: liquid
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
25
  requirements:
27
- - - ">="
26
+ - - ~>
28
27
  - !ruby/object:Gem::Version
29
- hash: 51
28
+ hash: 5
30
29
  segments:
31
- - 1
32
- - 9
33
- - 0
34
- version: 1.9.0
30
+ - 2
31
+ - 3
32
+ version: "2.3"
35
33
  type: :runtime
34
+ name: liquid
36
35
  version_requirements: *id001
37
36
  - !ruby/object:Gem::Dependency
38
- name: classifier
39
37
  prerelease: false
40
38
  requirement: &id002 !ruby/object:Gem::Requirement
41
39
  none: false
42
40
  requirements:
43
- - - ">="
41
+ - - ~>
44
42
  - !ruby/object:Gem::Version
45
- hash: 25
43
+ hash: 9
46
44
  segments:
47
45
  - 1
48
46
  - 3
49
- - 1
50
- version: 1.3.1
47
+ version: "1.3"
51
48
  type: :runtime
49
+ name: classifier
52
50
  version_requirements: *id002
53
51
  - !ruby/object:Gem::Dependency
54
- name: directory_watcher
55
52
  prerelease: false
56
53
  requirement: &id003 !ruby/object:Gem::Requirement
57
54
  none: false
58
55
  requirements:
59
- - - ">="
56
+ - - ~>
60
57
  - !ruby/object:Gem::Version
61
- hash: 17
58
+ hash: 13
62
59
  segments:
63
60
  - 1
64
61
  - 1
65
- - 1
66
- version: 1.1.1
62
+ version: "1.1"
67
63
  type: :runtime
64
+ name: directory_watcher
68
65
  version_requirements: *id003
69
66
  - !ruby/object:Gem::Dependency
70
- name: maruku
71
67
  prerelease: false
72
68
  requirement: &id004 !ruby/object:Gem::Requirement
73
69
  none: false
74
70
  requirements:
75
- - - ">="
71
+ - - ~>
76
72
  - !ruby/object:Gem::Version
77
- hash: 25
73
+ hash: 1
78
74
  segments:
79
75
  - 0
80
76
  - 5
81
- - 9
82
- version: 0.5.9
77
+ version: "0.5"
83
78
  type: :runtime
79
+ name: maruku
84
80
  version_requirements: *id004
85
81
  - !ruby/object:Gem::Dependency
86
- name: kramdown
87
82
  prerelease: false
88
83
  requirement: &id005 !ruby/object:Gem::Requirement
89
84
  none: false
90
85
  requirements:
91
- - - ">="
86
+ - - ~>
92
87
  - !ruby/object:Gem::Version
93
- hash: 47
88
+ hash: 17
94
89
  segments:
95
90
  - 0
96
91
  - 13
97
- - 2
98
- version: 0.13.2
92
+ version: "0.13"
99
93
  type: :runtime
94
+ name: kramdown
100
95
  version_requirements: *id005
101
96
  - !ruby/object:Gem::Dependency
102
- name: albino
103
97
  prerelease: false
104
98
  requirement: &id006 !ruby/object:Gem::Requirement
105
99
  none: false
106
100
  requirements:
107
- - - ">="
101
+ - - ~>
108
102
  - !ruby/object:Gem::Version
109
- hash: 31
103
+ hash: 9
110
104
  segments:
111
105
  - 1
112
106
  - 3
113
- - 2
114
- version: 1.3.2
107
+ version: "1.3"
115
108
  type: :runtime
109
+ name: albino
116
110
  version_requirements: *id006
117
111
  - !ruby/object:Gem::Dependency
118
- name: redgreen
119
112
  prerelease: false
120
113
  requirement: &id007 !ruby/object:Gem::Requirement
121
114
  none: false
122
115
  requirements:
123
- - - ">="
116
+ - - ~>
124
117
  - !ruby/object:Gem::Version
125
- hash: 27
118
+ hash: 25
126
119
  segments:
127
- - 1
128
- - 2
129
- - 2
130
- version: 1.2.2
120
+ - 0
121
+ - 9
122
+ version: "0.9"
131
123
  type: :development
124
+ name: rake
132
125
  version_requirements: *id007
133
126
  - !ruby/object:Gem::Dependency
134
- name: shoulda
135
127
  prerelease: false
136
128
  requirement: &id008 !ruby/object:Gem::Requirement
137
129
  none: false
138
130
  requirements:
139
- - - ">="
131
+ - - ~>
140
132
  - !ruby/object:Gem::Version
141
- hash: 37
133
+ hash: 17
142
134
  segments:
143
- - 2
144
- - 11
145
135
  - 3
146
- version: 2.11.3
136
+ - 11
137
+ version: "3.11"
147
138
  type: :development
139
+ name: rdoc
148
140
  version_requirements: *id008
149
141
  - !ruby/object:Gem::Dependency
150
- name: rr
151
142
  prerelease: false
152
143
  requirement: &id009 !ruby/object:Gem::Requirement
153
144
  none: false
154
145
  requirements:
155
- - - ">="
146
+ - - ~>
156
147
  - !ruby/object:Gem::Version
157
- hash: 19
148
+ hash: 11
158
149
  segments:
159
150
  - 1
160
- - 0
161
151
  - 2
162
- version: 1.0.2
152
+ version: "1.2"
163
153
  type: :development
154
+ name: redgreen
164
155
  version_requirements: *id009
165
156
  - !ruby/object:Gem::Dependency
166
- name: cucumber
167
157
  prerelease: false
168
158
  requirement: &id010 !ruby/object:Gem::Requirement
169
159
  none: false
170
160
  requirements:
171
- - - ">="
161
+ - - ~>
172
162
  - !ruby/object:Gem::Version
173
- hash: 49
163
+ hash: 21
174
164
  segments:
175
- - 0
176
- - 10
177
- - 3
178
- version: 0.10.3
165
+ - 2
166
+ - 11
167
+ version: "2.11"
179
168
  type: :development
169
+ name: shoulda
180
170
  version_requirements: *id010
181
171
  - !ruby/object:Gem::Dependency
182
- name: RedCloth
183
172
  prerelease: false
184
173
  requirement: &id011 !ruby/object:Gem::Requirement
185
174
  none: false
186
175
  requirements:
187
- - - ">="
176
+ - - ~>
188
177
  - !ruby/object:Gem::Version
189
- hash: 53
178
+ hash: 15
190
179
  segments:
191
- - 4
192
- - 2
193
180
  - 1
194
- version: 4.2.1
181
+ - 0
182
+ version: "1.0"
195
183
  type: :development
184
+ name: rr
196
185
  version_requirements: *id011
197
186
  - !ruby/object:Gem::Dependency
198
- name: rdiscount
199
187
  prerelease: false
200
188
  requirement: &id012 !ruby/object:Gem::Requirement
201
189
  none: false
202
190
  requirements:
203
- - - ">="
191
+ - - "="
204
192
  - !ruby/object:Gem::Version
205
- hash: 5
193
+ hash: 13
206
194
  segments:
207
195
  - 1
208
- - 6
209
- - 5
210
- version: 1.6.5
196
+ - 1
197
+ version: "1.1"
211
198
  type: :development
199
+ name: cucumber
212
200
  version_requirements: *id012
213
201
  - !ruby/object:Gem::Dependency
214
- name: redcarpet
215
202
  prerelease: false
216
203
  requirement: &id013 !ruby/object:Gem::Requirement
217
204
  none: false
218
205
  requirements:
219
- - - ">="
206
+ - - ~>
207
+ - !ruby/object:Gem::Version
208
+ hash: 31
209
+ segments:
210
+ - 4
211
+ - 2
212
+ version: "4.2"
213
+ type: :development
214
+ name: RedCloth
215
+ version_requirements: *id013
216
+ - !ruby/object:Gem::Dependency
217
+ prerelease: false
218
+ requirement: &id014 !ruby/object:Gem::Requirement
219
+ none: false
220
+ requirements:
221
+ - - ~>
222
+ - !ruby/object:Gem::Version
223
+ hash: 3
224
+ segments:
225
+ - 1
226
+ - 6
227
+ version: "1.6"
228
+ type: :development
229
+ name: rdiscount
230
+ version_requirements: *id014
231
+ - !ruby/object:Gem::Dependency
232
+ prerelease: false
233
+ requirement: &id015 !ruby/object:Gem::Requirement
234
+ none: false
235
+ requirements:
236
+ - - ~>
220
237
  - !ruby/object:Gem::Version
221
- hash: 51
238
+ hash: 29
222
239
  segments:
223
240
  - 1
224
241
  - 9
225
- - 0
226
- version: 1.9.0
242
+ version: "1.9"
227
243
  type: :development
228
- version_requirements: *id013
244
+ name: redcarpet
245
+ version_requirements: *id015
229
246
  description: Jekyll is a simple, blog aware, static site generator.
230
247
  email: tom@mojombo.com
231
248
  executables:
@@ -243,14 +260,6 @@ files:
243
260
  - Rakefile
244
261
  - bin/jekyll
245
262
  - cucumber.yml
246
- - doc/output/book.html
247
- - doc/output/ch00-preface.asc
248
- - doc/output/ch01-quick-start.asc
249
- - doc/output/ch02-directory-layout.asc
250
- - doc/output/stylesheets/handbookish-quirks.css
251
- - doc/output/stylesheets/handbookish.css
252
- - doc/output/stylesheets/scribe-quirks.css
253
- - doc/output/stylesheets/scribe.css
254
263
  - features/create_sites.feature
255
264
  - features/embed_filters.feature
256
265
  - features/markdown.feature
@@ -261,7 +270,6 @@ files:
261
270
  - features/site_data.feature
262
271
  - features/step_definitions/jekyll_steps.rb
263
272
  - features/support/env.rb
264
- - g.pl
265
273
  - jekyll.gemspec
266
274
  - lib/jekyll.rb
267
275
  - lib/jekyll/converter.rb
@@ -294,8 +302,6 @@ files:
294
302
  - lib/jekyll/static_file.rb
295
303
  - lib/jekyll/tags/highlight.rb
296
304
  - lib/jekyll/tags/include.rb
297
- - output/stylesheets/scribe-quirks.css
298
- - output/stylesheets/scribe.css
299
305
  - test/helper.rb
300
306
  - test/source/.htaccess
301
307
  - test/source/_includes/sig.markdown
@@ -379,7 +385,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
379
385
  requirements: []
380
386
 
381
387
  rubyforge_project: jekyll
382
- rubygems_version: 1.3.7
388
+ rubygems_version: 1.6.2
383
389
  signing_key:
384
390
  specification_version: 2
385
391
  summary: A simple, blog aware, static site generator.