makeup 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NzdjYWM3MjI4OWMwYzM0YjFjZjc3OGE5N2U4OTlkNzk5MWNiMGMzYQ==
5
+ data.tar.gz: !binary |-
6
+ MTdjNjk4Y2M4NzE3NjllMjNmODQ4ZWQ4YWJhZTNhNjk1Y2Y4NGI1Mw==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NzEwNWI0ZmUxNTY1N2JlYjM4YmM1MGY5YzdlZjNhMWI2MGY3OGZjNzAyNWU0
10
+ NmYxZjI4NTkxNzM5MjUyNTVkZjU2ZGIzZWU5YWZiMmZlNTQyMDk0OTg2N2My
11
+ NjZhNmI5NzYwYjcyYzU2YzA0NWU4YWI1MGRiMjJjNjQ5Y2I4ZTg=
12
+ data.tar.gz: !binary |-
13
+ ZjI2MWY5OGMyOGFjYzViZGM4YTM5Nzg2OTY5NzFlZjRmZDJhZGIzMWUzZjdi
14
+ ZDRhZTJhMjdjZGE3MjA5OWMzYzA4YWEyZjM3ZTA3MzZhZTVmNmFkNjFmMDIz
15
+ ODFhYjA2MWQ3M2NkZDc1NTY3NWQzMGYyZGQ4YmQyZmVmY2FkN2I=
@@ -28,20 +28,6 @@ require "makeup/code_block_parser"
28
28
  require "makeup/syntax_highlighter"
29
29
 
30
30
  module Makeup
31
- # Ugly work-around to access GitHub::Markup's @@markups without
32
- # monkey-patching the module.
33
- module GitHubMarkupAccessor
34
- include GitHub::Markup
35
-
36
- def self.markups
37
- @@supported ||= (@@markups.keys.map do |key|
38
- key.to_s.match(/\(\?-mix:(.*)\)/)[1].split("|").map do |s|
39
- { :suffix => "*.#{s}" }
40
- end
41
- end).flatten
42
- end
43
- end
44
-
45
31
  class NoopHighlighter
46
32
  def highlight(path, code, options = {})
47
33
  lexer = options[:lexer] || path.split(".").last
@@ -77,7 +63,7 @@ module Makeup
77
63
  end
78
64
 
79
65
  def self.markups
80
- GitHubMarkupAccessor.markups
66
+ GitHub::Markup.markups
81
67
  end
82
68
  end
83
69
  end
@@ -24,5 +24,5 @@
24
24
  #++
25
25
 
26
26
  module Makeup
27
- VERSION = "0.4.3"
27
+ VERSION = "0.4.4"
28
28
  end
@@ -7,7 +7,8 @@ Gem::Specification.new do |s|
7
7
  s.version = Makeup::VERSION
8
8
  s.authors = ["Christian Johansen"]
9
9
  s.email = ["christian@gitorious.org"]
10
- s.homepage = "http://gitorious.org/gitorious/makeup"
10
+ s.homepage = "https://gitorious.org/gitorious/makeup"
11
+ s.license = "MIT"
11
12
  s.summary = %q{Pretty markup}
12
13
  s.description = <<-DESC
13
14
  Makeup provides markup rendering and code highlighting. It renders all kinds of
@@ -19,7 +20,7 @@ markdown files.
19
20
 
20
21
  s.add_dependency "pygments.rb", "~>0.4", "<= 0.5.2"
21
22
  s.add_dependency "github-linguist", "~>2.8"
22
- s.add_dependency "github-markup", "~> 0.7"
23
+ s.add_dependency "github-markup", "~> 1.0"
23
24
  s.add_dependency "htmlentities", "~> 4.3"
24
25
  s.add_dependency "loofah", "~> 1.2"
25
26
 
@@ -135,7 +135,7 @@ end
135
135
  markups = Makeup::Markup.markups
136
136
 
137
137
  assert Array === markups
138
- assert(markups.find { |m| m[:suffix] == "*.md" })
138
+ assert(markups.find { |m| m.match?("*.md") })
139
139
  end
140
140
  end
141
141
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makeup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
5
- prerelease:
4
+ version: 0.4.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Christian Johansen
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-12-23 00:00:00.000000000 Z
11
+ date: 2014-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: pygments.rb
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -25,7 +23,6 @@ dependencies:
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
27
  - - ~>
31
28
  - !ruby/object:Gem::Version
@@ -36,7 +33,6 @@ dependencies:
36
33
  - !ruby/object:Gem::Dependency
37
34
  name: github-linguist
38
35
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
37
  - - ~>
42
38
  - !ruby/object:Gem::Version
@@ -44,7 +40,6 @@ dependencies:
44
40
  type: :runtime
45
41
  prerelease: false
46
42
  version_requirements: !ruby/object:Gem::Requirement
47
- none: false
48
43
  requirements:
49
44
  - - ~>
50
45
  - !ruby/object:Gem::Version
@@ -52,23 +47,20 @@ dependencies:
52
47
  - !ruby/object:Gem::Dependency
