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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a994b0eb25ab164f28db0c36d88f4a2b68c3e2d
4
- data.tar.gz: 5496fb198cde84dfa126910127951d1aed2169f1
3
+ metadata.gz: 15b8090fd5c63bfa0b9bd0081ef5ad4a150e5bb9
4
+ data.tar.gz: a02a4fa8593bcd65e2c84093d5a00430022d1073
5
5
  SHA512:
6
- metadata.gz: ebba77b1218442605f45bf6de1bcb2ff44f2f0ead226c54e8983920b038f86a891d7306f7447085aa8115813442db886ee6f24c599120a86a5f3077f6cef19cd
7
- data.tar.gz: c934a0a9a3125cbf9beca2dfcf25d6ddc4badfaff28c7a89c3d62d32ac1e11d32522204972aca3db77789aaadef509f00981dedb41ce0d5f3cd3dde69c7f54e1
6
+ metadata.gz: 3d1e22e616812d3131a8ea87ca407d64de8e05daf4eb70ddadaae046c6093aaad03dedcc268651f80c70e524a6deb4047fe9bbb7ed1173f85936708ebb59e3a0
7
+ data.tar.gz: 4bef5e6bfb202e5893acfc4480dedc9fe94bc8e6db9b43863c7ab375fedf5bd4a304c63f26b97652224d45a3f9200774bfb64e2be6c9adc27155556bfe847909
@@ -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"
@@ -1,3 +1,3 @@
1
1
  module Octogate
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octogate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - joker1007