rip_hashrocket 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module RipHashrocket
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -49,7 +49,7 @@ class String
49
49
  def replace_rockets(s)
50
50
  s.gsub(/:([0-9a-z_\-.]*)(\s{0,})=>(\s{0,})/) do |n|
51
51
  #puts "n: #{n}"
52
- n.include?('-') ? n : "#{$1}:#{$2.size>1||$2=='\t'?$2:''}#{$3}"
52
+ n.include?('-') ? n : "#{$1}:#{$2.size>1||$2!=' '?$2:''}#{$3}"
53
53
  end
54
54
  end
55
55
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rip_hashrocket
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ben Pellow