gitall 1.1.21 → 1.1.22
Sign up to get free protection for your applications and to get access to all the features.
- 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: 9490b528a6a8988e0c0455a58a18d0730120272a2efa592c3183c35d16b53673
|
4
|
+
data.tar.gz: c92f3821e3821d1847ec1a61268d6bdb82d7ef9bbfb6392718c9e99fd70fd339
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f88f2e944efac0723b50988318ca30468a103567c37d2dae445a3a9754b05cbebe7c8f1a1937bd041ff62b4f04167f44b7e860fc13f66e47bc731238eed79a85
|
7
|
+
data.tar.gz: eb07532e5052108f564651441b87b737458b091a3b478d87d7fdb74ce8910216424bf238555e757df08d441e273a316feb6aaa0d8ecebc8ba0d35ecdfcaa83d2
|
data/lib/gitall.rb
CHANGED
@@ -178,10 +178,10 @@ module GitAll
|
|
178
178
|
j = RecursiveOpenStruct.new(json)
|
179
179
|
repo = ''
|
180
180
|
if request.env.key? 'HTTP_X_GITLAB_TOKEN'
|
181
|
-
repo = j.project.path_with_namespace.to_s
|
181
|
+
repo = j.project.path_with_namespace.to_s
|
182
182
|
resp = GitLabParser.parse json
|
183
|
-
phash = GitAll::PROJECTS[repo
|
184
|
-
if phash[
|
183
|
+
phash = GitAll::PROJECTS[repo]
|
184
|
+
if phash['token'] == request.env['HTTP_X_GITLAB_TOKEN']
|
185
185
|
channels = phash['channels']
|
186
186
|
channels.each do |channet|
|
187
187
|
channel = channet.split(',')[0]
|
data/lib/gitall/version.rb
CHANGED