RubyGems
npm
Organizations
Log in
Sign up
RubyGems
format_data_converter
Versions diffs
0.9.0 → 0.9.1
format_data_converter 0.9.0 → 0.9.1
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/format_data_converter/detector.rb
+3
-0
metadata
+1
-1
data/lib/format_data_converter/detector.rb
CHANGED
Viewed
@@ -56,6 +56,9 @@ class Detector
56
56
57
57
def self.detect_hash s
58
58
i=0
59
+
while s[i]=="[" do
60
+
i=i+1
61
+
end
59
62
if s[i] == "{" && (s[i+1] == "\'" || s[i+1] == "\"" || s[i+1] == ":")
60
63
if s[i+1] == "\'" || s[i+1] == "\""
61
64
aux = s.index(s[i+1],i+2)
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: format_data_converter
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.9.
0
4
+
version: 0.9.
1
5
5
prerelease:
6
6
platform: ruby
7
7
authors: