omniauth-campus 0.2.5 → 0.2.6

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
  SHA1:
3
- metadata.gz: 29bd438066eabc7d333d149d0643ffddd5c5f171
4
- data.tar.gz: e5e2e1d8b41b254bd0911d5b0d6b17571ba12f58
3
+ metadata.gz: 5e796d46936ec4f4e4d86126f3df930c7fa25f70
4
+ data.tar.gz: 325e6c2f81c5196fc425d40706afea09726ba709
5
5
  SHA512:
6
- metadata.gz: 865e47e48c8420f38397f2c78001a6473bfb91ea895f51510df16f0956d858872db61a54a7419a200b0a8051d183858ab0741da10b9d4763432af8a5cf5c1d61
7
- data.tar.gz: 5a2e3a6fab2636d4f21a2ee10d38d0ff231710d81d8a3ccf880aa65909f968946d84100d35c1eec9013bc427880291d20c0e141a6132f17aacc666ef3655235d
6
+ metadata.gz: 61468bd79d4ce152f67bc4f09396973e27410954644eb2bcd09836bf07124010422788c34931f04203f608a24731dcd593051db9265c9ae0bcd6e30c313688fb
7
+ data.tar.gz: 1faaa649375c6eebc4cb7ccecc26dfe24c515dd53c01e07b3e2c0b9a017518946cbe515878d086d05efcf10347dc573c2bc0e573fcc9a7e29f411a097c202de6
Binary file
@@ -16,8 +16,8 @@ module OmniAuth
16
16
  option :name, 'campus'
17
17
  args [:consumer_key, :consumer_secret, :endpoint]
18
18
  option :endpoint, 'http://community3dev.devcloud.acquia-sites.com/api'
19
- option :consumer_key, nil
20
- option :consumer_secret, nil
19
+ option :consumer_key, "YzjVHuk8xoXCTcNwYg57yiCW5w59tucC"
20
+ option :consumer_secret, "ZDrWuDsunNkRroU5psb6QyMmT86XkYST"
21
21
  option :authorize_params, {}
22
22
  option :request_params, {}
23
23
 
@@ -89,7 +89,7 @@ module OmniAuth
89
89
 
90
90
  uri = URI(api_uri)
91
91
  http = Net::HTTP.new(uri.host, uri.port)
92
- if uri.scheme == 'https'
92
+ if uri.scheme == 'http'
93
93
  http.use_ssl = true
94
94
  http.verify_mode = OpenSSL::SSL::VERIFY_NONE
95
95
  end
Binary file
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "0.2.5"
3
+ VERSION = "0.2.6"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-campus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr