lawnchair 0.6.10 → 0.6.11
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lawnchair.gemspec +33 -36
- data/lib/storage_engine/abstract.rb +0 -1
- data/spec/storage_engine/abstract_spec.rb +0 -4
- metadata +8 -9
- data/.gitignore +0 -21
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.11
|
data/lawnchair.gemspec
CHANGED
@@ -1,63 +1,60 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{lawnchair}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.11"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Shane Wolf"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-05-18}
|
13
13
|
s.description = %q{Fully featured caching mechanism for arbitrary pieces of resource expensive ruby code using Redis while being able to optionally store data in the Ruby process itself for maximum efficiency.}
|
14
14
|
s.email = %q{shanewolf@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
|
17
|
+
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
|
-
"
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
"spec/storage_engine/redis_spec.rb"
|
20
|
+
"LICENSE",
|
21
|
+
"README.rdoc",
|
22
|
+
"Rakefile",
|
23
|
+
"VERSION",
|
24
|
+
"lawnchair.gemspec",
|
25
|
+
"lib/active_record_extension.rb",
|
26
|
+
"lib/lawnchair.rb",
|
27
|
+
"lib/marshal_extension.rb",
|
28
|
+
"lib/storage_engine/abstract.rb",
|
29
|
+
"lib/storage_engine/composite.rb",
|
30
|
+
"lib/storage_engine/in_process.rb",
|
31
|
+
"lib/storage_engine/redis.rb",
|
32
|
+
"lib/view/helper.rb",
|
33
|
+
"spec/lawnchair_spec.rb",
|
34
|
+
"spec/spec.opts",
|
35
|
+
"spec/spec_helper.rb",
|
36
|
+
"spec/speed.rb",
|
37
|
+
"spec/speed_results.png",
|
38
|
+
"spec/storage_engine/abstract_spec.rb",
|
39
|
+
"spec/storage_engine/composite_spec.rb",
|
40
|
+
"spec/storage_engine/in_process_spec.rb",
|
41
|
+
"spec/storage_engine/redis_spec.rb"
|
43
42
|
]
|
44
43
|
s.homepage = %q{http://github.com/gizm0duck/lawnchair}
|
45
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
46
44
|
s.require_paths = ["lib"]
|
47
|
-
s.rubygems_version = %q{1.
|
45
|
+
s.rubygems_version = %q{1.5.0}
|
48
46
|
s.summary = %q{Speed up your app by caching expensive code in Redis or in the ruby process itself}
|
49
47
|
s.test_files = [
|
50
48
|
"spec/lawnchair_spec.rb",
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
49
|
+
"spec/spec_helper.rb",
|
50
|
+
"spec/speed.rb",
|
51
|
+
"spec/storage_engine/abstract_spec.rb",
|
52
|
+
"spec/storage_engine/composite_spec.rb",
|
53
|
+
"spec/storage_engine/in_process_spec.rb",
|
54
|
+
"spec/storage_engine/redis_spec.rb"
|
57
55
|
]
|
58
56
|
|
59
57
|
if s.respond_to? :specification_version then
|
60
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
61
58
|
s.specification_version = 3
|
62
59
|
|
63
60
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
@@ -106,10 +106,6 @@ describe "Lawnchair::StorageEngine::Abstract" do
|
|
106
106
|
abstract_store.computed_key("hooo").should == "Lawnchair:hooo"
|
107
107
|
end
|
108
108
|
|
109
|
-
it "removes whitespace that might exist in a key" do
|
110
|
-
abstract_store.computed_key("hooo tyyyyy").should == "Lawnchair:hoootyyyyy"
|
111
|
-
end
|
112
|
-
|
113
109
|
it "raises an exception if no key is given" do
|
114
110
|
lambda do
|
115
111
|
abstract_store.computed_key("") { 1 }
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lawnchair
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 17
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 11
|
10
|
+
version: 0.6.11
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Shane Wolf
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-05-18 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -60,7 +60,6 @@ extra_rdoc_files:
|
|
60
60
|
- LICENSE
|
61
61
|
- README.rdoc
|
62
62
|
files:
|
63
|
-
- .gitignore
|
64
63
|
- LICENSE
|
65
64
|
- README.rdoc
|
66
65
|
- Rakefile
|
@@ -88,8 +87,8 @@ homepage: http://github.com/gizm0duck/lawnchair
|
|
88
87
|
licenses: []
|
89
88
|
|
90
89
|
post_install_message:
|
91
|
-
rdoc_options:
|
92
|
-
|
90
|
+
rdoc_options: []
|
91
|
+
|
93
92
|
require_paths:
|
94
93
|
- lib
|
95
94
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -113,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
112
|
requirements: []
|
114
113
|
|
115
114
|
rubyforge_project:
|
116
|
-
rubygems_version: 1.
|
115
|
+
rubygems_version: 1.5.0
|
117
116
|
signing_key:
|
118
117
|
specification_version: 3
|
119
118
|
summary: Speed up your app by caching expensive code in Redis or in the ruby process itself
|