slack-incoming-webhooks 0.2.0 → 0.3.0

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: 3f3a835e3d30231ed9e4c919c51ce4c86b764b86
4
- data.tar.gz: 89a11e8605b153da0088183bb5815b0bbfdd4b91
3
+ metadata.gz: 171c3e532df2df215b55e4516118b237ad95b235
4
+ data.tar.gz: 55e5dbd442dedb5a5f22976d50f4478b81b867f0
5
5
  SHA512:
6
- metadata.gz: 7228dc1c0f67c4ea49b58ca0222dada15d127183a337d07fb7ed2657315ccc3e16f6437f132e036427f89474b4c425ac7f9f292612f4a605c777d8c610dfd147
7
- data.tar.gz: a23cc7528b0da09f0bee4737205ac68ae543950ffa5218a24fb773d0dae9f655d58d37d2a5f740355159bc76e0d5d7709af0a63b760f4c5a3c0b3b0b73a491d3
6
+ metadata.gz: 85cd6795034cf402a0a64911cda4e22dda52000eea2c960c41509a5a60e2351a574807f42bc43f34d4840a38e08f2f2505ea208b5731881cb1a54d4563595362
7
+ data.tar.gz: 376473cbfead3140ef578c0a870ffc057a29be5603c0ae13d42f3819ef60912fbae207a8bf4431752e84d1fc8237134ba956a99340a94e32018e8456e9e2f08c
@@ -1,4 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.5
3
+ - 2.4.1
4
4
  script: bundle exec rspec spec
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # Slack::Incoming::Webhooks
2
2
  [![Build Status](https://travis-ci.org/shoyan/slack-incoming-webhooks.svg)](https://travis-ci.org/shoyan/slack-incoming-webhooks)
3
3
 
4
- A simple wrapper for posting to slack.
4
+ A simple wrapper of slack incoming webhooks in Ruby.
5
5
 
6
6
  ## Example
7
7
  ```ruby
8
- require 'slack-incoming-webhooks'
8
+ require 'slack/incoming/webhooks'
9
9
 
10
10
  slack = Slack::Incoming::Webhooks.new "WEBHOOK_URL"
11
11
  slack.post "Hello World"
@@ -9,7 +9,7 @@ module Slack
9
9
  uri = URI.parse(webhook_url)
10
10
  http = Net::HTTP.new(uri.host, uri.port)
11
11
  http.use_ssl = true
12
- http.ssl_version = :TLSv1
12
+ http.ssl_version = :TLSv1_2
13
13
  http.verify_mode = OpenSSL::SSL::VERIFY_PEER
14
14
  http
15
15
  end
@@ -1,7 +1,7 @@
1
1
  module Slack
2
2
  module Incoming
3
3
  class Webhooks
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
6
6
  end
7
7
  end
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "slack-incoming-webhooks"
8
8
  spec.version = Slack::Incoming::Webhooks::VERSION
9
9
  spec.authors = ["Shohei Yamasaki"]
10
- spec.email = ["s-yamasaki@pepabo.com"]
10
+ spec.email = ["yamasaki0406@gmail.com"]
11
11
 
12
12
  spec.summary = %q{A simple wrapper for posting to slack.}
13
13
  spec.description = %q{A simple wrapper for posting to slack.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack-incoming-webhooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shohei Yamasaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-25 00:00:00.000000000 Z
11
+ date: 2019-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -40,7 +40,7 @@ dependencies:
40
40
  version: '10.0'
41
41
  description: A simple wrapper for posting to slack.
42
42
  email:
43
- - s-yamasaki@pepabo.com
43
+ - yamasaki0406@gmail.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.4.5
84
+ rubygems_version: 2.5.2.3
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: A simple wrapper for posting to slack.