us_states 0.0.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.
Files changed (2) hide show
  1. data/lib/states.rb +62 -0
  2. metadata +46 -0
data/lib/states.rb ADDED
@@ -0,0 +1,62 @@
1
+ module State
2
+ CODES = {
3
+ 'AL' => 'Alabama',
4
+ 'AK' => 'Alaska',
5
+ 'AS' => 'America Samoa',
6
+ 'AZ' => 'Arizona',
7
+ 'AR' => 'Arkansas',
8
+ 'CA' => 'California',
9
+ 'CO' => 'Colorado',
10
+ 'CT' => 'Connecticut',
11
+ 'DE' => 'Delaware',
12
+ 'DC' => 'District of Columbia',
13
+ 'FM' => 'Micronesia1',
14
+ 'FL' => 'Florida',
15
+ 'GA' => 'Georgia',
16
+ 'GU' => 'Guam',
17
+ 'HI' => 'Hawaii',
18
+ 'ID' => 'Idaho',
19
+ 'IL' => 'Illinois',
20
+ 'IN' => 'Indiana',
21
+ 'IA' => 'Iowa',
22
+ 'KS' => 'Kansas',
23
+ 'KY' => 'Kentucky',
24
+ 'LA' => 'Louisiana',
25
+ 'ME' => 'Maine',
26
+ 'MH' => 'Islands1',
27
+ 'MD' => 'Maryland',
28
+ 'MA' => 'Massachusetts',
29
+ 'MI' => 'Michigan',
30
+ 'MN' => 'Minnesota',
31
+ 'MS' => 'Mississippi',
32
+ 'MO' => 'Missouri',
33
+ 'MT' => 'Montana',
34
+ 'NE' => 'Nebraska',
35
+ 'NV' => 'Nevada',
36
+ 'NH' => 'New Hampshire',
37
+ 'NJ' => 'New Jersey',
38
+ 'NM' => 'New Mexico',
39
+ 'NY' => 'New York',
40
+ 'NC' => 'North Carolina',
41
+ 'ND' => 'North Dakota',
42
+ 'OH' => 'Ohio',
43
+ 'OK' => 'Oklahoma',
44
+ 'OR' => 'Oregon',
45
+ 'PW' => 'Palau',
46
+ 'PA' => 'Pennsylvania',
47
+ 'PR' => 'Puerto Rico',
48
+ 'RI' => 'Rhode Island',
49
+ 'SC' => 'South Carolina',
50
+ 'SD' => 'South Dakota',
51
+ 'TN' => 'Tennessee',
52
+ 'TX' => 'Texas',
53
+ 'UT' => 'Utah',
54
+ 'VT' => 'Vermont',
55
+ 'VI' => 'Virgin Island',
56
+ 'VA' => 'Virginia',
57
+ 'WA' => 'Washington',
58
+ 'WV' => 'West Virginia',
59
+ 'WI' => 'Wisconsin',
60
+ 'WY' => 'Wyoming'
61
+ }
62
+ end
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: us_states
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Byron Anderson
9
+ - Jim Gilliam
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2012-08-24 00:00:00.000000000 Z
14
+ dependencies: []
15
+ description: As simple as that
16
+ email: byron@nationbuilder.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - lib/states.rb
22
+ homepage: http://rubygems.org/gems/us_states
23
+ licenses: []
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubyforge_project:
42
+ rubygems_version: 1.8.24
43
+ signing_key:
44
+ specification_version: 3
45
+ summary: A module containing a list of all of the united states
46
+ test_files: []