gibbler 0.7.5 → 0.7.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/CHANGES.txt +5 -2
- data/gibbler.gemspec +1 -1
- data/lib/gibbler.rb +2 -2
- metadata +1 -1
data/CHANGES.txt
CHANGED
@@ -1,9 +1,12 @@
|
|
1
1
|
GIBBLER, CHANGES
|
2
2
|
|
3
|
-
#### 0.7.
|
3
|
+
#### 0.7.6 (2010-03-18) ###############################
|
4
|
+
|
5
|
+
* FIXED: The previous fix missed the case where gibbler_fields was null
|
4
6
|
|
5
|
-
|
7
|
+
#### 0.7.5 (2010-03-18) ###############################
|
6
8
|
|
9
|
+
* FIXED: :undefined method `each' for :fieldname:Symbol when only one element in gibbler_fields
|
7
10
|
|
8
11
|
#### 0.7.4 (2010-02-12) ###############################
|
9
12
|
|
data/gibbler.gemspec
CHANGED
data/lib/gibbler.rb
CHANGED
@@ -15,7 +15,7 @@ require 'digest/sha1'
|
|
15
15
|
# "Hola, Tanneritos"
|
16
16
|
#
|
17
17
|
module Gibbler
|
18
|
-
VERSION = "0.7.
|
18
|
+
VERSION = "0.7.6"
|
19
19
|
|
20
20
|
require 'gibbler/mixins'
|
21
21
|
|
@@ -267,7 +267,7 @@ module Gibbler
|
|
267
267
|
end
|
268
268
|
|
269
269
|
def gibbler_fields
|
270
|
-
f = [self.class.gibbler_fields].flatten
|
270
|
+
f = [self.class.gibbler_fields].compact.flatten
|
271
271
|
if f.empty?
|
272
272
|
f = instance_variables.sort.collect { |n|
|
273
273
|
n.to_s[1..-1].to_sym # remove the '@'
|