dynamic_fieldsets 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.12
1
+ 0.1.13
@@ -53,12 +53,14 @@ function get_input_value(field, type) {
53
53
  return field.val();
54
54
  case 'radio':
55
55
  if (field.attr('checked') == 'checked') {
56
- return $.trim(field.parent('label').text());
56
+ var output = $.trim(field.parent('label').text());
57
57
  }
58
58
  //it should only grab results for checked radios
59
59
  else {
60
- return $.trim(field.parent().parent().find('[checked="checked"]').parent('label').text());
60
+ var output = $.trim(field.parent().parent().find(':checked').parent('label').text());
61
61
  }
62
+ console.log(output);
63
+ return output;
62
64
  case 'checkbox':
63
65
  return $('input[name="' + field.attr('name') + '"]:checked').map(function(index,option) {
64
66
  return $.trim($(option).parent('label').text())
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dynamic_fieldsets"
8
- s.version = "0.1.12"
8
+ s.version = "0.1.13"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeremiah Hemphill", "Ethan Pemble", "John Carter"]
12
- s.date = "2013-08-07"
12
+ s.date = "2013-08-14"
13
13
  s.description = "Dynamic fieldsets for rails controllers"
14
14
  s.email = "jeremiah@cloudspace.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_fieldsets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-08-07 00:00:00.000000000 Z
14
+ date: 2013-08-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -520,7 +520,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
520
520
  version: '0'
521
521
  segments:
522
522
  - 0
523
- hash: -2740619751433804355
523
+ hash: 174445989240896348
524
524
  required_rubygems_version: !ruby/object:Gem::Requirement
525
525
  none: false
526
526
  requirements: