rabbit_jobs 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
 
3
3
  module RabbitJobs
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
data/rabbit_jobs.gemspec CHANGED
@@ -10,7 +10,6 @@ Gem::Specification.new do |gem|
10
10
  gem.homepage = ""
11
11
  gem.date = Time.now.strftime('%Y-%m-%d')
12
12
 
13
- gem.executables = %w(rj_worker rj_scheduler)
14
13
  gem.files = `git ls-files`.split("\n")
15
14
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
15
  gem.name = "rabbit_jobs"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit_jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-03-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: amqp
16
- requirement: &16471900 !ruby/object:Gem::Requirement
16
+ requirement: &10683080 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0.9'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16471900
24
+ version_requirements: *10683080
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &16468700 !ruby/object:Gem::Requirement
27
+ requirement: &10699400 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *16468700
35
+ version_requirements: *10699400
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rufus-scheduler
38
- requirement: &16490220 !ruby/object:Gem::Requirement
38
+ requirement: &10695720 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '2.0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *16490220
46
+ version_requirements: *10695720
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rails
49
- requirement: &16485260 !ruby/object:Gem::Requirement
49
+ requirement: &10715860 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,13 +54,11 @@ dependencies:
54
54
  version: '3.0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *16485260
57
+ version_requirements: *10715860
58
58
  description: Background jobs on RabbitMQ
59
59
  email:
60
60
  - lazureykis@gmail.com
61
- executables:
62
- - rj_worker
63
- - rj_scheduler
61
+ executables: []
64
62
  extensions: []
65
63
  extra_rdoc_files: []
66
64
  files:
@@ -70,8 +68,6 @@ files:
70
68
  - LICENSE
71
69
  - README.md
72
70
  - Rakefile
73
- - bin/rj_scheduler
74
- - bin/rj_worker
75
71
  - examples/client
76
72
  - examples/configuration.rb
77
73
  - examples/worker
@@ -115,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
111
  version: '0'
116
112
  segments:
117
113
  - 0
118
- hash: -155870681663292308
114
+ hash: -332224459976607179
119
115
  required_rubygems_version: !ruby/object:Gem::Requirement
120
116
  none: false
121
117
  requirements:
@@ -124,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
120
  version: '0'
125
121
  segments:
126
122
  - 0
127
- hash: -155870681663292308
123
+ hash: -332224459976607179
128
124
  requirements: []
129
125
  rubyforge_project:
130
126
  rubygems_version: 1.8.11
data/bin/rj_scheduler DELETED
@@ -1,23 +0,0 @@
1
- #!/bin/env ruby
2
- require 'pathname'
3
- require 'bundler/setup'
4
- require 'rake'
5
-
6
- rails_root = Pathname.new(Dir.getwd)
7
- ENV['RAILS_ROOT'] = rails_root.to_s
8
- ENV['RAILS_ENV'] ||= 'development'
9
-
10
- require File.expand_path('../../lib/rabbit_jobs/tasks', __FILE__)
11
-
12
- case ARGV.first
13
- when 'start'
14
- require 'bundler/setup'
15
- require rails_root.join('config/application')
16
- Rake::Task['rj:scheduler:start'].invoke
17
- when 'stop'
18
- Rake::Task['rj:scheduler:stop'].invoke
19
- when 'status'
20
- Rake::Task['rj:scheduler:status'].invoke
21
- else
22
- raise "usage: rj_scheduler <start>|<stop>|<status>"
23
- end
data/bin/rj_worker DELETED
@@ -1,24 +0,0 @@
1
- #!/bin/env ruby
2
- require 'pathname'
3
- require 'bundler/setup'
4
- require 'rake'
5
-
6
- ENV['RAILS_ENV'] ||= 'development'
7
-
8
- rails_root = Pathname.new(Dir.getwd)
9
-
10
- require 'bundler/setup'
11
- require rails_root.join('config/application')
12
- Rails.application.require_environment!
13
- Rails.application.load_tasks
14
-
15
- case ARGV.first
16
- when 'start'
17
- Rake::Task['rj:worker:start'].invoke
18
- when 'stop'
19
- Rake::Task['rj:worker:stop'].invoke
20
- when 'status'
21
- Rake::Task['rj:worker:status'].invoke
22
- else
23
- raise "usage: rj_worker <start>|<stop>|<status>"
24
- end