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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 157d23ea74f4e8cbeb7ace057bee47f78988836c
4
- data.tar.gz: 54e5242d199d9ebe544f90ada279cb8dcadc43a2
3
+ metadata.gz: 2cc9dd98571838e55aa51d8740f049e1442bc6c4
4
+ data.tar.gz: 43964f84f3ad689446e4a2f7189f6ad652b45675
5
5
  SHA512:
6
- metadata.gz: 7a51fbd0c7a1c24fa4df47c94170aadecdb3610fea1e8294a2f116b89e2951f76376b8a83f275d95dcc7eb27f41270330d852e3e81fe4d068ce3aa9863bd5062
7
- data.tar.gz: 8311112117490c63e2528f5cab044ec4ba66d5258adf3b8c0d51d9b1eb4f7c690b6c7d524ffc8cd5a6456c2f3e28c0a0dc62a9e559a144e619ea4bd8dee7f451
6
+ metadata.gz: 19dde55a780c33c692563615ddb53ebaa743195aeb0d462607aac5d7b98d65c003a20ef53b94520b72f696f14f6d74a3b5d486a7482d81e6b607daf1a9bf234d
7
+ data.tar.gz: 7aa4f557157f6057f82bf9d887ad0d6f5dc6e8d784330fd7e19216194f0752a7ed58d7e0da321b26542f9191fc6c39bc4b2f5828c4fd9e93e13e827833cbc5f9
@@ -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
- if data[:data]
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
@@ -1,3 +1,3 @@
1
1
  module ADM
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
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-09-28 00:00:00.000000000 Z
11
+ date: 2013-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler