Permalink
Browse files

Fixed bug created in release 1.0.6 code.

  • Loading branch information...
1 parent 7dc9132 commit aecb325aca8919b1bcf0bc09c78a06a5d7d09061 @midas committed Nov 1, 2009
Showing with 13 additions and 6 deletions.
  1. +5 −0 History.txt
  2. +1 −1 VERSION
  3. +5 −3 g_sectioned_shower.gemspec
  4. +1 −1 lib/g_sectioned_shower.rb
  5. +1 −1 lib/g_sectioned_shower/view_helpers.rb
View
@@ -1,3 +1,8 @@
+== 1.0.7 2009-11-01
+
+* Fixed bug created in 1.0.6 with incorrect variable name (typo).
+
+
== 1.0.6 2009-10-29
* Fixed bug with associated objects that are nil still trying to send methods to get values back.
View
@@ -1 +1 @@
-1.0.6
+1.0.7
@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{g_sectioned_shower}
- s.version = "1.0.6"
+ s.version = "1.0.7"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["C. Jason Harrelson (midas)"]
- s.date = %q{2009-10-29}
+ s.date = %q{2009-11-01}
s.description = %q{A Guilded (http://github.com/midas/guilded/tree/master) component that creates adaptable show (detail) views of a single ActiveRecord object.}
s.email = %q{jason@lookforwardenterprises.com}
s.extra_rdoc_files = [
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
]
s.files = [
"History.txt",
+ "LICENSE",
"README.rdoc",
"Rakefile",
"VERSION",
@@ -27,7 +28,8 @@ Gem::Specification.new do |s|
"script/console",
"script/destroy",
"script/generate",
- "tasks/rspec.rake"
+ "tasks/rspec.rake",
+ "test/test_helper.rb"
]
s.homepage = %q{http://github.com/midas/tester}
s.rdoc_options = ["--charset=UTF-8"]
@@ -4,7 +4,7 @@
require 'g_sectioned_shower/view_helpers'
module GSectionedShower
- VERSION = '1.0.6'
+ VERSION = '1.0.7'
end
if defined?( ActionView::Base )
@@ -226,7 +226,7 @@ def handle_associated_many( html, ar_obj, reflection, section, methods, index )
rel_methods.each_with_index do |rel_method, rel_i|
- method_output = h( assoc_ar_obj.send( rel_method ) ) unless assoc_obj.nil?
+ method_output = h( assoc_ar_obj.send( rel_method ) ) unless assoc_ar_obj.nil?
links = section[:links]
throw "The 'links' option must have values in it, or be left out of the options for the section." if !links.nil? && links.empty?

0 comments on commit aecb325

Please sign in to comment.