RedCloth 4.2.9 → 4.3.4

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,140 +1,100 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: RedCloth
3
- version: !ruby/object:Gem::Version
4
- hash: 37
5
- prerelease:
6
- segments:
7
- - 4
8
- - 2
9
- - 9
10
- version: 4.2.9
3
+ version: !ruby/object:Gem::Version
4
+ version: 4.3.4
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Jason Garber
14
- - why the lucky stiff
8
+ - Joshua Siler
15
9
  - Ola Bini
16
- autorequire:
10
+ autorequire:
17
11
  bindir: bin
18
12
  cert_chain: []
19
-
20
- date: 2011-11-27 00:00:00 Z
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
13
+ date: 2024-03-13 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
23
16
  name: bundler
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ~>
29
- - !ruby/object:Gem::Version
30
- hash: 3
31
- segments:
32
- - 1
33
- - 0
34
- - 10
35
- version: 1.0.10
36
- type: :development
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
39
- name: rake
40
- prerelease: false
41
- requirement: &id002 !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ~>
45
- - !ruby/object:Gem::Version
46
- hash: 49
47
- segments:
48
- - 0
49
- - 8
50
- - 7
51
- version: 0.8.7
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">"
20
+ - !ruby/object:Gem::Version
21
+ version: 1.3.4
52
22
  type: :development
53
- version_requirements: *id002
54
- - !ruby/object:Gem::Dependency
55
- name: rspec
56
23
  prerelease: false
57
- requirement: &id003 !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ~>
61
- - !ruby/object:Gem::Version
62
- hash: 11
63
- segments:
64
- - 2
65
- - 4
66
- version: "2.4"
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">"
27
+ - !ruby/object:Gem::Version
28
+ version: 1.3.4
29
+ - !ruby/object:Gem::Dependency
30
+ name: rake
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '13'
67
36
  type: :development
68
- version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
70
- name: diff-lcs
71
37
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- hash: 23
78
- segments:
79
- - 1
80
- - 1
81
- - 2
82
- version: 1.1.2
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '13'
43
+ - !ruby/object:Gem::Dependency
44
+ name: rspec
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '3.12'
83
50
  type: :development
84
- version_requirements: *id004
85
- - !ruby/object:Gem::Dependency
86
- name: rvm
87
51
  prerelease: false
88
- requirement: &id005 !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- hash: 19
94
- segments:
95
- - 1
96
- - 2
97
- - 6
98
- version: 1.2.6
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '3.12'
57
+ - !ruby/object:Gem::Dependency
58
+ name: diff-lcs
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '1.5'
99
64
  type: :development
100
- version_requirements: *id005
101
- - !ruby/object:Gem::Dependency
102
- name: rake-compiler
103
65
  prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- hash: 1
110
- segments:
111
- - 0
112
- - 7
113
- - 1
114
- version: 0.7.1
115
- type: :development
116
- version_requirements: *id006
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '1.5'
117
71
  description: Textile parser for Ruby.
118
- email: redcloth-upwards@rubyforge.org
119
- executables:
72
+ email:
73
+ executables:
120
74
  - redcloth
121
- extensions:
75
+ extensions:
122
76
  - ext/redcloth_scan/extconf.rb
123
- extra_rdoc_files:
77
+ extra_rdoc_files:
124
78
  - README.rdoc
125
79
  - COPYING
126
80
  - CHANGELOG
127
- files:
128
- - .gemtest
129
- - .rspec
81
+ files:
82
+ - ".gemtest"
83
+ - ".rspec"
130
84
  - CHANGELOG
131
85
  - COPYING
132
86
  - Gemfile
133
87
  - README.rdoc
134
88
  - Rakefile
135
- - doc/textile_reference.html
136
89
  - bin/redcloth
90
+ - doc/textile_reference.html
91
+ - ext/redcloth_scan/extconf.rb
92
+ - ext/redcloth_scan/redcloth.h
93
+ - ext/redcloth_scan/redcloth_attributes.c
94
+ - ext/redcloth_scan/redcloth_inline.c
95
+ - ext/redcloth_scan/redcloth_scan.c
137
96
  - lib/case_sensitive_require/RedCloth.rb
97
+ - lib/redcloth.rb
138
98
  - lib/redcloth/erb_extension.rb
139
99
  - lib/redcloth/formatters/base.rb
140
100
  - lib/redcloth/formatters/html.rb
@@ -142,8 +102,6 @@ files:
142
102
  - lib/redcloth/formatters/latex_entities.yml
143
103
  - lib/redcloth/textile_doc.rb
144
104
  - lib/redcloth/version.rb
145
- - lib/redcloth.rb
146
- - lib/redcloth_scan.jar
147
105
  - lib/tasks/pureruby.rake
148
106
  - redcloth.gemspec
149
107
  - spec/benchmark_spec.rb
@@ -177,60 +135,50 @@ files:
177
135
  - spec/formatters/sanitized_html_spec.rb
178
136
  - spec/formatters/style_filtered_html_spec.rb
179
137
  - spec/parser_spec.rb
138
+ - spec/security/CVE-2012-6684_spec.rb
139
+ - spec/security/CVE-2023-31606_spec.rb
180
140
  - spec/spec_helper.rb
