markdpwn 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +4 -4
  2. data/Gemfile.lock +11 -13
  3. data/VERSION +1 -1
  4. data/lib/markdpwn/code.rb +4 -4
  5. data/markdpwn.gemspec +14 -14
  6. metadata +11 -11
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source :rubygems
2
2
 
3
3
  # Code formatting.
4
- gem 'pygments.rb', '>= 0.2.13'
4
+ gem 'pygments.rb', '>= 0.3.0'
5
5
 
6
6
  # Github formatting.
7
7
  gem 'github-markup', '>= 0.7.4', :require => 'github/markup'
@@ -13,9 +13,9 @@ gem 'creole', '>= 0.4.2'
13
13
  gem 'wikicloth', '>= 0.8.0'
14
14
 
15
15
  group :development do
16
- gem 'minitest', '>= 3.4.0'
17
- gem 'yard', '>= 0.8'
18
- gem 'bundler', '>= 1.2.0'
16
+ gem 'minitest', '>= 3.5.0'
17
+ gem 'yard', '>= 0.8.2.1'
18
+ gem 'bundler', '>= 1.2.1'
19
19
  gem 'jeweler', '>= 1.8.4'
20
20
  gem 'rcov', '>= 0', :platform => :mri_18
21
21
  gem 'simplecov', '>= 0', :platform => :mri_19
data/Gemfile.lock CHANGED
@@ -2,11 +2,9 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  RedCloth (4.2.9)
5
- blankslate (2.1.2.4)
6
- builder (3.1.0)
5
+ builder (3.1.3)
7
6
  creole (0.4.2)
8
7
  expression_parser (0.9.0)
9
- ffi (1.0.11)
10
8
  git (1.2.5)
11
9
  github-markup (0.7.4)
12
10
  jeweler (1.8.4)
@@ -15,21 +13,20 @@ GEM
15
13
  rake
16
14
  rdoc
17
15
  json (1.7.5)
18
- minitest (3.4.0)
16
+ minitest (3.5.0)
19
17
  multi_json (1.3.6)
20
18
  org-ruby (0.7.1)
21
19
  rubypants (>= 0.2.0)
22
- pygments.rb (0.2.13)
23
- rubypython (~> 0.5.3)
20
+ posix-spawn (0.3.6)
21
+ pygments.rb (0.3.0)
22
+ posix-spawn (~> 0.3.6)
23
+ yajl-ruby (~> 1.1.0)
24
24
  rake (0.9.2.2)
25
25
  rcov (1.0.0)
26
26
  rdoc (3.12)
27
27
  json (~> 1.4)
28
28
  redcarpet (2.1.1)
29
29
  rubypants (0.2.0)
30
- rubypython (0.5.3)
31
- blankslate (>= 2.1.2.3)
32
- ffi (~> 1.0.7)
33
30
  simplecov (0.6.4)
34
31
  multi_json (~> 1.0)
35
32
  simplecov-html (~> 0.5.3)
@@ -37,6 +34,7 @@ GEM
37
34
  wikicloth (0.8.0)
38
35
  builder
39
36
  expression_parser
37
+ yajl-ruby (1.1.0)
40
38
  yard (0.8.2.1)
41
39
 
42
40
  PLATFORMS
@@ -44,16 +42,16 @@ PLATFORMS
44
42
 
45
43
  DEPENDENCIES
46
44
  RedCloth (>= 4.2.9)
47
- bundler (>= 1.2.0)
45
+ bundler (>= 1.2.1)
48
46
  creole (>= 0.4.2)
49
47
  github-markup (>= 0.7.4)
50
48
  jeweler (>= 1.8.4)
51
- minitest (>= 3.4.0)
49
+ minitest (>= 3.5.0)
52
50
  org-ruby (>= 0.7.1)
53
- pygments.rb (>= 0.2.13)
51
+ pygments.rb (>= 0.3.0)
54
52
  rcov
55
53
  rdoc (>= 3.12)
56
54
  redcarpet (>= 2.1.1)
57
55
  simplecov
58
56
  wikicloth (>= 0.8.0)
59
- yard (>= 0.8)
57
+ yard (>= 0.8.2.1)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
data/lib/markdpwn/code.rb CHANGED
@@ -45,7 +45,7 @@ module Code
45
45
  if language = options[:language]
46
46
  lexer = begin
