au_state_select 1.6 → 1.7

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: ab985c0d6e3da52b1fdfc78591535ae97389a038
4
- data.tar.gz: aba9c67735c845d9cc3bc6a2269dda888ee49870
3
+ metadata.gz: 497a572a3ae2c900cee15bd9140ebefbff5755f4
4
+ data.tar.gz: 956cc65385ac851f4f1fffa636f8c86c1f7a3374
5
5
  SHA512:
6
- metadata.gz: fa6536ea9651a8d9c21dfdfc3f967e12272cc7c82e01d037c532ac9335793420204450ee161fb30e1e75ec692672d2d54ecf6b9b55360d19421afc48afce6744
7
- data.tar.gz: 645e3f66cb64ea6fff55e6f4e10416c0b03c1cd841e63202ee9a176235b029b05a0c0d3c22b54741cf4959aff3fc1186341ef0ed8326b5bc1a63bb380b627c63
6
+ metadata.gz: ef5649345f9c83c2df4eb581ae8d0074c1898ec6656e0b92bf477043b798782e5aeb2eac3d360cb5f8caccc81a9ced82a34be64cae22831e4e0c35161ce33847
7
+ data.tar.gz: 1bf089c8a1ee74f0138b656f41de781688357862f47e46ff7f4b5b54feeb3b6e9c72b1568bb02cb248978dea646f8b807dec1b65cb976cad49d502622a15fd04
data/README.md CHANGED
@@ -6,7 +6,7 @@ Provides a simple helper to get an HTML select list of Austraila states. Compata
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
- gem 'au_state_select', '~> 1.0'
9
+ gem 'au_state_select', '~> 1.4'
10
10
 
11
11
  And then execute:
12
12
 
@@ -10,7 +10,7 @@ module AUStateSelect
10
10
  elsif options[:prompt].present?
11
11
  option = options[:prompt] == true ? "Please Select" : options[:prompt]
12
12
  end
13
- states += "<option>#{option}</option>\n"
13
+ states += "<option value>#{option}</option>\n"
14
14
  end
15
15
 
16
16
  select_options = if options.key?(:short_name) and options[:short_name]
@@ -20,7 +20,7 @@ module AUStateSelect
20
20
  elsif options[:prompt].present?
21
21
  option = options[:prompt] == true ? "Please Select" : options[:prompt]
22
22
  end
23
- states += "<option>#{option}</option>\n"
23
+ states += "<option value>#{option}</option>\n"
24
24
  end
25
25
 
26
26
  if priority_states
@@ -1,3 +1,3 @@
1
1
  module AuStateSelect
2
- VERSION = "1.6"
2
+ VERSION = "1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: au_state_select
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.6'
4
+ version: '1.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Zhang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-26 00:00:00.000000000 Z
11
+ date: 2016-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements: []
80
80
  rubyforge_project:
81
- rubygems_version: 2.4.8
81
+ rubygems_version: 2.4.3
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: Provides a simple helper to get an HTML select list of Australia states.