s-3po 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/README.md +5 -3
- data/lib/s-3po/events.rb +1 -1
- data/s-3po.gemspec +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afee73b5c45855b4388b24e856b14949d2610e9f
|
4
|
+
data.tar.gz: a89e09d0b8a7f4ff3b1317a2f2acc9277cb88d6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99868e8215ad11ec5b15fd5ada25b777d94efec8a55ed5831370b9cb19b0fec5e30ca5aeb066a02a536fc1df50f4af8905922a50f0838319e9fee4d6d88ffc4e
|
7
|
+
data.tar.gz: 90a62b8f876e46ec1fb52a71bf7617d57b193a07de524233ded804f5205ec4184ee6a10494d4e2b01060f3cf5babbfa8f0c068abd279878c102bfae13162fa07
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# S-3PO
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/s-3po.svg)](http://badge.fury.io/rb/s-3po) [![security](https://hakiri.io/github/kenjij/s-3po/master.svg)](https://hakiri.io/github/kenjij/s-3po/master) [![Code Climate](https://codeclimate.com/github/kenjij/s-3po/badges/gpa.svg)](https://codeclimate.com/github/kenjij/s-3po)
|
4
|
+
|
3
5
|
A protocol droid made by Cybot Galactica for Slack.
|
4
6
|
|
5
7
|
This gem parses, generates, and manupilates various Slack events and messages.
|
@@ -13,7 +15,7 @@ This gem parses, generates, and manupilates various Slack events and messages.
|
|
13
15
|
If you're creating integrations or bots for Slack, this may come useful. Install:
|
14
16
|
|
15
17
|
```
|
16
|
-
$ gem install
|
18
|
+
$ gem install s-3po
|
17
19
|
```
|
18
20
|
|
19
21
|
Then use:
|
@@ -39,7 +41,7 @@ json = S3PO.generate_message do |reply|
|
|
39
41
|
reply.plain = "@channel: what's up, ya all?"
|
40
42
|
end
|
41
43
|
puts json
|
42
|
-
# => "<!channel>: what's up, ya all?"
|
44
|
+
# => {"type":"message","channel":"CABC123","text":"<!channel>: what's up, ya all?","id":0}
|
43
45
|
```
|
44
46
|
|
45
47
|
See [YARD Doc](http://www.rubydoc.info/github/kenjij/s-3po) for more info.
|
@@ -48,4 +50,4 @@ See [YARD Doc](http://www.rubydoc.info/github/kenjij/s-3po) for more info.
|
|
48
50
|
|
49
51
|
- Provide feedback
|
50
52
|
- Expect more updates
|
51
|
-
- Random anniversary
|
53
|
+
- Random anniversary on May 4th
|
data/lib/s-3po/events.rb
CHANGED
data/s-3po.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: s-3po
|
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
|
- Ken J.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Slack message formatter gem
|
14
14
|
email:
|
@@ -34,19 +34,18 @@ require_paths:
|
|
34
34
|
- lib
|
35
35
|
required_ruby_version: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- -
|
37
|
+
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '0'
|
40
40
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
44
|
version: '0'
|
45
45
|
requirements: []
|
46
46
|
rubyforge_project:
|
47
|
-
rubygems_version: 2.4.
|
47
|
+
rubygems_version: 2.4.3
|
48
48
|
signing_key:
|
49
49
|
specification_version: 4
|
50
50
|
summary: A Slack message "protocol droid®".
|
51
51
|
test_files: []
|
52
|
-
has_rdoc:
|