sidekiq-client-cli 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.coveralls.yml +1 -0
- data/.travis.yml +3 -0
- data/Gemfile +2 -0
- data/README.md +24 -9
- data/Rakefile +10 -0
- data/lib/sidekiq_client_cli/version.rb +1 -1
- data/sidekiq-client-cli.gemspec +3 -2
- data/spec/spec_helper.rb +14 -2
- metadata +32 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzBkYjYxNGJhOTNmMDQwNDBmNGFmYTMwMTZiNTMxZjc0ZmQ3MWIzOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTEwNWUzNWUyNjY0YzE5NDViYzE2MWY5OWE2MDU4Yzk5MDdjMTNkOQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2RmNzk1ZWVmZjE3ZjEzNGQ5NDgyMTNlMjUzYjIxN2JjODMyMzM0Yjk0YjZl
|
10
|
+
YjQ1MGEyZDA5M2Q3MjVkNWIyNWM2MzBhZjY2YmY4ZTFkZTY5NmU4ZDQyNzBi
|
11
|
+
NzBmNTZmZWQxMmJiYzRmNzljN2M1MDAwZjliMmJiYmY2OWI0Yjk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWRjMTRiNmU3YmRhMTViZjE2NTg3M2Q5MWMxNDEyYmZiNjIxYjYwYWVjOGZk
|
14
|
+
NWFjZmYxMTVjZDAyYjYxZTFkMWEyZGEyZDQ2NTdmNGM3Yzk3ZjI0MDQxOGE4
|
15
|
+
MjRhNWJkZDRlMGE4NzQxODgyNzg4NTNjMTc4YTkxYjcyYTFmODU=
|
data/.coveralls.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
service_name: travis-ci
|
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# sidekiq-client-cli
|
2
2
|
|
3
|
-
|
3
|
+
[![Build Status](https://secure.travis-ci.org/didil/sidekiq-client-cli.png)](http://travis-ci.org/didil/sidekiq-client-cli]) [![Code Climate](https://codeclimate.com/github/didil/sidekiq-client-cli.png)](https://codeclimate.com/github/didil/sidekiq-client-cli) [![Coverage Status](https://coveralls.io/repos/didil/sidekiq-client-cli/badge.png)](https://coveralls.io/r/didil/sidekiq-client-cli)
|
4
|
+
|
5
|
+
A command line client for Sidekiq
|
6
|
+
You can use this when you need to interact with Sidekiq via the command line, for example in cron jobs.
|
4
7
|
|
5
8
|
## Installation
|
6
9
|
|
@@ -18,12 +21,24 @@ Or install it yourself as:
|
|
18
21
|
|
19
22
|
## Usage
|
20
23
|
|
21
|
-
|
24
|
+
Push worker classes to Sidekiq :
|
25
|
+
|
26
|
+
$ sidekiq-client push MyWorker OtherWorker
|
27
|
+
|
28
|
+
help
|
29
|
+
|
30
|
+
$ sidekiq-client --help
|
31
|
+
|
32
|
+
## Contributing to sidekiq-client-cli
|
33
|
+
|
34
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
35
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
36
|
+
* Fork the project.
|
37
|
+
* Start a feature/bugfix branch.
|
38
|
+
* Commit and push until you are happy with your contribution.
|
39
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
40
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
22
41
|
|
23
|
-
##
|
42
|
+
## Copyright
|
24
43
|
|
25
|
-
|
26
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
-
5. Create new Pull Request
|
44
|
+
Copyright (c) 2013 Adil Haritah. See LICENSE.txt for further details.
|
data/Rakefile
CHANGED
data/sidekiq-client-cli.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["haritahadil@gmail.com"]
|
11
11
|
spec.description = %q{Command line client for Sidekiq. Push worker classes to queue from the cli ...}
|
12
12
|
spec.summary = %q{Command line client for Sidekiq}
|
13
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "https://github.com/didil/sidekiq-client-cli"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
@@ -20,7 +20,8 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.3"
|
22
22
|
spec.add_development_dependency "rake"
|
23
|
-
|
23
|
+
spec.add_development_dependency "rspec"
|
24
|
+
spec.add_development_dependency "simplecov"
|
24
25
|
|
25
26
|
spec.add_dependency "sidekiq"
|
26
27
|
spec.add_dependency "cli"
|
data/spec/spec_helper.rb
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
require 'coveralls'
|
3
|
+
|
4
|
+
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
|
5
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
6
|
+
SimpleCov::Formatter::HTMLFormatter,
|
7
|
+
Coveralls::SimpleCov::Formatter
|
8
|
+
]
|
9
|
+
SimpleCov.start do
|
10
|
+
add_filter "/spec/support/"
|
11
|
+
end
|
12
|
+
|
1
13
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
14
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
15
|
require 'rspec'
|
@@ -5,8 +17,8 @@ require 'sidekiq_client_cli'
|
|
5
17
|
|
6
18
|
# Requires supporting files with custom matchers and macros, etc,
|
7
19
|
# in ./support/ and its subdirectories.
|
8
|
-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
20
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
9
21
|
|
10
22
|
RSpec.configure do |config|
|
11
|
-
|
23
|
+
|
12
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-client-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adil Haritah
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: simplecov
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: sidekiq
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -75,8 +103,10 @@ executables:
|
|
75
103
|
extensions: []
|
76
104
|
extra_rdoc_files: []
|
77
105
|
files:
|
106
|
+
- .coveralls.yml
|
78
107
|
- .gitignore
|
79
108
|
- .rspec
|
109
|
+
- .travis.yml
|
80
110
|
- Gemfile
|
81
111
|
- LICENSE.txt
|
82
112
|
- README.md
|
@@ -88,7 +118,7 @@ files:
|
|
88
118
|
- spec/sidekiq_client_cli_spec.rb
|
89
119
|
- spec/spec_helper.rb
|
90
120
|
- spec/support/io.rb
|
91
|
-
homepage:
|
121
|
+
homepage: https://github.com/didil/sidekiq-client-cli
|
92
122
|
licenses:
|
93
123
|
- MIT
|
94
124
|
metadata: {}
|