47
47
  Pygments.lexer_name_for :lexer => language
48
- rescue RubyPython::PythonError
48
+ rescue IOError
49
49
  nil
50
50
  end
51
51
  return lexer if lexer
@@ -54,7 +54,7 @@ module Code
54
54
  if mime_type = options[:mime_type]
55
55
  lexer = begin
56
56
  Pygments.lexer_name_for :mimetype => mime_type
57
- rescue RubyPython::PythonError
57
+ rescue IOError
58
58
  nil
59
59
  end
60
60
  return lexer if lexer
@@ -63,7 +63,7 @@ module Code
63
63
  if file_name = options[:file_name]
64
64
  lexer = begin
65
65
  Pygments.lexer_name_for :filename => file_name
66
- rescue RubyPython::PythonError
66
+ rescue IOError
67
67
  nil
68
68
  end
69
69
  return lexer if lexer
@@ -72,7 +72,7 @@ module Code
72
72
  if code = options[:code]
73
73
  lexer = begin
74
74
  Pygments.lexer_name_for code
75
- rescue RubyPython::PythonError
75
+ rescue IOError
76
76
  nil
77
77
  end
78
78
  return lexer if lexer
data/markdpwn.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "markdpwn"
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Victor Costan"]
12
- s.date = "2012-09-06"
12
+ s.date = "2012-09-26"
13
13
  s.description = "HTML-formats text documents such as Markdown, textile, and source code"
14
14
  s.email = "victor@costan.us"
