gitall 1.1.18 → 1.1.19
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 +4 -4
- data/lib/gitall.rb +3 -3
- data/lib/gitall/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9d12c5895cb5c54112b7ad1ff40e4f1accbcc56dfa08b331c327786d770d1fa
|
4
|
+
data.tar.gz: ad019d1b809baa70f2fda61c723fc739d5c2c0cb5ff130f442578b65938080f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 003be52323699950b29e457831eff6a51b1d3e9b23a5a73917e93358e43d33524cd22bc2e3d26dcb94c9fcb61ca9bf7af21d97150baf3826472a4569a46f8a25
|
7
|
+
data.tar.gz: 15b5ffab486d049a15a40ae91f9b393c06d43ad8403be178eab42450cc260087fc78ff35de46fe63652212e56dff0cab02cc1fa6445e6b3a03e341b1ec78de69
|
data/lib/gitall.rb
CHANGED
@@ -181,7 +181,7 @@ module GitAll
|
|
181
181
|
repo = j.project.path_with_namespace
|
182
182
|
puts repo
|
183
183
|
resp = GitLabParser.parse json
|
184
|
-
phash = PROJECTS[repo]
|
184
|
+
phash = GitAll::PROJECTS[repo]
|
185
185
|
if phash['token'] == request.env['HTTP_X_GITLAB_TOKEN']
|
186
186
|
channels = phash['channels']
|
187
187
|
channels.each do |channet|
|
@@ -200,7 +200,7 @@ module GitAll
|
|
200
200
|
else
|
201
201
|
end
|
202
202
|
# phash includes orgs and repos
|
203
|
-
phash = PROJECTS[repo.to_sym]
|
203
|
+
phash = GitAll::PROJECTS[repo.to_sym]
|
204
204
|
token = phash['token']
|
205
205
|
sent_token = request.env['HTTP_X_HUB_SIGNATURE']
|
206
206
|
signature = "sha1=#{OpenSSL::HMAC.hexdigest('sha1', token, payload.strip).chomp}"
|
@@ -226,7 +226,7 @@ module GitAll
|
|
226
226
|
else
|
227
227
|
end
|
228
228
|
# phash includes orgs and repos
|
229
|
-
phash = PROJECTS[repo.to_sym]
|
229
|
+
phash = GitAll::PROJECTS[repo.to_sym]
|
230
230
|
token = phash['token']
|
231
231
|
sent_token = request.env['HTTP_X_HUB_SIGNATURE']
|
232
232
|
signature = "sha1=#{OpenSSL::HMAC.hexdigest('sha1', token, payload.strip).chomp}"
|
data/lib/gitall/version.rb
CHANGED