jumpup-hipchat 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/CHANGELOG.md +8 -5
- data/README.md +8 -3
- data/lib/jumpup-hipchat/version.rb +1 -1
- data/lib/tasks/integrate.rake +10 -2
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c38cab98e288d6f45809c90a6dfa628c18e7ed78
|
4
|
+
data.tar.gz: eff8dac1f00a69a1fadb2b8bf33a1cf9ebb0f875
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36578d0652ead5f0fef86c3856b0b0fba02c862edeebe7cc21318230c3167512b6d21761d4178c8c430c6dea6afdc296234599b9dc3cccc9dd7d58f25f057bb2
|
7
|
+
data.tar.gz: c3cbd33e3414f49a6c55036cf696d5498622497cb19cd8c66db28de8a64054deb5602a7ff90a13153e585062cfd11e638ac4ae2f57cc4890b1c237869fa73613
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## 0.1.
|
3
|
+
## 0.1.1 (Feb 25, 2014)
|
4
|
+
|
5
|
+
### bug fixes
|
6
|
+
|
7
|
+
- Nicely handle HipChat errors [[GH-12]]
|
8
|
+
|
9
|
+
## 0.1.0 (Feb 21, 2014)
|
4
10
|
|
5
11
|
### features
|
6
12
|
|
@@ -12,14 +18,11 @@
|
|
12
18
|
- Announce messages using `git config --get user.name` instead of `whoami`.
|
13
19
|
[[GH-2]]
|
14
20
|
|
15
|
-
### improvements
|
16
|
-
|
17
|
-
### bug fixes
|
18
|
-
|
19
21
|
## Previous
|
20
22
|
|
21
23
|
The changelog began with version 0.1.0, so any changes prior to that
|
22
24
|
can be seen by reading old git commit messages.
|
23
25
|
|
26
|
+
[GH-12]: https://github.com/Helabs/jumpup-hipchat/issues/12
|
24
27
|
[GH-3]: https://github.com/Helabs/jumpup-hipchat/issues/3
|
25
28
|
[GH-2]: https://github.com/Helabs/jumpup-hipchat/issues/2
|
data/README.md
CHANGED
@@ -80,6 +80,10 @@ If you have problems, please create a [Github Issue](https://github.com/Helabs/j
|
|
80
80
|
|
81
81
|
Please see [CONTRIBUTING.md](https://github.com/Helabs/jumpup-hipchat/blob/master/CONTRIBUTING.md) for details.
|
82
82
|
|
83
|
+
## Maintainers
|
84
|
+
|
85
|
+
- [Fábio Rehm](https://github.com/fgrehm)
|
86
|
+
|
83
87
|
## Release
|
84
88
|
|
85
89
|
Follow this steps to release a new version of the gem.
|
@@ -91,7 +95,8 @@ Follow this steps to release a new version of the gem.
|
|
91
95
|
1. Run `$ rake release`, this will send the gem to the rubygems;
|
92
96
|
1. Check if the gem is on the rubygems and the tags are correct on the github;
|
93
97
|
|
94
|
-
##
|
98
|
+
## Made with love by HE:labs
|
99
|
+
|
100
|
+
![HE:labs](http://helabs.com.br/images/logo.png)
|
95
101
|
|
96
|
-
|
97
|
-
Thank you to all the [contributors](https://github.com/Helabs/jumpup-hipchat/graphs/contributors).
|
102
|
+
This gem was originally released under the name of [integration-hipchat-plugin](https://github.com/pellegrino/integration-hipchat-plugin) by [@pellegrino](https://github.com/pellegrino) and is currently maintained by [HE:labs](https://github.com/Helabs).
|
data/lib/tasks/integrate.rake
CHANGED
@@ -9,7 +9,11 @@ namespace :jumpup do
|
|
9
9
|
msg = "User #{user} started to integrate project #{ENV['HIPCHAT_APP_NAME']}"
|
10
10
|
|
11
11
|
client = HipChat::Client.new(ENV['HIPCHAT_TOKEN'])
|
12
|
-
|
12
|
+
begin
|
13
|
+
client[ENV['HIPCHAT_ROOM']].send(user, msg, notify: true)
|
14
|
+
rescue => ex
|
15
|
+
puts "----> Unable to send message to HipChat room!\n ERROR: #{ex}"
|
16
|
+
end
|
13
17
|
end
|
14
18
|
|
15
19
|
task :finish do
|
@@ -17,7 +21,11 @@ namespace :jumpup do
|
|
17
21
|
msg = "User #{user} finished to integrate project #{ENV['HIPCHAT_APP_NAME']}. Well done pro!"
|
18
22
|
|
19
23
|
client = HipChat::Client.new(ENV['HIPCHAT_TOKEN'])
|
20
|
-
|
24
|
+
begin
|
25
|
+
client[ENV['HIPCHAT_ROOM']].send(user, msg, notify: true)
|
26
|
+
rescue => ex
|
27
|
+
puts "----> Unable to send message to HipChat room!\n ERROR: #{ex}"
|
28
|
+
end
|
21
29
|
end
|
22
30
|
end
|
23
31
|
end
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jumpup-hipchat
|
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
|
- HE:labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: hipchat
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '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
40
|
version: '0'
|
41
41
|
description: Few rake tasks created to notify deployments made with jumpup
|
@@ -45,9 +45,9 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- .gitignore
|
49
|
-
- .ruby-gemset
|
50
|
-
- .ruby-version
|
48
|
+
- ".gitignore"
|
49
|
+
- ".ruby-gemset"
|
50
|
+
- ".ruby-version"
|
51
51
|
- CHANGELOG.md
|
52
52
|
- CONTRIBUTING.md
|
53
53
|
- Gemfile
|
@@ -66,17 +66,17 @@ require_paths:
|
|
66
66
|
- lib
|
67
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
78
|
rubyforge_project:
|
79
|
-
rubygems_version: 2.2.
|
79
|
+
rubygems_version: 2.2.2
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Hipchat support to integration
|