acts_as_multipart_form 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  == unreleased changes
2
2
 
3
+ == 0.0.8
4
+
5
+ * Fixed a bug where the part would not be re-called if it failed validations
6
+
3
7
  == 0.0.7
4
8
 
5
9
  * Updated future work in readme
@@ -62,6 +62,7 @@ Creates links to each form part for the given form subject. The load_multipart_
62
62
  * Fix the index links loading so that the user does not have to explicitly call a method when they are needed
63
63
  * Improve code quality of the mixin where it makes variables available to views
64
64
  * Find a fix for having to explicitly create the form subject in the code. The current system pushes us towards models that only hold the form subject id. The problem is that it is possible to use a multipart form without a specific form model. This leads to orphaned or blank records.
65
+ * Increase test coverage for the multipart_form_handler
65
66
 
66
67
  == Contributing to acts_as_multipart_form
67
68
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.7
1
+ 0.0.8
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "acts_as_multipart_form"
8
- s.version = "0.0.7"
8
+ s.version = "0.0.8"
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"]
12
- s.date = "2012-03-14"
12
+ s.date = "2012-03-20"
13
13
  s.description = "Multipart forms using custom routes"
14
14
  s.email = "jeremiah@cloudspace.com"
15
15
  s.extra_rdoc_files = [
@@ -135,6 +135,9 @@ module ActsAsMultipartForm
135
135
  else
136
136
  # render the previous page but stay on this page so we keep the errors
137
137
  part = get_previous_multipart_form_part(form_name, part)
138
+ # actually run the part we just found
139
+ # can't believe we missed this one (JH 3-20-2012)
140
+ self.send(part)
138
141
  end
139
142
  end
140
143
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: acts_as_multipart_form
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.7
5
+ version: 0.0.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeremiah Hemphill
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2012-03-14 00:00:00 Z
14
+ date: 2012-03-20 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -258,7 +258,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
258
258
  requirements:
259
259
  - - ">="
260
260
  - !ruby/object:Gem::Version
261
- hash: 3192784938124864737
261
+ hash: -888520653492341845
262
262
  segments:
263
263
  - 0
264
264
  version: "0"