background_cache 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/background_cache.gemspec +4 -4
- data/lib/background_cache/daemon.rb +1 -4
- data/lib/background_cache.rb +2 -7
- metadata +25 -31
data/background_cache.gemspec
CHANGED
@@ -6,7 +6,7 @@ $:.unshift lib unless $:.include?(lib)
|
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "background_cache"
|
9
|
-
s.version = '0.2.
|
9
|
+
s.version = '0.2.1'
|
10
10
|
s.platform = Gem::Platform::RUBY
|
11
11
|
s.authors = [ "Winton Welsh" ]
|
12
12
|
s.email = [ "mail@wintoni.us" ]
|
@@ -19,10 +19,10 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.require_paths = %w(lib)
|
20
20
|
s.test_files = `cd #{root} && git ls-files -- {features,test,spec}/*`.split("\n")
|
21
21
|
|
22
|
-
s.add_development_dependency "rack-test", "= 0.5.3"
|
23
22
|
s.add_development_dependency "rails", "= 2.3.10"
|
24
23
|
s.add_development_dependency "rspec", "~> 1.0"
|
25
24
|
|
26
|
-
s.add_dependency "
|
27
|
-
s.add_dependency "
|
25
|
+
s.add_dependency "rack-test"
|
26
|
+
s.add_dependency "redis"
|
27
|
+
s.add_dependency "yajl-ruby"
|
28
28
|
end
|
data/lib/background_cache.rb
CHANGED
@@ -1,15 +1,10 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
gem "yajl-ruby", "~> 1.0.0"
|
6
|
-
require "yajl"
|
7
|
-
|
8
|
-
gem "redis", "~> 2.2.2"
|
3
|
+
require "rack/test"
|
9
4
|
require "redis"
|
5
|
+
require "yajl"
|
10
6
|
|
11
7
|
require 'digest/sha2'
|
12
|
-
require 'rack/test'
|
13
8
|
require 'yaml'
|
14
9
|
|
15
10
|
$:.unshift File.dirname(__FILE__)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: background_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Winton Welsh
|
@@ -18,51 +18,49 @@ cert_chain: []
|
|
18
18
|
date: 2011-10-24 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
name:
|
21
|
+
name: rails
|
22
22
|
prerelease: false
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
24
|
none: false
|
25
25
|
requirements:
|
26
26
|
- - "="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
hash:
|
28
|
+
hash: 23
|
29
29
|
segments:
|
30
|
-
-
|
31
|
-
- 5
|
30
|
+
- 2
|
32
31
|
- 3
|
33
|
-
|
32
|
+
- 10
|
33
|
+
version: 2.3.10
|
34
34
|
type: :development
|
35
35
|
version_requirements: *id001
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
|
-
name:
|
37
|
+
name: rspec
|
38
38
|
prerelease: false
|
39
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
44
|
+
hash: 15
|
45
45
|
segments:
|
46
|
-
-
|
47
|
-
-
|
48
|
-
|
49
|
-
version: 2.3.10
|
46
|
+
- 1
|
47
|
+
- 0
|
48
|
+
version: "1.0"
|
50
49
|
type: :development
|
51
50
|
version_requirements: *id002
|
52
51
|
- !ruby/object:Gem::Dependency
|
53
|
-
name:
|
52
|
+
name: rack-test
|
54
53
|
prerelease: false
|
55
54
|
requirement: &id003 !ruby/object:Gem::Requirement
|
56
55
|
none: false
|
57
56
|
requirements:
|
58
|
-
- -
|
57
|
+
- - ">="
|
59
58
|
- !ruby/object:Gem::Version
|
60
|
-
hash:
|
59
|
+
hash: 3
|
61
60
|
segments:
|
62
|
-
- 1
|
63
61
|
- 0
|
64
|
-
version: "
|
65
|
-
type: :
|
62
|
+
version: "0"
|
63
|
+
type: :runtime
|
66
64
|
version_requirements: *id003
|
67
65
|
- !ruby/object:Gem::Dependency
|
68
66
|
name: redis
|
@@ -70,14 +68,12 @@ dependencies:
|
|
70
68
|
requirement: &id004 !ruby/object:Gem::Requirement
|
71
69
|
none: false
|
72
70
|
requirements:
|
73
|
-
- -
|
71
|
+
- - ">="
|
74
72
|
- !ruby/object:Gem::Version
|
75
73
|
hash: 3
|
76
74
|
segments:
|
77
|
-
-
|
78
|
-
|
79
|
-
- 2
|
80
|
-
version: 2.2.2
|
75
|
+
- 0
|
76
|
+
version: "0"
|
81
77
|
type: :runtime
|
82
78
|
version_requirements: *id004
|
83
79
|
- !ruby/object:Gem::Dependency
|
@@ -86,14 +82,12 @@ dependencies:
|
|
86
82
|
requirement: &id005 !ruby/object:Gem::Requirement
|
87
83
|
none: false
|
88
84
|
requirements:
|
89
|
-
- -
|
85
|
+
- - ">="
|
90
86
|
- !ruby/object:Gem::Version
|
91
|
-
hash:
|
87
|
+
hash: 3
|
92
88
|
segments:
|
93
|
-
- 1
|
94
|
-
- 0
|
95
89
|
- 0
|
96
|
-
version:
|
90
|
+
version: "0"
|
97
91
|
type: :runtime
|
98
92
|
version_requirements: *id005
|
99
93
|
description: Bust caches before your users do.
|