omniauth-pinterest-oauth2 0.0.1 → 0.0.2

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: '09537e33b940575cdfe726deec41d4a05c5196d483b2edd4aaca6a150be706d3'
4
- data.tar.gz: ba00974535eb34604e74bd79cb72e2d64f38632fdfa1ed130726a129e002feba
3
+ metadata.gz: bd642a8a8b77355ec7bd2e5a8d99977692c278d92c769cba7aa06e46c3ff5b9b
4
+ data.tar.gz: e477dd6eb0d383e05af83f2ac3cc480c1e3e33bd8eb3b8ee77e9e2d60c4b5a92
5
5
  SHA512:
6
- metadata.gz: 6c7ed9a4fc059fef50f7a72492ade253a50924de7fa35c8af31208977469c41590b4fc7e615459c6aa7c61bdb6c3453ad55c58f1916eff8344a5b08826f96af9
7
- data.tar.gz: d9111218d4199d0aed7060a327e26625dfa5904e5f69a34ccb55ced00bcedd606402e78c269388cb4f9d5e77f4e6325d2ea4ff27251353540f9b425f235d4144
6
+ metadata.gz: 859734ae640a6836d48493119a348c8666fbb2cb7d6865a63eed75d70a5e04e5b8b3842c62b374bb9452bd01f465b6a57a172ee9d231f3f876815c07d0e3b142
7
+ data.tar.gz: 3fc13ef272a1dd421a077db0382f4362b3f1aa2cd0342f53c5f43d362a1857c3dbf23d0fcaf2787af3c94bc32574ebc62dea8202317ba19ad49ecc9ce3f74e05
@@ -27,7 +27,7 @@ module OmniAuth
27
27
  end
28
28
 
29
29
  def ssl?
30
- true
30
+ request.scheme == 'https'
31
31
  end
32
32
 
33
33
  # You can pass +display+, +scope+, or +auth_type+ params to the auth request, if you need to set them dynamically.
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Pinterest
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
  end
5
5
  end
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
16
  spec.name = 'omniauth-pinterest-oauth2'
17
17
  spec.require_paths = ['lib']
18
- spec.version = '0.0.1'
18
+ spec.version = '0.0.2'
19
19
 
20
20
  spec.add_dependency 'omniauth-oauth2'
21
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-pinterest-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Astro Pump