181
141
  - tasks/compile.rake
182
- - tasks/gems.rake
183
142
  - tasks/ragel_extension_task.rb
184
143
  - tasks/release.rake
185
144
  - tasks/rspec.rake
186
145
  - tasks/rvm.rake
187
- - ext/redcloth_scan/redcloth_attributes.c
188
- - ext/redcloth_scan/redcloth_inline.c
189
- - ext/redcloth_scan/redcloth_scan.c
190
- - ext/redcloth_scan/redcloth.h
191
- - ext/redcloth_scan/extconf.rb
192
- homepage: http://redcloth.org
193
- licenses: []
194
-
195
- post_install_message:
196
- rdoc_options:
197
- - --charset=UTF-8
198
- - --line-numbers
199
- - --inline-source
200
- - --title
146
+ homepage: https://github.com/jgarber/redcloth
147
+ licenses:
148
+ - MIT
149
+ metadata:
150
+ bug_tracker_uri: https://github.com/jgarber/redcloth/issues
151
+ changelog_uri: https://github.com/jgarber/redcloth/blob/master/CHANGELOG
152
+ source_code_uri: https://github.com/jgarber/redcloth
153
+ post_install_message:
154
+ rdoc_options:
155
+ - "--charset=UTF-8"
156
+ - "--line-numbers"
157
+ - "--inline-source"
158
+ - "--title"
201
159
  - RedCloth
202
- - --main
160
+ - "--main"
203
161
  - README.rdoc
204
- require_paths:
162
+ require_paths:
205
163
  - lib
206
164
  - lib/case_sensitive_require
207
165
  - ext
208
- required_ruby_version: !ruby/object:Gem::Requirement
209
- none: false
210
- requirements:
166
+ required_ruby_version: !ruby/object:Gem::Requirement
167
+ requirements:
211
168
  - - ">="
212
- - !ruby/object:Gem::Version
213
- hash: 3
214
- segments:
215
- - 0
216
- version: "0"
217
- required_rubygems_version: !ruby/object:Gem::Requirement
218
- none: false
219
- requirements:
169
+ - !ruby/object:Gem::Version
170
+ version: '2.4'
171
+ required_rubygems_version: !ruby/object:Gem::Requirement
172
+ requirements:
220
173
  - - ">="
221
- - !ruby/object:Gem::Version
222
- hash: 3
223
- segments:
224
- - 0
225
- version: "0"
174
+ - !ruby/object:Gem::Version
175
+ version: '0'
226
176
  requirements: []
227
-
228
- rubyforge_project: redcloth
229
- rubygems_version: 1.8.6
230
- signing_key:
231
- specification_version: 3
232
- summary: RedCloth-4.2.9
233
- test_files:
177
+ rubygems_version: 3.5.6
178
+ signing_key:
179
+ specification_version: 4
180
+ summary: RedCloth-4.3.4
181
+ test_files:
234
182
  - spec/benchmark_spec.rb
235
183
  - spec/custom_tags_spec.rb
236
184
  - spec/erb_spec.rb
@@ -262,4 +210,6 @@ test_files:
262
210
  - spec/formatters/sanitized_html_spec.rb
263
211
  - spec/formatters/style_filtered_html_spec.rb
264
212
  - spec/parser_spec.rb
213
+ - spec/security/CVE-2012-6684_spec.rb
214
+ - spec/security/CVE-2023-31606_spec.rb
265
215
  - spec/spec_helper.rb
Binary file
data/tasks/gems.rake DELETED
@@ -1,37 +0,0 @@
1
- Rake::Task['build'].prerequisites.unshift('compile')
2
-
3
- namespace :build do
4
- desc "Generate Windows binary gems"
5
- task :win do
6
- unless File.directory?(File.expand_path('~/.rake-compiler'))
7
- STDERR.puts <<-EOM
8
-
9
- You must install Windows rubies to ~/.rake-compiler with:
10
-
11
- rake-compiler cross-ruby VERSION=1.8.6-p398
12
- # (Later 1.9.1 patch levels don't compile on mingw)
13
- rake-compiler cross-ruby VERSION=1.9.1-p243
14
- EOM
15
- exit(1)
16
- end
17
- # rvm and mingw ruby versions have to match to avoid errors
18
- sh "rvm ruby-1.8.6-p398@redcloth rake cross compile RUBY_CC_VERSION=1.8.6"
19
- sh "rvm ruby-1.9.1-p243@redcloth rake cross compile RUBY_CC_VERSION=1.9.1"
20
- # This will copy the .so files to the proper place
21
- sh "rake cross native gem RUBY_CC_VERSION=1.8.6:1.9.1"
22
- end
23
-
24
- desc 'Generate JRuby binary gem'
25
- task :jruby do
26
- sh "rvm jruby@redcloth rake java gem"
27
- end
28
-
29
- desc "Build ruby, windows, and jruby gems into the pkg directory"
30
- task :all => [
31
- :clobber,
32
- "rvm:spec",
33
- :jruby,
34
- :win,
35
- :build
36
- ]
37
- end