slack-notify 0.3.1 → 0.3.2
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 +4 -4
- data/.travis.yml +2 -2
- data/README.md +3 -2
- data/Rakefile +1 -1
- data/lib/slack-notify/client.rb +1 -1
- data/lib/slack-notify/version.rb +1 -1
- data/spec/slack-notify/client_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3aeabc3229c7b0d40604c184e02f5bbf0cf4bfd
|
4
|
+
data.tar.gz: 54cfe613f63c08a26336bfa21e09f9c04667e75a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d934f1e989c9f91b38081407bf38cc74f9ff92cb00157995b6ee63a836622679f896c9e318ddb9ec8089f76501e91a32ab99fb01d99a0617b8345a927591491
|
7
|
+
data.tar.gz: 8a5088cd804750458979aa8ef953d9cdb6eff73e2879e5f3024cc4ad54677d5d643844e31668060d4a66e3a96e8c33fa8fa448794a7496b4c4fef3cdd7a6e4b2
|
data/.travis.yml
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
rvm:
|
2
|
-
- "2.0
|
3
|
-
- "2.1
|
2
|
+
- "2.0"
|
3
|
+
- "2.1"
|
data/README.md
CHANGED
@@ -2,8 +2,9 @@
|
|
2
2
|
|
3
3
|
Send notifications to [Slack](http://slack.com/)
|
4
4
|
|
5
|
-
[](https://travis-ci.org/sosedoff/slack-notify)
|
6
|
+
[](https://codeclimate.com/github/sosedoff/slack-notify)
|
7
|
+
[](http://rubygems.org/gems/slack-notify)
|
7
8
|
|
8
9
|
## Installation
|
9
10
|
|
data/Rakefile
CHANGED
data/lib/slack-notify/client.rb
CHANGED
data/lib/slack-notify/version.rb
CHANGED
@@ -20,6 +20,14 @@ describe SlackNotify::Client do
|
|
20
20
|
to raise_error "Invalid team name"
|
21
21
|
end
|
22
22
|
end
|
23
|
+
|
24
|
+
it "does not raise error on valid team name" do
|
25
|
+
names = ["foo", "Foo", "foo-bar"]
|
26
|
+
|
27
|
+
names.each do |name|
|
28
|
+
expect { described_class.new(name, "token") }.not_to raise_error
|
29
|
+
end
|
30
|
+
end
|
23
31
|
end
|
24
32
|
|
25
33
|
describe "#test" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack-notify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Sosedoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|