redisstore 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aecc22797bd2314d48b08ed839a5473db6f3b274
4
- data.tar.gz: 81c2fb62c007fe58e41aabf4eec927d85f220e51
3
+ metadata.gz: 146b91e45ea5a8a4b80c9ce2b14f0f9326219f26
4
+ data.tar.gz: 1a0e8fb750462355c0e9a1ae3e011066598d2800
5
5
  SHA512:
6
- metadata.gz: 7ec93b0468feb8f0b0b39c6d3e1d36624dab7874b07175868218e260d9e2c603be7221dc50839cd2049c30c270e5418b6906904edc04692eceefab4220989b93
7
- data.tar.gz: 4012eb31eb4a7899192d6cb679cd2101c2a7530764f0846f41b7596209c3e49d04034c27e8b4af28e221b5bc3cf51c67c131d29d0424575ded41dd3dd9470a1b
6
+ metadata.gz: 750dc9b2bcba7d6afd42498ea2afad22fcb16d17bd706c12f8dfa322d1760ebf6a68fb99ec7159b0f4c8f5b3b6c43ca9b4291abd3ebabd8db22ab193f6b371eb
7
+ data.tar.gz: e67ddbfa94e352c1a17c7b6647211dd9b3c5b789aa38dd6c5f8b8f3aff2e0f9ca0d912a22820ce7b92bdc3799956f77a34e88f69137c56f103aca767bca96838
data/.gitignore CHANGED
@@ -2,3 +2,4 @@ pkg/*.gem
2
2
  coverage/
3
3
  .coveralls.yml
4
4
  .bundle
5
+ Gemfile.lock
data/lib/redisstore.rb CHANGED
@@ -3,7 +3,6 @@ require 'json'
3
3
 
4
4
  ##
5
5
  # Redis-backed Store designed for BasicCache
6
-
7
6
  module RedisStore
8
7
  class << self
9
8
  ##
@@ -16,7 +15,6 @@ module RedisStore
16
15
 
17
16
  ##
18
17
  # Redis-backed store object
19
-
20
18
  class Store
21
19
  attr_reader :raw
22
20
 
@@ -66,7 +64,7 @@ module RedisStore
66
64
  # Check for a key in the store
67
65
 
68
66
  def include?(key)
69
- @raw.exists prep(key)
67
+ @raw.exists(prep key)
70
68
  end
71
69
 
72
70
  ##
data/redisstore.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'redisstore'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
 
6
6
  s.summary = 'Redis Store for BasicCache'
metadata CHANGED
@@ -1,139 +1,139 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redisstore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-04 00:00:00.000000000 Z
11
+ date: 2014-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: basiccache
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: redis
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: travis-lint
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: coveralls
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: fuubar
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: parser
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: 2.1.0.pre1
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: 2.1.0.pre1
139
139
  description: Stores cached values in Redis
@@ -142,12 +142,11 @@ executables: []
142
142
  extensions: []
143
143
  extra_rdoc_files: []
144
144
  files:
145
- - .gitignore
146
- - .rspec
147
- - .rubocop.yml
148
- - .travis.yml
145
+ - ".gitignore"
146
+ - ".rspec"
147
+ - ".rubocop.yml"
148
+ - ".travis.yml"
149
149
  - Gemfile
150
- - Gemfile.lock
151
150
  - LICENSE
152
151
  - README.md
153
152
  - Rakefile
@@ -165,12 +164,12 @@ require_paths:
165
164
  - lib
166
165
  required_ruby_version: !ruby/object:Gem::Requirement
167
166
  requirements:
168
- - - '>='
167
+ - - ">="
169
168
  - !ruby/object:Gem::Version
170
169
  version: '0'
171
170
  required_rubygems_version: !ruby/object:Gem::Requirement
172
171
  requirements:
173
- - - '>='
172
+ - - ">="
174
173
  - !ruby/object:Gem::Version
175
174
  version: '0'
176
175
  requirements: []
data/Gemfile.lock DELETED
@@ -1,73 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- redisstore (0.0.1)
5
- basiccache
6
- redis
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- ast (1.1.0)
12
- basiccache (0.0.29)
13
- coveralls (0.7.0)
14
- multi_json (~> 1.3)
15
- rest-client
16
- simplecov (>= 0.7)
17
- term-ansicolor
18
- thor
19
- diff-lcs (1.2.5)
20
- docile (1.1.1)
21
- fuubar (1.3.2)
22
- rspec (>= 2.14.0, < 3.1.0)
23
- ruby-progressbar (~> 1.3)
24
- hashr (0.0.22)
25
- mime-types (2.0)
26
- multi_json (1.8.2)
27
- parser (2.1.1)
28
- ast (~> 1.1)
29
- slop (~> 3.4, >= 3.4.5)
30
- powerpack (0.0.9)
31
- rainbow (1.99.1)
32
- rake (10.1.1)
33
- redis (3.0.6)
34
- rest-client (1.6.7)
35
- mime-types (>= 1.16)
36
- rspec (2.14.1)
37
- rspec-core (~> 2.14.0)
38
- rspec-expectations (~> 2.14.0)
39
- rspec-mocks (~> 2.14.0)
40
- rspec-core (2.14.7)
41
- rspec-expectations (2.14.4)
42
- diff-lcs (>= 1.1.3, < 2.0)
43
- rspec-mocks (2.14.4)
44
- rubocop (0.16.0)
45
- parser (~> 2.1)
46
- powerpack (~> 0.0.6)
47
- rainbow (>= 1.1.4)
48
- ruby-progressbar (1.4.0)
49
- simplecov (0.8.2)
50
- docile (~> 1.1.0)
51
- multi_json
52
- simplecov-html (~> 0.8.0)
53
- simplecov-html (0.8.0)
54
- slop (3.4.7)
55
- term-ansicolor (1.2.2)
56
- tins (~> 0.8)
57
- thor (0.18.1)
58
- tins (0.13.1)
59
- travis-lint (1.7.0)
60
- hashr (~> 0.0.22)
61
-
62
- PLATFORMS
63
- ruby
64
-
65
- DEPENDENCIES
66
- coveralls
67
- fuubar
68
- parser (~> 2.1.0.pre1)
69
- rake
70
- redisstore!
71
- rspec
72
- rubocop
73
- travis-lint