resque-meta 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -8,8 +8,10 @@ to track anything you want, extend it with this module.
8
8
 
9
9
  For example:
10
10
 
11
+ require 'resque-meta'
12
+
11
13
  class MyJob
12
- extend Resque::Jobs::Meta
14
+ extend Resque::Plugins::Meta
13
15
 
14
16
  def self.perform(meta_id, *args)
15
17
  heavy_lifting
@@ -1,7 +1,7 @@
1
1
  module Resque
2
2
  module Plugins
3
3
  module Meta
4
- Version = '1.0.0'
4
+ Version = '1.0.1'
5
5
  end
6
6
  end
7
7
  end
@@ -10,8 +10,10 @@ module Resque
10
10
  #
11
11
  # For example:
12
12
  #
13
+ # require 'resque-meta'
14
+ #
13
15
  # class MyJob
14
- # extend Resque::Jobs::Meta
16
+ # extend Resque::Plugins::Meta
15
17
  #
16
18
  # def self.perform(meta_id, *args)
17
19
  # heavy_lifting
@@ -0,0 +1 @@
1
+ require 'resque/plugins/meta'
data/test/meta_test.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require File.dirname(__FILE__) + '/test_helper'
2
- require 'resque/plugins/meta'
2
+ require 'resque-meta'
3
3
 
4
4
  class MetaJob
5
5
  extend Resque::Plugins::Meta
@@ -55,7 +55,7 @@ class MetaTest < Test::Unit::TestCase
55
55
  end
56
56
 
57
57
  def test_meta_version
58
- assert_equal '1.0.0', Resque::Plugins::Meta::Version
58
+ assert_equal '1.0.1', Resque::Plugins::Meta::Version
59
59
  end
60
60
 
61
61
  def test_lint
data/test/redis-test.conf CHANGED
@@ -128,5 +128,5 @@ glueoutputbuf yes
128
128
  # WARNING: object sharing is experimental, don't enable this feature
129
129
  # in production before of Redis 1.0-stable. Still please try this feature in
130
130
  # your development environment so that we can test it better.
131
- shareobjects no
132
- shareobjectspoolsize 1024
131
+ # shareobjects no
132
+ # shareobjectspoolsize 1024
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-meta
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lee Marlow
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-04 00:00:00 -06:00
18
+ date: 2010-09-10 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -24,14 +24,13 @@ dependencies:
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ">="
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
- hash: 55
29
+ hash: 31
30
30
  segments:
31
31
  - 1
32
32
  - 8
33
- - 0
34
- version: 1.8.0
33
+ version: "1.8"
35
34
  type: :runtime
36
35
  version_requirements: *id001
37
36
  description: |
@@ -40,8 +39,10 @@ description: |
40
39
 
41
40
  For example:
42
41
 
42
+ require 'resque-meta'
43
+
43
44
  class MyJob
44
- extend Resque::Jobs::Meta
45
+ extend Resque::Plugins::Meta
45
46
 
46
47
  def self.perform(meta_id, *args)
47
48
  heavy_lifting
@@ -73,6 +74,7 @@ files:
73
74
  - lib/resque/plugins/meta/metadata.rb
74
75
  - lib/resque/plugins/meta/version.rb
75
76
  - lib/resque/plugins/meta.rb
77
+ - lib/resque-meta.rb
76
78
  - test/meta_test.rb
77
79
  - test/redis-test.conf
78
80
  - test/test_helper.rb