teamistrano 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -4
- data/lib/teamistrano.rb +0 -2
- data/lib/teamistrano/notifier.rb +2 -0
- data/lib/teamistrano/version.rb +1 -1
- data/teamistrano.gemspec +1 -8
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b260fec1139a27f5461d577ba91af51a8aa653bf4cdeecb4520562f7e8463885
|
4
|
+
data.tar.gz: ef2f1f3d7124c4974b03dd6df15f40df8f67f106989808496256f525ec8418ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1aa103c9454f50e176dbf8af3e048d8c968a79bffcd6df649bfa35d64b02b8d36cd21174824e8053b3a27f1ac3488e010b11849a232d0c94c42ae219789a400
|
7
|
+
data.tar.gz: 2555e32000d65b66d6a4152e3be0293c3815ffd6e884b067405a6d16406a107fe553ddf92ce7ae5772ea517b3098ab68a99d65a904878868e39e23611811d8f4
|
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# Teamistrano
|
2
2
|
|
3
|
-
The Teamistrano gem can be used to post deployment notices in Microsoft Teams.
|
4
|
-
|
3
|
+
The Teamistrano gem can be used to post Capistrano deployment notices in Microsoft Teams.
|
5
4
|
|
6
5
|
## Installation
|
7
6
|
|
@@ -19,9 +18,27 @@ Or install it yourself as:
|
|
19
18
|
|
20
19
|
$ gem install teamistrano
|
21
20
|
|
21
|
+
|
22
22
|
## Usage
|
23
23
|
|
24
|
-
|
24
|
+
In Teams, add an "Incoming Webhook" connector in the channel where you want to see deployment notices. Copy the webhook URL that is created when you add the connector.
|
25
|
+
|
26
|
+
In your config/deploy.rb file add the webhook URL like this:
|
27
|
+
|
28
|
+
```
|
29
|
+
set :teamistrano, {
|
30
|
+
webhook: 'https://outlook.office.com/webhook/.....'
|
31
|
+
}
|
32
|
+
```
|
33
|
+
|
34
|
+
Add a reference in the Capfile:
|
35
|
+
|
36
|
+
```
|
37
|
+
require 'teamistrano/notifier'
|
38
|
+
```
|
39
|
+
|
40
|
+
Stand up, turn around three times and then do your 'cap deploy'.
|
41
|
+
|
25
42
|
|
26
43
|
## Development
|
27
44
|
|
@@ -39,4 +56,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
39
56
|
|
40
57
|
## Code of Conduct
|
41
58
|
|
42
|
-
Everyone interacting in the Teamistrano project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
59
|
+
Everyone interacting in the Teamistrano project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/ecrane/teamistrano/blob/master/CODE_OF_CONDUCT.md).
|
data/lib/teamistrano.rb
CHANGED
data/lib/teamistrano/notifier.rb
CHANGED
data/lib/teamistrano/version.rb
CHANGED
data/teamistrano.gemspec
CHANGED
@@ -14,14 +14,6 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = "https://github.com/ecrane/teamistrano"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
-
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
-
# if spec.respond_to?(:metadata)
|
20
|
-
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
-
# else
|
22
|
-
# raise "RubyGems 2.0 or newer is required to protect against " \
|
23
|
-
# "public gem pushes."
|
24
|
-
# end
|
25
17
|
|
26
18
|
# Specify which files should be added to the gem when it is released.
|
27
19
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -36,6 +28,7 @@ Gem::Specification.new do |spec|
|
|
36
28
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
37
29
|
spec.require_paths = ["lib"]
|
38
30
|
|
31
|
+
spec.add_dependency 'capistrano', '>= 3.8.1'
|
39
32
|
spec.add_development_dependency "bundler", "~> 1.16"
|
40
33
|
spec.add_development_dependency "rake", "~> 10.0"
|
41
34
|
spec.add_development_dependency "minitest", "~> 5.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teamistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Crane
|
@@ -10,6 +10,20 @@ bindir: exe
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2019-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: capistrano
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.8.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.8.1
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|