gitall 1.1.21 → 1.1.22

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d70f1c9c6f9ddbad7270a887e973ccead3e2bfdf5e221948bf2bcb6c137be1a7
4
- data.tar.gz: c077267d0532827b53e97a8540ddee4226aa071140fa553f55e97696be62130b
3
+ metadata.gz: 9490b528a6a8988e0c0455a58a18d0730120272a2efa592c3183c35d16b53673
4
+ data.tar.gz: c92f3821e3821d1847ec1a61268d6bdb82d7ef9bbfb6392718c9e99fd70fd339
5
5
  SHA512:
6
- metadata.gz: ce918931c2b39ea02f80c50893b4a24344e4f9b61493453c98750158eb478e1507f93a6f3bd499061a4f3a4855cf3b6ab946cb289f0352e4b8642f597fe77575
7
- data.tar.gz: b582287fbef7b67bae3139ca4f8b3f3f3545d5465b78a3b1f32250c8133cb1c863735e9227713df50670f7887fd361b099b1db64a01e0983d0574e8b830ef635
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.downcase
181
+ repo = j.project.path_with_namespace.to_s
182
182
  resp = GitLabParser.parse json
183
- phash = GitAll::PROJECTS[repo.downcase]
184
- if phash[:token] == request.env['HTTP_X_GITLAB_TOKEN']
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]
@@ -1,3 +1,3 @@
1
1
  module GitAll
2
- VERSION = '1.1.21'
2
+ VERSION = '1.1.22'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitall
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.21
4
+ version: 1.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Spencer