hutch 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +1 -1
- data/lib/hutch.rb +5 -5
- data/lib/hutch/error_handlers.rb +6 -0
- data/lib/hutch/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f6769adb52304d77e335c68fcb57f8cb6f5ee37
|
4
|
+
data.tar.gz: 4fe4c8bbf1b7f44be549193f3c0027b6d8e4ec46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68091e7fbac0048d592a4b8b77b52b27695b90ffcac2e64fd361472763adcf3b74d929a04c6a08b3e6a29d6399e857f109ee85540cdfca6e504d1deea10b11d9
|
7
|
+
data.tar.gz: 7e6a89c2212f7686abc006f30f1e390a2160881d2a068dbabc42f6b4c744a5664bc5955b3d8621c22773c62a98767d4fe0ce0b4d70bec658ee9ab14bedf94332
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## 0.4.1 - October 11, 2013
|
2
|
+
|
3
|
+
- Autoload internal modules. Fixes regression where the `Config` module was
|
4
|
+
not available by simply `require`ing `hutch`.
|
5
|
+
|
6
|
+
## 0.4.0 - October 9, 2013
|
7
|
+
|
8
|
+
- Support for loading configuration from a file, specified with the `--config`
|
9
|
+
command line option.
|
10
|
+
|
1
11
|
## 0.3.0 - September 24, 2013
|
2
12
|
|
3
13
|
- Add `--[no-]autoload-rails` flag to optionally disable the autoloading of
|
data/README.md
CHANGED
data/lib/hutch.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
module Hutch
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
autoload :Consumer, 'hutch/consumer'
|
3
|
+
autoload :Worker, 'hutch/worker'
|
4
|
+
autoload :Logging, 'hutch/logging'
|
5
|
+
autoload :Config, 'hutch/config'
|
6
|
+
autoload :ErrorHandlers, 'hutch/error_handlers'
|
7
7
|
|
8
8
|
def self.register_consumer(consumer)
|
9
9
|
self.consumers << consumer
|
data/lib/hutch/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hutch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harry Marr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|
@@ -92,6 +92,7 @@ files:
|
|
92
92
|
- lib/hutch/cli.rb
|
93
93
|
- lib/hutch/config.rb
|
94
94
|
- lib/hutch/consumer.rb
|
95
|
+
- lib/hutch/error_handlers.rb
|
95
96
|
- lib/hutch/error_handlers/logger.rb
|
96
97
|
- lib/hutch/error_handlers/sentry.rb
|
97
98
|
- lib/hutch/exceptions.rb
|