fastlane-plugin-teams 0.1.0 → 0.2.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
- SHA1:
3
- metadata.gz: 79c6a29abcbe59fdf97ffe81e1f66d206a675c7a
4
- data.tar.gz: 26ad16d1d88e6d0d11faf9426c0475073b08dc1a
2
+ SHA256:
3
+ metadata.gz: 1d87a2efcc43f1dcf1e7b899e988bc5f7e516fc3527fd4dbcb7c51f1bc8b9050
4
+ data.tar.gz: 6a87bc267cf4eab945863371b2d419e94aa851962446031eafd3e9521d9afbe2
5
5
  SHA512:
6
- metadata.gz: 2596ab2338793639a0ac185a05a5d8a64a36f3a00033176cef6d8fac836e88b4fcb969e9595d3068f0a4040c94e0c9955e2e03699e2a6f8c706e56e92ada7e9a
7
- data.tar.gz: e87f451006e41f265a5d1367f31f8cb080e9b285881b88439a2327525836e6dc237580858243dfc2fd42a62402df1b36c1fad6439c8a80a90d7f8b65907ec6ea
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 success/error message to your Microsoft Teams channel
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
  ]
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Teams
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
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.1.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: 2017-05-21 00:00:00.000000000 Z
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.5.0
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