fastlane-plugin-teams 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.md +1 -5
- data/lib/fastlane/plugin/teams/actions/teams_action.rb +15 -1
- data/lib/fastlane/plugin/teams/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 1d87a2efcc43f1dcf1e7b899e988bc5f7e516fc3527fd4dbcb7c51f1bc8b9050
|
|
4
|
+
data.tar.gz: 6a87bc267cf4eab945863371b2d419e94aa851962446031eafd3e9521d9afbe2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: adc7fc93eebcd644d28513368d0362c72c5b8bfe80841ee8d01c2f2e92cef344f407e297e835dd9a3b542772c7eb1906f0ba0471bef4eef50fd5f8f2ff6e21eb
|
|
7
|
+
data.tar.gz: 95af12aaa0eb87013de6a33e8a34202c071d6abe08768d920cad7b95d11f1fee763ded1d7aba5b9ef0fe760602d8ee59a4c455431a4ab55b5e470f63795deea5
|
data/README.md
CHANGED
|
@@ -12,16 +12,12 @@ fastlane add_plugin teams
|
|
|
12
12
|
|
|
13
13
|
## About teams
|
|
14
14
|
|
|
15
|
-
Send a
|
|
16
|
-
|
|
17
|
-
**Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
|
|
15
|
+
Send a message to your Microsoft Teams channel
|
|
18
16
|
|
|
19
17
|
## Example
|
|
20
18
|
|
|
21
19
|
Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
|
|
22
20
|
|
|
23
|
-
**Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
|
|
24
|
-
|
|
25
21
|
## Run tests for this plugin
|
|
26
22
|
|
|
27
23
|
To run both the tests, and code style validation, run
|
|
@@ -11,7 +11,7 @@ module Fastlane
|
|
|
11
11
|
"themeColor" => params[:theme_color],
|
|
12
12
|
"title" => params[:title],
|
|
13
13
|
"summary" => params[:title],
|
|
14
|
-
"sections" => [ { "text" => params[:message] } ]
|
|
14
|
+
"sections" => [ { "text" => params[:message], "facts" => params[:facts] } ]
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
json_headers = { 'Content-Type' => 'application/json' }
|
|
@@ -51,6 +51,10 @@ module Fastlane
|
|
|
51
51
|
FastlaneCore::ConfigItem.new(key: :message,
|
|
52
52
|
env_name: "FL_TEAMS_MESSAGE",
|
|
53
53
|
description: "The message that should be displayed on Teams. This supports the standard Teams markup language"),
|
|
54
|
+
FastlaneCore::ConfigItem.new(key: :facts,
|
|
55
|
+
type: Array,
|
|
56
|
+
env_name: "FL_TEAMS_FACTS",
|
|
57
|
+
description: "Optional facts"),
|
|
54
58
|
FastlaneCore::ConfigItem.new(key: :teams_url,
|
|
55
59
|
env_name: "FL_TEAMS_URL",
|
|
56
60
|
sensitive: true,
|
|
@@ -70,6 +74,16 @@ module Fastlane
|
|
|
70
74
|
'teams(
|
|
71
75
|
title: "Fastlane says hello",
|
|
72
76
|
message: "App successfully released!",
|
|
77
|
+
facts:[
|
|
78
|
+
{
|
|
79
|
+
"name"=>"Platform",
|
|
80
|
+
"value"=>"Android
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name"=>"Lane",
|
|
84
|
+
"value"=>"android internal"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
73
87
|
teams_url: "https://outlook.office.com/webhook/..."
|
|
74
88
|
)'
|
|
75
89
|
]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-teams
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Morten Bøgh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-09-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
126
126
|
version: '0'
|
|
127
127
|
requirements: []
|
|
128
128
|
rubyforge_project:
|
|
129
|
-
rubygems_version: 2.
|
|
129
|
+
rubygems_version: 2.7.7
|
|
130
130
|
signing_key:
|
|
131
131
|
specification_version: 4
|
|
132
132
|
summary: Send a success/error message to your Microsoft Teams channel
|