datahunter 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b66543e3668dd91cf4aaca9ce8622d8212b0af9
4
- data.tar.gz: 528c9d5c4aa674ca4fd446f858069f30a4e4ecea
3
+ metadata.gz: 854edeab6d541310e9541e2cee8969b506208d34
4
+ data.tar.gz: 78807880622926ae6e6493baac446522ab8e3b24
5
5
  SHA512:
6
- metadata.gz: 8908115b0fb60c2e12ab0eed678b15ecee307952f61656a4e28227382655622e2a7925332758173187207e164a441d3d8a81de05aec1f6dac78fdcf55bf44172
7
- data.tar.gz: 2de807ef73fca9b1947f0da49d86455f779bf7c4d917d0a6e93df321f6bb89f035eb237dd87211237b7d214aee1d3fa74e0709325f9a864859c7ca6d99f22d08
6
+ metadata.gz: 11b8c5a92e1f6535847be9f8cfeb90ef697925cd3b01c05aec00c0c398f418ab08d73657a2dc0d031640dd9f111759fc27c622677bf3c0ff7952d5b729cd755d
7
+ data.tar.gz: 433dfcd0023ae120dbf0e47a8c6d28748af2efeb0de2049b24918b471b3728ff81e87e4462bfafb2387da2ffb0b1e9697faf37adde58de1c34f981541e40b2fa
data/README.md CHANGED
@@ -108,8 +108,8 @@ Don't hesitate to [give us any feedback about you experience with Hunter!](https
108
108
 
109
109
  ## Update
110
110
 
111
- * datasets indexed: 3195
112
- * last datasets indexed: DAMIR (french health data), homicides data, drugs/alcohol/alcoholism data, migration data + around 1300 datasets from data.gov.uk
111
+ * datasets indexed: 6835
112
+ * last datasets indexed: Canada open data, NETL's Energy Data eXchange
113
113
 
114
114
  ## Roadmap
115
115
 
data/bin/hunter CHANGED
@@ -176,7 +176,7 @@ command :get do |c|
176
176
  when 200
177
177
  ds = JSON.parse(response.body)
178
178
  puts
179
- if ds.has_key?("resources")
179
+ if ds.has_key?("resources") and ds["resources"].any?
180
180
  Datahunter.download_the_data ds
181
181
  else
182
182
  Datahunter.open_in_browser ds["uri"]
@@ -225,9 +225,9 @@ $.........:8...............888888888888.
225
225
  puts
226
226
  puts 'We believe there will be more and more data available on the web and the main issue will be to find them and to manage each sources. So we try to do it for you: not by pre-processing them but by orienting you.'.colorize(:red)
227
227
  puts
228
- puts 'Number of datasets currently indexed: 3195'.colorize(:blue)
228
+ puts 'Number of datasets currently indexed: 6335'.colorize(:blue)
229
229
  puts
230
- puts 'Last dataset indexed: "DAMIR: french health data, homicides data, drugs/alcohol/alcoholism data, migration data + around 1300 datasets from data.gov.uk"'
230
+ puts 'Last dataset indexed: "Canada Open Data"'
231
231
  puts
232
232
  puts "### Hunter is still a prototype, please don't hesitate to help us make open datasets workflow better!".colorize(:blue)
233
233
  Datahunter.print_feedback_request
@@ -1,3 +1,3 @@
1
1
  module Datahunter
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datahunter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terpo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-12 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  version: '0'
194
194
  requirements: []
195
195
  rubyforge_project:
196
- rubygems_version: 2.4.5
196
+ rubygems_version: 2.4.6
197
197
  signing_key:
198
198
  specification_version: 4
199
199
  summary: A Command Line Interface to find Open Datasets