integration-hipchat-plugin 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -0
- data/lib/integration-hipchat-plugin/version.rb +1 -1
- data/lib/tasks/integration_hipchat.rake +9 -5
- metadata +7 -7
data/README.md
CHANGED
@@ -21,6 +21,7 @@ Don't forget also to configure Rails.root/config/hipchat.yml with the following
|
|
21
21
|
room: "Your room"
|
22
22
|
user: "Your name" # Default to `whoami`
|
23
23
|
notify: true # Defaults to false
|
24
|
+
appname: "Your project name" # used to create announce messages
|
24
25
|
|
25
26
|
## Tasks provided
|
26
27
|
|
@@ -5,15 +5,19 @@ namespace :integration do
|
|
5
5
|
namespace :hipchat do
|
6
6
|
desc "Announce the begining of the integration process to a hipchat room"
|
7
7
|
task :announce do
|
8
|
-
|
9
|
-
|
8
|
+
config_file = Rails.root.join 'config', 'hipchat.yml'
|
9
|
+
options = YAML.load_file(config_file).symbolize_keys
|
10
|
+
|
11
|
+
`MESSAGE="@all User #{options[:user]} started to integrate project #{options[:appname]}" bundle exec rake hipchat:send`
|
10
12
|
end
|
11
13
|
|
12
14
|
task :finish do
|
13
|
-
|
14
|
-
|
15
|
+
config_file = Rails.root.join 'config', 'hipchat.yml'
|
16
|
+
options = YAML.load_file(config_file).symbolize_keys
|
17
|
+
|
18
|
+
`MESSAGE="@all User #{options[:user]} finished to integrate project #{options[:appname]}. Well done pro!" bundle exec rake hipchat:send`
|
15
19
|
end
|
16
|
-
|
20
|
+
|
17
21
|
end
|
18
22
|
|
19
23
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: integration-hipchat-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-01-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: integration
|
16
|
-
requirement: &
|
16
|
+
requirement: &10959680 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *10959680
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hipchat
|
27
|
-
requirement: &
|
27
|
+
requirement: &10958660 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *10958660
|
36
36
|
description: Few rake tasks created to operate with integration rails plugin
|
37
37
|
email:
|
38
38
|
- vitorp@gmail.com
|
@@ -62,7 +62,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
version: '0'
|
63
63
|
segments:
|
64
64
|
- 0
|
65
|
-
hash:
|
65
|
+
hash: 3010549977172984224
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
none: false
|
68
68
|
requirements:
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
version: '0'
|
72
72
|
segments:
|
73
73
|
- 0
|
74
|
-
hash:
|
74
|
+
hash: 3010549977172984224
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project: integration-hipchat-plugin
|
77
77
|
rubygems_version: 1.8.10
|