eaternet 1.3.1 → 1.3.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: 53d6575d5a5bf520b7f8834ad62e12dcef941e43
4
- data.tar.gz: e3a11da7132b17cb296134e969b99396aca07bf5
3
+ metadata.gz: 4f7cbd525647c5d5a05e296c62edc717325b9d05
4
+ data.tar.gz: b8348175053536580b4af1186748a30f9142af95
5
5
  SHA512:
6
- metadata.gz: 346fad09854b43f47a2c1acb57e1150e4a3328957798cb1edb7cd7495151bc17e446792a03aa60e4691385cdd0d7e91645b145ed3c399987c5e28f2257bf265f
7
- data.tar.gz: ad62a82816769f196b1504e9db6b722c829fd9cd172797c538ee1c8a8ed4f23635980a68c83192083e8a2d7cd04f76ce658549cfef0592dc248755a19b2a36af
6
+ metadata.gz: b03a1498ba9730c7c4ae481201fbed39309edc6db4ea3c229601df416089a6ae62e1809b7bc6e8ada7a6edd6766e6c47100bc5209bbf0c0aeb97a1be94d97b16
7
+ data.tar.gz: e2303e24a2ced64eb59d27fa1a46b6578074cbee2df0cd464a744d90a04946d3469832a6c44d96a20b38c97b41aa4c02f1d4bfa5ef7d0b29a898a615dc543405
data/README.md CHANGED
@@ -6,6 +6,7 @@
6
6
 
7
7
  Publish your local restaurant health scores.
8
8
 
9
+
9
10
  **In a nutshell:** each agency which inspects restaurants can have an
10
11
  "adapter" which is a Ruby class. Its adapter converts its source format into [a
11
12
  simple, standard one](http://www.yelp.com/healthscores). Anybody can then use these adapters to get the data and
data/lib/eaternet/util.rb CHANGED
@@ -44,7 +44,9 @@ module Eaternet
44
44
  # @param [String] dest pathname in which to save the file
45
45
  # @return [File] the file
46
46
  def self.download(source:, dest:)
47
- File.open(dest, 'wb') { |file| file << HTTParty.get(source).body }
47
+ File.open(dest, 'wb') do |file|
48
+ file << HTTParty.get(source, verify: false).body
49
+ end
48
50
  end
49
51
 
50
52
  # Extract a Zip archive.
@@ -1,3 +1,3 @@
1
1
  module Eaternet
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eaternet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robb Shecter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-06 00:00:00.000000000 Z
11
+ date: 2015-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler