hobby-json 0.0.1 → 0.0.2

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: c8c9105de691a61333c00bafcd8e091629efeacd
4
- data.tar.gz: f96cc5d2b3a9ff2e4e7d042d25058ea73baf045d
3
+ metadata.gz: 52a1dc53955a48ad4dcbf1778b7c3893c4d9951f
4
+ data.tar.gz: f9df643f17b3e43343152e8eed30d9d9a7668209
5
5
  SHA512:
6
- metadata.gz: 0c200130a301b2f49b92f418ac046ddd04509ebafc4663bf20ef9a2e4ce3e902e5c83bee7cd9b48955a092d738a226e8b50e32f701e14477929b69baf0e4107b
7
- data.tar.gz: c53adad858bee2d592aa1d84e1112b53ab7a3181ed77c8a948bd38206521df5db498e711e28496f5feadb06a21f19910fd4e7b996292d131b216129ca12ddea3
6
+ metadata.gz: 6aa4fea91fb922ea872b3a33f2af55f69fd654bfbe4f3abe6e276416da9b56db7c488b9c30506f99f617cc21ff59ef4bdcc0cb6297f71fb7ad18cb0e7bae08ea
7
+ data.tar.gz: feef520f01216f4e99366c9d473c51ae5f24b2b71b777ecc043a5aafcc37db7dbbb91179b3d8a94a2fe04f90102e6693208a56dd2427353b6e6851a4dfcc0318
data/hobby-json.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |g|
2
2
  g.name = 'hobby-json'
3
3
  g.files = `git ls-files`.split($/)
4
- g.version = '0.0.1'
4
+ g.version = '0.0.2'
5
5
  g.summary = 'A way to work with JSON in Hobby without too much verbosity.'
6
- g.authors = ['Anatoly Cherno']
6
+ g.authors = ['Anatoly Chernow']
7
7
  end
data/lib/hobby/json.rb CHANGED
@@ -14,7 +14,7 @@ module Hobby
14
14
  end
15
15
 
16
16
  def json
17
- @json ||= JSON.parse request.body.read
17
+ @json ||= ::JSON.parse request.body.read
18
18
  end
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hobby-json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
- - Anatoly Cherno
7
+ - Anatoly Chernow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-11 00:00:00.000000000 Z
11
+ date: 2016-12-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: