ruby_git_hooks 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/.yardopts +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +327 -0
- data/Rakefile +7 -0
- data/TODO +67 -0
- data/bin/git-add-hooks +111 -0
- data/bin/git-clone +57 -0
- data/bin/git-hclone +57 -0
- data/lib/ruby_git_hooks/all.rb +7 -0
- data/lib/ruby_git_hooks/case_clash.rb +30 -0
- data/lib/ruby_git_hooks/copyright_check.rb +181 -0
- data/lib/ruby_git_hooks/email_notify.rb +50 -0
- data/lib/ruby_git_hooks/git_ops.rb +93 -0
- data/lib/ruby_git_hooks/jira_add_comment.rb +354 -0
- data/lib/ruby_git_hooks/jira_ref_check.rb +32 -0
- data/lib/ruby_git_hooks/max_file_size.rb +32 -0
- data/lib/ruby_git_hooks/non_ascii.rb +33 -0
- data/lib/ruby_git_hooks/ruby_debug.rb +26 -0
- data/lib/ruby_git_hooks/version.rb +5 -0
- data/lib/ruby_git_hooks/watermark.rb +27 -0
- data/lib/ruby_git_hooks.rb +343 -0
- data/ruby_git_hooks.gemspec +37 -0
- data/test/basic_hook_test.rb +143 -0
- data/test/case_clash_hook_test.rb +58 -0
- data/test/copyright_check_test.rb +162 -0
- data/test/fake_curl +12 -0
- data/test/fake_mailer +5 -0
- data/test/jira_add_comment_test.rb +151 -0
- data/test/jira_ref_check_test.rb +37 -0
- data/test/max_file_size_hook_test.rb +52 -0
- data/test/multi_hook_test.rb +77 -0
- data/test/non_ascii_hook_test.rb +47 -0
- data/test/repos/.keep +0 -0
- data/test/test_helper.rb +17 -0
- data/test/watermark_test.rb +39 -0
- metadata +226 -0
metadata
ADDED
@@ -0,0 +1,226 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby_git_hooks
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.31
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Noah Gibbs
|
9
|
+
- Ruth Helfinstein
|
10
|
+
- Alex Snyatkov
|
11
|
+
autorequire:
|
12
|
+
bindir: bin
|
13
|
+
cert_chain: []
|
14
|
+
date: 2013-10-14 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: pony
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0'
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ! '>='
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: '0'
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: rest-client
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
36
|
+
requirements:
|
37
|
+
- - ! '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: json
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
60
|
+
requirements:
|
61
|
+
- - ! '>='
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: bundler
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ~>
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '1.3'
|
72
|
+
type: :development
|
73
|
+
prerelease: false
|
74
|
+
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ~>
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '1.3'
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: minitest
|
82
|
+
requirement: !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: rr
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
108
|
+
requirements:
|
109
|
+
- - ! '>='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: rake
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
none: false
|
116
|
+
requirements:
|
117
|
+
- - ! '>='
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
120
|
+
type: :development
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
124
|
+
requirements:
|
125
|
+
- - ! '>='
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0'
|
128
|
+
description: ! 'Ruby_git_hooks is a library to allow easy writing and installing of
|
129
|
+
|
130
|
+
git hooks in Ruby. It abstracts away the differences between
|
131
|
+
|
132
|
+
different hook interfaces and supplies implementations of some common
|
133
|
+
|
134
|
+
Git hooks. It allows overriding "git clone" to automatically
|
135
|
+
|
136
|
+
install your prefered hooks.
|
137
|
+
|
138
|
+
'
|
139
|
+
email:
|
140
|
+
- noah@onlive.com
|
141
|
+
- ruth.helfinstein@onlive.com
|
142
|
+
- alex.snyatkov@onlive.com
|
143
|
+
executables:
|
144
|
+
- git-add-hooks
|
145
|
+
- git-clone
|
146
|
+
- git-hclone
|
147
|
+
extensions: []
|
148
|
+
extra_rdoc_files: []
|
149
|
+
files:
|
150
|
+
- .gitignore
|
151
|
+
- .yardopts
|
152
|
+
- Gemfile
|
153
|
+
- LICENSE.txt
|
154
|
+
- README.md
|
155
|
+
- Rakefile
|
156
|
+
- TODO
|
157
|
+
- bin/git-add-hooks
|
158
|
+
- bin/git-clone
|
159
|
+
- bin/git-hclone
|
160
|
+
- lib/ruby_git_hooks.rb
|
161
|
+
- lib/ruby_git_hooks/all.rb
|
162
|
+
- lib/ruby_git_hooks/case_clash.rb
|
163
|
+
- lib/ruby_git_hooks/copyright_check.rb
|
164
|
+
- lib/ruby_git_hooks/email_notify.rb
|
165
|
+
- lib/ruby_git_hooks/git_ops.rb
|
166
|
+
- lib/ruby_git_hooks/jira_add_comment.rb
|
167
|
+
- lib/ruby_git_hooks/jira_ref_check.rb
|
168
|
+
- lib/ruby_git_hooks/max_file_size.rb
|
169
|
+
- lib/ruby_git_hooks/non_ascii.rb
|
170
|
+
- lib/ruby_git_hooks/ruby_debug.rb
|
171
|
+
- lib/ruby_git_hooks/version.rb
|
172
|
+
- lib/ruby_git_hooks/watermark.rb
|
173
|
+
- ruby_git_hooks.gemspec
|
174
|
+
- test/basic_hook_test.rb
|
175
|
+
- test/case_clash_hook_test.rb
|
176
|
+
- test/copyright_check_test.rb
|
177
|
+
- test/fake_curl
|
178
|
+
- test/fake_mailer
|
179
|
+
- test/jira_add_comment_test.rb
|
180
|
+
- test/jira_ref_check_test.rb
|
181
|
+
- test/max_file_size_hook_test.rb
|
182
|
+
- test/multi_hook_test.rb
|
183
|
+
- test/non_ascii_hook_test.rb
|
184
|
+
- test/repos/.keep
|
185
|
+
- test/test_helper.rb
|
186
|
+
- test/watermark_test.rb
|
187
|
+
homepage: ''
|
188
|
+
licenses:
|
189
|
+
- MIT
|
190
|
+
post_install_message:
|
191
|
+
rdoc_options: []
|
192
|
+
require_paths:
|
193
|
+
- lib
|
194
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
195
|
+
none: false
|
196
|
+
requirements:
|
197
|
+
- - ! '>='
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '0'
|
200
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
requirements: []
|
207
|
+
rubyforge_project:
|
208
|
+
rubygems_version: 1.8.25
|
209
|
+
signing_key:
|
210
|
+
specification_version: 3
|
211
|
+
summary: DSL and manager for git hooks in Ruby.
|
212
|
+
test_files:
|
213
|
+
- test/basic_hook_test.rb
|
214
|
+
- test/case_clash_hook_test.rb
|
215
|
+
- test/copyright_check_test.rb
|
216
|
+
- test/fake_curl
|
217
|
+
- test/fake_mailer
|
218
|
+
- test/jira_add_comment_test.rb
|
219
|
+
- test/jira_ref_check_test.rb
|
220
|
+
- test/max_file_size_hook_test.rb
|
221
|
+
- test/multi_hook_test.rb
|
222
|
+
- test/non_ascii_hook_test.rb
|
223
|
+
- test/repos/.keep
|
224
|
+
- test/test_helper.rb
|
225
|
+
- test/watermark_test.rb
|
226
|
+
has_rdoc:
|