activejob-lock 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e8aaefd002bfaedf4a05f89912adb3a4ce96e6f
4
- data.tar.gz: e7ffa46fc43c854758e92ebcfaec01926009639f
3
+ metadata.gz: 39c36e915ad81ce7b38708150fca0d85f10fbf07
4
+ data.tar.gz: e01e09f68ac821276bb8e2be8aaec2062ca2eb38
5
5
  SHA512:
6
- metadata.gz: 6d56cfa567786e553e4f9bd9c36ec0906a02dfdd7069f8cd2741b5f0c4ce9dfd059877a93eb6bb921e651a8df3e997bc04aeff1b3cd5372297908604e1658dbb
7
- data.tar.gz: 96c149e4226e9191e3e1cce3607f65c69e9374dc957eb637e5a28546206e8b6a8493fa91e334cef3833dd04527eb33160aa957035d6ae86dd78a3ec50b59ba11
6
+ metadata.gz: 3f14ebf7b91d731eb26c645b18ee68943c152649eb273fa506517fb034b710ac8623bb2e9ff3a00a3d618571e2019ebab9c61b26cbf5d64febdfe9d9cce5df30
7
+ data.tar.gz: 79aee8af0294a3ae660680acea0f15bba04d34d27235af73ca8ad2aa4542c909a4accde6bd0fcc3d1a61eefd084055e800c476a66605516bb75734b7086df19b
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'rake/testtask'
2
- require 'bundler/gem_tasks'
2
+ require 'rubygems/package_task'
3
3
 
4
4
  ACTIVEJOB_ADAPTERS = %w(inline delayed_job qu que queue_classic resque sidekiq sneakers sucker_punch backburner test)
5
5
  ACTIVEJOB_ADAPTERS -= %w(queue_classic) if defined?(JRUBY_VERSION)
@@ -75,3 +75,16 @@ def run_without_aborting(tasks)
75
75
  abort "Errors running #{errors.join(', ')}" if errors.any?
76
76
  end
77
77
 
78
+
79
+ spec = eval(File.read('activejob.gemspec'))
80
+
81
+ Gem::PackageTask.new(spec) do |p|
82
+ p.gem_spec = spec
83
+ end
84
+
85
+ desc 'Release to rubygems'
86
+ task release: :package do
87
+ require 'rake/gemcutter'
88
+ Rake::Gemcutter::Tasks.new(spec).define
89
+ Rake::Task['gem:push'].invoke
90
+ end
@@ -20,11 +20,11 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.add_dependency 'activejob', '~> 4.2'
22
22
  s.add_dependency 'activesupport', '~> 4.2'
23
+ s.add_dependency "resque-lock", "~> 1.1"
23
24
 
24
25
  s.add_development_dependency "bundler", "~> 1.7"
25
26
  s.add_development_dependency "rake", "~> 10.0"
26
27
 
27
- s.add_development_dependency "resque-lock"
28
28
  s.add_development_dependency "rails"
29
29
  s.add_development_dependency "sqlite3"
30
30
  end
@@ -1,5 +1,5 @@
1
1
  module Activejob
2
2
  module Lock
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activejob-lock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - adrien
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-20 00:00:00.000000000 Z
11
+ date: 2016-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4.2'
41
41
  - !ruby/object:Gem::Dependency
42
- name: bundler
42
+ name: resque-lock
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '1.7'
48
- type: :development
47
+ version: '1.1'
48
+ type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '1.7'
54
+ version: '1.1'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rake
56
+ name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '10.0'
61
+ version: '1.7'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '10.0'
68
+ version: '1.7'
69
69
  - !ruby/object:Gem::Dependency
70
- name: resque-lock
70
+ name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '10.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '10.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rails
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: sqlite3
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: ''
@@ -115,7 +115,7 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
- - ".gitignore"
118
+ - .gitignore
119
119
  - Gemfile
120
120
  - LICENSE.txt
121
121
  - README.md
@@ -2987,17 +2987,17 @@ require_paths:
2987
2987
  - lib
2988
2988
  required_ruby_version: !ruby/object:Gem::Requirement
2989
2989
  requirements:
2990
- - - ">="
2990
+ - - '>='
2991
2991
  - !ruby/object:Gem::Version
2992
2992
  version: '0'
2993
2993
  required_rubygems_version: !ruby/object:Gem::Requirement
2994
2994
  requirements:
2995
- - - ">="
2995
+ - - '>='
2996
2996
  - !ruby/object:Gem::Version
2997
2997
  version: '0'
2998
2998
  requirements: []
2999
2999
  rubyforge_project:
3000
- rubygems_version: 2.4.5
3000
+ rubygems_version: 2.0.14
3001
3001
  signing_key:
3002
3002
  specification_version: 4
3003
3003
  summary: Adapt resque-lock with ActiveJob
@@ -3005,3 +3005,4 @@ test_files:
3005
3005
  - test/cases/lock_test.rb
3006
3006
  - test/helper.rb
3007
3007
  - test/integration/lock_queuing_test.rb
3008
+ has_rdoc: