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 +4 -4
- data/lib/lolcommits/plugin/slack.rb +0 -13
- data/lib/lolcommits/slack/version.rb +1 -1
- data/lolcommits-slack.gemspec +1 -1
- data/test/lolcommits/plugin/slack_test.rb +0 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01ee78b2b2ecaf7200026d89b31893bf5b5128313932581dd53125600c07b149
|
4
|
+
data.tar.gz: 2907bc03d24ea2b3ef9f88d90134487ac22e859a48e8ab707295aa30062bd2e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
#
|
data/lolcommits-slack.gemspec
CHANGED
@@ -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.
|
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
|
+
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-
|
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.
|
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.
|
40
|
+
version: 0.12.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: webmock
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|