slackcat 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/slackcat +1 -1
- data/lib/slackcat/version.rb +1 -1
- 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: 7de9a8aab911b39858e30051b0df560a66a2729b
|
4
|
+
data.tar.gz: c7a3865e615c0acec76c6ab8dda3cde5060dcb0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd34212773780f8e2f16d8b551d78306d65ac4be038252e556d142a9e99da3d44e4281dc2dbe87cb24f70a351c45d927e97d0c1207e061a3df4efb0a8d15d520
|
7
|
+
data.tar.gz: 5f041285e516808dd62828b4a66ecbe283db084a672b4ab44e0d19f03622ecfcca34bdf041f75b6b61617a783a7fb903b286ad2f2874be9b43bc996c2b1289b6
|
data/Gemfile.lock
CHANGED
data/bin/slackcat
CHANGED
@@ -14,7 +14,7 @@ class Slackcat
|
|
14
14
|
## get a channel, group, im or user list
|
15
15
|
def get_objects(method, key)
|
16
16
|
self.class.get("/#{method}", query: { token: @token }).tap do |response|
|
17
|
-
raise "error retrieving #{
|
17
|
+
raise "error retrieving #{key} from #{method}: #{response.fetch('error', 'unknown error')}" unless response['ok']
|
18
18
|
end.fetch(key)
|
19
19
|
end
|
20
20
|
|
data/lib/slackcat/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slackcat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Lister
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|