carmen 0.2.2 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -0
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/carmen.gemspec +35 -36
- data/lib/carmen.rb +5 -0
- data/lib/carmen/railtie.rb +17 -0
- metadata +9 -9
- data/.gitignore +0 -5
data/README.rdoc
CHANGED
@@ -80,6 +80,7 @@ Currently included localizations are: English (:en), German (:de)
|
|
80
80
|
* Split the Rails-specific view helpers out into a separate gem (carmen-rails)
|
81
81
|
|
82
82
|
== Changelog
|
83
|
+
* 0.2.4 Fixed autoloading under Rails 3
|
83
84
|
* 0.2.2 Added state and country exclusion (kalafut)
|
84
85
|
* 0.2.1 Added regions for New Zealand (yehezkielbs)
|
85
86
|
* 0.2.0 Merge in Maximilian Schulz's locale fork, refactor internals to better support locales, and update documentation.
|
data/Rakefile
CHANGED
@@ -6,8 +6,8 @@ begin
|
|
6
6
|
require 'jeweler'
|
7
7
|
Jeweler::Tasks.new do |gem|
|
8
8
|
gem.name = "carmen"
|
9
|
-
gem.summary = %Q{A collection of
|
10
|
-
gem.description = %Q{A collection of
|
9
|
+
gem.summary = %Q{A collection of geographic country and state names for Ruby}
|
10
|
+
gem.description = %Q{A collection of geographic country and state names for Ruby. Also includes replacements for Rails' country_select and state_select plugins}
|
11
11
|
gem.email = "jim@autonomousmachine.com"
|
12
12
|
gem.homepage = "http://github.com/jim/carmen"
|
13
13
|
gem.authors = ["Jim Benton"]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.4
|
data/carmen.gemspec
CHANGED
@@ -1,59 +1,58 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{carmen}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jim Benton"]
|
12
|
-
s.date = %q{
|
13
|
-
s.description = %q{A collection of
|
12
|
+
s.date = %q{2011-01-10}
|
13
|
+
s.description = %q{A collection of geographic country and state names for Ruby. Also includes replacements for Rails' country_select and state_select plugins}
|
14
14
|
s.email = %q{jim@autonomousmachine.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"README.rdoc"
|
17
17
|
]
|
18
18
|
s.files = [
|
19
|
-
"
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
19
|
+
"MIT-LICENSE",
|
20
|
+
"README.rdoc",
|
21
|
+
"Rakefile",
|
22
|
+
"VERSION",
|
23
|
+
"carmen.gemspec",
|
24
|
+
"data/countries/de.yml",
|
25
|
+
"data/countries/en.yml",
|
26
|
+
"data/states/au.yml",
|
27
|
+
"data/states/br.yml",
|
28
|
+
"data/states/ca.yml",
|
29
|
+
"data/states/cu.yml",
|
30
|
+
"data/states/de.yml",
|
31
|
+
"data/states/dk.yml",
|
32
|
+
"data/states/es.yml",
|
33
|
+
"data/states/hr.yml",
|
34
|
+
"data/states/it.yml",
|
35
|
+
"data/states/mx.yml",
|
36
|
+
"data/states/no.yml",
|
37
|
+
"data/states/nz.yml",
|
38
|
+
"data/states/ua.yml",
|
39
|
+
"data/states/us.yml",
|
40
|
+
"lib/carmen.rb",
|
41
|
+
"lib/carmen/action_view_helpers.rb",
|
42
|
+
"lib/carmen/railtie.rb",
|
43
|
+
"rails/init.rb",
|
44
|
+
"test/carmen_test.rb",
|
45
|
+
"test/carmen_view_helper_test.rb",
|
46
|
+
"test/test_helper.rb"
|
47
47
|
]
|
48
48
|
s.homepage = %q{http://github.com/jim/carmen}
|
49
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
50
49
|
s.require_paths = ["lib"]
|
51
50
|
s.rubygems_version = %q{1.3.7}
|
52
|
-
s.summary = %q{A collection of
|
51
|
+
s.summary = %q{A collection of geographic country and state names for Ruby}
|
53
52
|
s.test_files = [
|
54
53
|
"test/carmen_test.rb",
|
55
|
-
|
56
|
-
|
54
|
+
"test/carmen_view_helper_test.rb",
|
55
|
+
"test/test_helper.rb"
|
57
56
|
]
|
58
57
|
|
59
58
|
if s.respond_to? :specification_version then
|
data/lib/carmen.rb
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'carmen'
|
2
|
+
|
3
|
+
module Carmen
|
4
|
+
|
5
|
+
class Railtie < Rails::Railtie
|
6
|
+
if defined? Rails::Railtie
|
7
|
+
require 'rails'
|
8
|
+
|
9
|
+
class Railtie < Rails::Railtie
|
10
|
+
config.after_initialize do
|
11
|
+
require 'carmen/action_view_helpers'
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carmen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 4
|
10
|
+
version: 0.2.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jim Benton
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-01-10 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
version: "0"
|
61
61
|
type: :development
|
62
62
|
version_requirements: *id003
|
63
|
-
description: A collection of
|
63
|
+
description: A collection of geographic country and state names for Ruby. Also includes replacements for Rails' country_select and state_select plugins
|
64
64
|
email: jim@autonomousmachine.com
|
65
65
|
executables: []
|
66
66
|
|
@@ -69,7 +69,6 @@ extensions: []
|
|
69
69
|
extra_rdoc_files:
|
70
70
|
- README.rdoc
|
71
71
|
files:
|
72
|
-
- .gitignore
|
73
72
|
- MIT-LICENSE
|
74
73
|
- README.rdoc
|
75
74
|
- Rakefile
|
@@ -93,6 +92,7 @@ files:
|
|
93
92
|
- data/states/us.yml
|
94
93
|
- lib/carmen.rb
|
95
94
|
- lib/carmen/action_view_helpers.rb
|
95
|
+
- lib/carmen/railtie.rb
|
96
96
|
- rails/init.rb
|
97
97
|
- test/carmen_test.rb
|
98
98
|
- test/carmen_view_helper_test.rb
|
@@ -102,8 +102,8 @@ homepage: http://github.com/jim/carmen
|
|
102
102
|
licenses: []
|
103
103
|
|
104
104
|
post_install_message:
|
105
|
-
rdoc_options:
|
106
|
-
|
105
|
+
rdoc_options: []
|
106
|
+
|
107
107
|
require_paths:
|
108
108
|
- lib
|
109
109
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -130,7 +130,7 @@ rubyforge_project:
|
|
130
130
|
rubygems_version: 1.3.7
|
131
131
|
signing_key:
|
132
132
|
specification_version: 3
|
133
|
-
summary: A collection of
|
133
|
+
summary: A collection of geographic country and state names for Ruby
|
134
134
|
test_files:
|
135
135
|
- test/carmen_test.rb
|
136
136
|
- test/carmen_view_helper_test.rb
|