iso3166-2 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "iso3166-2"
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ernesto Tagwerker"]
12
- s.date = "2013-05-07"
12
+ s.date = "2013-05-08"
13
13
  s.description = "ISO3166_2 for the Rubyist"
14
14
  s.email = "ernesto@ombushop.com"
15
15
  s.extra_rdoc_files = [
@@ -25,9 +25,9 @@ Gem::Specification.new do |s|
25
25
  "Rakefile",
26
26
  "VERSION",
27
27
  "iso3166-2.gemspec",
28
- "lib/data/iso3166-2.csv",
29
- "lib/data/iso3166-2.json",
30
28
  "lib/iso3166-2.rb",
29
+ "lib/iso3166_2/data/iso3166-2.csv",
30
+ "lib/iso3166_2/data/iso3166-2.json",
31
31
  "lib/iso3166_2/loader/json.rb",
32
32
  "test/helper.rb",
33
33
  "test/test_iso3166-2.rb"
@@ -5,7 +5,7 @@ module Loader
5
5
  # Loads the ISO3166-2 standard from a CSV
6
6
  # file.
7
7
  def JSON.load_iso_3166_2
8
- json = File.new('lib/data/iso3166-2.json', 'r')
8
+ json = File.new(File.expand_path('../../data/iso3166-2.json', __FILE__), 'r')
9
9
  parser = Yajl::Parser.new
10
10
  parser.parse(json)
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iso3166-2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-07 00:00:00.000000000 Z
12
+ date: 2013-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: yajl-ruby
@@ -123,9 +123,9 @@ files:
123
123
  - Rakefile
124
124
  - VERSION
125
125
  - iso3166-2.gemspec
126
- - lib/data/iso3166-2.csv
127
- - lib/data/iso3166-2.json
128
126
  - lib/iso3166-2.rb
127
+ - lib/iso3166_2/data/iso3166-2.csv
128
+ - lib/iso3166_2/data/iso3166-2.json
129
129
  - lib/iso3166_2/loader/json.rb
130
130
  - test/helper.rb
131
131
  - test/test_iso3166-2.rb
@@ -144,7 +144,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  segments:
146
146
  - 0
147
- hash: -4469830192832882634
147
+ hash: -4449651098304364384
148
148
  required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements: