capihall 0.0.4 → 0.0.5

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4529041b1e498262258172cfddcc24e780326b4f
4
+ data.tar.gz: fba02a74c74949f7bb9e7349e5ebca94666c8d84
5
+ SHA512:
6
+ metadata.gz: 4609c935a7870fedbab8653415e5c2abaf30a654c843d4e0f668f7091580bd378a2d5540790e9873c2abdb85e9400ee7cbcca04be3777957f201cae33a678fb0
7
+ data.tar.gz: 9b96d8081caff191151f3b69a33b596460674d2aaa95e00b7763c18f3f499aabb45aa0425f555e9533b896e61f4f7cc5ca349470250e19539d01ccc27ca664c7
data/README.md CHANGED
@@ -25,10 +25,13 @@ Or install it yourself as:
25
25
  Add this to your config/deploy.rb file
26
26
 
27
27
  require 'capihall/recipes'
28
- set :hall_room_url, "https://hall.com/YOUR_ROOM_URL"
28
+ set :capihall_room_url, "https://hall.com/YOUR_ROOM_URL"
29
29
 
30
30
  # to override the change log command
31
- set :log_command, "git log ...."
31
+ set :capihall_log_command, "git log ...."
32
+
33
+ # to override the user
34
+ set :capihall_user, ENV['USER']
32
35
 
33
36
  ## Contributing
34
37
 
@@ -7,9 +7,9 @@ make_notify_task = Proc.new do
7
7
  begin
8
8
 
9
9
  rails_env = fetch(:rails_env, "production")
10
- local_user = `git config user.name` || ENV['USER'] || ENV['USERNAME']
11
- command = fetch(:log_command, "git log --no-color --pretty=format:'%h %s' " +
12
- "--abbrev-commit --no-merges #{previous_revision}~1..#{real_revision}")
10
+ local_user = fetch(:capihall_user, `git config user.name`.chomp || ENV['USER'] || ENV['USERNAME'])
11
+ command = fetch(:capihall_log_command, "git log --no-color --pretty=format:'%h %s' " +
12
+ "--abbrev-commit --no-merges #{previous_revision}..#{real_revision}")
13
13
 
14
14
  hall_room = fetch(:hall_room_url, nil)
15
15
 
@@ -1,3 +1,3 @@
1
1
  module Capihall
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capihall
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
5
- prerelease:
4
+ version: 0.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Corey Purcell
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-01-18 00:00:00.000000000 Z
11
+ date: 2014-01-20 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: faraday
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,17 +41,15 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: A gem to post notifications to a hall chat room on deploys
@@ -78,32 +71,25 @@ files:
78
71
  homepage: http://github.com/teamsnap/capihall
79
72
  licenses:
80
73
  - MIT
74
+ metadata: {}
81
75
  post_install_message:
82
76
  rdoc_options: []
83
77
  require_paths:
84
78
  - lib
85
79
  required_ruby_version: !ruby/object:Gem::Requirement
86
- none: false
87
80
  requirements:
88
- - - ! '>='
81
+ - - '>='
89
82
  - !ruby/object:Gem::Version
90
83
  version: '0'
91
- segments:
92
- - 0
93
- hash: 902894995
94
84
  required_rubygems_version: !ruby/object:Gem::Requirement
95
- none: false
96
85
  requirements:
97
- - - ! '>='
86
+ - - '>='
98
87
  - !ruby/object:Gem::Version
99
88
  version: '0'
100
- segments:
101
- - 0
102
- hash: 902894995
103
89
  requirements: []
104
90
  rubyforge_project:
105
- rubygems_version: 1.8.23
91
+ rubygems_version: 2.0.3
106
92
  signing_key:
107
- specification_version: 3
93
+ specification_version: 4
108
94
  summary: Notify Hall on deploys
109
95
  test_files: []