rails_country_select 1.0.3 → 1.0.4.pre1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4daa65a3cd6a3bdbbd49ae7e10d340c09977202
4
- data.tar.gz: 7660e92d3e92dc97bd4128a25fb5ef6140a31e93
3
+ metadata.gz: 8ede905f0a7869ce094b600b35fe0aa3949565fb
4
+ data.tar.gz: 38e024c5c63a2efe6b5f422987280af230fad1c6
5
5
  SHA512:
6
- metadata.gz: b6c9fb9f159062295da92e149aaf2c306a49907dad0b6afe6908f696c8de36b82f1ccc671c67b9f0fcfea2c193175a8030af24dc61b5f1e23afe03c50598802f
7
- data.tar.gz: aa46531ed9f2f8dbe50fe68f9bbbe86d204fde8d8841515a49ee2ce429a59aa6b4a85c1c6faa904c944b1c653164754336704ad83bd29c4daeadf1bada12ed17
6
+ metadata.gz: 5fc444d8291455a241bf54bae787e766028bbde49c63ca86c9d5ce6e717a5a3f68ecd9dfad56795fce0ffd6be8a115afbcf3c0bd307d358ff2ef8c860e142e57
7
+ data.tar.gz: 8c4e1e0af16d0285bdea5d255955a0baa05a65fc3f4af39c300e1fe7432a67123d1733e3a9fdb7ef62f5d51c38157bcfa954084ff19dfbb5a130a926b5edb925
@@ -1,3 +1,3 @@
1
1
  module RailsCountrySelect
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4.pre1"
3
3
  end
@@ -17,9 +17,9 @@ require File.expand_path('../country_definitions', __FILE__)
17
17
  :alpha2s => COUNTRY_ALPHA2S,
18
18
  :alpha3s => COUNTRY_ALPHA3S
19
19
  }
20
-
20
+ options = options.delete(:object)
21
21
  select_options = potential[options[:keys]].zip(potential[options[:values]])
22
- ActiveModelInstanceTag.new(object, method, self, options.delete(:object)).to_select_tag(select_options, options, html_options)
22
+ Tags::Select.new(object, method, self, select_options, options, html_options)
23
23
  end
24
24
  end
25
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_country_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Espinosa
@@ -79,9 +79,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
79
79
  version: '0'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - ">="
82
+ - - ">"
83
83
  - !ruby/object:Gem::Version
84
- version: '0'
84
+ version: 1.3.1
85
85
  requirements: []
86
86
  rubyforge_project:
87
87
  rubygems_version: 2.2.2