15
15
  s.extra_rdoc_files = [
@@ -57,7 +57,7 @@ Gem::Specification.new do |s|
57
57
  s.specification_version = 3
58
58
 
59
59
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
- s.add_runtime_dependency(%q<pygments.rb>, [">= 0.2.13"])
60
+ s.add_runtime_dependency(%q<pygments.rb>, [">= 0.3.0"])
61
61
  s.add_runtime_dependency(%q<github-markup>, [">= 0.7.4"])
62
62
  s.add_runtime_dependency(%q<redcarpet>, [">= 2.1.1"])
63
63
  s.add_runtime_dependency(%q<RedCloth>, [">= 4.2.9"])
@@ -65,14 +65,14 @@ Gem::Specification.new do |s|
65
65
  s.add_runtime_dependency(%q<org-ruby>, [">= 0.7.1"])
66
66
  s.add_runtime_dependency(%q<creole>, [">= 0.4.2"])
67
67
  s.add_runtime_dependency(%q<wikicloth>, [">= 0.8.0"])
68
- s.add_development_dependency(%q<minitest>, [">= 3.4.0"])
69
- s.add_development_dependency(%q<yard>, [">= 0.8"])
70
- s.add_development_dependency(%q<bundler>, [">= 1.2.0"])
68
+ s.add_development_dependency(%q<minitest>, [">= 3.5.0"])
69
+ s.add_development_dependency(%q<yard>, [">= 0.8.2.1"])
70
+ s.add_development_dependency(%q<bundler>, [">= 1.2.1"])
71
71
  s.add_development_dependency(%q<jeweler>, [">= 1.8.4"])
72
72
  s.add_development_dependency(%q<rcov>, [">= 0"])
73
73
  s.add_development_dependency(%q<simplecov>, [">= 0"])
74
74
  else
75
- s.add_dependency(%q<pygments.rb>, [">= 0.2.13"])
75
+ s.add_dependency(%q<pygments.rb>, [">= 0.3.0"])
76
76
  s.add_dependency(%q<github-markup>, [">= 0.7.4"])
77
77
  s.add_dependency(%q<redcarpet>, [">= 2.1.1"])
78
78
  s.add_dependency(%q<RedCloth>, [">= 4.2.9"])
@@ -80,15 +80,15 @@ Gem::Specification.new do |s|
80
80
  s.add_dependency(%q<org-ruby>, [">= 0.7.1"])
81
81
  s.add_dependency(%q<creole>, [">= 0.4.2"])
82
82
  s.add_dependency(%q<wikicloth>, [">= 0.8.0"])
83
- s.add_dependency(%q<minitest>, [">= 3.4.0"])
84
- s.add_dependency(%q<yard>, [">= 0.8"])
85
- s.add_dependency(%q<bundler>, [">= 1.2.0"])
83
+ s.add_dependency(%q<minitest>, [">= 3.5.0"])
84
+ s.add_dependency(%q<yard>, [">= 0.8.2.1"])
85
+ s.add_dependency(%q<bundler>, [">= 1.2.1"])
86
86
  s.add_dependency(%q<jeweler>, [">= 1.8.4"])
87
87
  s.add_dependency(%q<rcov>, [">= 0"])
88
88
  s.add_dependency(%q<simplecov>, [">= 0"])
89
89
  end
90
90
  else
91
- s.add_dependency(%q<pygments.rb>, [">= 0.2.13"])
91
+ s.add_dependency(%q<pygments.rb>, [">= 0.3.0"])
92
92
  s.add_dependency(%q<github-markup>, [">= 0.7.4"])
93
93
  s.add_dependency(%q<redcarpet>, [">= 2.1.1"])
94
94
  s.add_dependency(%q<RedCloth>, [">= 4.2.9"])
@@ -96,9 +96,9 @@ Gem::Specification.new do |s|
96
96
  s.add_dependency(%q<org-ruby>, [">= 0.7.1"])
97
97
  s.add_dependency(%q<creole>, [">= 0.4.2"])
98
98
  s.add_dependency(%q<wikicloth>, [">= 0.8.0"])
99
- s.add_dependency(%q<minitest>, [">= 3.4.0"])
100
- s.add_dependency(%q<yard>, [">= 0.8"])
101
- s.add_dependency(%q<bundler>, [">= 1.2.0"])
99
+ s.add_dependency(%q<minitest>, [">= 3.5.0"])
100
+ s.add_dependency(%q<yard>, [">= 0.8.2.1"])
101
+ s.add_dependency(%q<bundler>, [">= 1.2.1"])
102
102
  s.add_dependency(%q<jeweler>, [">= 1.8.4"])
103
103
  s.add_dependency(%q<rcov>, [">= 0"])
104
104
  s.add_dependency(%q<simplecov>, [">= 0"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdpwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-06 00:00:00.000000000 Z
12
+ date: 2012-09-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pygments.rb
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.2.13
21
+ version: 0.3.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.2.13
29
+ version: 0.3.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: github-markup
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -146,7 +146,7 @@ dependencies:
146
146
  requirements:
147
147
  - - ! '>='
148
148
  - !ruby/object:Gem::Version
149
- version: 3.4.0
149
+ version: 3.5.0
150
150
  type: :development
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
@@ -154,7 +154,7 @@ dependencies:
154
154
  requirements:
155
155
  - - ! '>='
156
156
  - !ruby/object:Gem::Version
157
- version: 3.4.0
157
+ version: 3.5.0
158
158
  - !ruby/object:Gem::Dependency
159
159
  name: yard
160
160
  requirement: !ruby/object:Gem::Requirement
@@ -162,7 +162,7 @@ dependencies:
162
162
  requirements:
163
163
  - - ! '>='
164
164
  - !ruby/object:Gem::Version
165
- version: '0.8'
165
+ version: 0.8.2.1
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
@@ -170,7 +170,7 @@ dependencies:
170
170
  requirements:
171
171
  - - ! '>='
172
172
  - !ruby/object:Gem::Version
173
- version: '0.8'
173
+ version: 0.8.2.1
174
174
  - !ruby/object:Gem::Dependency
175
175
  name: bundler
176
176
  requirement: !ruby/object:Gem::Requirement
@@ -178,7 +178,7 @@ dependencies:
178
178
  requirements:
179
179
  - - ! '>='
180
180
  - !ruby/object:Gem::Version
181
- version: 1.2.0
181
+ version: 1.2.1
182
182
  type: :development
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
@@ -186,7 +186,7 @@ dependencies:
186
186
  requirements:
187
187
  - - ! '>='
188
188
  - !ruby/object:Gem::Version
189
- version: 1.2.0
189
+ version: 1.2.1
190
190
  - !ruby/object:Gem::Dependency
191
191
  name: jeweler
192
192
  requirement: !ruby/object:Gem::Requirement
@@ -287,7 +287,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
287
287
  version: '0'
288
288
  segments:
289
289
  - 0
290
- hash: -4265765567859591802
290
+ hash: 4189099663802073013
291
291
  required_rubygems_version: !ruby/object:Gem::Requirement
292
292
  none: false
293
293
  requirements: