world_bank_fetcher 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ module WorldBankFetcher
12
12
  end
13
13
 
14
14
  def self.data_from_official_country?(datum)
15
- non_country_codes.include? datum.raw.country.id
15
+ !non_country_codes.include? datum.raw.country.id
16
16
  end
17
17
 
18
18
  private
@@ -1,3 +1,3 @@
1
1
  module WorldBankFetcher
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -8,7 +8,6 @@ module WorldBankFetcher
8
8
  let(:bad_data_1) { WorldBank::Data.new(attrs_with 'value' => nil) }
9
9
  let(:bad_data_2) { WorldBank::Data.new(attrs_with 'value' => nil) }
10
10
 
11
-
12
11
  it "should filter data with nil values" do
13
12
  CountryParser.stub(:data_from_official_country?).and_return(true)
14
13
  good_data = [good_data_1, good_data_2]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: world_bank_fetcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -85,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
85
  version: '0'
86
86
  segments:
87
87
  - 0
88
- hash: -1917931415109128379
88
+ hash: 3637746334748231197
89
89
  required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  none: false
91
91
  requirements:
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  segments:
96
96
  - 0
97
- hash: -1917931415109128379
97
+ hash: 3637746334748231197
98
98
  requirements: []
99
99
  rubyforge_project:
100
100
  rubygems_version: 1.8.24