geolombia 0.0.1 → 0.0.2

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.
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .tddium*
data/.travis.yml ADDED
@@ -0,0 +1,19 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.2
5
+ - 1.9.3
6
+ - jruby-18mode # JRuby in 1.8 mode
7
+ - jruby-19mode # JRuby in 1.9 mode
8
+ - rbx-18mode
9
+ - rbx-19mode
10
+
11
+ matrix:
12
+ allow_failures:
13
+ - rvm: 1.8.7
14
+ - rvm: 1.9.2
15
+ - rvm: jruby-18mode
16
+ - rvm: jruby-19mode
17
+
18
+ # uncomment this line if your project needs to run something other than `rake`:
19
+ script: rake spec
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Geolombia
2
2
 
3
+ [![Build Status](https://secure.travis-ci.org/andmej/geolombia.png?branch=master)](http://travis-ci.org/andmej/geolombia)
4
+
3
5
  Geolombia is a gem that has a list of all cities and states in Colombia.
4
6
 
5
7
  ## Installation
@@ -48,6 +50,10 @@ This README is all the documentation I've written so far.
48
50
 
49
51
  Geolombia::City.first.state
50
52
 
53
+ ## Compatibility
54
+
55
+ This gem is currently only compatible with Ruby 1.9.3.
56
+
51
57
  ## Contributing
52
58
 
53
59
  1. Fork it
@@ -55,3 +61,7 @@ This README is all the documentation I've written so far.
55
61
  3. Commit your changes (`git commit -am 'Added some feature'`)
56
62
  4. Push to the branch (`git push origin my-new-feature`)
57
63
  5. Create new Pull Request
64
+
65
+ ## Credits
66
+
67
+ Thanks to Jorge Iván Meza for his (CSV data files)[http://blog.jorgeivanmeza.com/2008/09/departamentos-y-municipios-de-colombia-actualizacion-20080915/].
data/geolombia.gemspec CHANGED
@@ -9,6 +9,7 @@ Gem::Specification.new do |gem|
9
9
  gem.homepage = "https://github.com/andmej/geolombia"
10
10
 
11
11
  gem.add_development_dependency "rspec"
12
+ gem.add_development_dependency "rake"
12
13
 
13
14
  gem.files = `git ls-files`.split($\)
14
15
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -168,7 +168,7 @@
168
168
  73148,Carmen de Apicalá,73,Tolima,4.15,-74.7333333
169
169
  25154,Carmen de Carupa,25,Cundinamarca,5.3502778,-73.9052778
170
170
  05148,Carmen de Viboral,05,Antioquia,6.085,-75.3386111
171
- 27150,Carmen del Darién (CURBARADÓ),27,Chocó,7.158,-76.971
171
+ 27150,Carmen del Darién (Curbaradó),27,Chocó,7.158,-76.971
172
172
  05150,Carolina,05,Antioquia,6.8,-75.25
173
173
  13001,Cartagena,13,Bolívar,10.3997222,-75.5144444
174
174
  18150,Cartagena del Chairá,18,Caquetá,1.35,-74.84
@@ -550,7 +550,7 @@
550
550
  25438,Medina,25,Cundinamarca,4.5,-73.3333333
551
551
  27425,Medio Atrato,27,Chocó,,
552
552
  27430,Medio Baudó,27,Chocó,,
553
- 27450,Medio San Juan (ANDAGOYA),27,Chocó,5.1,-76.683
553
+ 27450,Medio San Juan (Andagoya),27,Chocó,5.1,-76.683
554
554
  73449,Melgar,73,Tolima,4.25,-74.5833333
555
555
  19450,Mercaderes,19,Cauca,1.75,-77.1666667
556
556
  50330,Mesetas,50,Meta,3.3780556,-74.0447222
@@ -770,7 +770,7 @@
770
770
  05628,Sabanalarga,05,Antioquia,6.9166667,-75.8
771
771
  08638,Sabanalarga,08,Atlántico,10.6333333,-74.8333333
772
772
  85300,Sabanalarga,85,Casanare,4.8536111,-73.0430556
773
- 47660,Sabanas de San Angel (SAN ANGEL),47,Magdalena,10.033,-74.217
773
+ 47660,Sabanas de San Angel (San Angel),47,Magdalena,10.033,-74.217
774
774
  05631,Sabaneta,05,Antioquia,6.15,-75.6
775
775
  15632,Saboyá,15,Boyacá,5.75,-73.7
776
776
  23660,Sahagún,23,Córdoba,8.8333333,-75.4166667
@@ -1029,7 +1029,7 @@
1029
1029
  76845,Ulloa,76,Valle del Cauca,4.7166667,-75.75
1030
1030
  25845,Une,25,Cundinamarca,4.3333333,-74.0833333
1031
1031
  27800,Unguía,27,Chocó,8.0430556,-77.0961111
1032
- 27810,Unión Panamericana (ÁNIMAS),27,Chocó,5.283,-76.617
1032
+ 27810,Unión Panamericana (Ánimas),27,Chocó,5.283,-76.617
1033
1033
  05842,Uramita,05,Antioquia,6.8994444,-76.1741667
1034
1034
  50370,Uribe,50,Meta,3.254,-74.358
1035
1035
  44847,Uribia,44,La Guajira,11.9166667,-72
@@ -1089,13 +1089,13 @@
1089
1089
  76892,Yumbo,76,Valle del Cauca,3.585,-76.4958333
1090
1090
  13894,Zambrano,13,Bolívar,9.75,-74.8333333
1091
1091
  68895,Zapatoca,68,Santander,6.8333333,-73.25
1092
- 47960,Zapayán (PUNTA DE PIEDRAS),47,Magdalena,10.171,-74.719
1092
+ 47960,Zapayán (Punta de Piedras),47,Magdalena,10.171,-74.719
1093
1093
  05895,Zaragoza,05,Antioquia,7.75,-74.75
1094
1094
  76895,Zarzal,76,Valle del Cauca,4.3983333,-76.0772222
1095
1095
  15897,Zetaquirá,15,Boyacá,5.35,-73.1666667
1096
1096
  25888,Zipacón,25,Cundinamarca,4.8333333,-74.4166667
1097
1097
  25899,Zipaquirá,25,Cundinamarca,5.0283333,-74.0058333
1098
- 47980,Zona Bananera (PRADO - SEVILLA),47,Magdalena,,
1098
+ 47980,Zona Bananera (Prado - Sevilla),47,Magdalena,,
1099
1099
  54003,Ábrego,54,Norte de Santander,8,-73.2
1100
1100
  41357,Íquira,41,Huila,2.75,-75.75
1101
1101
  15842,Úmbita,15,Boyacá,5.2333333,-73.45
@@ -1,3 +1,3 @@
1
1
  module Geolombia
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geolombia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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: 2012-07-06 00:00:00.000000000 Z
12
+ date: 2012-07-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -27,6 +27,22 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
30
46
  description: This gem gives you a list of all cities and states in Colombia and a
31
47
  few methods to work with them.
32
48
  email:
@@ -36,6 +52,7 @@ extensions: []
36
52
  extra_rdoc_files: []
37
53
  files:
38
54
  - .gitignore
55
+ - .travis.yml
39
56
  - Gemfile
40
57
  - LICENSE
41
58
  - README.md
@@ -63,12 +80,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
80
  - - ! '>='
64
81
  - !ruby/object:Gem::Version
65
82
  version: '0'
83
+ segments:
84
+ - 0
85
+ hash: 2806817533065768823
66
86
  required_rubygems_version: !ruby/object:Gem::Requirement
67
87
  none: false
68
88
  requirements:
69
89
  - - ! '>='
70
90
  - !ruby/object:Gem::Version
71
91
  version: '0'
92
+ segments:
93
+ - 0
94
+ hash: 2806817533065768823
72
95
  requirements: []
73
96
  rubyforge_project:
74
97
  rubygems_version: 1.8.24