hobby-test 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hobby/test.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29df4b3baa9ab923470c3b0037484388ede86cd0
4
- data.tar.gz: 561ceb2489957310e329a4bf001690d071b709e5
3
+ metadata.gz: 345b2ca21a09e7b7bfddc7a9f471ec35d70d7757
4
+ data.tar.gz: fb0cc3b3f3ba980270d7bb1e6fca2844c316e757
5
5
  SHA512:
6
- metadata.gz: 4b0f32b2ce5cb602dd25729282364035515fbf9cbe7ef3db66a7aad7e24203e09f5d489e81846c30d38043ac071b9ff2ffe2ca6272a7a3b292f0ac3178b7e5a6
7
- data.tar.gz: f410b9a126e19e0413c2cbfd2eb9a7e3d9ae7ee5256a811a7d8b873dbd6410fdd4ec0ba4e8d56053377f104c6c92c34a580da43b28b3297fac3a827595126598
6
+ metadata.gz: 5866f177d8e6f4d743ecd9fda1b23617e82a5b6c084bda21afea1d00e6a13c30fb8b7664ffb7b26a741d3cec9e71864930f975b10511fbc622b005fa95e56ab1
7
+ data.tar.gz: 3b2d1d8c4d53e61e31f55a488d218e4d3c369da3988e276d21d25ec2b3875ab2fa19d29e13b8e6a4abb760900f7c21c2c426c2829902eea291296832718cb6be
data/lib/hobby/test.rb CHANGED
@@ -203,7 +203,7 @@ module Hobby
203
203
 
204
204
  if local_format = params.delete('format')
205
205
  @format = case local_format
206
- when 'json' then JSON
206
+ when 'json' then ::JSON
207
207
  when 'text' then nil
208
208
  else
209
209
  raise "Wrong format #{local_format}."
@@ -269,7 +269,7 @@ module Hobby
269
269
 
270
270
  def format= string
271
271
  case string
272
- when 'json' then JSON
272
+ when 'json' then ::JSON
273
273
  when 'text' then nil
274
274
  else
275
275
  raise "Wrong format #{string}."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hobby-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoly Chernow