wcc-auth 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f10f1aef9cdf3ee3030f9773876053391acf537a
4
- data.tar.gz: d1aa25a309e9648a8832f2a2042675de54a9976f
3
+ metadata.gz: b1b3f46589a2952d754f266686a7c9e9617e303f
4
+ data.tar.gz: a626fd4693b8486b6214e24ce1201bbba0132556
5
5
  SHA512:
6
- metadata.gz: 83803f397bcb1f3d2714941f0a8e2ce085e7ca8f2eb699e0c64f801b63f05bbafcd56a42b77840fc2a74c1879215efb6c53f98849b403f418e28d5d3ef2cbce2
7
- data.tar.gz: b0c2f79d95e663256c6387d1711efd6a0d85a6076abe57b5e5dd09e4490ebf93d84c581edfbec4318b9ad28164db1a4af70a400359345f62cb1108c620d6c880
6
+ metadata.gz: 000a680751dc6f8049e81570161c9835896ce4bd2081a815267333927c8866313d3740f354f6f7a263a7ba80570868355ba3e08017b5d5c6fbf97af4aad49587
7
+ data.tar.gz: 16c0f2407d819e3fdcdb2f203ba84162a2a32c189e75095d13e16e18ad15325f938a218bd781d5ff12d00b95d2ac280d8af59ac08ac2199bd6f868d64c7b2261
@@ -23,6 +23,10 @@ class OmniAuth::Strategies::Watermark < OmniAuth::Strategies::OAuth2
23
23
  }
24
24
  end
25
25
 
26
+ def callback_url
27
+ full_host + script_name + callback_path
28
+ end
29
+
26
30
  def raw_info
27
31
  @raw_info ||= access_token.get('/api/v1/me.json').parsed
28
32
  end
@@ -1,5 +1,5 @@
1
1
  module WCC
2
2
  module Auth
3
- VERSION = "0.3.4"
3
+ VERSION = "0.3.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcc-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Petticrew
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-06 00:00:00.000000000 Z
11
+ date: 2015-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cancancan