genderize_io_rb 0.0.10 → 0.0.11

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: 5176d92ef1a771a1a04d95a30ad0b888b960980b
4
- data.tar.gz: 106c8b15bc17aab5a8637c83d90cb4b92fe34e4a
3
+ metadata.gz: e5d2b41ef997eeea98c20982972c9f51c441cd8e
4
+ data.tar.gz: 6acf33320c6c536636b91a56f9d5d198cb299c17
5
5
  SHA512:
6
- metadata.gz: fdcf553e0c5f9d5f80e9ac3b3e7424ee4cceecfa44a8aa53dbf7368d3c0f352e2af315539e8e72c4e81106748081fb81ed8d266006b4e7cb024e9c070e235048
7
- data.tar.gz: e7c86385281e560e64280b456b6783a9cbd816d75ee5b709433eb371dde49fc9a540669fa3362beff7affc3fa47c41f92831c3fae4248378d83804a3b7468e59
6
+ metadata.gz: 804dc73ad50661d61e127cf6c1e4c904358fdd0e32aeef0263d8bfdd531845939e97d2ba078ad1034e54ec333067461a5c5bdc61bf888cf78f820b93fdad56fb
7
+ data.tar.gz: 6fa88b96edae3158b64608b64ec3d202514948542ff1c5941816babffc1107a80bfa0d227d7c5773be65e851d00f01d7d42aef9ce1bad333567be25857db0382
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.10
1
+ 0.0.11
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: genderize_io_rb 0.0.10 ruby lib
5
+ # stub: genderize_io_rb 0.0.11 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "genderize_io_rb"
9
- s.version = "0.0.10"
9
+ s.version = "0.0.11"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
@@ -199,8 +199,9 @@ private
199
199
  })
200
200
  end
201
201
 
202
- if @cache_as && !cache_as_res
203
- @cache_as.write(cache_key_for_name(name_lc), http_res.body)
202
+ if @cache_as
203
+ cache_as_res = @cache_as.read(cache_key_for_name(name_lc))
204
+ @cache_as.write(cache_key_for_name(name_lc), JSON.generate(json_result))
204
205
  end
205
206
  end
206
207
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genderize_io_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Johansen