circuitdata 0.3.4 → 0.3.5

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: de1c4f538c68286e354093ef876042e3cc143d2f
4
- data.tar.gz: f70c19817d410e8315a355e20ac957a3bc2f55e3
3
+ metadata.gz: 0d1e7837cb1b7ed5d04e2e1dd4ec57ef6b178700
4
+ data.tar.gz: 03dd4e52e6f4643e0e26b276e5364a1db5383020
5
5
  SHA512:
6
- metadata.gz: 4de909b65a9d98b88b200b812edb5b61a921766f2f3b7198bcf332c82fcf953d4bd8734d029542a778525c31595ced1c7f6bb5dc248fc6e27726a7f1b468bade
7
- data.tar.gz: aa828cbea7219133c8e20c72d9a54f2afdeaa44f21b61a3c27c15477c02485a5ec9c3a6482a1e08219a58ddf059ec25553ffaa57eea213a116dc82c280cdb08b
6
+ metadata.gz: 4b20ef9d1b10bce4404316914c84fd5e64876d46f40990e57c4cc3fda3af50d99fceb8d2c2b627adafd94aa034b1b24e049cf81afa2cd437944d750f46763f3d
7
+ data.tar.gz: 0c6656397a1c0b102fddfe341e679fce18c79788ed250112ffdc0325cb8487c7832bdd46f4a845f25294823e65f49e6b935dc84ff1c434cb3db97766771314fd
@@ -1,3 +1,3 @@
1
1
  module Circuitdata
2
- VERSION = '0.3.4'
2
+ VERSION = '0.3.5'
3
3
  end
data/lib/circuitdata.rb CHANGED
@@ -63,7 +63,7 @@ module Circuitdata
63
63
  returncontent = nil
64
64
  if content.is_a? Hash
65
65
  begin
66
- returncontent = content.to_json
66
+ returncontent = content
67
67
  rescue
68
68
  error = true
69
69
  message = "Could not convert the Hash into JSON"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circuitdata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Lydersen