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 CHANGED
@@ -1 +1 @@
1
- 0.6.10
1
+ 0.6.11
@@ -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 the gemspec command
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.10"
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{2010-10-11}
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
- "README.rdoc"
17
+ "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
- ".gitignore",
21
- "LICENSE",
22
- "README.rdoc",
23
- "Rakefile",
24
- "VERSION",
25
- "lawnchair.gemspec",
26
- "lib/active_record_extension.rb",
27
- "lib/lawnchair.rb",
28
- "lib/marshal_extension.rb",
29
- "lib/storage_engine/abstract.rb",
30
- "lib/storage_engine/composite.rb",
31
- "lib/storage_engine/in_process.rb",
32
- "lib/storage_engine/redis.rb",
33
- "lib/view/helper.rb",
34
- "spec/lawnchair_spec.rb",
35
- "spec/spec.opts",
36
- "spec/spec_helper.rb",
37
- "spec/speed.rb",
38
- "spec/speed_results.png",
39
- "spec/storage_engine/abstract_spec.rb",
40
- "spec/storage_engine/composite_spec.rb",
41
- "spec/storage_engine/in_process_spec.rb",
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.3.7}
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
- "spec/spec_helper.rb",
52
- "spec/speed.rb",
53
- "spec/storage_engine/abstract_spec.rb",
54
- "spec/storage_engine/composite_spec.rb",
55
- "spec/storage_engine/in_process_spec.rb",
56
- "spec/storage_engine/redis_spec.rb"
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
@@ -32,7 +32,6 @@ module Lawnchair
32
32
 
33
33
  def computed_key(key)
34
34
  raise "Missing key" if key.nil? || key.empty?
35
- key.gsub!(" ","") if key.match(/\s/)
36
35
  prefix = "Lawnchair"
37
36
  "#{prefix}:#{key}"
38
37
  end
@@ -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: 19
5
- prerelease: false
4
+ hash: 17
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 10
10
- version: 0.6.10
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: 2010-10-11 00:00:00 -07:00
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
- - --charset=UTF-8
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.3.7
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
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC