gibbler 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGES.txt +5 -2
  2. data/gibbler.gemspec +1 -1
  3. data/lib/gibbler.rb +2 -2
  4. metadata +1 -1
data/CHANGES.txt CHANGED
@@ -1,9 +1,12 @@
1
1
  GIBBLER, CHANGES
2
2
 
3
- #### 0.7.5 (2010-03-18) ###############################
3
+ #### 0.7.6 (2010-03-18) ###############################
4
+
5
+ * FIXED: The previous fix missed the case where gibbler_fields was null
4
6
 
5
- * FIXED: :undefined method `each' for :fieldname:Symbol when only one gibbler_field defined
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
@@ -1,7 +1,7 @@
1
1
  @spec = Gem::Specification.new do |s|
2
2
  s.name = "gibbler"
3
3
  s.rubyforge_project = "gibbler"
4
- s.version = "0.7.5"
4
+ s.version = "0.7.6"
5
5
  s.summary = "Gibbler: Git-like hashes for Ruby objects"
6
6
  s.description = s.summary
7
7
  s.author = "Delano Mandelbaum"
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.5"
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 '@'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gibbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delano Mandelbaum