hey-you-slack 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -2
- data/CHANGELOG.md +0 -0
- data/hey-you-slack.gemspec +2 -2
- data/lib/hey_you/channels/slack.rb +3 -3
- data/lib/hey_you_slack/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e332179ee9736d23fca59dce407d8220eba3907586e6e202b66da6e7e026a81
|
4
|
+
data.tar.gz: ff3594529c7ac78c775a9776b393686c049bda3832cdfd8537d23074fcc8ef13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d49eceac7e3a74bdee6bb43b1beee4ecb9125c0b033d99d1002f055d922902a3d376b92708350e3b75cce2aa8ae4e412538c19d58a14818df716e3897f92084
|
7
|
+
data.tar.gz: 4e7cf17e90603e54476d15affa95439f16efb50968607157c3e5761e7dd1eeb2db4cc158fb6c74391f5822af63fa7bfc57e7c2d3cbf2f1c115c5f99df06aa10d
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
File without changes
|
data/hey-you-slack.gemspec
CHANGED
@@ -33,10 +33,10 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
34
34
|
spec.require_paths = ["lib"]
|
35
35
|
|
36
|
-
spec.add_runtime_dependency "hey-you", '~>
|
36
|
+
spec.add_runtime_dependency "hey-you", '~> 1'
|
37
37
|
spec.add_runtime_dependency "httparty", '~> 0.16'
|
38
38
|
|
39
|
-
spec.add_development_dependency "rake", "~>
|
39
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
40
40
|
spec.add_development_dependency "rspec", "~> 3.0"
|
41
41
|
spec.add_development_dependency "webmock", '~> 3.4'
|
42
42
|
spec.add_development_dependency "ffaker", '~> 2.9'
|
@@ -13,15 +13,15 @@ module HeyYou
|
|
13
13
|
raise CredentialsNotExists unless credentials_present?
|
14
14
|
|
15
15
|
if options[:to]&.is_a?(String) || options[:to]&.is_a?(Symbol)
|
16
|
-
return send_to_webhook(builder, options)
|
16
|
+
return send_to_webhook(builder, **options)
|
17
17
|
end
|
18
18
|
|
19
19
|
if builder.slack&.webhook_name
|
20
20
|
options.delete(:to)
|
21
|
-
return send_to_webhook(builder, options)
|
21
|
+
return send_to_webhook(builder, **options)
|
22
22
|
end
|
23
23
|
|
24
|
-
send_to_multiple_webhooks(builder, options)
|
24
|
+
send_to_multiple_webhooks(builder, **options)
|
25
25
|
end
|
26
26
|
|
27
27
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hey-you-slack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Nesterov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hey-you
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: httparty
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '13.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '13.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- ".gitignore"
|
106
106
|
- ".rspec"
|
107
107
|
- ".travis.yml"
|
108
|
+
- CHANGELOG.md
|
108
109
|
- Gemfile
|
109
110
|
- README.md
|
110
111
|
- Rakefile
|
@@ -137,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
138
|
- !ruby/object:Gem::Version
|
138
139
|
version: '0'
|
139
140
|
requirements: []
|
140
|
-
rubygems_version: 3.
|
141
|
+
rubygems_version: 3.1.2
|
141
142
|
signing_key:
|
142
143
|
specification_version: 4
|
143
144
|
summary: Slack notification via gem `hey-you`.
|