redpear 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a0ff88b2354ac6d4572f2684df91420336802223
4
+ data.tar.gz: 1336df7350d638205e9cc5a5676455323e36f144
5
+ SHA512:
6
+ metadata.gz: b6516b9b62090729cfb0448f52cd5b59938757b399656f73844e6c731fd676e0a90d85381007ca4860adbb0133200bf24658159250673d196a6d64f154bf2474
7
+ data.tar.gz: c601c67aa11bea491bda0b9411e84e0f4cb3bde81679c2ec79ec102a2331a111386bda127ac4a28cc55482e7e15e66230e7c14bc15cb60c94a5213f0e6fa9c67
@@ -147,10 +147,8 @@ class Redpear::Store::Lock < Redpear::Store::Base
147
147
  case value
148
148
  when Time
149
149
  value
150
- when Numeric
151
- Time.now + value
152
150
  else
153
- Time.now + 5
151
+ Time.now + value
154
152
  end
155
153
  end
156
154
 
@@ -2,7 +2,7 @@ module Redpear
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 0
5
+ TINY = 1
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redpear
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Dimitrij Denissenko
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-03 00:00:00.000000000 Z
11
+ date: 2013-10-21 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: redis
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,97 +27,85 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bundler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rspec
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: shoulda-matchers
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: machinist
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - '>='
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - '>='
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: factory_girl
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - '>='
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - '>='
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  description: Simple, elegant & efficient ORM for Redis
@@ -129,52 +114,51 @@ executables: []
129
114
  extensions: []
130
115
  extra_rdoc_files: []
131
116
  files:
132
- - lib/redpear.rb
133
117
  - lib/redpear/schema.rb
134
- - lib/redpear/concern.rb
135
- - lib/redpear/model.rb
136
- - lib/redpear/version.rb
137
- - lib/redpear/store.rb
138
- - lib/redpear/model/machinist.rb
139
- - lib/redpear/model/factory_girl.rb
140
- - lib/redpear/model/finders.rb
141
- - lib/redpear/model/expiration.rb
142
- - lib/redpear/store/list.rb
143
- - lib/redpear/store/set.rb
144
- - lib/redpear/store/sorted_set.rb
145
118
  - lib/redpear/store/lock.rb
119
+ - lib/redpear/store/set.rb
120
+ - lib/redpear/store/base.rb
146
121
  - lib/redpear/store/value.rb
122
+ - lib/redpear/store/sorted_set.rb
147
123
  - lib/redpear/store/enumerable.rb
148
124
  - lib/redpear/store/hash.rb
149
- - lib/redpear/store/base.rb
150
125
  - lib/redpear/store/counter.rb
151
- - lib/redpear/schema/collection.rb
126
+ - lib/redpear/store/list.rb
127
+ - lib/redpear/concern.rb
128
+ - lib/redpear/store.rb
129
+ - lib/redpear/model.rb
152
130
  - lib/redpear/schema/column.rb
153
- - lib/redpear/schema/index.rb
154
131
  - lib/redpear/schema/score.rb
132
+ - lib/redpear/schema/index.rb
133
+ - lib/redpear/schema/collection.rb
134
+ - lib/redpear/model/factory_girl.rb
135
+ - lib/redpear/model/finders.rb
136
+ - lib/redpear/model/machinist.rb
137
+ - lib/redpear/model/expiration.rb
138
+ - lib/redpear/version.rb
139
+ - lib/redpear.rb
155
140
  homepage: https://github.com/bsm/redpear
156
141
  licenses: []
142
+ metadata: {}
157
143
  post_install_message:
158
144
  rdoc_options: []
159
145
  require_paths:
160
146
  - lib
161
147
  required_ruby_version: !ruby/object:Gem::Requirement
162
- none: false
163
148
  requirements:
164
- - - ! '>='
149
+ - - '>='
165
150
  - !ruby/object:Gem::Version
166
151
  version: 1.9.0
167
152
  required_rubygems_version: !ruby/object:Gem::Requirement
168
- none: false
169
153
  requirements:
170
- - - ! '>='
154
+ - - '>='
171
155
  - !ruby/object:Gem::Version
172
156
  version: 1.3.6
173
157
  requirements: []
174
158
  rubyforge_project:
175
- rubygems_version: 1.8.25
159
+ rubygems_version: 2.1.5
176
160
  signing_key:
177
- specification_version: 3
161
+ specification_version: 4
178
162
  summary: Redpear, a Redis ORM
179
163
  test_files: []
180
164
  has_rdoc: