ts-resque-delta 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +16 -0
- data/Gemfile +4 -0
- data/README.markdown +1 -1
- data/Rakefile +2 -4
- data/lib/thinking_sphinx/deltas/resque_delta/version.rb +7 -0
- data/tasks/testing.rb +2 -2
- data/ts-resque-delta.gemspec +29 -0
- metadata +26 -45
- data/features/thinking_sphinx/database.yml +0 -5
- data/tasks/distribution.rb +0 -30
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.markdown
CHANGED
@@ -12,7 +12,7 @@ You'll need Thinking Sphinx 1.3.0 or later, and Resque as well. The latter is fl
|
|
12
12
|
|
13
13
|
In your `Gemfile` file, with the rest of your gem dependencies:
|
14
14
|
|
15
|
-
gem 'ts-resque-delta', '
|
15
|
+
gem 'ts-resque-delta', 'x.x.x', :require => 'thinking_sphinx/deltas/resque_delta'
|
16
16
|
|
17
17
|
And add the following line to the bottom of your `Rakefile`:
|
18
18
|
|
data/Rakefile
CHANGED
data/tasks/testing.rb
CHANGED
@@ -0,0 +1,29 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "thinking_sphinx/deltas/resque_delta/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "ts-resque-delta"
|
7
|
+
s.version = ThinkingSphinx::Deltas::ResqueDelta::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Aaron Gibralter"]
|
10
|
+
s.email = ["aaron.gibralter@gmail.com"]
|
11
|
+
s.homepage = "http://github.com/agibralter/ts-resque-delta"
|
12
|
+
s.summary = %q{Thinking Sphinx - Resque Deltas}
|
13
|
+
s.description = %q{Manage delta indexes via Resque for Thinking Sphinx}
|
14
|
+
|
15
|
+
s.rubyforge_project = "ts-resque-delta"
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
|
22
|
+
s.add_dependency "thinking-sphinx", ">= 1.3.6"
|
23
|
+
s.add_dependency "resque", "~> 1.10"
|
24
|
+
s.add_dependency "resque-lock-timeout", "~> 0.2.1"
|
25
|
+
|
26
|
+
s.add_development_dependency "rspec", ">= 1.2.9"
|
27
|
+
s.add_development_dependency "cucumber", ">= 0"
|
28
|
+
s.add_development_dependency "database_cleaner", ">= 0.5.2"
|
29
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ts-resque-delta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 21
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Aaron Gibralter
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-02-23 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -42,12 +42,11 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
45
|
+
hash: 27
|
46
46
|
segments:
|
47
47
|
- 1
|
48
48
|
- 10
|
49
|
-
|
50
|
-
version: 1.10.0
|
49
|
+
version: "1.10"
|
51
50
|
type: :runtime
|
52
51
|
version_requirements: *id002
|
53
52
|
- !ruby/object:Gem::Dependency
|
@@ -83,7 +82,7 @@ dependencies:
|
|
83
82
|
type: :development
|
84
83
|
version_requirements: *id004
|
85
84
|
- !ruby/object:Gem::Dependency
|
86
|
-
name:
|
85
|
+
name: cucumber
|
87
86
|
prerelease: false
|
88
87
|
requirement: &id005 !ruby/object:Gem::Requirement
|
89
88
|
none: false
|
@@ -96,24 +95,10 @@ dependencies:
|
|
96
95
|
version: "0"
|
97
96
|
type: :development
|
98
97
|
version_requirements: *id005
|
99
|
-
- !ruby/object:Gem::Dependency
|
100
|
-
name: cucumber
|
101
|
-
prerelease: false
|
102
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
103
|
-
none: false
|
104
|
-
requirements:
|
105
|
-
- - ">="
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
hash: 3
|
108
|
-
segments:
|
109
|
-
- 0
|
110
|
-
version: "0"
|
111
|
-
type: :development
|
112
|
-
version_requirements: *id006
|
113
98
|
- !ruby/object:Gem::Dependency
|
114
99
|
name: database_cleaner
|
115
100
|
prerelease: false
|
116
|
-
requirement: &
|
101
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
117
102
|
none: false
|
118
103
|
requirements:
|
119
104
|
- - ">="
|
@@ -125,23 +110,21 @@ dependencies:
|
|
125
110
|
- 2
|
126
111
|
version: 0.5.2
|
127
112
|
type: :development
|
128
|
-
version_requirements: *
|
113
|
+
version_requirements: *id006
|
129
114
|
description: Manage delta indexes via Resque for Thinking Sphinx
|
130
|
-
email:
|
115
|
+
email:
|
116
|
+
- aaron.gibralter@gmail.com
|
131
117
|
executables: []
|
132
118
|
|
133
119
|
extensions: []
|
134
120
|
|
135
|
-
extra_rdoc_files:
|
136
|
-
|
137
|
-
- README.markdown
|
121
|
+
extra_rdoc_files: []
|
122
|
+
|
138
123
|
files:
|
124
|
+
- .gitignore
|
125
|
+
- Gemfile
|
139
126
|
- LICENSE
|
140
127
|
- README.markdown
|
141
|
-
- lib/thinking_sphinx/deltas/resque_delta.rb
|
142
|
-
- lib/thinking_sphinx/deltas/resque_delta/delta_job.rb
|
143
|
-
- lib/thinking_sphinx/deltas/resque_delta/flag_as_deleted_job.rb
|
144
|
-
- lib/thinking_sphinx/deltas/resque_delta/tasks.rb
|
145
128
|
- Rakefile
|
146
129
|
- config/redis-cucumber.conf
|
147
130
|
- features/resque_deltas.feature
|
@@ -150,24 +133,28 @@ files:
|
|
150
133
|
- features/support/env.rb
|
151
134
|
- features/support/redis_test_setup.rb
|
152
135
|
- features/thinking_sphinx/database.example.yml
|
153
|
-
- features/thinking_sphinx/database.yml
|
154
136
|
- features/thinking_sphinx/db/migrations/create_delayed_betas.rb
|
155
137
|
- features/thinking_sphinx/models/delayed_beta.rb
|
138
|
+
- lib/thinking_sphinx/deltas/resque_delta.rb
|
139
|
+
- lib/thinking_sphinx/deltas/resque_delta/delta_job.rb
|
140
|
+
- lib/thinking_sphinx/deltas/resque_delta/flag_as_deleted_job.rb
|
141
|
+
- lib/thinking_sphinx/deltas/resque_delta/tasks.rb
|
142
|
+
- lib/thinking_sphinx/deltas/resque_delta/version.rb
|
156
143
|
- spec/spec.opts
|
157
144
|
- spec/spec_helper.rb
|
158
145
|
- spec/thinking_sphinx/deltas/resque_delta/delta_job_spec.rb
|
159
146
|
- spec/thinking_sphinx/deltas/resque_delta/flag_as_deleted_job_spec.rb
|
160
147
|
- spec/thinking_sphinx/deltas/resque_delta_spec.rb
|
161
|
-
- tasks/distribution.rb
|
162
148
|
- tasks/rails.rake
|
163
149
|
- tasks/testing.rb
|
150
|
+
- ts-resque-delta.gemspec
|
164
151
|
has_rdoc: true
|
165
152
|
homepage: http://github.com/agibralter/ts-resque-delta
|
166
153
|
licenses: []
|
167
154
|
|
168
155
|
post_install_message:
|
169
|
-
rdoc_options:
|
170
|
-
|
156
|
+
rdoc_options: []
|
157
|
+
|
171
158
|
require_paths:
|
172
159
|
- lib
|
173
160
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -190,21 +177,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
177
|
version: "0"
|
191
178
|
requirements: []
|
192
179
|
|
193
|
-
rubyforge_project:
|
194
|
-
rubygems_version: 1.
|
180
|
+
rubyforge_project: ts-resque-delta
|
181
|
+
rubygems_version: 1.5.2
|
195
182
|
signing_key:
|
196
183
|
specification_version: 3
|
197
184
|
summary: Thinking Sphinx - Resque Deltas
|
198
185
|
test_files:
|
199
|
-
- Rakefile
|
200
|
-
- config/redis-cucumber.conf
|
201
186
|
- features/resque_deltas.feature
|
202
187
|
- features/step_definitions/common_steps.rb
|
203
188
|
- features/step_definitions/resque_delta_steps.rb
|
204
189
|
- features/support/env.rb
|
205
190
|
- features/support/redis_test_setup.rb
|
206
191
|
- features/thinking_sphinx/database.example.yml
|
207
|
-
- features/thinking_sphinx/database.yml
|
208
192
|
- features/thinking_sphinx/db/migrations/create_delayed_betas.rb
|
209
193
|
- features/thinking_sphinx/models/delayed_beta.rb
|
210
194
|
- spec/spec.opts
|
@@ -212,6 +196,3 @@ test_files:
|
|
212
196
|
- spec/thinking_sphinx/deltas/resque_delta/delta_job_spec.rb
|
213
197
|
- spec/thinking_sphinx/deltas/resque_delta/flag_as_deleted_job_spec.rb
|
214
198
|
- spec/thinking_sphinx/deltas/resque_delta_spec.rb
|
215
|
-
- tasks/distribution.rb
|
216
|
-
- tasks/rails.rake
|
217
|
-
- tasks/testing.rb
|
data/tasks/distribution.rb
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
require "jeweler"
|
2
|
-
require "yard"
|
3
|
-
|
4
|
-
YARD::Rake::YardocTask.new
|
5
|
-
|
6
|
-
Jeweler::Tasks.new do |gem|
|
7
|
-
gem.name = "ts-resque-delta"
|
8
|
-
gem.summary = "Thinking Sphinx - Resque Deltas"
|
9
|
-
gem.description = "Manage delta indexes via Resque for Thinking Sphinx"
|
10
|
-
gem.email = "aaron.gibralter@gmail.com"
|
11
|
-
gem.homepage = "http://github.com/agibralter/ts-resque-delta"
|
12
|
-
gem.authors = ["Aaron Gibralter"]
|
13
|
-
gem.add_dependency("thinking-sphinx", ">= 1.3.6")
|
14
|
-
gem.add_dependency("resque", "~> 1.10.0")
|
15
|
-
gem.add_dependency("resque-lock-timeout", "~> 0.2.1")
|
16
|
-
gem.add_development_dependency("rspec", ">= 1.2.9")
|
17
|
-
gem.add_development_dependency("yard", ">= 0")
|
18
|
-
gem.add_development_dependency("cucumber", ">= 0")
|
19
|
-
gem.add_development_dependency("database_cleaner", ">= 0.5.2")
|
20
|
-
gem.files = FileList[
|
21
|
-
"lib/**/*.rb",
|
22
|
-
"LICENSE",
|
23
|
-
"README.markdown"
|
24
|
-
]
|
25
|
-
gem.test_files = FileList[
|
26
|
-
["Rakefile"] + %w(config features spec tasks).collect { |d| "#{d}/**/*" }
|
27
|
-
]
|
28
|
-
end
|
29
|
-
|
30
|
-
Jeweler::GemcutterTasks.new
|