taiwan_city_dists_helper 0.88 → 0.91

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzFjMmZjOWZkNzZiMjJjZWI2NTFkNmYyZDUxMjQwZDJiNDhhZTgwNg==
4
+ OTI2MjY0ZGZiY2QzNjU1ZjU5MTg5YWFhYWM1MTE3MzBlMzQ3ZDk4Nw==
5
5
  data.tar.gz: !binary |-
6
- YmI3M2NmYjU1NTNiODMyMDQ1NWRlNGU0ZTk5NDdlMjYwODY5OWZjNQ==
6
+ NzYwM2I4ZTQ5OTg1NzFlYWVlZjM3MjJmMDdmMmJjNjljZmE4OWI1Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjJlYjRlYzE4OWVkMjJkODAxN2ZjZTZiYTgyN2RkNTkxMWEwZGMxOTk1MTg1
10
- NzUwZDFhNTlhNDE2YjA1OTAwNjIyN2M5MDRkOGY2MGE4M2MyYzMwNWE0MzEw
11
- OGRhYmU4YmEzOGY2NmQzNDM1ZTIzM2M1NTQ5ZDQzY2ZlNDkwMjM=
9
+ ODJkMzFlZDQyOWMxMTA5NjI1MzVlZGU1MTlkMjg5YThhMjVhODdjYzcxN2Ix
10
+ MzQ4ODc1NDk4ZjM1NTMyZTFkODMzZmRjNWY3NjI1OThkNDk5MDhiYjQ5ZjAw
11
+ MWEyNTRlZTFiNzc0MDU4MWU3ODg2MTk0ZWYzNDI4MDBkMTk2ZDE=
12
12
  data.tar.gz: !binary |-
13
- ZTllYmE5NTZhNzYyMGIwY2QzNzYzYWJhODhiMjQ1ZTQ1NDgxOTVjNWI3ZWEy
14
- ZjE3NDNhN2E2MTRiNmUzYWU5MzU1ZjZiMWY4ZTNmOWIxOTcyZDczNDA4Mzgw
15
- ZmE2M2RjYzY0ZjllMTljZDM4NWYwZTljY2YyNGE0YmU2ZDRmZDY=
13
+ MjNhODA2ZGM0YWI2Mjg4Y2E1N2VjYzQ3ZmMwNjUxODY5NzkxYTI5ZTQ0MDhh
14
+ ZjdkMjkxZjk5NDc0Y2NhMGI5M2JjMjFlNmM5NzU3YTQwMmU0MWI3NTU4NGJl
15
+ ZjEyMWU3NmQxNzc3OGNlYzUxOTU4YmJjNjEwZWJiMTBiMjRkOTg=
@@ -1,15 +1,15 @@
1
1
  module TaiwanCityDistsHelper
2
2
  module Helper
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)
3
+ def render_city_select(f, cities, options={}, html_options={})
4
+ f.collection_select :city_id, cities, :id, :name, options, html_options
5
5
  end
6
6
 
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)
7
+ def render_grouped_dist_select(f, cities, options={}, html_options={})
8
+ f.grouped_collection_select :dist_id, cities, :dists, :name, :id, :name, options, html_options
9
9
  end
10
10
 
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)
11
+ def render_dist_select(f, dists, options={}, html_options={})
12
+ f.collection_select :dist_id, dists, :id, :name, options, 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.88"
3
+ VERSION = "0.91"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taiwan_city_dists_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.88'
4
+ version: '0.91'
5
5
  platform: ruby
6
6
  authors:
7
7
  - unayung