slack-notifier 2.3.2 → 2.4.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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2b0deceb91f70d0812f01b82db70eacb8dbf01d4d1985ca02375ac13b36d829e
|
4
|
+
data.tar.gz: 5ec7d0eb36e91bbee6f510411646b4c57935aa661706b791e1dc0941fa66dbd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d42ebede5966444cf3101f9410f442e3fad0cdd3a9a7a25f67ff8c068c474bbd49f08d120070cca8652ffd351d68e99f90f648090b97469e3519761b167f513
|
7
|
+
data.tar.gz: 950d6e0ebc557de14b56b8ea5982e6057eb54530ec7b5b406f3c28ca22c3aaf26744c2ce6d69654b39bc75c8525d43204687b8adb97c331cf21c91f9629bd97f
|
@@ -3,6 +3,17 @@
|
|
3
3
|
|
4
4
|
# rubocop:disable Metrics/LineLength
|
5
5
|
RSpec.describe Slack::Notifier::Util::LinkFormatter do
|
6
|
+
describe "initialize & formatted" do
|
7
|
+
it "can be initialized without format args" do
|
8
|
+
subject = described_class.new("Hello World")
|
9
|
+
expect(subject.formatted()).to eq("Hello World")
|
10
|
+
end
|
11
|
+
|
12
|
+
it "can be initialized with format args" do
|
13
|
+
subject = described_class.new("Hello World", formats: [:html])
|
14
|
+
expect(subject.formatted()).to eq("Hello World")
|
15
|
+
end
|
16
|
+
end
|
6
17
|
describe "::format" do
|
7
18
|
it "formats html links" do
|
8
19
|
formatted = described_class.format("Hello World, enjoy <a href='http://example.com'>this</a>.")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack-notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Sloan
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: " A slim ruby wrapper for posting to slack webhooks "
|
14
14
|
email:
|
@@ -48,7 +48,7 @@ homepage: http://github.com/stevenosloan/slack-notifier
|
|
48
48
|
licenses:
|
49
49
|
- MIT
|
50
50
|
metadata: {}
|
51
|
-
post_install_message:
|
51
|
+
post_install_message:
|
52
52
|
rdoc_options: []
|
53
53
|
require_paths:
|
54
54
|
- lib
|
@@ -63,9 +63,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '0'
|
65
65
|
requirements: []
|
66
|
-
|
67
|
-
|
68
|
-
signing_key:
|
66
|
+
rubygems_version: 3.2.15
|
67
|
+
signing_key:
|
69
68
|
specification_version: 4
|
70
69
|
summary: A slim ruby wrapper for posting to slack webhooks
|
71
70
|
test_files:
|