danger-clubhouse 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/clubhouse/gem_version.rb +1 -1
- data/lib/clubhouse/plugin.rb +2 -2
- data/spec/clubhouse_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 566daf83613e53042a5569dafe79a7132f352858
|
4
|
+
data.tar.gz: 3febac9b7df3f21ac15d318cf8ee237f4f7e6853
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9825162ba669061ca8a5f16ccf209cf9d5264476e4ba55104df6bc507acf67bde355f345dae176fed9aa9beec7512f6f9f1e935d6f76b982b01f2c8d8a55fadc
|
7
|
+
data.tar.gz: be7eff69eaade74c982dba66e346156fc1bed3705493715b8eed3293a2d1137cc2c948b53ae69421824511f40bb591c370460269def683d85e8575be42473652
|
data/lib/clubhouse/plugin.rb
CHANGED
@@ -66,9 +66,9 @@ module Danger
|
|
66
66
|
private
|
67
67
|
|
68
68
|
def post!(story_ids)
|
69
|
-
message = "### Clubhouse
|
69
|
+
message = "### Clubhouse Stories\n\n"
|
70
70
|
story_ids.each do |id|
|
71
|
-
message << "* [https://app.clubhouse.io/#{organization}/
|
71
|
+
message << "* [https://app.clubhouse.io/#{organization}/story/#{id}](https://app.clubhouse.io/#{organization}/story/#{id}) \n"
|
72
72
|
end
|
73
73
|
markdown message
|
74
74
|
end
|
data/spec/clubhouse_spec.rb
CHANGED
@@ -40,7 +40,7 @@ module Danger
|
|
40
40
|
subject
|
41
41
|
|
42
42
|
expect(status_report[:markdowns].map(&:message)).to eq [
|
43
|
-
"### Clubhouse
|
43
|
+
"### Clubhouse Stories\n\n* [https://app.clubhouse.io/organization/story/345](https://app.clubhouse.io/organization/story/345) \n"
|
44
44
|
]
|
45
45
|
end
|
46
46
|
end
|
@@ -64,7 +64,7 @@ module Danger
|
|
64
64
|
subject
|
65
65
|
|
66
66
|
expect(status_report[:markdowns].map(&:message)).to eq [
|
67
|
-
"### Clubhouse
|
67
|
+
"### Clubhouse Stories\n\n* [https://app.clubhouse.io/organization/story/345](https://app.clubhouse.io/organization/story/345) \n"
|
68
68
|
]
|
69
69
|
end
|
70
70
|
end
|