lolcommits-slack 0.0.4 → 0.1.0

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
  SHA256:
3
- metadata.gz: 7e17ec063ae140b61283c90212826e39b346b30e36ee1106ddcaa9f5dafe0729
4
- data.tar.gz: 23ec172d0bfcae83097f053d02f7a1ce61b98f086c937db811ee4a5bbc4442d4
3
+ metadata.gz: 01ee78b2b2ecaf7200026d89b31893bf5b5128313932581dd53125600c07b149
4
+ data.tar.gz: 2907bc03d24ea2b3ef9f88d90134487ac22e859a48e8ab707295aa30062bd2e6
5
5
  SHA512:
6
- metadata.gz: e3b97fd27e6161ace67f29a97ff17f6aab69de16ec74a9729cc34d10dbfde1185e6210f6e1cdae248b5196f43a4d6cea1d70b9f42d5b5e0276a9cb15d9053687
7
- data.tar.gz: 3e10a93a263c90fd5b9875f62190aad81143982e0acf2bca0bed36319fa0e6b063ca9e50152436dcbda07f0e2d8a42a724ea9e14997251760c4c542bbe9cf46f
6
+ metadata.gz: 864036a2ac0cdc2b9a35cbb707c7674090087230fd78005f35404cdae87bf1821617b97baca533f37ad8be337cf308b37396588f6e1d4cfba367be851eb0b585
7
+ data.tar.gz: 16a7243238b0a5b0e0913376003f0e2a82a8b5d69f3882ae392980a136f4f607cd5e8f52b92148ccf4afc3a6bc9aa52b5e2b4b9759286710f111fa34e96f9b7c
@@ -10,19 +10,6 @@ module Lolcommits
10
10
  # Number of times to retry if RestClient.post fails
11
11
  RETRY_COUNT = 2
12
12
 
13
- ##
14
- # Returns position(s) of when this plugin should run during the capture
15
- # process.
16
- #
17
- # The lolcommit is posted to Slack when all proccessing has completed and
18
- # the capture is ready.
19
- #
20
- # @return [Array] the position [:capture_ready]
21
- #
22
- def self.runner_order
23
- [:capture_ready]
24
- end
25
-
26
13
  ##
27
14
  # Capture ready hook, runs after lolcommits captures a snapshot.
28
15
  #
@@ -1,5 +1,5 @@
1
1
  module Lolcommits
2
2
  module Slack
3
- VERSION = "0.0.4".freeze
3
+ VERSION = "0.1.0".freeze
4
4
  end
5
5
  end
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
 
35
35
  spec.add_runtime_dependency "rest-client"
36
36
 
37
- spec.add_development_dependency "lolcommits", ">= 0.11.0"
37
+ spec.add_development_dependency "lolcommits", ">= 0.12.0"
38
38
  spec.add_development_dependency "webmock"
39
39
  spec.add_development_dependency "bundler"
40
40
  spec.add_development_dependency "rake"
@@ -5,10 +5,6 @@ describe Lolcommits::Plugin::Slack do
5
5
  include Lolcommits::TestHelpers::GitRepo
6
6
  include Lolcommits::TestHelpers::FakeIO
7
7
 
8
- it 'should run on pre_capture and capture_ready' do
9
- ::Lolcommits::Plugin::Slack.runner_order.must_equal [:capture_ready]
10
- end
11
-
12
8
  describe 'with a runner' do
13
9
 
14
10
  def runner
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits-slack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Hutchinson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-05 00:00:00.000000000 Z
11
+ date: 2018-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.11.0
33
+ version: 0.12.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.11.0
40
+ version: 0.12.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: webmock
43
43
  requirement: !ruby/object:Gem::Requirement