memoize 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ = 1.3.1 - 8-Aug-2009
2
+ * The test-unit was switched from a runtime dependency to a development
3
+ dependency.
4
+
1
5
  = 1.3.0 - 13-Jul-2009
2
6
  * Updated to work with 1.9.x - now passes explicit arguments to super. Still
3
7
  works with 1.8.x as well.
@@ -1,5 +1,6 @@
1
1
  module Memoize
2
- MEMOIZE_VERSION = '1.3.0'
2
+ # The version of the memoize library
3
+ MEMOIZE_VERSION = '1.3.1'
3
4
 
4
5
  # Memoize the method +name+. If +file+ is provided, then the method results
5
6
  # are stored on disk as well as in memory.
@@ -2,8 +2,9 @@ require 'rubygems'
2
2
 
3
3
  spec = Gem::Specification.new do |gem|
4
4
  gem.name = 'memoize'
5
- gem.version = '1.3.0'
5
+ gem.version = '1.3.1'
6
6
  gem.author = 'Daniel J. Berger'
7
+ gem.license = 'Artistic 2.0'
7
8
  gem.email = 'djberg96@gmail.com'
8
9
  gem.homepage = 'http://www.rubyforge.org/projects/shards'
9
10
  gem.platform = Gem::Platform::RUBY
@@ -11,12 +12,11 @@ spec = Gem::Specification.new do |gem|
11
12
  gem.test_file = 'test/test_memoize.rb'
12
13
  gem.has_rdoc = true
13
14
  gem.files = Dir['**/*'].reject{ |f| f.include?('CVS') }
14
- gem.license = 'Artistic 2.0'
15
15
 
16
16
  gem.rubyforge_project = 'shards'
17
17
  gem.extra_rdoc_files = ['MANIFEST', 'README', 'CHANGES']
18
18
 
19
- gem.add_dependency('test-unit', '>= 2.0.2')
19
+ gem.add_development_dependency('test-unit', '>= 2.0.2')
20
20
 
21
21
  gem.description = <<-EOF
22
22
  The memoize library allows you to cache methods for faster lookup.
@@ -25,5 +25,4 @@ spec = Gem::Specification.new do |gem|
25
25
  EOF
26
26
  end
27
27
 
28
- Gem.manage_gems if Gem::RubyGemsVersion.to_f < 1.0
29
28
  Gem::Builder.new(spec).build
@@ -30,7 +30,7 @@ class TC_Memoize < Test::Unit::TestCase
30
30
  end
31
31
 
32
32
  def test_version
33
- assert_equal('1.3.0', Memoize::MEMOIZE_VERSION)
33
+ assert_equal('1.3.1', Memoize::MEMOIZE_VERSION)
34
34
  end
35
35
 
36
36
  def test_memoize
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memoize
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -9,12 +9,12 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-20 00:00:00 -06:00
12
+ date: 2009-08-08 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: test-unit
17
- type: :runtime
17
+ type: :development
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  requirements: []
67
67
 
68
68
  rubyforge_project: shards
69
- rubygems_version: 1.3.4
69
+ rubygems_version: 1.3.5
70
70
  signing_key:
71
71
  specification_version: 3
72
72
  summary: Speeds up methods at the cost of memory (or disk space)