auxiliary_addons 0.5.5 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README CHANGED
@@ -11,7 +11,7 @@ Quick Start
11
11
  =======
12
12
  In your Gemfile:
13
13
 
14
- gem "auxiliary_addons", ">= 0.5.5"
14
+ gem "auxiliary_addons", ">= 0.5.6"
15
15
 
16
16
  Installation
17
17
  =======
@@ -1,7 +1,7 @@
1
1
  require 'date'
2
2
  Gem::Specification.new do |s|
3
3
  s.name = %q{auxiliary_addons}
4
- s.version = "0.5.5"
4
+ s.version = "0.5.6"
5
5
  s.date = Date.today.to_s
6
6
  s.summary = %q{AuxiliaryAddons is a gem that contains basic helpers.}
7
7
  s.description = %q{AuxiliaryAddons is a gem that contains basic helpers.}
data/changelog CHANGED
@@ -14,6 +14,7 @@ that bug was created for 1.0 version of the AntHill component, bug is feature re
14
14
 
15
15
  Version 0.5
16
16
  -----------
17
+ 0.5 { Bug Report } [ AuxiliaryAddons ] / X / Add options to checkable_field_header
17
18
  0.5 { Bug Report } [ AuxiliaryAddons ] / X / Add tableless31_model for Rails 3.1.x
18
19
  0.5 { Bug Report } [ AuxiliaryAddons ] / X / Ruby 2.5.x support
19
20
  0.5 { Bug Report } [ AuxiliaryAddons ] / X / Handle special case (all selected) at cast_ids_to_i function
@@ -6,9 +6,12 @@ module AuxiliaryAddons
6
6
  # Common pagin and sorting helpers
7
7
  #
8
8
 
9
- def checkable_field_header
10
- output = check_box_tag "ids[]", 0, false, {:id => "ids_", :onclick => "checkedAll('list',this.checked);"}
11
- output
9
+ #
10
+ def checkable_field_header(options = {})
11
+ # Here is old implementation
12
+ # output = check_box_tag "ids[]", 0, false, {:id => "ids_", :onclick => "checkedAll('list',this.checked);"}
13
+ # output
14
+ check_box_tag "ids[]", 0, false, options
12
15
  end
13
16
 
14
17
  def sortable_field_header (header_name, field_name, form_name = nil)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auxiliary_addons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-15 00:00:00.000000000Z
12
+ date: 2013-03-04 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: AuxiliaryAddons is a gem that contains basic helpers.
15
15
  email: developers@majoron.com
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 1.8.10
78
+ rubygems_version: 1.8.23
79
79
  signing_key:
80
80
  specification_version: 3
81
81
  summary: AuxiliaryAddons is a gem that contains basic helpers.