omniauth-reliefwatch 0.0.1 → 0.0.2

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: 515f56f947b617555708da96686e5f9d05773a0d
4
- data.tar.gz: 8bf23c121a47659181fd1ad5f4c4274a9f68832c
3
+ metadata.gz: b7d4776f84f8e133bfc49562ce4218cfd38d42e8
4
+ data.tar.gz: 80311366477f9019d736862be0a311944754087b
5
5
  SHA512:
6
- metadata.gz: e7700766c8ec831253ca2034c68bfbeebe1e08a4c2bc8cd996471f8cc54b69561ba466c4d0530bc48234cf2b57462468917680db79551c03c95d711e3218ca0f
7
- data.tar.gz: 3e0c803b2880f43e5c830cf3dc16a69e4f48de16a1bdeb6e099e82adcaa34190a287fd19f77ebd029c47ecd051ce8eedcbc114dd53921bedf9b31b6d8d076f1e
6
+ metadata.gz: 3f2a890b4186c16cc70be6acd7a60398f7156e7c09314ae9031da2428106ea73984b2f3532a4d5e7d837eea2b30d6456795f4962ea55a132da65c8a59e3aa653
7
+ data.tar.gz: c86eb979a9c8900d93d58fed2779fd30a372e3a05b03629b821f9d9fd181896f35c31aa3f8f58c4df3eba5b08cf784e632013a61b9415894c6ac60c4c1d00c59
data/README.md CHANGED
@@ -5,13 +5,22 @@ Reliefwatch OAuth2 Strategy for OmniAuth 1.0.
5
5
 
6
6
  Supports the OAuth 2.0 server-side and client-side flows.
7
7
 
8
- ### Adding omniauth-reliefwatch to your gemfile
8
+ ### Using omniauth-reliefwatch to your gemfile
9
9
 
10
- Because you may want reference your own local reliefwatch app (which needs to be running at http://localhost:3000).
10
+ Because you may want reference your own local reliefwatch app (which needs to be running at [localhost:3000](http://localhost:3000)), there is a branch that uses `localhost:3000` instead of `reliefwatch.com`.
11
11
 
12
- **Production**: add 'gem 'omniauth-reliefwatch'` to your gemfile
12
+ So, depending on what you want to be doing, add the following to your `Gemfile`:
13
13
 
14
- **Local**: `gem 'omniauth-reliefwatch', github: "reliefwatch/omniauth-reliefwatch", branch: 'local'` to your gemfile instead.
14
+ **Production** (*reliefwatch.com*)
15
+
16
+ gem 'omniauth-reliefwatch'
17
+
18
+ **Local** (*http://localhost:3000*)
19
+
20
+ gem 'omniauth-reliefwatch', github: "reliefwatch/omniauth-reliefwatch", branch: 'local'
21
+
22
+
23
+ ... and if you're using the local branch, anywhere that it says `https://reliefwatch.com` in this readme, you should imagine it says `http://localhost:3000` instead.
15
24
 
16
25
 
17
26
  ## Creating an application
@@ -27,10 +36,6 @@ Check out **[API V1 Documentation](https://reliefwatch.com/documentation/api_v1)
27
36
 
28
37
  ## Usage with rails and Devise
29
38
 
30
- First add it to you Gemfile:
31
-
32
- `gem 'omniauth-reliefwatch'`
33
-
34
39
  Here's a quick example, adding the middleware to a Rails app in
35
40
  `config/initializers/omniauth.rb`:
36
41
 
@@ -78,4 +83,4 @@ The response will include a `uid` from Reliefwatch for the user and nothing else
78
83
 
79
84
  -----
80
85
 
81
- Based on [omniauth-bike-index](https://github.com/bikeindex/omniauth-bike-index)
86
+ Based on [omniauth-bike-index](https://github.com/bikeindex/omniauth-bike-index) :dog:
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Reliefwatch
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
  end
5
5
  end
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.authors = ['Seth Herr']
9
9
  s.summary = 'Reliefwatch strategy for OmniAuth'
10
10
  s.description = 'Reliefwatch strategy for OmniAuth v1.2'
11
- s.homepage = 'https://github.com/Reliefwat/omniauth-reliefwatch'
11
+ s.homepage = 'https://github.com/Reliefwatch/omniauth-reliefwatch'
12
12
  s.license = 'MIT'
13
13
 
14
14
  s.files = `git ls-files`.split("\n")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-reliefwatch
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
  - Seth Herr
@@ -84,7 +84,7 @@ files:
84
84
  - spec/app.rb
85
85
  - spec/omniauth/strategies/reliefwatch_spec.rb
86
86
  - spec/spec_helper.rb
87
- homepage: https://github.com/Reliefwat/omniauth-reliefwatch
87
+ homepage: https://github.com/Reliefwatch/omniauth-reliefwatch
88
88
  licenses:
89
89
  - MIT
90
90
  metadata: {}