ts-resque-delta 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -13,10 +13,10 @@ _resque-lock-timeout_.
13
13
  Add _ts-resque-delta_ to your **Gemfile** file, with the rest of your gem
14
14
  dependencies:
15
15
 
16
- gem 'ts-resque-delta', '1.0.0',
17
- :require => 'thinking_sphinx/deltas/resque_delta'
16
+ gem 'ts-resque-delta', '1.1.1'
18
17
 
19
- And add the following line to your **Rakefile**:
18
+ If you're using Rails 3, the rake tasks will automatically be loaded by Rails.
19
+ If you're using Rails 2, add the following line to your **Rakefile**:
20
20
 
21
21
  require 'thinking_sphinx/deltas/resque_delta/tasks'
22
22
 
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
1
  require 'bundler'
2
2
  Bundler::GemHelper.install_tasks
3
- require 'tasks/testing'
3
+ require File.join(File.dirname(__FILE__), 'tasks/testing')
4
4
  task :default => :spec
@@ -0,0 +1,8 @@
1
+ require 'rails'
2
+
3
+ class ThinkingSphinx::Deltas::ResqueDelta::Railtie < Rails::Railtie
4
+
5
+ rake_tasks do
6
+ load File.expand_path('../tasks.rb', __FILE__)
7
+ end
8
+ end
@@ -1,7 +1,7 @@
1
1
  module ThinkingSphinx
2
2
  module Deltas
3
3
  class ResqueDeltaInfo
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
6
6
  end
7
7
  end
@@ -0,0 +1,2 @@
1
+ require 'thinking_sphinx/deltas/resque_delta'
2
+ require 'thinking_sphinx/deltas/resque_delta/railtie' if defined?(Rails::Railtie)
data/tasks/rails.rake CHANGED
@@ -1 +1 @@
1
- require File.join(File.dirname(__FILE__), '/../lib/thinking_sphinx/deltas/delayed_delta/tasks')
1
+ require File.join(File.dirname(__FILE__), '/../lib/thinking_sphinx/deltas/resque_delta/tasks')
@@ -23,13 +23,11 @@ Gem::Specification.new do |s|
23
23
  s.add_dependency "resque", "~> 1.10"
24
24
  s.add_dependency "resque-lock-timeout", "~> 0.3.1"
25
25
 
26
- s.add_development_dependency "rspec", "~> 1"
26
+ s.add_development_dependency "rspec", "~> 1.0"
27
27
  s.add_development_dependency "cucumber", ">= 0"
28
28
  s.add_development_dependency "database_cleaner", ">= 0.5.2"
29
29
  s.add_development_dependency "mysql2", "~> 0.2.7"
30
- s.add_development_dependency "SystemTimer"
31
30
  s.add_development_dependency "rake", "0.8.7"
32
- s.add_development_dependency "ruby-debug"
33
31
  s.add_development_dependency "activerecord", "~> 2.3.11"
34
32
  s.add_development_dependency "flying-sphinx", ">= 0.5.1"
35
33
  end
metadata CHANGED
@@ -1,215 +1,133 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ts-resque-delta
3
- version: !ruby/object:Gem::Version
4
- hash: 19
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.1
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 1
9
- - 0
10
- version: 1.1.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Aaron Gibralter
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-08-29 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2011-09-08 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: thinking-sphinx
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2173895240 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 23
29
- segments:
30
- - 1
31
- - 3
32
- - 6
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
33
21
  version: 1.3.6
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: resque
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2173895240
25
+ - !ruby/object:Gem::Dependency
26
+ name: resque
27
+ requirement: &2173894740 !ruby/object:Gem::Requirement
40
28
  none: false
41
- requirements:
29
+ requirements:
42
30
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 27
45
- segments:
46
- - 1
47
- - 10
48
- version: "1.10"
31
+ - !ruby/object:Gem::Version
32
+ version: '1.10'
49
33
  type: :runtime
50
- version_requirements: *id002
51
- - !ruby/object:Gem::Dependency
52
- name: resque-lock-timeout
53
34
  prerelease: false
54
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2173894740
36
+ - !ruby/object:Gem::Dependency
37
+ name: resque-lock-timeout
38
+ requirement: &2173894280 !ruby/object:Gem::Requirement
55
39
  none: false
