hexoid 0.2.1 → 0.2.2

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.
Files changed (5) hide show
  1. data/CHANGES.txt +3 -0
  2. data/README.rdoc +1 -1
  3. data/Rakefile +8 -7
  4. data/hexoid.gemspec +1 -1
  5. metadata +3 -3
@@ -1,5 +1,8 @@
1
1
  HEXOID, CHANGES
2
2
 
3
+ #### 0.2.2 (2010-02-15) ###############################
4
+
5
+ * CHANGE: Remove hanna dependency
3
6
 
4
7
  #### 0.2.1 (2009-09-22) ###############################
5
8
 
@@ -10,7 +10,7 @@ The default <tt>to_s</tt> method for Ruby objects includes the object id encoded
10
10
 
11
11
  class A
12
12
  def to_s
13
- "<A:%s>" % self.hexoid
13
+ "<%s:%s>" % [self.class.name, hexoid]
14
14
  end
15
15
  end
16
16
 
data/Rakefile CHANGED
@@ -1,14 +1,15 @@
1
-
2
1
  require 'rake/clean'
3
2
  require 'rake/gempackagetask'
4
- require 'hanna/rdoctask'
5
- require 'rake/testtask'
6
- require 'shoulda/tasks'
7
- require 'rake/runtest'
8
- require 'monkeyspecdoc' # http://jgre.org/2008/09/03/monkeyspecdoc/
9
3
  require 'fileutils'
10
4
  include FileUtils
11
-
5
+
6
+ begin
7
+ require 'hanna/rdoctask'
8
+ rescue LoadError
9
+ require 'rake/rdoctask'
10
+ end
11
+
12
+
12
13
  task :default => :test
13
14
 
14
15
 
@@ -1,7 +1,7 @@
1
1
  @spec = Gem::Specification.new do |s|
2
2
  s.name = "hexoid"
3
3
  s.rubyforge_project = 'hexoid'
4
- s.version = "0.2.1"
4
+ s.version = "0.2.2"
5
5
  s.summary = "Hexoid: Encode your object IDs like Ruby does."
6
6
  s.description = s.summary
7
7
  s.author = "Delano Mandelbaum"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hexoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delano Mandelbaum
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-08 00:00:00 -04:00
12
+ date: 2010-02-20 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  requirements: []
59
59
 
60
60
  rubyforge_project: hexoid
61
- rubygems_version: 1.3.2
61
+ rubygems_version: 1.3.5
62
62
  signing_key:
63
63
  specification_version: 3
64
64
  summary: "Hexoid: Encode your object IDs like Ruby does."