ruboty-url 1.0.0 → 1.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3168c4c9bf673f18d0f1df9874e9f094389449d0
4
- data.tar.gz: 2697c2800566ab58fa93dd454eade79f3bc6e2ab
3
+ metadata.gz: 5875c125aeb79672d6464881fd321e191d4f08fe
4
+ data.tar.gz: ecc1fc19fa58d06a0a23ae911616dbfb10ff9e32
5
5
  SHA512:
6
- metadata.gz: 2ede39de88370f14c89cbf3bb09c0f72d36d5b61b6e3edc451c9f9abf9bd716cd9227c713debe1f249d27a3440aa132627418bc10c1389a8e1df280e29e5738d
7
- data.tar.gz: 26832f05674469283449cac5ec665ce94b48937f7bbad9ad86cdb6ce0e7b5c4066fb9e06043542e251f85c615e39f4326116c334f9d57d583e72a025a5078c44
6
+ metadata.gz: 1933500281d670c89f4565d96ad7a6cde5289de11778e45fbbe98604c5b41e539b12b89152842698da018a09881b7a04b78ad55c125a01d307c7908e5351725d
7
+ data.tar.gz: 9530701599e817acad7bd4a988e763ca367b85f3b3360e606e15cfe227ef970480907656a94a140ae53aebde5c7561eb6061854918e10adce6cec18c88c99d28
data/README.md CHANGED
@@ -20,6 +20,8 @@ And then execute:
20
20
 
21
21
  ## Usage
22
22
 
23
+ <img width="671" alt="screenshot_ruboty-url" src="https://user-images.githubusercontent.com/105469/37558137-b9e5f8b0-2a52-11e8-93df-530e6547d259.png">
24
+
23
25
  This plugin responds with messages including specified URL (such as private URL), and shows HTML title.
24
26
 
25
27
  Reply style is Slack attachment. Please use with 'ruboty-slack_rtm' plugin.
@@ -13,7 +13,7 @@ module Ruboty
13
13
  title = doc.xpath('/html/head/title').text
14
14
  end
15
15
  attachments = [{
16
- color: '#0099ff',
16
+ color: '#EEEEEE',
17
17
  title: title,
18
18
  title_link: url,
19
19
  }]
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Url
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ describe Ruboty::Url::Actions::Title do
18
18
  OpenURI.stubs(:open_uri).yields(StringIO.new("<html><head><title>#{title}</title></head></html>"))
19
19
  # mock
20
20
  attachments = [{
21
- color: '#0099ff',
21
+ color: '#EEEEEE',
22
22
  title: title,
23
23
  title_link: url,
24
24
  }]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-url
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - zeero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-17 00:00:00.000000000 Z
11
+ date: 2018-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport