all_countries 0.1.0
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 +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +4 -0
- data/Gemfile +4 -0
- data/README.md +41 -0
- data/Rakefile +6 -0
- data/all_countries.gemspec +32 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/all_countries.rb +254 -0
- data/lib/all_countries/version.rb +3 -0
- metadata +96 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 324c3540d0e1a6736c7a563b089051ea67a372b6
|
4
|
+
data.tar.gz: d9ac462676fe42e63aaa0a24a4b30a1c49dd2981
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1b7d94ed5d35845b5c09806978779a209263924669750e985be0eed85e43fd6e70764575e1d87cb0a615fdb3116238232cc3df0f5c391d0d4adaa5a0dfae2b69
|
7
|
+
data.tar.gz: 8ee2252e57f8ed63c38a3e49640e76264c2831b8d13bbfee593186bf7c19684effe82285f28d4022ec8fb0717aced648faccbc9bb518cea083d70778f5c2a651
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# AllCountries
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/all_countries`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'all_countries'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install all_countries
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
require "all_countries"
|
25
|
+
|
26
|
+
List all Countrines
|
27
|
+
|
28
|
+
AllCountries.all
|
29
|
+
|
30
|
+
TODO: Write usage instructions here
|
31
|
+
|
32
|
+
## Development
|
33
|
+
|
34
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
35
|
+
|
36
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
37
|
+
|
38
|
+
## Contributing
|
39
|
+
|
40
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/all_countries.
|
41
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'all_countries/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "all_countries"
|
8
|
+
spec.version = AllCountries::VERSION
|
9
|
+
spec.authors = ["Arvind Kushwah"]
|
10
|
+
spec.email = ["arvindkushwah9@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{ Write a short summary, because Rubygems requires one.}
|
13
|
+
spec.description = %q{ Write a longer description or delete this line.}
|
14
|
+
spec.homepage = "https://github.com/arvindkushwah9/all_countries.git"
|
15
|
+
|
16
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
17
|
+
# delete this section to allow pushing this gem to any host.
|
18
|
+
# if spec.respond_to?(:metadata)
|
19
|
+
# spec.metadata['allowed_push_host'] = "https://rubygems.org/"
|
20
|
+
# else
|
21
|
+
# raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
22
|
+
# end
|
23
|
+
|
24
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
25
|
+
spec.bindir = "exe"
|
26
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
|
+
spec.require_paths = ["lib"]
|
28
|
+
|
29
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
30
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
31
|
+
spec.add_development_dependency "rspec"
|
32
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "all_countries"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,254 @@
|
|
1
|
+
require "all_countries/version"
|
2
|
+
|
3
|
+
module AllCountries
|
4
|
+
# Your code goes here...
|
5
|
+
def self.all
|
6
|
+
[
|
7
|
+
{:name => 'Åland Islands', :iso_code => 'AX'},
|
8
|
+
{:name => 'Albania', :iso_code => 'AL'},
|
9
|
+
{:name => 'Algeria', :iso_code => 'DZ'},
|
10
|
+
{:name => 'American Samoa', :iso_code => 'AS'},
|
11
|
+
{:name => 'Andorra', :iso_code => 'AD'},
|
12
|
+
{:name => 'Angola', :iso_code => 'AO'},
|
13
|
+
{:name => 'Anguilla', :iso_code => 'AI'},
|
14
|
+
{:name => 'Antarctica', :iso_code => 'AQ'},
|
15
|
+
{:name => 'Antigua and Barbuda', :iso_code => 'AG'},
|
16
|
+
{:name => 'Argentina', :iso_code => 'AR'},
|
17
|
+
{:name => 'Armenia', :iso_code => 'AM'},
|
18
|
+
{:name => 'Aruba', :iso_code => 'AW'},
|
19
|
+
{:name => 'Australia', :iso_code => 'AU'},
|
20
|
+
{:name => 'Austria', :iso_code => 'AT'},
|
21
|
+
{:name => 'Azerbaijan', :iso_code => 'AZ'},
|
22
|
+
{:name => 'Bahamas', :iso_code => 'BS'},
|
23
|
+
{:name => 'Bahrain', :iso_code => 'BH'},
|
24
|
+
{:name => 'Bangladesh', :iso_code => 'BD'},
|
25
|
+
{:name => 'Barbados', :iso_code => 'BB'},
|
26
|
+
{:name => 'Belarus', :iso_code => 'BY'},
|
27
|
+
{:name => 'Belgium', :iso_code => 'BE'},
|
28
|
+
{:name => 'Belize', :iso_code => 'BZ'},
|
29
|
+
{:name => 'Benin', :iso_code => 'BJ'},
|
30
|
+
{:name => 'Bermuda', :iso_code => 'BM'},
|
31
|
+
{:name => 'Bhutan', :iso_code => 'BT'},
|
32
|
+
{:name => 'Bolivia', :iso_code => 'BO'},
|
33
|
+
{:name => 'Bosnia and Herzegovina', :iso_code => 'BA'},
|
34
|
+
{:name => 'Botswana', :iso_code => 'BW'},
|
35
|
+
{:name => 'Bouvet Island', :iso_code => 'BV'},
|
36
|
+
{:name => 'Brazil', :iso_code => 'BR'},
|
37
|
+
{:name => 'British Indian Ocean Territory', :iso_code => 'IO'},
|
38
|
+
{:name => 'Brunei Darussalam', :iso_code => 'BN'},
|
39
|
+
{:name => 'Bulgaria', :iso_code => 'BG'},
|
40
|
+
{:name => 'Burkina Faso', :iso_code => 'BF'},
|
41
|
+
{:name => 'Burundi', :iso_code => 'BI'},
|
42
|
+
{:name => 'Cambodia', :iso_code => 'KH'},
|
43
|
+
{:name => 'Cameroon', :iso_code => 'CM'},
|
44
|
+
{:name => 'Canada', :iso_code => 'CA'},
|
45
|
+
{:name => 'Cape Verde', :iso_code => 'CV'},
|
46
|
+
{:name => 'Cayman Islands', :iso_code => 'KY'},
|
47
|
+
{:name => 'Central African Republic', :iso_code => 'CF'},
|
48
|
+
{:name => 'Chad', :iso_code => 'TD'},
|
49
|
+
{:name => 'Chile', :iso_code => 'CL'},
|
50
|
+
{:name => 'China', :iso_code => 'CN'},
|
51
|
+
{:name => 'Christmas Island', :iso_code => 'CX'},
|
52
|
+
{:name => 'Cocos (Keeling) Islands', :iso_code => 'CC'},
|
53
|
+
{:name => 'Colombia', :iso_code => 'CO'},
|
54
|
+
{:name => 'Comoros', :iso_code => 'KM'},
|
55
|
+
{:name => 'Congo', :iso_code => 'CG'},
|
56
|
+
{:name => 'Congo, The Democratic Republic of The', :iso_code => 'CD'},
|
57
|
+
{:name => 'Cook Islands', :iso_code => 'CK'},
|
58
|
+
{:name => 'Costa Rica', :iso_code => 'CR'},
|
59
|
+
{:name => 'Côte D\'Ivoire', :iso_code => 'CI'},
|
60
|
+
{:name => 'Croatia', :iso_code => 'HR'},
|
61
|
+
{:name => 'Cuba', :iso_code => 'CU'},
|
62
|
+
{:name => 'Cyprus', :iso_code => 'CY'},
|
63
|
+
{:name => 'Czech Republic', :iso_code => 'CZ'},
|
64
|
+
{:name => 'Denmark', :iso_code => 'DK'},
|
65
|
+
{:name => 'Djibouti', :iso_code => 'DJ'},
|
66
|
+
{:name => 'Dominica', :iso_code => 'DM'},
|
67
|
+
{:name => 'Dominican Republic', :iso_code => 'DO'},
|
68
|
+
{:name => 'Ecuador', :iso_code => 'EC'},
|
69
|
+
{:name => 'Egypt', :iso_code => 'EG'},
|
70
|
+
{:name => 'El Salvador', :iso_code => 'SV'},
|
71
|
+
{:name => 'Equatorial Guinea', :iso_code => 'GQ'},
|
72
|
+
{:name => 'Eritrea', :iso_code => 'ER'},
|
73
|
+
{:name => 'Estonia', :iso_code => 'EE'},
|
74
|
+
{:name => 'Ethiopia', :iso_code => 'ET'},
|
75
|
+
{:name => 'Falkland Islands (Malvinas)', :iso_code => 'FK'},
|
76
|
+
{:name => 'Faroe Islands', :iso_code => 'FO'},
|
77
|
+
{:name => 'Fiji', :iso_code => 'FJ'},
|
78
|
+
{:name => 'Finland', :iso_code => 'FI'},
|
79
|
+
{:name => 'France', :iso_code => 'FR'},
|
80
|
+
{:name => 'French Guiana', :iso_code => 'GF'},
|
81
|
+
{:name => 'French Polynesia', :iso_code => 'PF'},
|
82
|
+
{:name => 'French Southern Territories', :iso_code => 'TF'},
|
83
|
+
{:name => 'Gabon', :iso_code => 'GA'},
|
84
|
+
{:name => 'Gambia', :iso_code => 'GM'},
|
85
|
+
{:name => 'Georgia', :iso_code => 'GE'},
|
86
|
+
{:name => 'Germany', :iso_code => 'DE'},
|
87
|
+
{:name => 'Ghana', :iso_code => 'GH'},
|
88
|
+
{:name => 'Gibraltar', :iso_code => 'GI'},
|
89
|
+
{:name => 'Greece', :iso_code => 'GR'},
|
90
|
+
{:name => 'Greenland', :iso_code => 'GL'},
|
91
|
+
{:name => 'Grenada', :iso_code => 'GD'},
|
92
|
+
{:name => 'Guadeloupe', :iso_code => 'GP'},
|
93
|
+
{:name => 'Guam', :iso_code => 'GU'},
|
94
|
+
{:name => 'Guatemala', :iso_code => 'GT'},
|
95
|
+
{:name => 'Guernsey', :iso_code => 'GG'},
|
96
|
+
{:name => 'Guinea', :iso_code => 'GN'},
|
97
|
+
{:name => 'Guinea-Bissau', :iso_code => 'GW'},
|
98
|
+
{:name => 'Guyana', :iso_code => 'GY'},
|
99
|
+
{:name => 'Haiti', :iso_code => 'HT'},
|
100
|
+
{:name => 'Heard Island and Mcdonald Islands', :iso_code => 'HM'},
|
101
|
+
{:name => 'Holy See (Vatican City State)', :iso_code => 'VA'},
|
102
|
+
{:name => 'Honduras', :iso_code => 'HN'},
|
103
|
+
{:name => 'Hong Kong', :iso_code => 'HK'},
|
104
|
+
{:name => 'Hungary', :iso_code => 'HU'},
|
105
|
+
{:name => 'Iceland', :iso_code => 'IS'},
|
106
|
+
{:name => 'India', :iso_code => 'IN'},
|
107
|
+
{:name => 'Indonesia', :iso_code => 'ID'},
|
108
|
+
{:name => 'Iran, Islamic Republic of', :iso_code => 'IR'},
|
109
|
+
{:name => 'Iraq', :iso_code => 'IQ'},
|
110
|
+
{:name => 'Ireland', :iso_code => 'IE'},
|
111
|
+
{:name => 'Isle of Man', :iso_code => 'IM'},
|
112
|
+
{:name => 'Israel', :iso_code => 'IL'},
|
113
|
+
{:name => 'Italy', :iso_code => 'IT'},
|
114
|
+
{:name => 'Jamaica', :iso_code => 'JM'},
|
115
|
+
{:name => 'Japan', :iso_code => 'JP'},
|
116
|
+
{:name => 'Jersey', :iso_code => 'JE'},
|
117
|
+
{:name => 'Jordan', :iso_code => 'JO'},
|
118
|
+
{:name => 'Kazakhstan', :iso_code => 'KZ'},
|
119
|
+
{:name => 'Kenya', :iso_code => 'KE'},
|
120
|
+
{:name => 'Kiribati', :iso_code => 'KI'},
|
121
|
+
{:name => 'Korea, Democratic People\'s Republic of', :iso_code => 'KP'},
|
122
|
+
{:name => 'Korea, Republic of', :iso_code => 'KR'},
|
123
|
+
{:name => 'Kuwait', :iso_code => 'KW'},
|
124
|
+
{:name => 'Kyrgyzstan', :iso_code => 'KG'},
|
125
|
+
{:name => 'Lao People\'s Democratic Republic', :iso_code => 'LA'},
|
126
|
+
{:name => 'Latvia', :iso_code => 'LV'},
|
127
|
+
{:name => 'Lebanon', :iso_code => 'LB'},
|
128
|
+
{:name => 'Lesotho', :iso_code => 'LS'},
|
129
|
+
{:name => 'Liberia', :iso_code => 'LR'},
|
130
|
+
{:name => 'Libyan Arab Jamahiriya', :iso_code => 'LY'},
|
131
|
+
{:name => 'Liechtenstein', :iso_code => 'LI'},
|
132
|
+
{:name => 'Lithuania', :iso_code => 'LT'},
|
133
|
+
{:name => 'Luxembourg', :iso_code => 'LU'},
|
134
|
+
{:name => 'Macao', :iso_code => 'MO'},
|
135
|
+
{:name => 'Macedonia, The Former Yugoslav Republic of', :iso_code => 'MK'},
|
136
|
+
{:name => 'Madagascar', :iso_code => 'MG'},
|
137
|
+
{:name => 'Malawi', :iso_code => 'MW'},
|
138
|
+
{:name => 'Malaysia', :iso_code => 'MY'},
|
139
|
+
{:name => 'Maldives', :iso_code => 'MV'},
|
140
|
+
{:name => 'Mali', :iso_code => 'ML'},
|
141
|
+
{:name => 'Malta', :iso_code => 'MT'},
|
142
|
+
{:name => 'Marshall Islands', :iso_code => 'MH'},
|
143
|
+
{:name => 'Martinique', :iso_code => 'MQ'},
|
144
|
+
{:name => 'Mauritania', :iso_code => 'MR'},
|
145
|
+
{:name => 'Mauritius', :iso_code => 'MU'},
|
146
|
+
{:name => 'Mayotte', :iso_code => 'YT'},
|
147
|
+
{:name => 'Mexico', :iso_code => 'MX'},
|
148
|
+
{:name => 'Micronesia, Federated States of', :iso_code => 'FM'},
|
149
|
+
{:name => 'Moldova, Republic of', :iso_code => 'MD'},
|
150
|
+
{:name => 'Monaco', :iso_code => 'MC'},
|
151
|
+
{:name => 'Mongolia', :iso_code => 'MN'},
|
152
|
+
{:name => 'Montenegro', :iso_code => 'ME'},
|
153
|
+
{:name => 'Montserrat', :iso_code => 'MS'},
|
154
|
+
{:name => 'Morocco', :iso_code => 'MA'},
|
155
|
+
{:name => 'Mozambique', :iso_code => 'MZ'},
|
156
|
+
{:name => 'Myanmar', :iso_code => 'MM'},
|
157
|
+
{:name => 'Namibia', :iso_code => 'NA'},
|
158
|
+
{:name => 'Nauru', :iso_code => 'NR'},
|
159
|
+
{:name => 'Nepal', :iso_code => 'NP'},
|
160
|
+
{:name => 'Netherlands', :iso_code => 'NL'},
|
161
|
+
{:name => 'Netherlands Antilles', :iso_code => 'AN'},
|
162
|
+
{:name => 'New Caledonia', :iso_code => 'NC'},
|
163
|
+
{:name => 'New Zealand', :iso_code => 'NZ'},
|
164
|
+
{:name => 'Nicaragua', :iso_code => 'NI'},
|
165
|
+
{:name => 'Niger', :iso_code => 'NE'},
|
166
|
+
{:name => 'Nigeria', :iso_code => 'NG'},
|
167
|
+
{:name => 'Niue', :iso_code => 'NU'},
|
168
|
+
{:name => 'Norfolk Island', :iso_code => 'NF'},
|
169
|
+
{:name => 'Northern Mariana Islands', :iso_code => 'MP'},
|
170
|
+
{:name => 'Norway', :iso_code => 'NO'},
|
171
|
+
{:name => 'Oman', :iso_code => 'OM'},
|
172
|
+
{:name => 'Pakistan', :iso_code => 'PK'},
|
173
|
+
{:name => 'Palau', :iso_code => 'PW'},
|
174
|
+
{:name => 'Palestinian Territory, Occupied', :iso_code => 'PS'},
|
175
|
+
{:name => 'Panama', :iso_code => 'PA'},
|
176
|
+
{:name => 'Papua New Guinea', :iso_code => 'PG'},
|
177
|
+
{:name => 'Paraguay', :iso_code => 'PY'},
|
178
|
+
{:name => 'Peru', :iso_code => 'PE'},
|
179
|
+
{:name => 'Philippines', :iso_code => 'PH'},
|
180
|
+
{:name => 'Pitcairn', :iso_code => 'PN'},
|
181
|
+
{:name => 'Poland', :iso_code => 'PL'},
|
182
|
+
{:name => 'Portugal', :iso_code => 'PT'},
|
183
|
+
{:name => 'Puerto Rico', :iso_code => 'PR'},
|
184
|
+
{:name => 'Qatar', :iso_code => 'QA'},
|
185
|
+
{:name => 'Réunion', :iso_code => 'RE'},
|
186
|
+
{:name => 'Romania', :iso_code => 'RO'},
|
187
|
+
{:name => 'Russian Federation', :iso_code => 'RU'},
|
188
|
+
{:name => 'Rwanda', :iso_code => 'RW'},
|
189
|
+
{:name => 'Saint Barthélemy', :iso_code => 'BL'},
|
190
|
+
{:name => 'Saint Helena, Ascension and Tristan Da Cunha', :iso_code => 'SH'},
|
191
|
+
{:name => 'Saint Kitts and Nevis', :iso_code => 'KN'},
|
192
|
+
{:name => 'Saint Lucia', :iso_code => 'LC'},
|
193
|
+
{:name => 'Saint Martin', :iso_code => 'MF'},
|
194
|
+
{:name => 'Saint Pierre and Miquelon', :iso_code => 'PM'},
|
195
|
+
{:name => 'Saint Vincent and The Grenadines', :iso_code => 'VC'},
|
196
|
+
{:name => 'Samoa', :iso_code => 'WS'},
|
197
|
+
{:name => 'San Marino', :iso_code => 'SM'},
|
198
|
+
{:name => 'Sao Tome and Principe', :iso_code => 'ST'},
|
199
|
+
{:name => 'Saudi Arabia', :iso_code => 'SA'},
|
200
|
+
{:name => 'Senegal', :iso_code => 'SN'},
|
201
|
+
{:name => 'Serbia', :iso_code => 'RS'},
|
202
|
+
{:name => 'Seychelles', :iso_code => 'SC'},
|
203
|
+
{:name => 'Sierra Leone', :iso_code => 'SL'},
|
204
|
+
{:name => 'Singapore', :iso_code => 'SG'},
|
205
|
+
{:name => 'Slovakia', :iso_code => 'SK'},
|
206
|
+
{:name => 'Slovenia', :iso_code => 'SI'},
|
207
|
+
{:name => 'Solomon Islands', :iso_code => 'SB'},
|
208
|
+
{:name => 'Somalia', :iso_code => 'SO'},
|
209
|
+
{:name => 'South Africa', :iso_code => 'ZA'},
|
210
|
+
{:name => 'South Georgia and The South Sandwich Islands', :iso_code => 'GS'},
|
211
|
+
{:name => 'Spain', :iso_code => 'ES'},
|
212
|
+
{:name => 'Sri Lanka', :iso_code => 'LK'},
|
213
|
+
{:name => 'Sudan', :iso_code => 'SD'},
|
214
|
+
{:name => 'Suriname', :iso_code => 'SR'},
|
215
|
+
{:name => 'Svalbard and Jan Mayen', :iso_code => 'SJ'},
|
216
|
+
{:name => 'Swaziland', :iso_code => 'SZ'},
|
217
|
+
{:name => 'Sweden', :iso_code => 'SE'},
|
218
|
+
{:name => 'Switzerland', :iso_code => 'CH'},
|
219
|
+
{:name => 'Syrian Arab Republic', :iso_code => 'SY'},
|
220
|
+
{:name => 'Taiwan, Province of China', :iso_code => 'TW'},
|
221
|
+
{:name => 'Tajikistan', :iso_code => 'TJ'},
|
222
|
+
{:name => 'Tanzania, United Republic of', :iso_code => 'TZ'},
|
223
|
+
{:name => 'Thailand', :iso_code => 'TH'},
|
224
|
+
{:name => 'Timor-Leste', :iso_code => 'TL'},
|
225
|
+
{:name => 'Togo', :iso_code => 'TG'},
|
226
|
+
{:name => 'Tokelau', :iso_code => 'TK'},
|
227
|
+
{:name => 'Tonga', :iso_code => 'TO'},
|
228
|
+
{:name => 'Trinidad and Tobago', :iso_code => 'TT'},
|
229
|
+
{:name => 'Tunisia', :iso_code => 'TN'},
|
230
|
+
{:name => 'Turkey', :iso_code => 'TR'},
|
231
|
+
{:name => 'Turkmenistan', :iso_code => 'TM'},
|
232
|
+
{:name => 'Turks and Caicos Islands', :iso_code => 'TC'},
|
233
|
+
{:name => 'Tuvalu', :iso_code => 'TV'},
|
234
|
+
{:name => 'Uganda', :iso_code => 'UG'},
|
235
|
+
{:name => 'Ukraine', :iso_code => 'UA'},
|
236
|
+
{:name => 'United Arab Emirates', :iso_code => 'AE'},
|
237
|
+
{:name => 'United Kingdom', :iso_code => 'GB'},
|
238
|
+
{:name => 'United States', :iso_code => 'US'},
|
239
|
+
{:name => 'United States Minor Outlying Islands', :iso_code => 'UM'},
|
240
|
+
{:name => 'Uruguay', :iso_code => 'UY'},
|
241
|
+
{:name => 'Uzbekistan', :iso_code => 'UZ'},
|
242
|
+
{:name => 'Vanuatu', :iso_code => 'VU'},
|
243
|
+
{:name => 'Venezuela, Bolivarian Republic of', :iso_code => 'VE'},
|
244
|
+
{:name => 'Viet Nam', :iso_code => 'VN'},
|
245
|
+
{:name => 'Virgin Islands, British', :iso_code => 'VG'},
|
246
|
+
{:name => 'Virgin Islands, U.S.', :iso_code => 'VI'},
|
247
|
+
{:name => 'Wallis and Futuna', :iso_code => 'WF'},
|
248
|
+
{:name => 'Western Sahara', :iso_code => 'EH'},
|
249
|
+
{:name => 'Yemen', :iso_code => 'YE'},
|
250
|
+
{:name => 'Zambia', :iso_code => 'ZM'},
|
251
|
+
{:name => 'Zimbabwe', :iso_code => 'ZW'}
|
252
|
+
]
|
253
|
+
end
|
254
|
+
end
|
metadata
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: all_countries
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Arvind Kushwah
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-07-24 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.10'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.10'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: " Write a longer description or delete this line."
|
56
|
+
email:
|
57
|
+
- arvindkushwah9@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- ".rspec"
|
64
|
+
- ".travis.yml"
|
65
|
+
- Gemfile
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- all_countries.gemspec
|
69
|
+
- bin/console
|
70
|
+
- bin/setup
|
71
|
+
- lib/all_countries.rb
|
72
|
+
- lib/all_countries/version.rb
|
73
|
+
homepage: https://github.com/arvindkushwah9/all_countries.git
|
74
|
+
licenses: []
|
75
|
+
metadata: {}
|
76
|
+
post_install_message:
|
77
|
+
rdoc_options: []
|
78
|
+
require_paths:
|
79
|
+
- lib
|
80
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
requirements: []
|
91
|
+
rubyforge_project:
|
92
|
+
rubygems_version: 2.4.6
|
93
|
+
signing_key:
|
94
|
+
specification_version: 4
|
95
|
+
summary: Write a short summary, because Rubygems requires one.
|
96
|
+
test_files: []
|