jackhammer 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 +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +3 -1
- data/jackhammer.gemspec +2 -1
- data/lib/jackhammer/cli.rb +7 -3
- data/lib/jackhammer/configuration.rb +1 -1
- data/lib/jackhammer/server.rb +3 -3
- data/lib/jackhammer/version.rb +1 -1
- data/lib/jackhammer.rb +2 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 232498851115b9f31c67a674fd67bb003fed1913c217eb0b1bd8418ea04ff804
|
4
|
+
data.tar.gz: febc0c5efee22668cf8c747eda637c50f53d7b307ae58376fce753ad34981f04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97135ef2215f4a5d9ae1a584287c01d1f3067f555a488ebc18d1692bcaa6fd8350ff4e0391bf9b10d7345f904364c071f8bc9669415f77263bd446bbb43e5be2
|
7
|
+
data.tar.gz: d21958748db93bd0dba6553374f58d7ced4ecec880f3203cec0385a4f0e4fd1d0555cdb8c02ee8cb4703f8aafe34402c0d3dfdddd9fd6067b8ebadc6848fab36
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jackhammer (0.1.
|
4
|
+
jackhammer (0.1.1)
|
5
5
|
bunny (~> 2.14)
|
6
6
|
|
7
7
|
GEM
|
@@ -13,6 +13,7 @@ GEM
|
|
13
13
|
amq-protocol (~> 2.3, >= 2.3.0)
|
14
14
|
bunny-mock (1.7.0)
|
15
15
|
bunny (>= 1.7)
|
16
|
+
byebug (11.0.1)
|
16
17
|
diff-lcs (1.3)
|
17
18
|
jaro_winkler (1.5.3)
|
18
19
|
parallel (1.17.0)
|
@@ -51,6 +52,7 @@ PLATFORMS
|
|
51
52
|
DEPENDENCIES
|
52
53
|
bundler (~> 2.0)
|
53
54
|
bunny-mock (~> 1.7)
|
55
|
+
byebug
|
54
56
|
jackhammer!
|
55
57
|
rake (~> 10.0)
|
56
58
|
rspec (~> 3.0)
|
data/jackhammer.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
lib = File.expand_path('lib', __dir__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'jackhammer
|
5
|
+
require 'jackhammer'
|
6
6
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
8
|
spec.name = 'jackhammer'
|
@@ -35,4 +35,5 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
36
36
|
spec.add_development_dependency 'rubocop', '~> 0.74'
|
37
37
|
spec.add_development_dependency 'rubocop-performance', '~> 1.4.1'
|
38
|
+
spec.add_development_dependency 'byebug'
|
38
39
|
end
|
data/lib/jackhammer/cli.rb
CHANGED
@@ -4,9 +4,9 @@ module Jackhammer
|
|
4
4
|
class CLI
|
5
5
|
attr_reader :logger, :opts
|
6
6
|
|
7
|
-
def initialize
|
7
|
+
def initialize(options = {})
|
8
8
|
@logger = Logger.new STDERR
|
9
|
-
@opts = { require: './config/application' }
|
9
|
+
@opts = { require: './config/application' }.merge(options)
|
10
10
|
end
|
11
11
|
|
12
12
|
def parse(argv = ARGV)
|
@@ -26,7 +26,11 @@ module Jackhammer
|
|
26
26
|
def run
|
27
27
|
require opts[:require]
|
28
28
|
Log.info "Booting up Jackhammer v#{VERSION}"
|
29
|
-
|
29
|
+
server.start
|
30
|
+
end
|
31
|
+
|
32
|
+
def server
|
33
|
+
Jackhammer.configuration.server
|
30
34
|
end
|
31
35
|
end
|
32
36
|
end
|
data/lib/jackhammer/server.rb
CHANGED
data/lib/jackhammer/version.rb
CHANGED
data/lib/jackhammer.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jackhammer
|
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
|
- Scott Serok
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.4.1
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: byebug
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
111
125
|
description: Jackhammer is an opinionated facde over RabbitMQ Bunny
|
112
126
|
email:
|
113
127
|
- scott@renofi.com
|