researchable-freedcamp-api 0.1.4 → 0.1.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
  SHA256:
3
- metadata.gz: 628dfc362e3b0422af518b3f795d52e1f352ba3a5f598b290eefba123f113fae
4
- data.tar.gz: 567d22064d71fc1de66ddf277cdc11c4a96477c30a7b068e5f6ce0d8d733938b
3
+ metadata.gz: 2d6398adf94a5758f1c681b5caf7d3c248c633b168fc87c1a88482bfdd50c342
4
+ data.tar.gz: 8c4373be602047f6b7b1598d72874ae17a56c868925af170fa27fe3012bb8cba
5
5
  SHA512:
6
- metadata.gz: 310a4dfd7749bd82b39d3c0d1a74e78437163ef7774107a5e85a74b50e0937decf9c8e3c393c370869eed30d65a2fde16518de876f8e0167f78218a04c1553f8
7
- data.tar.gz: '08c08e707a1f4a6635396c5693375b84341724ad0d70279a2804873342da547bac9e688052341cdea84e3cba2556cd151ccd4b9d3c5c452b3bb5a7f743117725'
6
+ metadata.gz: 7bd7e119a09f433a96fbc6088ecd42d6a9d0f6da48697f89ac3aa7f176725d46ffbf318dde386b0ee602d1d6f7378c3884a645cb239fd49b58e544352493a56c
7
+ data.tar.gz: f7c3a264ad3587c419e63232480c2ec74556bf8b8d8d07118761511fbe7eaa0933dbb669520b7d773b5477bbbd80226c79d7dd101401d2650ec2a1b719cf4469
@@ -92,7 +92,7 @@ module Researchable
92
92
  url,
93
93
  body: data,
94
94
  headers: HEADERS).body
95
- File.open(cache_url, 'w') { |f| f.write content }
95
+ @use_cache && File.open(cache_url, 'w') { |f| f.write content }
96
96
  content
97
97
  end
98
98
 
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Researchable
5
5
  module FreedcampApi
6
- VERSION = "0.1.4"
6
+ VERSION = "0.1.5"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: researchable-freedcamp-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Blaauw