capistrano-around_chatwork 0.1.1 → 0.2.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 +4 -4
- data/CHANGELOG.md +7 -1
- data/capistrano-around_chatwork.gemspec +1 -1
- data/lib/capistrano/around_chatwork.rb +3 -3
- data/lib/capistrano/around_chatwork/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe7aa212a935a1142575c6294d6cc6a6fc866190
|
4
|
+
data.tar.gz: 25d4d134ae843d346b36840e16030fe19410bf93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62ba7ebee1492675e0a27f11ad7d0f022d210ffc7bd2215b1790aa0f125eeea85b2af30c430ea3519029ab8cdb5229cd9668fb9019a983be60539eef94ce8856
|
7
|
+
data.tar.gz: 76f9aac571b8dfb85a92f55926e0511635aa6d0653152bd1f137ad0366c917448c5a04d94624ba2de7a84997be7ad998a89e6850f2d6e6c0e7d27f67cb0a20aa
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
## Unreleased
|
3
|
-
[full changelog](
|
3
|
+
[full changelog](https://github.com/sue445/capistrano-around_chatwork/compare/v0.2.0...master)
|
4
|
+
|
5
|
+
## 0.2.0
|
6
|
+
[full changelog](https://github.com/sue445/capistrano-around_chatwork/compare/v0.1.1...v0.2.0)
|
7
|
+
|
8
|
+
* Use cha gem instead of chatwork gem
|
9
|
+
* https://github.com/sue445/capistrano-around_chatwork/pull/2
|
4
10
|
|
5
11
|
## 0.1.1
|
6
12
|
[full changelog](https://github.com/sue445/capistrano-around_chatwork/compare/v0.1.0...v0.1.1)
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.require_paths = ["lib"]
|
33
33
|
|
34
34
|
spec.add_dependency "capistrano", ">= 3.0.0"
|
35
|
-
spec.add_dependency "
|
35
|
+
spec.add_dependency "cha", ">= 1.2.0"
|
36
36
|
|
37
37
|
spec.add_development_dependency "bundler", "~> 1.9"
|
38
38
|
spec.add_development_dependency "rake", "~> 10.0"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require "capistrano/around_chatwork/version"
|
2
|
-
require "
|
2
|
+
require "cha"
|
3
3
|
|
4
4
|
module Capistrano
|
5
5
|
module AroundChatwork
|
@@ -8,8 +8,8 @@ module Capistrano
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def self.post_chatwork(message)
|
11
|
-
|
12
|
-
|
11
|
+
client = Cha.new(api_token: fetch(:chatwork_api_token))
|
12
|
+
client.create_room_message(fetch(:chatwork_room_id), message)
|
13
13
|
end
|
14
14
|
end
|
15
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-around_chatwork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -25,19 +25,19 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: cha
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 1.2.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 1.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|