eu_countries 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/eu_countries/eu_country.rb +1 -1
- data/lib/eu_countries/version.rb +1 -1
- metadata +68 -70
@@ -3,7 +3,7 @@ module ISO3166
|
|
3
3
|
|
4
4
|
# Returns an array of the alpha2 codes for all EU countries
|
5
5
|
def self.codes
|
6
|
-
%w(AT BE BG CY CZ DK EE FI FR DE GB GR HU IE IT LV LT LU MT NL PL PT RO SK SI ES SE)
|
6
|
+
%w(AT BE BG HR CY CZ DK EE FI FR DE GB GR HU IE IT LV LT LU MT NL PL PT RO SK SI ES SE)
|
7
7
|
end
|
8
8
|
|
9
9
|
# Returns an array of EUCountry instances. By default them all, but you can filter using :except param.
|
data/lib/eu_countries/version.rb
CHANGED
metadata
CHANGED
@@ -1,68 +1,71 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: eu_countries
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
version: 0.0.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.2
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Caius Durling
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
date: 2013-07-01 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
none: false
|
21
21
|
name: countries
|
22
|
-
prerelease: false
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 0
|
29
|
-
version: "0"
|
30
22
|
type: :runtime
|
31
|
-
version_requirements: *id001
|
32
|
-
- !ruby/object:Gem::Dependency
|
33
|
-
name: rake
|
34
23
|
prerelease: false
|
35
|
-
requirement:
|
36
|
-
requirements:
|
37
|
-
- -
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
|
40
|
-
|
41
|
-
|
24
|
+
requirement: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ! '>='
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '0'
|
29
|
+
none: false
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
version_requirements: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ! '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
none: false
|
37
|
+
name: rake
|
42
38
|
type: :development
|
43
|
-
version_requirements: *id002
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: rspec
|
46
39
|
prerelease: false
|
47
|
-
requirement:
|
48
|
-
requirements:
|
49
|
-
- -
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
|
52
|
-
|
53
|
-
|
40
|
+
requirement: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
none: false
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
version_requirements: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ! '>='
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '0'
|
52
|
+
none: false
|
53
|
+
name: rspec
|
54
54
|
type: :development
|
55
|
-
|
55
|
+
prerelease: false
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ! '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
none: false
|
56
62
|
description: List all countries in the EU
|
57
|
-
email:
|
63
|
+
email:
|
58
64
|
- caius@brightbox.co.uk
|
59
65
|
executables: []
|
60
|
-
|
61
66
|
extensions: []
|
62
|
-
|
63
67
|
extra_rdoc_files: []
|
64
|
-
|
65
|
-
files:
|
68
|
+
files:
|
66
69
|
- .gitignore
|
67
70
|
- .rspec
|
68
71
|
- Gemfile
|
@@ -74,36 +77,31 @@ files:
|
|
74
77
|
- lib/eu_countries/version.rb
|
75
78
|
- spec/lib/eu_countries_spec.rb
|
76
79
|
- spec/spec_helper.rb
|
77
|
-
|
78
|
-
homepage: ""
|
80
|
+
homepage: ''
|
79
81
|
licenses: []
|
80
|
-
|
81
82
|
post_install_message:
|
82
83
|
rdoc_options: []
|
83
|
-
|
84
|
-
require_paths:
|
84
|
+
require_paths:
|
85
85
|
- lib
|
86
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- -
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
- 0
|
99
|
-
version: "0"
|
86
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ! '>='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
none: false
|
92
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
none: false
|
100
98
|
requirements: []
|
101
|
-
|
102
99
|
rubyforge_project:
|
103
|
-
rubygems_version: 1.
|
100
|
+
rubygems_version: 1.8.23
|
104
101
|
signing_key:
|
105
102
|
specification_version: 3
|
106
103
|
summary: List all countries in the EU
|
107
|
-
test_files:
|
104
|
+
test_files:
|
108
105
|
- spec/lib/eu_countries_spec.rb
|
109
106
|
- spec/spec_helper.rb
|
107
|
+
has_rdoc:
|