memoist2 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +4 -1
  3. data/memoist2.gemspec +33 -0
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9469f4a69b93e831b13b1ffb25a5c1dde24d0b4f
4
- data.tar.gz: 0f62199fc4a58d8011e9a497eabb4dca0bba474a
3
+ metadata.gz: 5e212b34d8d7eed959ebc763094d38b50e7d8b00
4
+ data.tar.gz: a4d5a63ac608b8ada9c146ab9ec2366a7db4b35c
5
5
  SHA512:
6
- metadata.gz: 240188ec5c43029bc30607098a97231761af2e3653608b8eec6b5c2bee1e95287a0be170186721e11c98a342ba18fd25d673e75e04c7490f520bdf3ebefb04be
7
- data.tar.gz: edb58147414a0db8c312f21cee8fbcde1ecdb1013838efa3ff2f69f8a44e1b0f3e1563a7e3cae2db4853386aa3bb69011b3c49a4ca9b9c581d06b1fe6ee1e19f
6
+ metadata.gz: bc242e6f1f0901c52a8625a39e5e94ad5a586911a9316aefd6007bebf4d76cb95a9651fef0e6f8340a5b6da26f28e0ac22af18136663327f3ec90a99375e0b0a
7
+ data.tar.gz: 190214b45843f9d85b32a097df62ec3ab26eebae4b69850bd4c389362dc6197b9b595bd2b03dd90dcc8e411a5399dd4a094ab955cf8e814b4d1f1e3f1b5902b6
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ spec = Gem::Specification.new do |s|
15
15
 
16
16
  # Basic details
17
17
  s.name = "memoist2"
18
- s.version = "0.1.0"
18
+ s.version = "0.1.1"
19
19
  s.summary = "Really simple memoization for ruby 2.0"
20
20
  s.author = "Matthew Rudy Jacobs"
21
21
  s.email = "MatthewRudyJacobs@gmail.com"
@@ -25,6 +25,9 @@ spec = Gem::Specification.new do |s|
25
25
  s.extra_rdoc_files = %w(README.md)
26
26
  s.rdoc_options = %w(--main README.md)
27
27
 
28
+ # Only works with Ruby 2
29
+ s.required_ruby_version = '>= 2.0.0'
30
+
28
31
  # Add any extra files to include in the gem
29
32
  s.files = `git ls-files`.split
30
33
  s.require_paths = ["lib"]
data/memoist2.gemspec ADDED
@@ -0,0 +1,33 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = "memoist2"
5
+ s.version = "0.1.0"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Matthew Rudy Jacobs"]
9
+ s.date = "2013-07-19"
10
+ s.email = "MatthewRudyJacobs@gmail.com"
11
+ s.extra_rdoc_files = ["README.md"]
12
+ s.files = [".gitignore", ".rspec", ".ruby-version", ".travis.yml", "Gemfile", "README.md", "Rakefile", "example/foo.rb", "lib/memoist2.rb", "spec/memoist2_spec.rb", "spec/spec_helper.rb"]
13
+ s.homepage = "https://github.com/matthewrudy/memoist2"
14
+ s.rdoc_options = ["--main", "README.md"]
15
+ s.require_paths = ["lib"]
16
+ s.rubygems_version = "2.0.3"
17
+ s.summary = "Really simple memoization for ruby 2.0"
18
+
19
+ if s.respond_to? :specification_version then
20
+ s.specification_version = 4
21
+
22
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
23
+ s.add_development_dependency(%q<rspec>, [">= 0"])
24
+ s.add_development_dependency(%q<rake>, [">= 0"])
25
+ else
26
+ s.add_dependency(%q<rspec>, [">= 0"])
27
+ s.add_dependency(%q<rake>, [">= 0"])
28
+ end
29
+ else
30
+ s.add_dependency(%q<rspec>, [">= 0"])
31
+ s.add_dependency(%q<rake>, [">= 0"])
32
+ end
33
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memoist2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Rudy Jacobs
@@ -54,6 +54,7 @@ files:
54
54
  - Rakefile
55
55
  - example/foo.rb
56
56
  - lib/memoist2.rb
57
+ - memoist2.gemspec
57
58
  - spec/memoist2_spec.rb
58
59
  - spec/spec_helper.rb
59
60
  homepage: https://github.com/matthewrudy/memoist2
@@ -69,7 +70,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
70
  requirements:
70
71
  - - '>='
71
72
  - !ruby/object:Gem::Version
72
- version: '0'
73
+ version: 2.0.0
73
74
  required_rubygems_version: !ruby/object:Gem::Requirement
74
75
  requirements:
75
76
  - - '>='