omniauth-gitlab 0.0.2 → 0.0.3

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.
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Gitlab
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -53,9 +53,12 @@ module OmniAuth
53
53
  req.headers['Content-Type'] = 'application/json'
54
54
  req.params = { :email => request['email'], :password => request['password'] }
55
55
  end
56
- resp.success? ? MultiJson.load(resp.body) : nil
56
+ resp.success? ? MultiJson.decode(resp.body) : nil
57
57
  end
58
58
  end
59
59
  end
60
60
  end
61
- end
61
+ end
62
+
63
+
64
+ OmniAuth.config.add_camelization 'gitlab', 'GitLab'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-gitlab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: