rbbt-rest 1.3.12 → 1.3.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/rest/common/misc.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67dce81d38feaadc05aaf7a687e1b2a404e3d8d2
|
4
|
+
data.tar.gz: 9afbe5fb579fa2312d2265b4120e3334403b3c95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc9822583807cf4072c9b653dea7ab6c5e01db1b01ca2c895b4982968861c6299ba493e09c50e7a2f040426d3515c88ee9dab9efe758e5fbdebc0108fb7d7fa8
|
7
|
+
data.tar.gz: 572b0a098081e53db8bbd431d2c76c2a025f60c3fa8d1915d5e726a03227bc8908ea2533bd5ac0c9e832d940e45d431a01ec70f2d491a94be9246e1347bdae13
|
@@ -134,8 +134,8 @@ module RbbtRESTHelpers
|
|
134
134
|
text
|
135
135
|
when text =~ /^list:([^:]+):(.+)$/
|
136
136
|
Entity::List.load_list($1, $2, user)
|
137
|
-
when text =~
|
138
|
-
|
137
|
+
when text =~ /^\[.*\]$/sm
|
138
|
+
JSON.parse(text)
|
139
139
|
when text =~ /\n/
|
140
140
|
text.split(/\r?\n/).collect{|l| l.strip}
|
141
141
|
when text =~ /\|/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|