dynamic_fieldsets 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.0.12
2
+
3
+ * Fixed stray typo and failing test
4
+
1
5
  == 0.0.11
2
6
 
3
7
  * Fixed an issue where a model using multiple dynamic fieldsets would never pass validations
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.11
1
+ 0.0.12
@@ -40,7 +40,7 @@ module DynamicFieldsetsHelper
40
40
  # this might be easier on the db
41
41
  # lines.push DynamicFieldsets::FieldOption.find(values).name
42
42
  else
43
- lines.push values + "wow3"
43
+ lines.push values
44
44
  end
45
45
  else
46
46
  lines.push "No answer given"
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dynamic_fieldsets}
8
- s.version = "0.0.11"
8
+ s.version = "0.0.12"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Jeremiah Hemphill}, %q{Ethan Pemble}, %q{John Carter}]
@@ -62,7 +62,7 @@ describe DynamicFieldsetsInModel do
62
62
  end
63
63
 
64
64
  it "should call run_fieldset_child_validations for each key" do
65
- @information_form.stub!(:dynamic_fieldset_values).and_return({"fsa-1" => {}})
65
+ @information_form.stub!(:dynamic_fieldset_values).and_return({"fsa-1" => { :fieldset_model_name => :child_form }})
66
66
  @information_form.should_receive(:run_fieldset_child_validations!)
67
67
  @information_form.run_dynamic_fieldset_validations!
68
68
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynamic_fieldsets
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.11
5
+ version: 0.0.12
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeremiah Hemphill
@@ -351,7 +351,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
351
351
  requirements:
352
352
  - - ">="
353
353
  - !ruby/object:Gem::Version
354
- hash: -4483893965700414166
354
+ hash: 1785029968753232682
355
355
  segments:
356
356
  - 0
357
357
  version: "0"