gollum 2.2.0 → 2.2.1

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

Potentially problematic release.


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

data/README.md CHANGED
@@ -497,9 +497,13 @@ like Rack::Auth, OmniAuth, etc.
497
497
  Precious::App.set(:wiki_options, {:universal_toc => false})
498
498
  run Precious::App
499
499
 
500
- ## Windows Filename Validation
500
+ ## WINDOWS FILENAME VALIDATION
501
501
  Note that filenames on windows must not contain any of the following characters `\ / : * ? " < > |`. See [this support article](http://support.microsoft.com/kb/177506) for details.
502
502
 
503
+ ## LIB.SO ERROR
504
+
505
+ `Could not open library 'lib.so'` may be solved by installing `python-devel` on Fedora or `python-dev` on Ubuntu.
506
+
503
507
  ## CONTRIBUTE
504
508
 
505
509
  If you'd like to hack on Gollum, start by forking my repo on GitHub:
data/gollum.gemspec CHANGED
@@ -5,8 +5,8 @@ Gem::Specification.new do |s|
5
5
  s.required_ruby_version = ">= 1.8.7"
6
6
 
7
7
  s.name = 'gollum'
8
- s.version = '2.2.0'
9
- s.date = '2012-09-01'
8
+ s.version = '2.2.1'
9
+ s.date = '2012-09-02'
10
10
  s.rubyforge_project = 'gollum'
11
11
 
12
12
  s.summary = "A simple, Git-powered wiki."
data/lib/gollum.rb CHANGED
@@ -23,7 +23,7 @@ require File.expand_path('../gollum/web_sequence_diagram', __FILE__)
23
23
  require File.expand_path('../gollum/frontend/uri_encode_component', __FILE__)
24
24
 
25
25
  module Gollum
26
- VERSION = '2.2.0'
26
+ VERSION = '2.2.1'
27
27
 
28
28
  def self.assets_path
29
29
  ::File.expand_path('gollum/frontend/public', ::File.dirname(__FILE__))
data/lib/gollum/tex.rb CHANGED
@@ -8,7 +8,7 @@ module Gollum
8
8
  def self.to_html(tex, type = :inline)
9
9
  tex_uri = EscapeUtils.escape_uri(tex)
10
10
  tex_alt = EscapeUtils.escape_html(tex)
11
- %{<img src="#{TEX_URL}?D=#{TEX_SIZES[type]};tex=#{tex}" alt="#{tex_alt}">}
11
+ %{<img src="#{TEX_URL}?D=#{TEX_SIZES[type]};tex=#{tex_uri}" alt="#{tex_alt}">}
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gollum
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 2
9
- - 0
10
- version: 2.2.0
9
+ - 1
10
+ version: 2.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Preston-Werner
@@ -16,10 +16,12 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-09-01 00:00:00 +02:00
19
+ date: 2012-09-02 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
+ name: grit
24
+ prerelease: false
23
25
  requirement: &id001 !ruby/object:Gem::Requirement
24
26
  none: false
25
27
  requirements:
@@ -31,11 +33,11 @@ dependencies:
31
33
  - 5
32
34
  - 0
33
35
  version: 2.5.0
34
- version_requirements: *id001
35
- name: grit
36
- prerelease: false
37
36
  type: :runtime
37
+ version_requirements: *id001
38
38
  - !ruby/object:Gem::Dependency
39
+ name: github-markup
40
+ prerelease: false
39
41
  requirement: &id002 !ruby/object:Gem::Requirement
40
42
  none: false
41
43
  requirements:
@@ -55,11 +57,11 @@ dependencies:
55
57
  - 0
56
58
  - 0
57
59
  version: 1.0.0
58
- version_requirements: *id002
59
- name: github-markup
60
- prerelease: false
61
60
  type: :runtime
61
+ version_requirements: *id002
62
62
  - !ruby/object:Gem::Dependency
63
+ name: github-markdown
64
+ prerelease: false
63
65
  requirement: &id003 !ruby/object:Gem::Requirement
64
66
  none: false
65
67
  requirements:
@@ -69,11 +71,11 @@ dependencies:
69
71
  segments:
70
72
  - 0
71
73
  version: "0"
72
- version_requirements: *id003
73
- name: github-markdown
74
- prerelease: false
75
74
  type: :runtime
75
+ version_requirements: *id003
76
76
  - !ruby/object:Gem::Dependency
77
+ name: pygments.rb
78
+ prerelease: false
77
79
  requirement: &id004 !ruby/object:Gem::Requirement
78
80
  none: false
79
81
  requirements:
@@ -85,11 +87,11 @@ dependencies:
85
87
  - 2
86
88
  - 0
87
89
  version: 0.2.0
88
- version_requirements: *id004
89
- name: pygments.rb
90
- prerelease: false
91
90
  type: :runtime
91
+ version_requirements: *id004
92
92
  - !ruby/object:Gem::Dependency
93
+ name: escape_utils
94
+ prerelease: false
93
95
  requirement: &id005 !ruby/object:Gem::Requirement
94
96
  none: false
95
97
  requirements:
@@ -101,11 +103,11 @@ dependencies:
101
103
  - 2
102
104
  - 4
103
105
  version: 0.2.4
104
- version_requirements: *id005
105
- name: escape_utils
106
- prerelease: false
107
106
  type: :runtime
107
+ version_requirements: *id005
108
108
  - !ruby/object:Gem::Dependency
109
+ name: sinatra
110
+ prerelease: false
109
111
  requirement: &id006 !ruby/object:Gem::Requirement
110
112
  none: false
111
113
  requirements:
@@ -116,11 +118,11 @@ dependencies:
116
118
  - 1
117
119
  - 0
118
120
  version: "1.0"
119
- version_requirements: *id006
120
- name: sinatra
121
- prerelease: false
122
121
  type: :runtime
122
+ version_requirements: *id006
123
123
  - !ruby/object:Gem::Dependency
124
+ name: mustache
125
+ prerelease: false
124
126
  requirement: &id007 !ruby/object:Gem::Requirement
125
127
  none: false
126
128
  requirements:
@@ -140,11 +142,11 @@ dependencies:
140
142
  - 0
141
143
  - 0
142
144
  version: 1.0.0
143
- version_requirements: *id007
144
- name: mustache
145
- prerelease: false
146
145
  type: :runtime
146
+ version_requirements: *id007
147
147
  - !ruby/object:Gem::Dependency
148
+ name: sanitize
149
+ prerelease: false
148
150
  requirement: &id008 !ruby/object:Gem::Requirement
149
151
  none: false
150
152
  requirements:
@@ -156,11 +158,11 @@ dependencies:
156
158
  - 0
157
159
  - 0
158
160
  version: 2.0.0
159
- version_requirements: *id008
160
- name: sanitize
161
- prerelease: false
162
161
  type: :runtime
162
+ version_requirements: *id008
163
163
  - !ruby/object:Gem::Dependency
164
+ name: nokogiri
165
+ prerelease: false
164
166
  requirement: &id009 !ruby/object:Gem::Requirement
165
167
  none: false
166
168
  requirements:
@@ -171,11 +173,11 @@ dependencies:
171
173
  - 1
172
174
  - 4
173
175
  version: "1.4"
174
- version_requirements: *id009
175
- name: nokogiri
176
- prerelease: false
177
176
  type: :runtime
177
+ version_requirements: *id009
178
178
  - !ruby/object:Gem::Dependency
179
+ name: useragent
180
+ prerelease: false
179
181
  requirement: &id010 !ruby/object:Gem::Requirement
180
182
  none: false
181
183
  requirements:
@@ -187,11 +189,11 @@ dependencies:
187
189
  - 4
188
190
  - 9
189
191
  version: 0.4.9
190
- version_requirements: *id010
191
- name: useragent
192
- prerelease: false
193
192
  type: :runtime
193
+ version_requirements: *id010
194
194
  - !ruby/object:Gem::Dependency
195
+ name: stringex
196
+ prerelease: false
195
197
  requirement: &id011 !ruby/object:Gem::Requirement
196
198
  none: false
197
199
  requirements:
@@ -203,11 +205,11 @@ dependencies:
203
205
  - 4
204
206
  - 0
205
207
  version: 1.4.0
206
- version_requirements: *id011
207
- name: stringex
208
- prerelease: false
209
208
  type: :runtime
209
+ version_requirements: *id011
210
210
  - !ruby/object:Gem::Dependency
211
+ name: RedCloth
212
+ prerelease: false
211
213
  requirement: &id012 !ruby/object:Gem::Requirement
212
214
  none: false
213
215
  requirements:
@@ -217,11 +219,11 @@ dependencies:
217
219
  segments:
218
220
  - 0
219
221
  version: "0"
220
- version_requirements: *id012
221
- name: RedCloth
222
- prerelease: false
223
222
  type: :development
223
+ version_requirements: *id012
224
224
  - !ruby/object:Gem::Dependency
225
+ name: mocha
226
+ prerelease: false
225
227
  requirement: &id013 !ruby/object:Gem::Requirement
226
228
  none: false
227
229
  requirements:
@@ -231,11 +233,11 @@ dependencies:
231
233
  segments:
232
234
  - 0
233
235
  version: "0"
234
- version_requirements: *id013
235
- name: mocha
236
- prerelease: false
237
236
  type: :development
237
+ version_requirements: *id013
238
238
  - !ruby/object:Gem::Dependency
239
+ name: org-ruby
240
+ prerelease: false
239
241
  requirement: &id014 !ruby/object:Gem::Requirement
240
242
  none: false
241
243
  requirements:
@@ -247,11 +249,11 @@ dependencies:
247
249
  - 7
248
250
  - 0
249
251
  version: 0.7.0
250
- version_requirements: *id014
251
- name: org-ruby
252
- prerelease: false
253
252
  type: :development
253
+ version_requirements: *id014
254
254
  - !ruby/object:Gem::Dependency
255
+ name: shoulda
256
+ prerelease: false
255
257
  requirement: &id015 !ruby/object:Gem::Requirement
256
258
  none: false
257
259
  requirements:
@@ -261,11 +263,11 @@ dependencies:
261
263
  segments:
262
264
  - 0
263
265
  version: "0"
264
- version_requirements: *id015
265
- name: shoulda
266
- prerelease: false
267
266
  type: :development
267
+ version_requirements: *id015
268
268
  - !ruby/object:Gem::Dependency
269
+ name: rack-test
270
+ prerelease: false
269
271
  requirement: &id016 !ruby/object:Gem::Requirement
270
272
  none: false
271
273
  requirements:
@@ -275,11 +277,11 @@ dependencies:
275
277
  segments:
276
278
  - 0
277
279
  version: "0"
278
- version_requirements: *id016
279
- name: rack-test
280
- prerelease: false
281
280
  type: :development
281
+ version_requirements: *id016
282
282
  - !ruby/object:Gem::Dependency
283
+ name: wikicloth
284
+ prerelease: false
283
285
  requirement: &id017 !ruby/object:Gem::Requirement
284
286
  none: false
285
287
  requirements:
@@ -291,11 +293,11 @@ dependencies:
291
293
  - 8
292
294
  - 0
293
295
  version: 0.8.0
294
- version_requirements: *id017
295
- name: wikicloth
296
- prerelease: false
297
296
  type: :development
297
+ version_requirements: *id017
298
298
  - !ruby/object:Gem::Dependency
299
+ name: rake
300
+ prerelease: false
299
301
  requirement: &id018 !ruby/object:Gem::Requirement
300
302
  none: false
301
303
  requirements:
@@ -307,10 +309,8 @@ dependencies:
307
309
  - 9
308
310
  - 2
309
311
  version: 0.9.2
310
- version_requirements: *id018
311
- name: rake
312
- prerelease: false
313
312
  type: :development
313
+ version_requirements: *id018
314
314
  description: A simple, Git-powered wiki with a sweet API and local frontend.
315
315
  email: tom@github.com
316
316
  executables: