omniauth-greenhouse 1.3.0 → 1.3.1

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: 42ca1eb8452ea7720f9630c2f3d9de23df80fcde
4
- data.tar.gz: f6469e73ad6dfb4a22d18ab069612ba3e3dbffe0
3
+ metadata.gz: 44376ada70fff649a1c29c0721e1e2ef5bfbd881
4
+ data.tar.gz: c998dea3b8a77d5f7b5c1b31ca844189e7406450
5
5
  SHA512:
6
- metadata.gz: 2fefe8feea8cee61984edd0555568a885ff65c8ff5f4620296957c78658bebb15f97f3700ea2a3d6ecac1fda995b103cd7512427dd26496be679da8e74377fe6
7
- data.tar.gz: e26b2eaa44283b348f53cb05c3b82eb9abe61b33f441fc862f70f08993ec25d4d45fb3b9e65c25382397d0249fb532d49d130dfeb4939e7d5b8abf7d8329f851
6
+ metadata.gz: 25a597c7902b8982a70fe271200f850f48534a6fd46a38ef4dbd221dcb461b63eb3a62aa98c9862cf8ce6f3e96eaa00fdfc7ff0d44b13e81dc8ade5cc98cd37f
7
+ data.tar.gz: 4badf9827c3cb7c0015766d533bc1b43c358199714f057b60700be0b3c37a6cdefc9b6d54cf7b85d19902f3a06bb8d227dfc7060edc24a00ba563cf589747e01
data/README.md CHANGED
@@ -26,7 +26,7 @@ your application, you will need to provide:
26
26
 
27
27
  * Application Name
28
28
  * Application URL
29
- * Callback URL (using OmniAuth, it will be http://myapp.example.com/authorize/greenhouse/callback)
29
+ * Callback URL (using OmniAuth, it will be http://myapp.example.com/auth/greenhouse/callback)
30
30
  * Small 128x128px Logo to display in the Greenhouse Authorizaiton screen
31
31
 
32
32
  Once you receive your CLIENT_KEY and CLIENT_SECRET, add this to your config/initializers/omniauth.rb file:
@@ -40,13 +40,13 @@ end
40
40
 
41
41
  After this is configured, your users will be able to authorize your application to use their Greenhouse account via:
42
42
 
43
- http://myapp.example.com/authorize/greenhouse
43
+ http://myapp.example.com/auth/greenhouse
44
44
 
45
45
  The user will be presented with an authorization screen. When the user clicks on the 'Authorize' button, they will be
46
46
  redirected back to your site to the 'Callback URL' you provided during the application registration process. This
47
47
  callback URL will look something like:
48
48
 
49
- http://myapp.example.com/authorize/greenhouse/callback
49
+ http://myapp.example.com/auth/greenhouse/callback
50
50
 
51
51
  If the user clicked on the 'Authorize' button, you can retrieve the OAuth 2.0 token via:
52
52
 
@@ -2,7 +2,7 @@ module OmniAuth
2
2
  module Strategies
3
3
  class Greenhouse < OmniAuth::Strategies::OAuth2
4
4
  option :name, 'greenhouse'
5
- option :client_options, { :site => "https://app.greenhouse.io" }
5
+ option :client_options, { :site => "https://api.greenhouse.io" }
6
6
  end
7
7
  end
8
8
  end
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'omniauth-greenhouse'
7
- spec.version = '1.3.0'
7
+ spec.version = '1.3.1'
8
8
  spec.authors = %w(timothy.frey)
9
9
  spec.email = %w(tech@greenhouse.io)
10
10
  spec.description = 'Integrate with Greenhouse with OmniAuth'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-greenhouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - timothy.frey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-24 00:00:00.000000000 Z
11
+ date: 2016-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.4.8
110
+ rubygems_version: 2.4.5.1
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Integrate with Greenhouse with OmniAuth