coderay_bash 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/coderay_bash.gemspec CHANGED
@@ -13,7 +13,7 @@ spec = Gem::Specification.new do |s|
13
13
  s.email = "pejuko@gmail.com"
14
14
  s.authors = ["Petr Kovar"]
15
15
  s.name = 'coderay_bash'
16
- s.version = '0.1'
16
+ s.version = '0.1.1'
17
17
  s.date = Time.now.strftime("%Y-%m-%d")
18
18
  s.add_dependency('coderay', '< 1.0')
19
19
  s.require_path = 'lib'
@@ -140,8 +140,9 @@ module CodeRay::Scanners
140
140
  elsif match = scan(/[^ \$"'`\d]/)
141
141
  kind = :plain
142
142
  elsif match = scan(/.+/)
143
- # this shouldn't be
144
- kind = :reserved
143
+ # this shouldn't be :reserved for highlighting bad matches
144
+ #kind = :reserved
145
+ kind = :plain
145
146
  end
146
147
  elsif state == :quote
147
148
  if (match = scan(/\\./))
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coderay_bash
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- version: "0.1"
9
+ - 1
10
+ version: 0.1.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Petr Kovar