53
48
  name: github-markup
54
49
  requirement: !ruby/object:Gem::Requirement
55
- none: false
56
50
  requirements:
57
51
  - - ~>
58
52
  - !ruby/object:Gem::Version
59
- version: '0.7'
53
+ version: '1.0'
60
54
  type: :runtime
61
55
  prerelease: false
62
56
  version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
57
  requirements:
65
58
  - - ~>
66
59
  - !ruby/object:Gem::Version
67
- version: '0.7'
60
+ version: '1.0'
68
61
  - !ruby/object:Gem::Dependency
69
62
  name: htmlentities
70
63
  requirement: !ruby/object:Gem::Requirement
71
- none: false
72
64
  requirements:
73
65
  - - ~>
74
66
  - !ruby/object:Gem::Version
@@ -76,7 +68,6 @@ dependencies:
76
68
  type: :runtime
77
69
  prerelease: false
78
70
  version_requirements: !ruby/object:Gem::Requirement
79
- none: false
80
71
  requirements:
81
72
  - - ~>
82
73
  - !ruby/object:Gem::Version
@@ -84,7 +75,6 @@ dependencies:
84
75
  - !ruby/object:Gem::Dependency
85
76
  name: loofah
86
77
  requirement: !ruby/object:Gem::Requirement
87
- none: false
88
78
  requirements:
89
79
  - - ~>
90
80
  - !ruby/object:Gem::Version
@@ -92,7 +82,6 @@ dependencies:
92
82
  type: :runtime
93
83
  prerelease: false
94
84
  version_requirements: !ruby/object:Gem::Requirement
95
- none: false
96
85
  requirements:
97
86
  - - ~>
98
87
  - !ruby/object:Gem::Version
@@ -100,7 +89,6 @@ dependencies:
100
89
  - !ruby/object:Gem::Dependency
101
90
  name: minitest
102
91
  requirement: !ruby/object:Gem::Requirement
103
- none: false
104
92
  requirements:
105
93
  - - ~>
106
94
  - !ruby/object:Gem::Version
@@ -108,7 +96,6 @@ dependencies:
108
96
  type: :development
109
97
  prerelease: false
110
98
  version_requirements: !ruby/object:Gem::Requirement
111
- none: false
112
99
  requirements:
113
100
  - - ~>
114
101
  - !ruby/object:Gem::Version
@@ -116,7 +103,6 @@ dependencies:
116
103
  - !ruby/object:Gem::Dependency
117
104
  name: rake
118
105
  requirement: !ruby/object:Gem::Requirement
119
- none: false
120
106
  requirements:
121
107
  - - ~>
122
108
  - !ruby/object:Gem::Version
@@ -124,7 +110,6 @@ dependencies:
124
110
  type: :development
125
111
  prerelease: false
126
112
  version_requirements: !ruby/object:Gem::Requirement
127
- none: false
128
113
  requirements:
129
114
  - - ~>
130
115
  - !ruby/object:Gem::Version
@@ -132,7 +117,6 @@ dependencies:
132
117
  - !ruby/object:Gem::Dependency
133
118
  name: redcarpet
134
119
  requirement: !ruby/object:Gem::Requirement
135
- none: false
136
120
  requirements:
137
121
  - - '='
138
122
  - !ruby/object:Gem::Version
@@ -140,7 +124,6 @@ dependencies:
140
124
  type: :development
141
125
  prerelease: false
142
126
  version_requirements: !ruby/object:Gem::Requirement
143
- none: false
144
127
  requirements:
145
128
  - - '='
146
129
  - !ruby/object:Gem::Version
@@ -173,34 +156,28 @@ files:
173
156
  - test/makeup/markup_test.rb
174
157
  - test/makeup/syntax_highlighter_test.rb
175
158
  - test/test_helper.rb
176
- homepage: http://gitorious.org/gitorious/makeup
177
- licenses: []
159
+ homepage: https://gitorious.org/gitorious/makeup
160
+ licenses:
161
+ - MIT
162
+ metadata: {}
178
163
  post_install_message:
179
164
  rdoc_options: []
180
165
  require_paths:
181
166
  - lib
182
167
  required_ruby_version: !ruby/object:Gem::Requirement
183
- none: false
184
168
  requirements:
185
169
  - - ! '>='
186
170
  - !ruby/object:Gem::Version
187
171
  version: '0'
188
- segments:
189
- - 0
190
- hash: -3804366775395324945
191
172
  required_rubygems_version: !ruby/object:Gem::Requirement
192
- none: false
193
173
  requirements:
194
174
  - - ! '>='
195
175
  - !ruby/object:Gem::Version
196
176
  version: '0'
197
- segments:
198
- - 0
199
- hash: -3804366775395324945
200
177
  requirements: []
201
178
  rubyforge_project: makeup
202
- rubygems_version: 1.8.25
179
+ rubygems_version: 2.1.11
203
180
  signing_key:
204
- specification_version: 3
181
+ specification_version: 4
205
182
  summary: Pretty markup
206
183
  test_files: []