spring-commands-sidekiq 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YmZlNGUxNDg5MTg0MmM0ZWMzYjljNDI2Zjk4MmZhYTEwMWIzMDNhNg==
5
+ data.tar.gz: !binary |-
6
+ MGJmMjk1YTE0NDE0Mjg0N2JlZTgxOGUxZjA3ZWZiM2E0MTc5MjJkNg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ M2RlNTI2NGI1NjYwZjY4OWJmNTZhNmFkM2Q5Mjc1MzE0ODEwYzIyNmZmYzU1
10
+ YjEwOTRlYTEwMGI0ZWY4Zjc3ZDI3ZTE5NTUzZGUwMDNiZDk0NTdkZWI3Njlm
11
+ ZmRmNWI0YTZiNjlhNGFmNDA3YmMxZjFhY2E2OWNmMWE5ZGYzNmM=
12
+ data.tar.gz: !binary |-
13
+ MGU0YjVjNzAyMDVkYTkzY2IzNDZhOGM0NDA4NDIzNzRiMDA3NTUwM2IyYTVl
14
+ OTMxYzlhNjk5Y2UxMDU3OTEyM2JjOWI0ZTJiMjJkZDkyMDZhNDk0MWNhM2I1
15
+ MDM0ZjI5ZTBkZTIxNDExOGNhMTRiNTI0YmU5NzhhNzMwNWFiYTE=
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/LICENSE.md ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 John Voloski
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # spring-commands-sidekiq
2
+
3
+ This gem implements the `sidekiq` command for
4
+ [Spring](https://github.com/jonleighton/spring).
5
+
6
+ ## Usage
7
+
8
+ Add to your Gemfile:
9
+
10
+ ``` ruby
11
+ gem "spring-commands-sidekiq", group: :development
12
+ ```
13
+
14
+ If you're using spring binstubs, run `bundle exec spring binstub sidekiq` to generate `bin/sidekiq`.
15
+ Then run `spring stop` to pick up the changes.
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,3 @@
1
+ if defined?(Spring.register_command)
2
+ require "spring/commands/sidekiq"
3
+ end
@@ -0,0 +1,20 @@
1
+ module Spring
2
+ module Commands
3
+ class Sidekiq
4
+ def env(*)
5
+ "test"
6
+ end
7
+
8
+ def exec_name
9
+ "sidekiq"
10
+ end
11
+
12
+ def gem_name
13
+ "sidekiq"
14
+ end
15
+ end
16
+
17
+ Spring.register_command "sidekiq", Sidekiq.new
18
+ Spring::Commands::Rake.environment_matchers[/^spec($|:)/] = "test"
19
+ end
20
+ end
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "spring-commands-sidekiq"
7
+ spec.version = "1.0.0"
8
+ spec.authors = ["John Voloski"]
9
+ spec.email = ["johnvoloski@gmail.com"]
10
+ spec.description = %q{sidekiq command for spring}
11
+ spec.summary = %q{sidekiq command for spring}
12
+ spec.homepage = "https://github.com/johnvoloski/spring-commands-sidekiq"
13
+ spec.license = "MIT"
14
+
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_dependency "spring", ">= 0.9.1"
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.3"
23
+ spec.add_development_dependency "rake"
24
+ end
metadata ADDED
@@ -0,0 +1,93 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spring-commands-sidekiq
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - John Voloski
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-05-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: spring
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 0.9.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.9.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
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
+ description: sidekiq command for spring
56
+ email:
57
+ - johnvoloski@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - .gitignore
63
+ - LICENSE.md
64
+ - README.md
65
+ - Rakefile
66
+ - lib/spring-commands-sidekiq.rb
67
+ - lib/spring/commands/sidekiq.rb
68
+ - spring-commands-sidekiq.gemspec
69
+ homepage: https://github.com/johnvoloski/spring-commands-sidekiq
70
+ licenses:
71
+ - MIT
72
+ metadata: {}
73
+ post_install_message:
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ! '>='
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ requirements: []
88
+ rubyforge_project:
89
+ rubygems_version: 2.1.11
90
+ signing_key:
91
+ specification_version: 4
92
+ summary: sidekiq command for spring
93
+ test_files: []