taiwan_city_dists_helper 0.87 → 0.88

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 606f49a6d019ac96ceb4b758e99b1458f79b680f
4
- data.tar.gz: e9d66e1d73d9aee698f9cf8e587d9e8b000286df
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NzFjMmZjOWZkNzZiMjJjZWI2NTFkNmYyZDUxMjQwZDJiNDhhZTgwNg==
5
+ data.tar.gz: !binary |-
6
+ YmI3M2NmYjU1NTNiODMyMDQ1NWRlNGU0ZTk5NDdlMjYwODY5OWZjNQ==
5
7
  SHA512:
6
- metadata.gz: 529cfda380790868eaf0236656df579de629ed019dfb42643c40adf1718f75f3a15821688fadb88f48c5215afc2ddf38f392cdee29cafcad99da94437c3a1743
7
- data.tar.gz: 6e2746c2de1c3f514b0db56151e79fa04235a37b86e2614cf3c4fbb06091ca75a064b00e06e195f4ce88193a2752b50f06fb4c026f8e9630bc1fa74add82db67
8
+ metadata.gz: !binary |-
9
+ ZjJlYjRlYzE4OWVkMjJkODAxN2ZjZTZiYTgyN2RkNTkxMWEwZGMxOTk1MTg1
10
+ NzUwZDFhNTlhNDE2YjA1OTAwNjIyN2M5MDRkOGY2MGE4M2MyYzMwNWE0MzEw
11
+ OGRhYmU4YmEzOGY2NmQzNDM1ZTIzM2M1NTQ5ZDQzY2ZlNDkwMjM=
12
+ data.tar.gz: !binary |-
13
+ ZTllYmE5NTZhNzYyMGIwY2QzNzYzYWJhODhiMjQ1ZTQ1NDgxOTVjNWI3ZWEy
14
+ ZjE3NDNhN2E2MTRiNmUzYWU5MzU1ZjZiMWY4ZTNmOWIxOTcyZDczNDA4Mzgw
15
+ ZmE2M2RjYzY0ZjllMTljZDM4NWYwZTljY2YyNGE0YmU2ZDRmZDY=
@@ -1,15 +1,15 @@
1
1
  module TaiwanCityDistsHelper
2
2
  module Helper
3
- def render_city_select(f, cities, blank=false)
4
- f.collection_select :city_id, cities, :id, :name, include_blank: blank
3
+ def render_city_select(f, cities, blank=false, html_options = {})
4
+ f.collection_select(:city_id, cities, :id, :name, include_blank: blank, html_options)
5
5
  end
6
6
 
7
- def render_grouped_dist_select(f, cities, blank=false)
8
- f.grouped_collection_select :dist_id, cities, :dists, :name, :id, :name, include_blank: blank
7
+ def render_grouped_dist_select(f, cities, blank=false, html_options = {})
8
+ f.grouped_collection_select(:dist_id, cities, :dists, :name, :id, :name, include_blank: blank, html_options)
9
9
  end
10
10
 
11
- def render_dist_select(f, dists, blank=false)
12
- f.collection_select :dist_id, dists, :id, :name, include_blank: blank
11
+ def render_dist_select(f, dists, blank=false, html_options = {})
12
+ f.collection_select(:dist_id, dists, :id, :name, include_blank: blank, html_options)
13
13
  end
14
14
 
15
15
  end
@@ -1,5 +1,5 @@
1
1
  module TaiwanCityDistsHelper
2
2
  module Rails
3
- VERSION = "0.87"
3
+ VERSION = "0.88"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taiwan_city_dists_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.87'
4
+ version: '0.88'
5
5
  platform: ruby
6
6
  authors:
7
7
  - unayung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-09 00:00:00.000000000 Z
11
+ date: 2014-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  description: Generate Taiwan cities and dists model and provide dynamic select box
@@ -32,7 +32,7 @@ executables: []
32
32
  extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
- - ".gitignore"
35
+ - .gitignore
36
36
  - Gemfile
37
37
  - LICENSE.txt
38
38
  - README.md
@@ -57,12 +57,12 @@ require_paths:
57
57
  - lib
58
58
  required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - ! '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ">="
65
+ - - ! '>='
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []