ruboty-url 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/README.md +29 -14
- data/lib/ruboty/url/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3168c4c9bf673f18d0f1df9874e9f094389449d0
|
4
|
+
data.tar.gz: 2697c2800566ab58fa93dd454eade79f3bc6e2ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ede39de88370f14c89cbf3bb09c0f72d36d5b61b6e3edc451c9f9abf9bd716cd9227c713debe1f249d27a3440aa132627418bc10c1389a8e1df280e29e5738d
|
7
|
+
data.tar.gz: 26832f05674469283449cac5ec665ce94b48937f7bbad9ad86cdb6ce0e7b5c4066fb9e06043542e251f85c615e39f4326116c334f9d57d583e72a025a5078c44
|
data/.travis.yml
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
sudo: false
|
2
2
|
language: ruby
|
3
3
|
rvm:
|
4
|
-
|
4
|
+
- 2.3.1
|
5
|
+
- 2.5.0
|
5
6
|
before_install: gem install bundler -v 1.16.1
|
6
7
|
notifications:
|
7
8
|
slack:
|
8
|
-
secure:
|
9
|
+
secure: C80aaHhhcI+RuTpijDX/DIN+KMqxX0Sr/BbQhohE0rgTfquxhIPMo7rGBnMIuRvU5rjbfwngjfjEvIsxZ3h+1rpuI8Uao/jgwRh/0qLbAok2U0Nt2KPJN1e8SjQkHaSdcuxeNzAL5V4321KyYGmHP22uCRSkIUl+S2ep7wro5nN/wKzgOJdlX4y8nLCWVaDKRZBsP62ZxFO2exwsuSnv9YfS8fpNPbFedfi4wokJoU/V+63AX+iZuoVkrWCe2MEtgvomo1pySchS7XwUV7dn1Tglox31y61DucFOm5EmWaiGKCK5ly9EwaW9KQ02Ru1S5lLj0E9RVEWJSdYR7tVBZX0fRmQ6dcGRBmrT9w8oI6ONrm35uADc3lk2HSg+cm4Qbhm7sXF2OiHgERfWXeKEdxA7mnNwlmS94C+ZxIfno3Z6G+8Lw7uJkxI9S9SH2cpKElOMoL1KqdHQus5VA5JGicNfqcmFVCqUi/laR32QZlZHSl6y1BUNs4q2eEQAqtGMTeLdUmqwpkcUZvd0aMiFmnQguEbnn6YIGGPRClTcNJDnMh/c9DMKO7MPDWV4FFkKqNVb75UlWY68rNmowdctIGQh63FWJjOCCP3H5PJy+7b7V9/1tppUAimv+h1146meASvhtGed7YA7yTrF61Io4thoJxidErw3EdSgIYxBh9c=
|
data/README.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
+
[![Build Status](https://travis-ci.org/zeero/ruboty-url.svg?branch=master)](https://travis-ci.org/zeero/ruboty-url)
|
2
|
+
|
1
3
|
# Ruboty::Url
|
2
4
|
|
3
|
-
|
5
|
+
A Ruboty Handler + Actions to shows HTML title with specified URL.
|
4
6
|
|
5
|
-
|
7
|
+
[Ruboty](https://github.com/r7kamura/ruboty) is Chat bot framework. Ruby + Bot = Ruboty
|
6
8
|
|
7
9
|
## Installation
|
8
10
|
|
@@ -14,26 +16,39 @@ gem 'ruboty-url'
|
|
14
16
|
|
15
17
|
And then execute:
|
16
18
|
|
17
|
-
$ bundle
|
19
|
+
$ bundle install
|
18
20
|
|
19
|
-
|
21
|
+
## Usage
|
20
22
|
|
21
|
-
|
23
|
+
This plugin responds with messages including specified URL (such as private URL), and shows HTML title.
|
22
24
|
|
23
|
-
|
25
|
+
Reply style is Slack attachment. Please use with 'ruboty-slack_rtm' plugin.
|
24
26
|
|
25
|
-
|
27
|
+
URL is specified by 'RUBOTY_URL_REGEXP' environmental variable, value is RegExp for url that you want to show HTML title with.
|
26
28
|
|
27
|
-
|
29
|
+
ex:
|
28
30
|
|
29
|
-
|
31
|
+
```
|
32
|
+
export RUBOTY_URL_REGEXP=(https://foo.com.*|http://bar.org.*)
|
33
|
+
```
|
30
34
|
|
31
|
-
|
35
|
+
## ENV
|
32
36
|
|
33
|
-
|
37
|
+
|Name|Description|
|
38
|
+
|:--|:--|
|
39
|
+
|RUBOTY_URL_REGEXP|(required) RegExp for url.|
|
40
|
+
|
41
|
+
## Dependency
|
34
42
|
|
35
|
-
|
43
|
+
|Name|Description|
|
44
|
+
|:--|:--|
|
45
|
+
|ruboty-slack_rtm|(required) 'ruboty-url' is supposed to work with 'ruboty-slack_rtm' - Ruboty Adapter for Slack Realtime API.|
|
46
|
+
|
47
|
+
## Contributing
|
36
48
|
|
37
|
-
|
49
|
+
1. Fork it ( https://github.com/zeero/ruboty-url/fork )
|
50
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
51
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
52
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
53
|
+
5. Create a new Pull Request
|
38
54
|
|
39
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/lib/ruboty/url/version.rb
CHANGED