country_select 1.2.0 → 4.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.
- checksums.yaml +7 -0
- data/.gitignore +2 -1
- data/.rspec +1 -0
- data/.travis.yml +35 -11
- data/CHANGELOG.md +74 -1
- data/Gemfile +6 -1
- data/Gemfile.lock +300 -0
- data/README.md +138 -25
- data/Rakefile +3 -17
- data/UPGRADING.md +69 -0
- data/country_select.gemspec +11 -9
- data/gemfiles/actionpack.edge.gemfile +15 -0
- data/gemfiles/actionpack.edge.gemfile.lock +310 -0
- data/gemfiles/actionpack3.2.gemfile +8 -4
- data/gemfiles/actionpack3.2.gemfile.lock +265 -39
- data/gemfiles/actionpack4.0.gemfile +7 -3
- data/gemfiles/actionpack4.0.gemfile.lock +260 -36
- data/gemfiles/actionpack4.1.gemfile +11 -0
- data/gemfiles/actionpack4.1.gemfile.lock +290 -0
- data/gemfiles/actionpack4.2.gemfile +14 -0
- data/gemfiles/actionpack4.2.gemfile.lock +306 -0
- data/gemfiles/actionpack5.0.gemfile +12 -0
- data/gemfiles/actionpack5.0.gemfile.lock +311 -0
- data/gemfiles/actionpack5.1.gemfile +12 -0
- data/gemfiles/actionpack5.1.gemfile.lock +311 -0
- data/gemfiles/actionpack5.2.gemfile +12 -0
- data/gemfiles/actionpack5.2.gemfile.lock +312 -0
- data/lib/country_select.rb +10 -118
- data/lib/country_select/country_select_helper.rb +38 -0
- data/lib/country_select/formats.rb +7 -0
- data/lib/country_select/rails3/country_select_helper.rb +39 -0
- data/lib/country_select/tag_helper.rb +118 -0
- data/lib/country_select/version.rb +1 -1
- data/lib/country_select_without_sort_alphabetical.rb +13 -0
- data/spec/country_select_spec.rb +239 -111
- data/spec/spec_helper.rb +85 -7
- metadata +88 -42
- data/Appraisals +0 -19
- data/gemfiles/actionpack3.0.gemfile +0 -7
- data/gemfiles/actionpack3.0.gemfile.lock +0 -64
- data/gemfiles/actionpack3.1.gemfile +0 -7
- data/gemfiles/actionpack3.1.gemfile.lock +0 -72
- data/lib/country_select/countries.rb +0 -256
data/README.md
CHANGED
@@ -1,19 +1,21 @@
|
|
1
1
|
# Rails – Country Select
|
2
|
-
[](https://travis-ci.org/stefanpenner/country_select)
|
3
3
|
|
4
4
|
Provides a simple helper to get an HTML select list of countries using the
|
5
5
|
[ISO 3166-1 standard](https://en.wikipedia.org/wiki/ISO_3166-1).
|
6
6
|
|
7
|
-
It is also configurable to use countries'
|
8
|
-
[ISO 3166-1 alpha-2 codes](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
|
9
|
-
as values and
|
10
|
-
[ISO 3166-1 names](https://en.wikipedia.org/wiki/ISO_3166-1)
|
11
|
-
as display strings.
|
12
|
-
|
13
7
|
While the ISO 3166 standard is a relatively neutral source of country
|
14
8
|
names, it may still offend some users. Developers are strongly advised
|
15
9
|
to evaluate the suitability of this list given their user base.
|
16
10
|
|
11
|
+
## UPGRADING
|
12
|
+
|
13
|
+
[**An important message about upgrading from 1.x**](UPGRADING.md)
|
14
|
+
|
15
|
+
## Reporting issues
|
16
|
+
|
17
|
+
Open an issue on the [issue tracker](https://github.com/stefanpenner/country_select/issues/new). Ideally provide versions used, and code example that demonstrates the issue.
|
18
|
+
|
17
19
|
## Installation
|
18
20
|
|
19
21
|
Install as a gem using
|
@@ -24,10 +26,24 @@ gem install country_select
|
|
24
26
|
Or put the following in your Gemfile
|
25
27
|
|
26
28
|
```ruby
|
27
|
-
gem 'country_select'
|
29
|
+
gem 'country_select', '~> 4.0'
|
28
30
|
```
|
29
31
|
|
30
|
-
|
32
|
+
If you don't want to require `sort_alphabetical` (it depends on `unicode_utils` which is known to use lots of memory) you can opt out of using it as follows:
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
gem 'country_select', require: 'country_select_without_sort_alphabetical'
|
36
|
+
```
|
37
|
+
|
38
|
+
## Usage
|
39
|
+
|
40
|
+
Within `form_for` you can use this select like other form elements:
|
41
|
+
|
42
|
+
```ruby
|
43
|
+
<%= form_for User.new, url: root_url do |f| %>
|
44
|
+
<%= f.country_select :country_code %>
|
45
|
+
<% end %>
|
46
|
+
```
|
31
47
|
|
32
48
|
Simple use supplying model and attribute as parameters:
|
33
49
|
|
@@ -38,50 +54,147 @@ country_select("user", "country")
|
|
38
54
|
Supplying priority countries to be placed at the top of the list:
|
39
55
|
|
40
56
|
```ruby
|
41
|
-
country_select("user", "country", [
|
57
|
+
country_select("user", "country", priority_countries: ["GB", "FR", "DE"])
|
42
58
|
```
|
43
59
|
|
44
|
-
|
45
|
-
You can have the `option` tags use ISO 3166-1 alpha-2 codes as values
|
46
|
-
and the country names as display strings. For example, the United States
|
47
|
-
would appear as `<option value="us">United States</option>`
|
60
|
+
Supplying only certain countries:
|
48
61
|
|
49
|
-
|
50
|
-
|
51
|
-
|
62
|
+
```ruby
|
63
|
+
country_select("user", "country", only: ["GB", "FR", "DE"])
|
64
|
+
```
|
65
|
+
|
66
|
+
Discarding certain countries:
|
52
67
|
|
53
68
|
```ruby
|
54
|
-
country_select("user", "
|
69
|
+
country_select("user", "country", except: ["GB", "FR", "DE"])
|
55
70
|
```
|
56
71
|
|
72
|
+
Pre-selecting a particular country:
|
73
|
+
|
57
74
|
```ruby
|
58
|
-
country_select("user", "
|
75
|
+
country_select("user", "country", selected: "GB")
|
59
76
|
```
|
60
77
|
|
61
|
-
|
78
|
+
Changing the divider when priority_countries is active.
|
79
|
+
```ruby
|
80
|
+
country_select("user", "country", priority_countries: ["AR", "US"], priority_countries_divider: "~~~~~~")
|
81
|
+
```
|
82
|
+
|
83
|
+
Using existing `select` options:
|
84
|
+
```ruby
|
85
|
+
country_select("user", "country", include_blank: true)
|
86
|
+
country_select("user", "country", { include_blank: 'Select a country' }, { class: 'country-select-box' })
|
87
|
+
```
|
88
|
+
|
89
|
+
Supplying additional html options:
|
90
|
+
|
91
|
+
```ruby
|
92
|
+
country_select("user", "country", { priority_countries: ["GB", "FR"], selected: "GB" }, { class: 'form-control', data: { attribute: "value" } })
|
93
|
+
```
|
94
|
+
|
95
|
+
### Using a custom formatter
|
96
|
+
|
97
|
+
You can define a custom formatter which will receive an
|
98
|
+
[`ISO3166::Country`](https://github.com/hexorx/countries/blob/master/lib/countries/country.rb)
|
99
|
+
```ruby
|
100
|
+
# config/initializers/country_select.rb
|
101
|
+
|
102
|
+
# Return a string to customize the text in the <option> tag, `value` attribute will remain unchanged
|
103
|
+
CountrySelect::FORMATS[:with_alpha2] = lambda do |country|
|
104
|
+
"#{country.name} (#{country.alpha2})"
|
105
|
+
end
|
106
|
+
|
107
|
+
# Return an array to customize <option> text, `value` and other HTML attributes
|
108
|
+
CountrySelect::FORMATS[:with_data_attrs] = lambda do |country|
|
109
|
+
[
|
110
|
+
country.name,
|
111
|
+
country.alpha2,
|
112
|
+
{
|
113
|
+
'data-country-code' => country.country_code,
|
114
|
+
'data-alpha3' => country.alpha3
|
115
|
+
}
|
116
|
+
]
|
117
|
+
end
|
118
|
+
```
|
119
|
+
|
120
|
+
```ruby
|
121
|
+
country_select("user", "country", format: :with_alpha2)
|
122
|
+
country_select("user", "country", format: :with_data_attrs)
|
123
|
+
```
|
124
|
+
|
125
|
+
### ISO 3166-1 alpha-2 codes
|
126
|
+
The `option` tags use ISO 3166-1 alpha-2 codes as values and the country
|
127
|
+
names as display strings. For example, the United States would appear as
|
128
|
+
`<option value="US">United States of America</option>`
|
129
|
+
|
130
|
+
Country names are automatically localized based on the value of
|
131
|
+
`I18n.locale` thanks to the wonderful
|
132
|
+
[countries gem](https://github.com/hexorx/countries/).
|
133
|
+
|
134
|
+
Current translations include:
|
135
|
+
|
136
|
+
* en
|
137
|
+
* de
|
138
|
+
* es
|
139
|
+
* fr
|
140
|
+
* it
|
141
|
+
* ja
|
142
|
+
* nl
|
143
|
+
|
144
|
+
In the event a translation is not available, it will revert to the
|
145
|
+
globally assigned locale (by default, "en").
|
146
|
+
|
147
|
+
This is the only way to use `country_select` as of version `2.0`. It
|
148
|
+
is the recommended way to store your country data since it will be
|
149
|
+
resistant to country names changing.
|
150
|
+
|
151
|
+
The locale can be overridden locally:
|
152
|
+
|
153
|
+
```ruby
|
154
|
+
country_select("user", "country_code", locale: 'es')
|
155
|
+
```
|
156
|
+
|
157
|
+
#### Getting the Country Name from the countries gem
|
62
158
|
|
63
159
|
```ruby
|
64
160
|
class User < ActiveRecord::Base
|
65
161
|
|
66
162
|
# Assuming country_select is used with User attribute `country_code`
|
163
|
+
# This will attempt to translate the country name and use the default
|
164
|
+
# (usually English) name if no translation is available
|
67
165
|
def country_name
|
68
|
-
::
|
166
|
+
country = ISO3166::Country[country_code]
|
167
|
+
country.translations[I18n.locale.to_s] || country.name
|
69
168
|
end
|
70
169
|
|
71
170
|
end
|
72
171
|
```
|
73
172
|
|
74
|
-
##
|
173
|
+
## Example Application
|
174
|
+
|
175
|
+
An example Rails application demonstrating the different options is
|
176
|
+
available at [scudco/country_select_test](https://github.com/scudco/country_select_test).
|
177
|
+
The relevant view files live [here](https://github.com/scudco/country_select_test/tree/master/app/views/welcome).
|
178
|
+
|
179
|
+
## Contributing
|
180
|
+
|
181
|
+
### Tests
|
75
182
|
|
76
183
|
```shell
|
77
184
|
bundle
|
78
|
-
bundle exec
|
185
|
+
bundle exec rake
|
79
186
|
```
|
80
187
|
|
81
|
-
###
|
188
|
+
### Updating gemfiles
|
189
|
+
The default rake task will run the tests against multiple versions of
|
190
|
+
Rails. That means the gemfiles need occasional updating, especially when
|
191
|
+
changing the dependencies in the gemspec.
|
82
192
|
|
83
193
|
```shell
|
84
|
-
|
194
|
+
for i in gemfiles/*.gemfile
|
195
|
+
do
|
196
|
+
BUNDLE_GEMFILE=$i bundle install --no-deployment
|
197
|
+
done
|
85
198
|
```
|
86
199
|
|
87
200
|
Copyright (c) 2008 Michael Koziarski, released under the MIT license
|
data/Rakefile
CHANGED
@@ -1,24 +1,10 @@
|
|
1
|
-
require 'rubygems'
|
2
1
|
require 'bundler/setup'
|
2
|
+
require 'rake'
|
3
3
|
require 'bundler/gem_tasks'
|
4
4
|
|
5
|
-
require '
|
5
|
+
require 'wwtd/tasks'
|
6
6
|
|
7
7
|
require 'rspec/core/rake_task'
|
8
8
|
RSpec::Core::RakeTask.new(:spec)
|
9
9
|
|
10
|
-
task :
|
11
|
-
|
12
|
-
namespace :appraisal do
|
13
|
-
desc "Run the given task for a particular integration's appraisals"
|
14
|
-
task :integration do
|
15
|
-
Appraisal::File.each do |appraisal|
|
16
|
-
if RUBY_VERSION < '1.9.3' and appraisal.name == 'actionpack4.0'
|
17
|
-
# skip rails 4 for ruby < 1.9.3
|
18
|
-
else
|
19
|
-
appraisal.install
|
20
|
-
Appraisal::Command.from_args(appraisal.gemfile_path).run
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
10
|
+
task default: "wwtd:local"
|
data/UPGRADING.md
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
# Upgrading from 1.x
|
2
|
+
|
3
|
+
`country_select` 2.0 has brought a few small changes, but these changes
|
4
|
+
can have a big impact on existing production systems. Please read these
|
5
|
+
points carefully and consider whether upgrading to 2.0 is a good idea.
|
6
|
+
|
7
|
+
Please post any implications we may have missed as a GitHub Issue
|
8
|
+
or Pull Request.
|
9
|
+
|
10
|
+
## ISO codes are always on
|
11
|
+
|
12
|
+
If you upgrade to 2.0 and are currently storing countries by the names
|
13
|
+
produced by this gem, your setup will break. It is recommended that you
|
14
|
+
stick with 1.x until developing a data migration strategy that allows
|
15
|
+
you to map your existing country names to country codes.
|
16
|
+
|
17
|
+
## i18n country names are always on (when available)
|
18
|
+
|
19
|
+
Country names will be generated using `I18n.locale` if a translation
|
20
|
+
from the countries gem is available.
|
21
|
+
|
22
|
+
## Codes are UPCASED
|
23
|
+
|
24
|
+
The official ISO 3166-1 standard uses UPCASED codes. This is an easy
|
25
|
+
data change, but may affect areas of code dependent on lowercase country
|
26
|
+
codes.
|
27
|
+
|
28
|
+
Here's a sample SQL migration that could address a `users` table with
|
29
|
+
lowercased country codes stored in the `country_code` column:
|
30
|
+
|
31
|
+
```sql
|
32
|
+
UPDATE users SET country_code = UPPER(country_code);
|
33
|
+
```
|
34
|
+
|
35
|
+
## Priority countries are now in the options hash
|
36
|
+
|
37
|
+
The priority countries syntax has changed from
|
38
|
+
|
39
|
+
```ruby
|
40
|
+
country_select(:user, :country_code, ["GB","FR"])
|
41
|
+
```
|
42
|
+
|
43
|
+
to
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
country_select(:user, :country_code, priority_countries: ["GB","FR"])
|
47
|
+
```
|
48
|
+
|
49
|
+
### A note on 1.x Syntax
|
50
|
+
|
51
|
+
In order to seamlessly support popular libraries dependent on
|
52
|
+
`country_select`, specifically `formatstic` and `simple_form`, 1.x
|
53
|
+
priority syntax is still supported, but will probably be removed in the
|
54
|
+
next major release (i.e., 3.0). We'll be working with `simple_form` and
|
55
|
+
`formtastic` maintainers to transition away from the old 1.x syntax.
|
56
|
+
|
57
|
+
## You can choose to only display a chosen set of countries
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
country_select(:user, :country_code, only: ["LV","SG"])
|
61
|
+
```
|
62
|
+
|
63
|
+
```ruby
|
64
|
+
country_select(:user, :country_code, except: ["US","GB"])
|
65
|
+
```
|
66
|
+
|
67
|
+
## Ruby 1.9+
|
68
|
+
|
69
|
+
`country_select` will no longer be tested in Ruby `< 1.9`.
|
data/country_select.gemspec
CHANGED
@@ -5,6 +5,7 @@ require 'country_select/version'
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = 'country_select'
|
7
7
|
s.version = CountrySelect::VERSION
|
8
|
+
s.licenses = ['MIT']
|
8
9
|
s.authors = ['Stefan Penner']
|
9
10
|
s.email = ['stefan.penner@gmail.com']
|
10
11
|
s.homepage = 'https://github.com/stefanpenner/country_select'
|
@@ -18,13 +19,14 @@ Gem::Specification.new do |s|
|
|
18
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
20
|
s.require_paths = ['lib']
|
20
21
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
s.
|
22
|
+
s.required_ruby_version = '>= 2'
|
23
|
+
|
24
|
+
s.add_development_dependency 'actionpack', '~> 5'
|
25
|
+
s.add_development_dependency 'pry', '~> 0'
|
26
|
+
s.add_development_dependency 'rake'
|
27
|
+
s.add_development_dependency 'rspec', '~> 3'
|
28
|
+
s.add_development_dependency 'wwtd'
|
29
|
+
|
30
|
+
s.add_dependency 'countries', '~> 3.0'
|
31
|
+
s.add_dependency 'sort_alphabetical', '~> 1.0'
|
30
32
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gemspec :path => "../"
|
4
|
+
|
5
|
+
git "https://github.com/rails/rails.git" do
|
6
|
+
gem "actionpack"
|
7
|
+
gem "actionview"
|
8
|
+
gem "activesupport"
|
9
|
+
end
|
10
|
+
|
11
|
+
platforms :rbx do
|
12
|
+
gem "racc"
|
13
|
+
gem "rubysl", "~> 2.0"
|
14
|
+
gem "psych"
|
15
|
+
end
|
@@ -0,0 +1,310 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/rails/rails.git
|
3
|
+
revision: 30767f980faa2d7a0531774ddf040471db74a23b
|
4
|
+
specs:
|
5
|
+
actionpack (5.2.0.alpha)
|
6
|
+
actionview (= 5.2.0.alpha)
|
7
|
+
activesupport (= 5.2.0.alpha)
|
8
|
+
rack (~> 2.0)
|
9
|
+
rack-test (>= 0.6.3)
|
10
|
+
rails-dom-testing (~> 2.0)
|
11
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
12
|
+
actionview (5.2.0.alpha)
|
13
|
+
activesupport (= 5.2.0.alpha)
|
14
|
+
builder (~> 3.1)
|
15
|
+
erubi (~> 1.4)
|
16
|
+
rails-dom-testing (~> 2.0)
|
17
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
18
|
+
activesupport (5.2.0.alpha)
|
19
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
20
|
+
i18n (~> 0.7)
|
21
|
+
minitest (~> 5.1)
|
22
|
+
tzinfo (~> 1.1)
|
23
|
+
|
24
|
+
PATH
|
25
|
+
remote: ..
|
26
|
+
specs:
|
27
|
+
country_select (4.0.0)
|
28
|
+
countries (~> 3.0)
|
29
|
+
sort_alphabetical (~> 1.0)
|
30
|
+
|
31
|
+
GEM
|
32
|
+
remote: https://rubygems.org/
|
33
|
+
specs:
|
34
|
+
builder (3.2.3)
|
35
|
+
coderay (1.1.2)
|
36
|
+
concurrent-ruby (1.0.5)
|
37
|
+
countries (3.0.0)
|
38
|
+
i18n_data (~> 0.8.0)
|
39
|
+
sixarm_ruby_unaccent (~> 1.1)
|
40
|
+
unicode_utils (~> 1.4)
|
41
|
+
diff-lcs (1.3)
|
42
|
+
erubi (1.6.1)
|
43
|
+
ffi2-generators (0.1.1)
|
44
|
+
i18n (0.8.6)
|
45
|
+
i18n_data (0.8.0)
|
46
|
+
loofah (2.0.3)
|
47
|
+
nokogiri (>= 1.5.9)
|
48
|
+
method_source (0.8.2)
|
49
|
+
mini_portile2 (2.3.0)
|
50
|
+
minitest (5.10.3)
|
51
|
+
nokogiri (1.8.1)
|
52
|
+
mini_portile2 (~> 2.3.0)
|
53
|
+
pry (0.10.4)
|
54
|
+
coderay (~> 1.1.0)
|
55
|
+
method_source (~> 0.8.1)
|
56
|
+
slop (~> 3.4)
|
57
|
+
psych (2.2.4)
|
58
|
+
racc (1.4.14)
|
59
|
+
rack (2.0.3)
|
60
|
+
rack-test (0.7.0)
|
61
|
+
rack (>= 1.0, < 3)
|
62
|
+
rails-dom-testing (2.0.3)
|
63
|
+
activesupport (>= 4.2.0)
|
64
|
+
nokogiri (>= 1.6)
|
65
|
+
rails-html-sanitizer (1.0.3)
|
66
|
+
loofah (~> 2.0)
|
67
|
+
rake (12.1.0)
|
68
|
+
rspec (3.6.0)
|
69
|
+
rspec-core (~> 3.6.0)
|
70
|
+
rspec-expectations (~> 3.6.0)
|
71
|
+
rspec-mocks (~> 3.6.0)
|
72
|
+
rspec-core (3.6.0)
|
73
|
+
rspec-support (~> 3.6.0)
|
74
|
+
rspec-expectations (3.6.0)
|
75
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
76
|
+
rspec-support (~> 3.6.0)
|
77
|
+
rspec-mocks (3.6.0)
|
78
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
79
|
+
rspec-support (~> 3.6.0)
|
80
|
+
rspec-support (3.6.0)
|
81
|
+
rubysl (2.2.0)
|
82
|
+
rubysl-abbrev (~> 2.0)
|
83
|
+
rubysl-base64 (~> 2.0)
|
84
|
+
rubysl-benchmark (~> 2.0)
|
85
|
+
rubysl-bigdecimal (~> 2.0)
|
86
|
+
rubysl-cgi (~> 2.0)
|
87
|
+
rubysl-cgi-session (~> 2.0)
|
88
|
+
rubysl-cmath (~> 2.0)
|
89
|
+
rubysl-complex (~> 2.0)
|
90
|
+
rubysl-continuation (~> 2.0)
|
91
|
+
rubysl-coverage (~> 2.0)
|
92
|
+
rubysl-csv (~> 2.0)
|
93
|
+
rubysl-curses (~> 2.0)
|
94
|
+
rubysl-date (~> 2.0)
|
95
|
+
rubysl-delegate (~> 2.0)
|
96
|
+
rubysl-digest (~> 2.0)
|
97
|
+
rubysl-drb (~> 2.0)
|
98
|
+
rubysl-e2mmap (~> 2.0)
|
99
|
+
rubysl-english (~> 2.0)
|
100
|
+
rubysl-enumerator (~> 2.0)
|
101
|
+
rubysl-erb (~> 2.0)
|
102
|
+
rubysl-etc (~> 2.0)
|
103
|
+
rubysl-expect (~> 2.0)
|
104
|
+
rubysl-fcntl (~> 2.0)
|
105
|
+
rubysl-fiber (~> 2.0)
|
106
|
+
rubysl-fileutils (~> 2.0)
|
107
|
+
rubysl-find (~> 2.0)
|
108
|
+
rubysl-forwardable (~> 2.0)
|
109
|
+
rubysl-getoptlong (~> 2.0)
|
110
|
+
rubysl-gserver (~> 2.0)
|
111
|
+
rubysl-io-console (~> 2.0)
|
112
|
+
rubysl-io-nonblock (~> 2.0)
|
113
|
+
rubysl-io-wait (~> 2.0)
|
114
|
+
rubysl-ipaddr (~> 2.0)
|
115
|
+
rubysl-irb (~> 2.1)
|
116
|
+
rubysl-logger (~> 2.0)
|
117
|
+
rubysl-mathn (~> 2.0)
|
118
|
+
rubysl-matrix (~> 2.0)
|
119
|
+
rubysl-mkmf (~> 2.0)
|
120
|
+
rubysl-monitor (~> 2.0)
|
121
|
+
rubysl-mutex_m (~> 2.0)
|
122
|
+
rubysl-net-ftp (~> 2.0)
|
123
|
+
rubysl-net-http (~> 2.0)
|
124
|
+
rubysl-net-imap (~> 2.0)
|
125
|
+
rubysl-net-pop (~> 2.0)
|
126
|
+
rubysl-net-protocol (~> 2.0)
|
127
|
+
rubysl-net-smtp (~> 2.0)
|
128
|
+
rubysl-net-telnet (~> 2.0)
|
129
|
+
rubysl-nkf (~> 2.0)
|
130
|
+
rubysl-observer (~> 2.0)
|
131
|
+
rubysl-open-uri (~> 2.0)
|
132
|
+
rubysl-open3 (~> 2.0)
|
133
|
+
rubysl-openssl (~> 2.0)
|
134
|
+
rubysl-optparse (~> 2.0)
|
135
|
+
rubysl-ostruct (~> 2.0)
|
136
|
+
rubysl-pathname (~> 2.0)
|
137
|
+
rubysl-prettyprint (~> 2.0)
|
138
|
+
rubysl-prime (~> 2.0)
|
139
|
+
rubysl-profile (~> 2.0)
|
140
|
+
rubysl-profiler (~> 2.0)
|
141
|
+
rubysl-pstore (~> 2.0)
|
142
|
+
rubysl-pty (~> 2.0)
|
143
|
+
rubysl-rational (~> 2.0)
|
144
|
+
rubysl-resolv (~> 2.0)
|
145
|
+
rubysl-rexml (~> 2.0)
|
146
|
+
rubysl-rinda (~> 2.0)
|
147
|
+
rubysl-rss (~> 2.0)
|
148
|
+
rubysl-scanf (~> 2.0)
|
149
|
+
rubysl-securerandom (~> 2.0)
|
150
|
+
rubysl-set (~> 2.0)
|
151
|
+
rubysl-shellwords (~> 2.0)
|
152
|
+
rubysl-singleton (~> 2.0)
|
153
|
+
rubysl-socket (~> 2.0)
|
154
|
+
rubysl-stringio (~> 2.0)
|
155
|
+
rubysl-strscan (~> 2.0)
|
156
|
+
rubysl-sync (~> 2.0)
|
157
|
+
rubysl-syslog (~> 2.0)
|
158
|
+
rubysl-tempfile (~> 2.0)
|
159
|
+
rubysl-thread (~> 2.0)
|
160
|
+
rubysl-thwait (~> 2.0)
|
161
|
+
rubysl-time (~> 2.0)
|
162
|
+
rubysl-timeout (~> 2.0)
|
163
|
+
rubysl-tmpdir (~> 2.0)
|
164
|
+
rubysl-tsort (~> 2.0)
|
165
|
+
rubysl-un (~> 2.0)
|
166
|
+
rubysl-unicode_normalize (~> 2.0)
|
167
|
+
rubysl-uri (~> 2.0)
|
168
|
+
rubysl-weakref (~> 2.0)
|
169
|
+
rubysl-webrick (~> 2.0)
|
170
|
+
rubysl-xmlrpc (~> 2.0)
|
171
|
+
rubysl-yaml (~> 2.0)
|
172
|
+
rubysl-zlib (~> 2.0)
|
173
|
+
rubysl-abbrev (2.0.4)
|
174
|
+
rubysl-base64 (2.0.0)
|
175
|
+
rubysl-benchmark (2.0.1)
|
176
|
+
rubysl-bigdecimal (2.0.2)
|
177
|
+
rubysl-cgi (2.0.1)
|
178
|
+
rubysl-cgi-session (2.1.0)
|
179
|
+
rubysl-cmath (2.0.0)
|
180
|
+
rubysl-complex (2.0.0)
|
181
|
+
rubysl-continuation (2.0.0)
|
182
|
+
rubysl-coverage (2.1)
|
183
|
+
rubysl-csv (2.0.2)
|
184
|
+
rubysl-english (~> 2.0)
|
185
|
+
rubysl-curses (2.0.1)
|
186
|
+
rubysl-date (2.0.9)
|
187
|
+
rubysl-delegate (2.0.1)
|
188
|
+
rubysl-digest (2.0.8)
|
189
|
+
rubysl-drb (2.0.1)
|
190
|
+
rubysl-e2mmap (2.0.0)
|
191
|
+
rubysl-english (2.0.0)
|
192
|
+
rubysl-enumerator (2.0.0)
|
193
|
+
rubysl-erb (2.0.2)
|
194
|
+
rubysl-etc (2.0.3)
|
195
|
+
ffi2-generators (~> 0.1)
|
196
|
+
rubysl-expect (2.0.0)
|
197
|
+
rubysl-fcntl (2.0.4)
|
198
|
+
ffi2-generators (~> 0.1)
|
199
|
+
rubysl-fiber (2.0.0)
|
200
|
+
rubysl-fileutils (2.0.3)
|
201
|
+
rubysl-find (2.0.1)
|
202
|
+
rubysl-forwardable (2.0.1)
|
203
|
+
rubysl-getoptlong (2.0.0)
|
204
|
+
rubysl-gserver (2.0.0)
|
205
|
+
rubysl-socket (~> 2.0)
|
206
|
+
rubysl-thread (~> 2.0)
|
207
|
+
rubysl-io-console (2.0.0)
|
208
|
+
rubysl-io-nonblock (2.0.0)
|
209
|
+
rubysl-io-wait (2.0.0)
|
210
|
+
rubysl-ipaddr (2.0.0)
|
211
|
+
rubysl-irb (2.1.1)
|
212
|
+
rubysl-e2mmap (~> 2.0)
|
213
|
+
rubysl-mathn (~> 2.0)
|
214
|
+
rubysl-thread (~> 2.0)
|
215
|
+
rubysl-logger (2.1.0)
|
216
|
+
rubysl-mathn (2.0.0)
|
217
|
+
rubysl-matrix (2.1.0)
|
218
|
+
rubysl-e2mmap (~> 2.0)
|
219
|
+
rubysl-mkmf (2.1)
|
220
|
+
rubysl-fileutils (~> 2.0)
|
221
|
+
rubysl-shellwords (~> 2.0)
|
222
|
+
rubysl-monitor (2.0.0)
|
223
|
+
rubysl-mutex_m (2.0.0)
|
224
|
+
rubysl-net-ftp (2.0.1)
|
225
|
+
rubysl-net-http (2.0.4)
|
226
|
+
rubysl-cgi (~> 2.0)
|
227
|
+
rubysl-erb (~> 2.0)
|
228
|
+
rubysl-singleton (~> 2.0)
|
229
|
+
rubysl-net-imap (2.0.1)
|
230
|
+
rubysl-net-pop (2.0.1)
|
231
|
+
rubysl-net-protocol (2.0.1)
|
232
|
+
rubysl-net-smtp (2.0.1)
|
233
|
+
rubysl-net-telnet (2.0.0)
|
234
|
+
rubysl-nkf (2.0.1)
|
235
|
+
rubysl-observer (2.0.0)
|
236
|
+
rubysl-open-uri (2.0.0)
|
237
|
+
rubysl-open3 (2.0.0)
|
238
|
+
rubysl-openssl (2.9)
|
239
|
+
rubysl-optparse (2.0.1)
|
240
|
+
rubysl-shellwords (~> 2.0)
|
241
|
+
rubysl-ostruct (2.1.0)
|
242
|
+
rubysl-pathname (2.3)
|
243
|
+
rubysl-prettyprint (2.0.3)
|
244
|
+
rubysl-prime (2.0.1)
|
245
|
+
rubysl-profile (2.0.0)
|
246
|
+
rubysl-profiler (2.1)
|
247
|
+
rubysl-pstore (2.0.0)
|
248
|
+
rubysl-pty (2.0.3)
|
249
|
+
rubysl-rational (2.0.1)
|
250
|
+
rubysl-resolv (2.1.2)
|
251
|
+
rubysl-rexml (2.0.4)
|
252
|
+
rubysl-rinda (2.0.1)
|
253
|
+
rubysl-rss (2.0.0)
|
254
|
+
rubysl-scanf (2.0.0)
|
255
|
+
rubysl-securerandom (2.0.0)
|
256
|
+
rubysl-set (2.0.1)
|
257
|
+
rubysl-shellwords (2.0.0)
|
258
|
+
rubysl-singleton (2.0.0)
|
259
|
+
rubysl-socket (2.2.1)
|
260
|
+
rubysl-fcntl (~> 2.0)
|
261
|
+
rubysl-stringio (2.1.0)
|
262
|
+
rubysl-strscan (2.0.0)
|
263
|
+
rubysl-sync (2.0.0)
|
264
|
+
rubysl-syslog (2.1.0)
|
265
|
+
ffi2-generators (~> 0.1)
|
266
|
+
rubysl-tempfile (2.0.1)
|
267
|
+
rubysl-thread (2.0.3)
|
268
|
+
rubysl-thwait (2.0.0)
|
269
|
+
rubysl-time (2.0.3)
|
270
|
+
rubysl-timeout (2.0.0)
|
271
|
+
rubysl-tmpdir (2.0.1)
|
272
|
+
rubysl-tsort (2.0.1)
|
273
|
+
rubysl-un (2.0.0)
|
274
|
+
rubysl-fileutils (~> 2.0)
|
275
|
+
rubysl-optparse (~> 2.0)
|
276
|
+
rubysl-unicode_normalize (2.0)
|
277
|
+
rubysl-uri (2.0.0)
|
278
|
+
rubysl-weakref (2.0.0)
|
279
|
+
rubysl-webrick (2.0.0)
|
280
|
+
rubysl-xmlrpc (2.0.0)
|
281
|
+
rubysl-yaml (2.1.0)
|
282
|
+
rubysl-zlib (2.0.1)
|
283
|
+
sixarm_ruby_unaccent (1.2.0)
|
284
|
+
slop (3.6.0)
|
285
|
+
sort_alphabetical (1.1.0)
|
286
|
+
unicode_utils (>= 1.2.2)
|
287
|
+
thread_safe (0.3.6)
|
288
|
+
tzinfo (1.2.3)
|
289
|
+
thread_safe (~> 0.1)
|
290
|
+
unicode_utils (1.4.0)
|
291
|
+
wwtd (1.3.0)
|
292
|
+
|
293
|
+
PLATFORMS
|
294
|
+
ruby
|
295
|
+
|
296
|
+
DEPENDENCIES
|
297
|
+
actionpack!
|
298
|
+
actionview!
|
299
|
+
activesupport!
|
300
|
+
country_select!
|
301
|
+
pry (~> 0)
|
302
|
+
psych
|
303
|
+
racc
|
304
|
+
rake
|
305
|
+
rspec (~> 3)
|
306
|
+
rubysl (~> 2.0)
|
307
|
+
wwtd
|
308
|
+
|
309
|
+
BUNDLED WITH
|
310
|
+
1.17.1
|