lazy_methods 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lazy_methods.gemspec +8 -22
- metadata +43 -72
- data/Gemfile +0 -4
- data/Gemfile.lock +0 -20
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.1
|
data/lazy_methods.gemspec
CHANGED
@@ -4,21 +4,19 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "2.0.
|
7
|
+
s.name = "lazy_methods"
|
8
|
+
s.version = "2.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Brian Durand"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2011-11-21"
|
13
|
+
s.description = "Gem that adds lazy method delegation methods. Using this gem you can easily define lazy loading or asynchronous versions of specific methods. Lazy loading is useful when used with caching systems while asynchronous methods can improve throughput on I/O bound processes like making several HTTP calls in row."
|
14
|
+
s.email = "brian@embellishedvisions.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"README.rdoc"
|
17
17
|
]
|
18
18
|
s.files = [
|
19
19
|
".travis.yml",
|
20
|
-
"Gemfile",
|
21
|
-
"Gemfile.lock",
|
22
20
|
"MIT-LICENSE",
|
23
21
|
"README.rdoc",
|
24
22
|
"Rakefile",
|
@@ -30,35 +28,23 @@ Gem::Specification.new do |s|
|
|
30
28
|
"spec/proxy_spec.rb",
|
31
29
|
"spec/spec_helper.rb"
|
32
30
|
]
|
33
|
-
s.homepage =
|
31
|
+
s.homepage = "http://github.com/bdurand/lazy_methods"
|
34
32
|
s.rdoc_options = ["--charset=UTF-8", "--main", "README.rdoc"]
|
35
33
|
s.require_paths = ["lib"]
|
36
|
-
s.rubygems_version =
|
37
|
-
s.summary =
|
38
|
-
s.test_files = [
|
39
|
-
"spec/lazy_method_spec.rb",
|
40
|
-
"spec/method_tester.rb",
|
41
|
-
"spec/proxy_spec.rb",
|
42
|
-
"spec/spec_helper.rb"
|
43
|
-
]
|
34
|
+
s.rubygems_version = "1.8.10"
|
35
|
+
s.summary = "Gem that adds lazy method delegation methods. Using this gem you can easily define lazy loading or asynchronous versions of specific methods. Lazy loading is useful when used with caching systems while asynchronous methods can improve throughput on I/O bound processes like making several HTTP calls in row."
|
44
36
|
|
45
37
|
if s.respond_to? :specification_version then
|
46
38
|
s.specification_version = 3
|
47
39
|
|
48
40
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
49
|
-
s.add_runtime_dependency(%q<rake>, [">= 0"])
|
50
|
-
s.add_runtime_dependency(%q<rspec>, [">= 2.6.0"])
|
51
41
|
s.add_development_dependency(%q<rspec>, [">= 2.0.0"])
|
52
42
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
53
43
|
else
|
54
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
55
|
-
s.add_dependency(%q<rspec>, [">= 2.6.0"])
|
56
44
|
s.add_dependency(%q<rspec>, [">= 2.0.0"])
|
57
45
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
58
46
|
end
|
59
47
|
else
|
60
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
61
|
-
s.add_dependency(%q<rspec>, [">= 2.6.0"])
|
62
48
|
s.add_dependency(%q<rspec>, [">= 2.0.0"])
|
63
49
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
64
50
|
end
|
metadata
CHANGED
@@ -1,74 +1,49 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: lazy_methods
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.1
|
4
5
|
prerelease:
|
5
|
-
version: 2.0.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Brian Durand
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
17
|
-
name: rake
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: "0"
|
24
|
-
type: :runtime
|
25
|
-
prerelease: false
|
26
|
-
version_requirements: *id001
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rspec
|
29
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
-
none: false
|
31
|
-
requirements:
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 2.6.0
|
35
|
-
type: :runtime
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: *id002
|
38
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-11-21 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
39
15
|
name: rspec
|
40
|
-
requirement: &
|
16
|
+
requirement: &2161273620 !ruby/object:Gem::Requirement
|
41
17
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
45
21
|
version: 2.0.0
|
46
22
|
type: :development
|
47
23
|
prerelease: false
|
48
|
-
version_requirements: *
|
49
|
-
- !ruby/object:Gem::Dependency
|
24
|
+
version_requirements: *2161273620
|
25
|
+
- !ruby/object:Gem::Dependency
|
50
26
|
name: jeweler
|
51
|
-
requirement: &
|
27
|
+
requirement: &2161273000 !ruby/object:Gem::Requirement
|
52
28
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version:
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
57
33
|
type: :development
|
58
34
|
prerelease: false
|
59
|
-
version_requirements: *
|
60
|
-
description: Gem that adds lazy method delegation methods. Using this gem you can
|
35
|
+
version_requirements: *2161273000
|
36
|
+
description: Gem that adds lazy method delegation methods. Using this gem you can
|
37
|
+
easily define lazy loading or asynchronous versions of specific methods. Lazy loading
|
38
|
+
is useful when used with caching systems while asynchronous methods can improve
|
39
|
+
throughput on I/O bound processes like making several HTTP calls in row.
|
61
40
|
email: brian@embellishedvisions.com
|
62
41
|
executables: []
|
63
|
-
|
64
42
|
extensions: []
|
65
|
-
|
66
|
-
extra_rdoc_files:
|
43
|
+
extra_rdoc_files:
|
67
44
|
- README.rdoc
|
68
|
-
files:
|
45
|
+
files:
|
69
46
|
- .travis.yml
|
70
|
-
- Gemfile
|
71
|
-
- Gemfile.lock
|
72
47
|
- MIT-LICENSE
|
73
48
|
- README.rdoc
|
74
49
|
- Rakefile
|
@@ -79,38 +54,34 @@ files:
|
|
79
54
|
- spec/method_tester.rb
|
80
55
|
- spec/proxy_spec.rb
|
81
56
|
- spec/spec_helper.rb
|
82
|
-
has_rdoc: true
|
83
57
|
homepage: http://github.com/bdurand/lazy_methods
|
84
58
|
licenses: []
|
85
|
-
|
86
59
|
post_install_message:
|
87
|
-
rdoc_options:
|
60
|
+
rdoc_options:
|
88
61
|
- --charset=UTF-8
|
89
62
|
- --main
|
90
63
|
- README.rdoc
|
91
|
-
require_paths:
|
64
|
+
require_paths:
|
92
65
|
- lib
|
93
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
94
67
|
none: false
|
95
|
-
requirements:
|
96
|
-
- -
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
version:
|
99
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ! '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
73
|
none: false
|
101
|
-
requirements:
|
102
|
-
- -
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version:
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
105
78
|
requirements: []
|
106
|
-
|
107
79
|
rubyforge_project:
|
108
|
-
rubygems_version: 1.
|
80
|
+
rubygems_version: 1.8.10
|
109
81
|
signing_key:
|
110
82
|
specification_version: 3
|
111
|
-
summary: Gem that adds lazy method delegation methods. Using this gem you can easily
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
- spec/spec_helper.rb
|
83
|
+
summary: Gem that adds lazy method delegation methods. Using this gem you can easily
|
84
|
+
define lazy loading or asynchronous versions of specific methods. Lazy loading is
|
85
|
+
useful when used with caching systems while asynchronous methods can improve throughput
|
86
|
+
on I/O bound processes like making several HTTP calls in row.
|
87
|
+
test_files: []
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
diff-lcs (1.1.2)
|
5
|
-
rake (0.9.2)
|
6
|
-
rspec (2.6.0)
|
7
|
-
rspec-core (~> 2.6.0)
|
8
|
-
rspec-expectations (~> 2.6.0)
|
9
|
-
rspec-mocks (~> 2.6.0)
|
10
|
-
rspec-core (2.6.4)
|
11
|
-
rspec-expectations (2.6.0)
|
12
|
-
diff-lcs (~> 1.1.2)
|
13
|
-
rspec-mocks (2.6.0)
|
14
|
-
|
15
|
-
PLATFORMS
|
16
|
-
ruby
|
17
|
-
|
18
|
-
DEPENDENCIES
|
19
|
-
rake
|
20
|
-
rspec (>= 2.6.0)
|