omniauth-bcx 0.1.1 → 1.0.0
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 +5 -5
- data/README.md +4 -4
- data/lib/omniauth-bcx/version.rb +1 -1
- data/lib/omniauth/strategies/bcx.rb +3 -1
- data/test/omniauth/strategies/data_test.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 010ceab5958c5e99006c38b8ecd4aa5851bc8cb59e3b17f87104c1c7b96ab89c
|
|
4
|
+
data.tar.gz: 54467643587d83eac1ca76a663d0e79f6e826b417456a0c08fc489e3e422536a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7eb65969bf37f2b165448964bd371ae3f9f79909fd976c5780d32e75810ba1990a37c612220e0c19a29694b6ed17d4e41e93222781e7aac8389c0aebcf951903
|
|
7
|
+
data.tar.gz: 92f4596ac19b765279e4440ace87c65d74041c8c1b54098be03258bcf97456395d3db4aad315f606f721ca562be4a61b02abd1bce0316e836a0e3562a2ddc51f
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Omniauth::BCX
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/fnando/omniauth-bcx)
|
|
4
|
+
[](https://codeclimate.com/github/fnando/omniauth-bcx)
|
|
5
5
|
[](https://codeclimate.com/github/fnando/omniauth-bcx/coverage)
|
|
6
6
|
[](https://rubygems.org/gems/omniauth-bcx)
|
|
7
7
|
[](https://rubygems.org/gems/omniauth-bcx)
|
|
@@ -32,8 +32,8 @@ Here's a quick example, adding the middleware to a Rails app in `config/initiali
|
|
|
32
32
|
|
|
33
33
|
```ruby
|
|
34
34
|
Rails.application.config.middleware.use OmniAuth::Builder do
|
|
35
|
-
provider :basecamp,
|
|
36
|
-
ENV['BASECAMP_CLIENT_ID'],
|
|
35
|
+
provider :basecamp,
|
|
36
|
+
ENV['BASECAMP_CLIENT_ID'],
|
|
37
37
|
ENV['BASECAMP_CLIENT_SECRET']
|
|
38
38
|
end
|
|
39
39
|
```
|
data/lib/omniauth-bcx/version.rb
CHANGED
|
@@ -18,7 +18,7 @@ class DataTest < Minitest::Test
|
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
test "returns info" do
|
|
21
|
-
identity = {id: "ID", name: "NAME"}
|
|
21
|
+
identity = {id: "ID", name: "NAME", email_address: "EMAIL"}
|
|
22
22
|
raw_info = {identity: identity}
|
|
23
23
|
strategy.stubs(:raw_info).returns(raw_info)
|
|
24
24
|
|
|
@@ -26,6 +26,7 @@ class DataTest < Minitest::Test
|
|
|
26
26
|
|
|
27
27
|
assert_equal "ID", info[:id]
|
|
28
28
|
assert_equal "NAME", info[:name]
|
|
29
|
+
assert_equal "EMAIL", info[:email]
|
|
29
30
|
end
|
|
30
31
|
|
|
31
32
|
test "returns uid" do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-bcx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nando Vieira
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: omniauth-oauth2
|
|
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
164
164
|
version: '0'
|
|
165
165
|
requirements: []
|
|
166
166
|
rubyforge_project:
|
|
167
|
-
rubygems_version: 2.6
|
|
167
|
+
rubygems_version: 2.7.6
|
|
168
168
|
signing_key:
|
|
169
169
|
specification_version: 4
|
|
170
170
|
summary: OmniAuth strategy for Basecamp (https://basecamp.com).
|