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.
- data/lib/rip_hashrocket/version.rb +1 -1
- data/lib/rip_hashrocket.rb +1 -1
- metadata +3 -3
data/lib/rip_hashrocket.rb
CHANGED
@@ -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
|
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:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 9
|
10
|
+
version: 0.0.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ben Pellow
|