ar-resque-counter-cache 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- metadata +5 -7
- data/Rakefile +0 -18
- data/VERSION +0 -1
- data/ar-resque-counter-cache.gemspec +0 -63
- data/spec/redis-test.conf +0 -13
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2010 Aaron Gibralter
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ar-resque-counter-cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Aaron Gibralter
|
@@ -73,19 +73,17 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
|
75
75
|
extra_rdoc_files:
|
76
|
+
- LICENSE
|
76
77
|
- README.md
|
77
78
|
files:
|
79
|
+
- LICENSE
|
78
80
|
- README.md
|
79
|
-
- Rakefile
|
80
|
-
- VERSION
|
81
|
-
- ar-resque-counter-cache.gemspec
|
82
81
|
- lib/ar-resque-counter-cache.rb
|
83
82
|
- lib/ar_resque_counter_cache/active_record.rb
|
84
83
|
- lib/ar_resque_counter_cache/increment_counters_worker.rb
|
85
84
|
- spec/ar_resque_counter_cache/active_record_spec.rb
|
86
85
|
- spec/integration_spec.rb
|
87
86
|
- spec/models.rb
|
88
|
-
- spec/redis-test.conf
|
89
87
|
- spec/spec_helper.rb
|
90
88
|
has_rdoc: true
|
91
89
|
homepage: http://github.com/agibralter/ar-resque-counter-cache
|
data/Rakefile
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require 'jeweler'
|
3
|
-
Jeweler::Tasks.new do |gemspec|
|
4
|
-
gemspec.name = "ar-resque-counter-cache"
|
5
|
-
gemspec.summary = "Increment ActiveRecord's counter cache column asynchronously using Resque (and resque-lock-timeout)."
|
6
|
-
gemspec.description = "Increment ActiveRecord's counter cache column asynchronously using Resque (and resque-lock-timeout)."
|
7
|
-
gemspec.email = "aaron.gibralter@gmail.com"
|
8
|
-
gemspec.homepage = "http://github.com/agibralter/ar-resque-counter-cache"
|
9
|
-
gemspec.authors = ["Aaron Gibralter"]
|
10
|
-
gemspec.add_dependency("activerecord", "~> 2.3.5")
|
11
|
-
gemspec.add_dependency("resque", "~> 1.10.0")
|
12
|
-
gemspec.add_dependency("resque-lock-timeout", "~> 0.2.1")
|
13
|
-
gemspec.files.exclude("pkg")
|
14
|
-
end
|
15
|
-
Jeweler::GemcutterTasks.new
|
16
|
-
rescue LoadError
|
17
|
-
puts "Jeweler not available. Install it with: gem install jeweler"
|
18
|
-
end
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.0.1
|
@@ -1,63 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{ar-resque-counter-cache}
|
8
|
-
s.version = "0.0.1"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Aaron Gibralter"]
|
12
|
-
s.date = %q{2010-10-13}
|
13
|
-
s.description = %q{Increment ActiveRecord's counter cache column asynchronously using Resque (and resque-lock-timeout).}
|
14
|
-
s.email = %q{aaron.gibralter@gmail.com}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"README.md"
|
17
|
-
]
|
18
|
-
s.files = [
|
19
|
-
"README.md",
|
20
|
-
"Rakefile",
|
21
|
-
"VERSION",
|
22
|
-
"ar-resque-counter-cache.gemspec",
|
23
|
-
"lib/ar-resque-counter-cache.rb",
|
24
|
-
"lib/ar_resque_counter_cache/active_record.rb",
|
25
|
-
"lib/ar_resque_counter_cache/increment_counters_worker.rb",
|
26
|
-
"spec/ar_resque_counter_cache/active_record_spec.rb",
|
27
|
-
"spec/integration_spec.rb",
|
28
|
-
"spec/models.rb",
|
29
|
-
"spec/redis-test.conf",
|
30
|
-
"spec/spec_helper.rb"
|
31
|
-
]
|
32
|
-
s.homepage = %q{http://github.com/agibralter/ar-resque-counter-cache}
|
33
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
34
|
-
s.require_paths = ["lib"]
|
35
|
-
s.rubygems_version = %q{1.3.7}
|
36
|
-
s.summary = %q{Increment ActiveRecord's counter cache column asynchronously using Resque (and resque-lock-timeout).}
|
37
|
-
s.test_files = [
|
38
|
-
"spec/ar_resque_counter_cache/active_record_spec.rb",
|
39
|
-
"spec/integration_spec.rb",
|
40
|
-
"spec/models.rb",
|
41
|
-
"spec/spec_helper.rb"
|
42
|
-
]
|
43
|
-
|
44
|
-
if s.respond_to? :specification_version then
|
45
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
46
|
-
s.specification_version = 3
|
47
|
-
|
48
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
49
|
-
s.add_runtime_dependency(%q<activerecord>, ["~> 2.3.5"])
|
50
|
-
s.add_runtime_dependency(%q<resque>, ["~> 1.10.0"])
|
51
|
-
s.add_runtime_dependency(%q<resque-lock-timeout>, ["~> 0.2.1"])
|
52
|
-
else
|
53
|
-
s.add_dependency(%q<activerecord>, ["~> 2.3.5"])
|
54
|
-
s.add_dependency(%q<resque>, ["~> 1.10.0"])
|
55
|
-
s.add_dependency(%q<resque-lock-timeout>, ["~> 0.2.1"])
|
56
|
-
end
|
57
|
-
else
|
58
|
-
s.add_dependency(%q<activerecord>, ["~> 2.3.5"])
|
59
|
-
s.add_dependency(%q<resque>, ["~> 1.10.0"])
|
60
|
-
s.add_dependency(%q<resque-lock-timeout>, ["~> 0.2.1"])
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|