simple_memoize 1.0.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt ADDED
@@ -0,0 +1,6 @@
1
+ === 1.0.0 / 2008-03-25
2
+
3
+ * 1 major enhancement
4
+
5
+ * Clean little gem
6
+
data/Manifest.txt ADDED
@@ -0,0 +1,6 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.txt
4
+ Rakefile
5
+ lib/simple_memoize.rb
6
+ test/test_simple_memoize.rb
data/Rakefile CHANGED
@@ -1,15 +1,13 @@
1
- # vim: syntax=Ruby
2
- begin
3
- require 'jeweler'
4
- Jeweler::Tasks.new do |gem|
5
- gem.name = "simple_memoize"
6
- gem.summary = %Q{Very lightweight way to ensure some methods only run once}
7
- gem.email = "rubygems@6brand.com"
8
- gem.homepage = "http://github.com/JackDanger/simple_memoize"
9
- gem.authors = ["Jack Danger Canty"]
10
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
11
- end
12
- Jeweler::GemcutterTasks.new
13
- rescue LoadError
14
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'hoe'
5
+ require './lib/simple_memoize.rb'
6
+
7
+ Hoe.new('simple_memoize', SimpleMemoize::VERSION) do |p|
8
+ p.rubyforge_name = 'objectproxy' # if different than lowercase project name
9
+ p.developer('Jack Danger Canty', 'rubygems@6brand.com')
10
+ p.developer('Joel Friedman', 'jfriedman@lmp-jfriedman01.us.drwholdings.com')
15
11
  end
12
+
13
+ # vim: syntax=Ruby
metadata CHANGED
@@ -1,76 +1,89 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_memoize
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 1
8
- - 0
9
7
  - 1
10
- version: 1.0.1
8
+ - 2
9
+ version: 1.1.2
11
10
  platform: ruby
12
11
  authors:
13
12
  - Jack Danger Canty
13
+ - Joel Friedman
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-10 00:00:00 -07:00
18
+ date: 2010-07-08 00:00:00 -07:00
19
19
  default_executable:
20
- dependencies: []
21
-
22
- description:
23
- email: rubygems@6brand.com
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: hoe
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 2
30
+ - 3
31
+ - 3
32
+ version: 2.3.3
33
+ type: :development
34
+ version_requirements: *id001
35
+ description: |-
36
+ Provides in-memory caching of any Ruby method. It's dead simple and won't get in the way of any of your code.
37
+ For something more robust that offers persistence try http://github.com/JackDanger/cached_values/
38
+ Documentation also available here: http://objectproxy.rubyforge.org/simple_memoize/
39
+ email:
40
+ - rubygems@6brand.com
41
+ - jfriedman@lmp-jfriedman01.us.drwholdings.com
24
42
  executables: []
25
43
 
26
44
  extensions: []
27
45
 
28
46
  extra_rdoc_files:
29
- - LICENSE
47
+ - History.txt
48
+ - Manifest.txt
30
49
  - README.txt
31
50
  files:
32
- - LICENSE
51
+ - History.txt
52
+ - Manifest.txt
33
53
  - README.txt
34
54
  - Rakefile
35
- - VERSION
36
- - init.rb
37
55
  - lib/simple_memoize.rb
38
- - rails/init.rb
39
- - simple_memoize.gemspec
40
56
  - test/test_simple_memoize.rb
41
57
  has_rdoc: true
42
- homepage: http://github.com/JackDanger/simple_memoize
58
+ homepage: http://github.com/JackDanger/simple_memoize/
43
59
  licenses: []
44
60
 
45
61
  post_install_message:
46
- rdoc_options: []
47
-
62
+ rdoc_options:
63
+ - --main
64
+ - README.txt
48
65
  require_paths:
49
66
  - lib
50
67
  required_ruby_version: !ruby/object:Gem::Requirement
51
- none: false
52
68
  requirements:
53
69
  - - ">="
54
70
  - !ruby/object:Gem::Version
55
- hash: 3
56
71
  segments:
57
72
  - 0
58
73
  version: "0"
59
74
  required_rubygems_version: !ruby/object:Gem::Requirement
60
- none: false
61
75
  requirements:
62
76
  - - ">="
63
77
  - !ruby/object:Gem::Version
64
- hash: 3
65
78
  segments:
66
79
  - 0
67
80
  version: "0"
68
81
  requirements: []
69
82
 
70
- rubyforge_project:
71
- rubygems_version: 1.4.2
83
+ rubyforge_project: objectproxy
84
+ rubygems_version: 1.3.6
72
85
  signing_key:
73
86
  specification_version: 3
74
- summary: Very lightweight way to ensure some methods only run once
87
+ summary: Provides in-memory caching of any Ruby method
75
88
  test_files:
76
89
  - test/test_simple_memoize.rb
data/LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2011 Jack Danger Canty
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.0.1
data/init.rb DELETED
@@ -1 +0,0 @@
1
- require 'simple_memoize'
data/rails/init.rb DELETED
@@ -1 +0,0 @@
1
- require 'simple_memoize'
@@ -1,46 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{simple_memoize}
8
- s.version = "1.0.1"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Jack Danger Canty"]
12
- s.date = %q{2011-04-10}
13
- s.email = %q{rubygems@6brand.com}
14
- s.extra_rdoc_files = [
15
- "LICENSE",
16
- "README.txt"
17
- ]
18
- s.files = [
19
- "LICENSE",
20
- "README.txt",
21
- "Rakefile",
22
- "VERSION",
23
- "init.rb",
24
- "lib/simple_memoize.rb",
25
- "rails/init.rb",
26
- "simple_memoize.gemspec",
27
- "test/test_simple_memoize.rb"
28
- ]
29
- s.homepage = %q{http://github.com/JackDanger/simple_memoize}
30
- s.require_paths = ["lib"]
31
- s.rubygems_version = %q{1.4.2}
32
- s.summary = %q{Very lightweight way to ensure some methods only run once}
33
- s.test_files = [
34
- "test/test_simple_memoize.rb"
35
- ]
36
-
37
- if s.respond_to? :specification_version then
38
- s.specification_version = 3
39
-
40
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
41
- else
42
- end
43
- else
44
- end
45
- end
46
-