adm 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/adm/message.rb +1 -8
- data/lib/adm/version.rb +1 -1
- 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: 2cc9dd98571838e55aa51d8740f049e1442bc6c4
|
4
|
+
data.tar.gz: 43964f84f3ad689446e4a2f7189f6ad652b45675
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19dde55a780c33c692563615ddb53ebaa743195aeb0d462607aac5d7b98d65c003a20ef53b94520b72f696f14f6d74a3b5d486a7482d81e6b607daf1a9bf234d
|
7
|
+
data.tar.gz: 7aa4f557157f6057f82bf9d887ad0d6f5dc6e8d784330fd7e19216194f0752a7ed58d7e0da321b26542f9191fc6c39bc4b2f5828c4fd9e93e13e827833cbc5f9
|
data/lib/adm/message.rb
CHANGED
@@ -29,15 +29,8 @@ class ADM::Message
|
|
29
29
|
def compile
|
30
30
|
@json ||= begin
|
31
31
|
@compiled = true
|
32
|
-
data_to_compile = data.dup
|
33
32
|
|
34
|
-
|
35
|
-
data_to_compile[:data] = MultiJson.dump(data[:data])
|
36
|
-
elsif data['data']
|
37
|
-
data_to_compile['data'] = MultiJson.dump(data['data'])
|
38
|
-
end
|
39
|
-
|
40
|
-
MultiJson.dump(data_to_compile)
|
33
|
+
MultiJson.dump(data)
|
41
34
|
end
|
42
35
|
end
|
43
36
|
end
|
data/lib/adm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tal Atlas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|