56
- requirements:
40
+ requirements:
57
41
  - - ~>
58
- - !ruby/object:Gem::Version
59
- hash: 17
60
- segments:
61
- - 0
62
- - 3
63
- - 1
42
+ - !ruby/object:Gem::Version
64
43
  version: 0.3.1
65
44
  type: :runtime
66
- version_requirements: *id003
67
- - !ruby/object:Gem::Dependency
68
- name: rspec
69
45
  prerelease: false
70
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2173894280
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: &2173893820 !ruby/object:Gem::Requirement
71
50
  none: false
72
- requirements:
51
+ requirements:
73
52
  - - ~>
74
- - !ruby/object:Gem::Version
75
- hash: 1
76
- segments:
77
- - 1
78
- version: "1"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
79
55
  type: :development
80
- version_requirements: *id004
81
- - !ruby/object:Gem::Dependency
82
- name: cucumber
83
56
  prerelease: false
84
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *2173893820
58
+ - !ruby/object:Gem::Dependency
59
+ name: cucumber
60
+ requirement: &2173893360 !ruby/object:Gem::Requirement
85
61
  none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- hash: 3
90
- segments:
91
- - 0
92
- version: "0"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
93
66
  type: :development
94
- version_requirements: *id005
95
- - !ruby/object:Gem::Dependency
96
- name: database_cleaner
97
67
  prerelease: false
98
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *2173893360
69
+ - !ruby/object:Gem::Dependency
70
+ name: database_cleaner
71
+ requirement: &2173892900 !ruby/object:Gem::Requirement
99
72
  none: false
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- hash: 15
104
- segments:
105
- - 0
106
- - 5
107
- - 2
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
108
76
  version: 0.5.2
109
77
  type: :development
110
- version_requirements: *id006
111
- - !ruby/object:Gem::Dependency
112
- name: mysql2
113
78
  prerelease: false
114
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *2173892900
80
+ - !ruby/object:Gem::Dependency
81
+ name: mysql2
82
+ requirement: &2173892440 !ruby/object:Gem::Requirement
115
83
  none: false
116
- requirements:
84
+ requirements:
117
85
  - - ~>
118
- - !ruby/object:Gem::Version
119
- hash: 25
120
- segments:
121
- - 0
122
- - 2
123
- - 7
86
+ - !ruby/object:Gem::Version
124
87
  version: 0.2.7
125
88
  type: :development
126
- version_requirements: *id007
127
- - !ruby/object:Gem::Dependency
128
- name: SystemTimer
129
89
  prerelease: false
130
- requirement: &id008 !ruby/object:Gem::Requirement
131
- none: false
132
- requirements:
133
- - - ">="
134
- - !ruby/object:Gem::Version
135
- hash: 3
136
- segments:
137
- - 0
138
- version: "0"
139
- type: :development
140
- version_requirements: *id008
141
- - !ruby/object:Gem::Dependency
90
+ version_requirements: *2173892440
91
+ - !ruby/object:Gem::Dependency
142
92
  name: rake
143
- prerelease: false
144
- requirement: &id009 !ruby/object:Gem::Requirement
93
+ requirement: &2173891980 !ruby/object:Gem::Requirement
145
94
  none: false
146
- requirements:
147
- - - "="
148
- - !ruby/object:Gem::Version
149
- hash: 49
150
- segments:
151
- - 0
152
- - 8
153
- - 7
95
+ requirements:
96
+ - - =
97
+ - !ruby/object:Gem::Version
154
98
  version: 0.8.7
155
99
  type: :development
156
- version_requirements: *id009
157
- - !ruby/object:Gem::Dependency
158
- name: ruby-debug
159
100
  prerelease: false
160
- requirement: &id010 !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - ">="
164
- - !ruby/object:Gem::Version
165
- hash: 3
166
- segments:
167
- - 0
168
- version: "0"
169
- type: :development
170
- version_requirements: *id010
171
- - !ruby/object:Gem::Dependency
101
+ version_requirements: *2173891980
102
+ - !ruby/object:Gem::Dependency
172
103
  name: activerecord
