Skip to content

Commit f0ab3fb

Browse files
committed
Merge branch 'master' into bash-scanner
2 parents 11807f1 + cab119c commit f0ab3fb

File tree

128 files changed

+63
-40778
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+63
-40778
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ bench/test.div.html
2222
diff.html
2323
etc/CodeRay.tmproj
2424
*.swp
25+
etc

.travis.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ rvm:
55
- jruby-18mode
66
- jruby-19mode
77
- rbx-18mode
8-
# - rbx-19mode # test again later
9-
- ruby-head
8+
- rbx-19mode
9+
# - ruby-head # test again later: RedCloth not compiling
1010
- jruby-head
1111
- ree
1212
branches:
1313
only:
1414
- master
15-
- stable
1615
script: "rake test" # test:scanners"

Changes.textile

+7
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,15 @@ p=. _This files lists all changes in the CodeRay library since the 0.9.8 release
44

55
{{toc}}
66

7+
h2. Next Version
8+
9+
* add @:string/:char@, remove @:regexp/:function@ color from Terminal encoder [GH #29, thanks to Kyrylo Silin]
10+
* allow @-@ in line number anchor prefix for HTML encoder [GH #32, thanks to shurizzle]
11+
* Fix HTML scanner: Don't crash if HTML in a diff contains a JavaScript tag.
12+
713
h2. Changes in 1.0.7
814

15+
* Changed license from LGPL to MIT. [GH-25, thanks to jessehu]
916
* Fix issue with plugin files not being loaded. [GH-20, thanks to Will Read]
1017
* Fix HTML scanner bug: Don't choke on boolean attributes. [GH-26, thanks to jugglinmike]
1118

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gemspec
88
group :development do
99
gem "bundler", ">= 1.0.0"
1010
gem "rake", "~> 0.9.2"
11-
gem "RedCloth", RUBY_PLATFORM == 'java' ? "= 4.2.7" : ">= 4.0.3"
11+
gem "RedCloth", RUBY_PLATFORM == 'java' ? ">= 4.2.7" : ">= 4.0.3"
1212
gem "term-ansicolor"
1313
gem "shoulda-context", "~> 1.0.0" if RUBY_VERSION >= '1.8.7'
1414
gem "json" unless RUBY_VERSION >= '1.9.1'

LICENSE

-504
This file was deleted.

MIT-LICENSE.txt

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (C) 2005-2012 Kornelius Kalnbach <murphy@rubychan.de> (@murphy_karasu)
2+
3+
http://coderay.rubychan.de/
4+
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

coderay.gemspec

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ Gem::Specification.new do |s|
88
if ENV['RELEASE']
99
s.version = CodeRay::VERSION
1010
else
11-
# thanks to @Argorak for this solution
12-
# revision = 134 + (`git log --oneline | wc -l`.to_i)
13-
# s.version = "#{CodeRay::VERSION}.#{revision}rc1"
14-
s.version = "#{CodeRay::VERSION}.rc2"
11+
s.version = "#{CodeRay::VERSION}.rc#{ENV['RC'] || 1}"
1512
end
1613

1714
s.authors = ['Kornelius Kalnbach']

etc/ansi-color/256colors2.pl

-63
This file was deleted.

etc/ansi-color/colortable16.sh

-48
This file was deleted.

etc/check-coderay-gem-stats.sh

-1
This file was deleted.

etc/check-diffs.rb

-27
This file was deleted.

etc/coderay-complete.tmproj

-27
This file was deleted.

0 commit comments

Comments
 (0)