integration-hipchat-plugin 0.0.3 → 0.0.4
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.
- data/README.md +10 -1
- data/lib/integration-hipchat-plugin/version.rb +1 -1
- data/lib/tasks/integration_hipchat.rake +2 -2
- metadata +7 -13
data/README.md
CHANGED
|
@@ -13,7 +13,16 @@ Add this project to your gemfile, as you are probably used to do in a bundler co
|
|
|
13
13
|
gem 'integration-hipchat'
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
After bundling your app, you need to change your INTEGRATION\_TASKS adding your hipchat tasks
|
|
16
|
+
After bundling your app, you need to change your INTEGRATION\_TASKS adding your hipchat tasks like in the example below
|
|
17
|
+
|
|
18
|
+
INTEGRATION_TASKS = %w(
|
|
19
|
+
integration:start
|
|
20
|
+
db:migrate
|
|
21
|
+
integration:hipchat:announce
|
|
22
|
+
spec
|
|
23
|
+
integration:coverage_verify
|
|
24
|
+
integration:hipchat:finish
|
|
25
|
+
integration:finish)
|
|
17
26
|
|
|
18
27
|
Don't forget also to configure Rails.root/config/hipchat.yml with the following variables:
|
|
19
28
|
|
|
@@ -8,14 +8,14 @@ namespace :integration do
|
|
|
8
8
|
config_file = Rails.root.join 'config', 'hipchat.yml'
|
|
9
9
|
options = YAML.load_file(config_file).symbolize_keys
|
|
10
10
|
|
|
11
|
-
`MESSAGE="
|
|
11
|
+
`MESSAGE="User #{options[:user]} started to integrate project #{options[:appname]}" bundle exec rake hipchat:send`
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
task :finish do
|
|
15
15
|
config_file = Rails.root.join 'config', 'hipchat.yml'
|
|
16
16
|
options = YAML.load_file(config_file).symbolize_keys
|
|
17
17
|
|
|
18
|
-
`MESSAGE="
|
|
18
|
+
`MESSAGE="User #{options[:user]} finished to integrate project #{options[:appname]}. Well done pro!" bundle exec rake hipchat:send`
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
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.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-02-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: integration
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &8801880 !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: *8801880
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: hipchat
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &8801340 !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: *8801340
|
|
36
36
|
description: Few rake tasks created to operate with integration rails plugin
|
|
37
37
|
email:
|
|
38
38
|
- vitorp@gmail.com
|
|
@@ -60,21 +60,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
60
60
|
- - ! '>='
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
62
|
version: '0'
|
|
63
|
-
segments:
|
|
64
|
-
- 0
|
|
65
|
-
hash: 3010549977172984224
|
|
66
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
64
|
none: false
|
|
68
65
|
requirements:
|
|
69
66
|
- - ! '>='
|
|
70
67
|
- !ruby/object:Gem::Version
|
|
71
68
|
version: '0'
|
|
72
|
-
segments:
|
|
73
|
-
- 0
|
|
74
|
-
hash: 3010549977172984224
|
|
75
69
|
requirements: []
|
|
76
70
|
rubyforge_project: integration-hipchat-plugin
|
|
77
|
-
rubygems_version: 1.8.
|
|
71
|
+
rubygems_version: 1.8.16
|
|
78
72
|
signing_key:
|
|
79
73
|
specification_version: 3
|
|
80
74
|
summary: Hipchat support to integration
|