octogate 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/octogate/events.rb +3 -3
- data/lib/octogate/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15b8090fd5c63bfa0b9bd0081ef5ad4a150e5bb9
|
4
|
+
data.tar.gz: a02a4fa8593bcd65e2c84093d5a00430022d1073
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d1e22e616812d3131a8ea87ca407d64de8e05daf4eb70ddadaae046c6093aaad03dedcc268651f80c70e524a6deb4047fe9bbb7ed1173f85936708ebb59e3a0
|
7
|
+
data.tar.gz: 4bef5e6bfb202e5893acfc4480dedc9fe94bc8e6db9b43863c7ab375fedf5bd4a304c63f26b97652224d45a3f9200774bfb64e2be6c9adc27155556bfe847909
|
data/lib/octogate/events.rb
CHANGED
@@ -1,9 +1,6 @@
|
|
1
1
|
require "active_support/core_ext/hash"
|
2
2
|
module Octogate
|
3
3
|
module Event
|
4
|
-
autoload :Push , "octogate/events/push"
|
5
|
-
autoload :PullRequest , "octogate/events/pull_request"
|
6
|
-
|
7
4
|
class << self
|
8
5
|
def register_event(name, klass)
|
9
6
|
@events ||= {}.with_indifferent_access
|
@@ -20,3 +17,6 @@ module Octogate
|
|
20
17
|
|
21
18
|
class NotRegisteredEvent < StandardError; end
|
22
19
|
end
|
20
|
+
|
21
|
+
require "octogate/events/push"
|
22
|
+
require "octogate/events/pull_request"
|
data/lib/octogate/version.rb
CHANGED