173
- prerelease: false
174
- requirement: &id011 !ruby/object:Gem::Requirement
104
+ requirement: &2173907900 !ruby/object:Gem::Requirement
175
105
  none: false
176
- requirements:
106
+ requirements:
177
107
  - - ~>
178
- - !ruby/object:Gem::Version
179
- hash: 21
180
- segments:
181
- - 2
182
- - 3
183
- - 11
108
+ - !ruby/object:Gem::Version
184
109
  version: 2.3.11
185
110
  type: :development
186
- version_requirements: *id011
187
- - !ruby/object:Gem::Dependency
188
- name: flying-sphinx
189
111
  prerelease: false
190
- requirement: &id012 !ruby/object:Gem::Requirement
112
+ version_requirements: *2173907900
113
+ - !ruby/object:Gem::Dependency
114
+ name: flying-sphinx
115
+ requirement: &2173907440 !ruby/object:Gem::Requirement
191
116
  none: false
192
- requirements:
193
- - - ">="
194
- - !ruby/object:Gem::Version
195
- hash: 9
196
- segments:
197
- - 0
198
- - 5
199
- - 1
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
200
120
  version: 0.5.1
201
121
  type: :development
202
- version_requirements: *id012
122
+ prerelease: false
123
+ version_requirements: *2173907440
203
124
  description: Manage delta indexes via Resque for Thinking Sphinx
204
- email:
125
+ email:
205
126
  - aaron.gibralter@gmail.com
206
127
  executables: []
207
-
208
128
  extensions: []
209
-
210
129
  extra_rdoc_files: []
211
-
212
- files:
130
+ files:
213
131
  - .gitignore
214
132
  - Gemfile
215
133
  - LICENSE
@@ -230,8 +148,10 @@ files:
230
148
  - lib/thinking_sphinx/deltas/resque_delta.rb
231
149
  - lib/thinking_sphinx/deltas/resque_delta/delta_job.rb
232
150
  - lib/thinking_sphinx/deltas/resque_delta/flag_as_deleted_job.rb
151
+ - lib/thinking_sphinx/deltas/resque_delta/railtie.rb
233
152
  - lib/thinking_sphinx/deltas/resque_delta/tasks.rb
234
153
  - lib/thinking_sphinx/deltas/resque_delta/version.rb
154
+ - lib/ts-resque-delta.rb
235
155
  - spec/flying_sphinx/resque_delta/delta_job_spec.rb
236
156
  - spec/flying_sphinx/resque_delta/flag_as_deleted_job_spec.rb
237
157
  - spec/flying_sphinx/resque_delta_spec.rb
@@ -245,38 +165,29 @@ files:
245
165
  - ts-resque-delta.gemspec
246
166
  homepage: https://github.com/agibralter/ts-resque-delta
247
167
  licenses: []
248
-
249
168
  post_install_message:
250
169
  rdoc_options: []
251
-
252
- require_paths:
170
+ require_paths:
253
171
  - lib
254
- required_ruby_version: !ruby/object:Gem::Requirement
172
+ required_ruby_version: !ruby/object:Gem::Requirement
255
173
  none: false
256
- requirements:
257
- - - ">="
258
- - !ruby/object:Gem::Version
259
- hash: 3
260
- segments:
261
- - 0
262
- version: "0"
263
- required_rubygems_version: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ! '>='
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ required_rubygems_version: !ruby/object:Gem::Requirement
264
179
  none: false
265
- requirements:
266
- - - ">="
267
- - !ruby/object:Gem::Version
268
- hash: 3
269
- segments:
270
- - 0
271
- version: "0"
180
+ requirements:
181
+ - - ! '>='
182
+ - !ruby/object:Gem::Version
183
+ version: '0'
272
184
  requirements: []
273
-
274
185
  rubyforge_project: ts-resque-delta
275
- rubygems_version: 1.8.9
186
+ rubygems_version: 1.8.10
276
187
  signing_key:
277
188
  specification_version: 3
278
189
  summary: Thinking Sphinx - Resque Deltas
279
- test_files:
190
+ test_files:
280
191
  - features/resque_deltas.feature
281
192
  - features/step_definitions/common_steps.rb
282
193
  - features/step_definitions/resque_delta_steps.rb