rails_country_select 1.0.4.pre5 → 1.0.4.pre6

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: 0a6f87fcdbb32dc0d0a179f648d88f2c38b64754
4
- data.tar.gz: 81d3b36899b5822ac07588c1991842af889d8b23
3
+ metadata.gz: b50d303a95e3f4eb109a27d196affd60525b7607
4
+ data.tar.gz: 1fd880d1263b53068f94232fdae2bb45a0ad3771
5
5
  SHA512:
6
- metadata.gz: 331e231bd594a8b75c6d6f37309152884b8ccdde48cc72fba0f5a8fbc957b8a63fb23610712b0b119d3c6f4c0e16ab653a5287bf3efed0298da9ddb88548b44e
7
- data.tar.gz: bff168073dc7e5f010628c4fcc33b80d796a8501696f1141dea671335aba535a3fd08b0826383f1aea2b7563dcbd2607fb023f10ffe4ad46b71f472d70af5354
6
+ metadata.gz: 5bee7c16ee8d733ed21ca96fa2c68470d4e2dd5d42a45919907cb6daf2a6e3ace1503b764781f2679c49aa753fe08a41c4c129664039ea54858f23d604ca17b5
7
+ data.tar.gz: 6f0e25bcb4fe34fb699e84249dfef4a7c80e19270ac0f181752076a7416b5ff992b2fbbbb5b8056f6999da7418cb56dfd3b30552f10c404cbfe9d4fe0045acfe
@@ -1,3 +1,3 @@
1
1
  module RailsCountrySelect
2
- VERSION = "1.0.4.pre5"
2
+ VERSION = "1.0.4.pre6"
3
3
  end
@@ -19,7 +19,7 @@ require File.expand_path('../country_definitions', __FILE__)
19
19
  }
20
20
  #options = options.delete(:object)
21
21
  select_options = potential[options[:keys]].zip(potential[options[:values]])
22
- select_tag(method, options_for_select(select_options),html_options)
22
+ select_tag(method, options_for_select(select_options, options[:selected]),html_options)
23
23
  #Tags::Select.new(object, method, self, select_options, options, html_options)
24
24
  end
25
25
  end
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.4.pre5
4
+ version: 1.0.4.pre6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Espinosa