1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00
Commit graph

36 commits

Author SHA1 Message Date
Bobby McDonald
2242e6467c
Merge pull request #995 from BobbyMcWho/increase-test-coverage
Increase test coverage
2020-12-08 10:48:27 -05:00
Bobby McDonald
ad6228c04e
Add cross site protection via rack-protection 2020-12-06 23:30:07 -05:00
Bobby McDonald
790d354c88
OmniAuth::Utils.camelize now properly handles passing false param 2020-03-02 15:07:25 -05:00
Bobby McDonald
15942b6bee
conflicting rubocop rules 2019-11-10 22:32:54 -05:00
Bobby McDonald
8aec5276bb
indent module_function for rubocop 2019-11-10 22:26:18 -05:00
tmilewski
c4fc115f3b
Fix Rubocop Offenses 2017-09-28 13:07:45 -04:00
Erik Michaels-Ober
8d4ec79835 Avoid comma after the last item of a hash 2015-12-19 06:10:33 -05:00
Fujimura Daisuke
9669152851 Fix code format 2015-11-11 13:14:34 +09:00
Fujimura Daisuke
08ecbbfa1d Stop mutating given hash in #add_mock 2015-11-11 13:07:57 +09:00
Erik Michaels-Ober
dfede3a526 Use %r around regular expressions that contain slashes 2015-05-25 11:24:12 +02:00
Michael Bleigh
172e1f6758 Outdent module_function for Rubocop. 2014-10-01 15:35:17 -04:00
Erik Michaels-Ober
aa89cf529f Update rubocop dependency to >= 0.25 2014-08-18 13:21:39 +02:00
tmilewski
edc97c636a Fix RuboCop offenses introduced in version 0.22.0 2014-05-30 14:42:00 -04:00
Erik Michaels-Ober
93fdee8b56 Use gender-neutral example name 2014-01-16 05:22:36 +01:00
Erik Michaels-Ober
d9683a8880 Fix RuboCop offenses 2014-01-16 05:22:36 +01:00
Tom Milewski
74bcbd7122 Ensure hook names are descriptive enough.
before_options_phase
before_request_phase
before_callback_phase
2013-09-02 21:05:18 -04:00
Tom Milewski
a239ba2980 set hooks as nil and check for presence 2013-09-02 15:30:32 -04:00
Tom Milewski
c3942078cf Fix up specs from bleeding into others
Merge branch 'hooks' of github.com:cromulus/omniauth into cromulus-hooks

Conflicts:
	lib/omniauth.rb
2013-09-02 15:12:52 -04:00
Josh Jordan
56561ee5eb Make raise_out! configurable 2013-06-20 17:18:35 -04:00
Bill Cromie
e9e8a6a0d2 got the hooks working, but insofar as testing anything other than just creating the hooks, I'll have to get to that later 2013-04-01 13:42:24 -04:00
Erik Michaels-Ober
2e06f2ebca Move development dependencies into Gemfile 2013-01-25 10:25:04 -08:00
Michael Bleigh
1a16151ab6 Adds logging. Closes #583 2012-04-12 15:50:13 -05:00
Michael Bleigh
d02f9d58f7 Improves error handling behavior. Closes #578.
* OmniAuth::FailureEndpoint will raise any encountered
  errors out if RACK_ENV is development.
* It will redirect compatibly with current OmniAuth if
  not in development.
* Now uses Rack::Response to include a content length
  in the failure response.
2012-03-05 23:11:35 -05:00
Michael Bleigh
5fbc41943d Extract default on_failure into class. References #578. 2012-03-05 20:27:08 -05:00
Michael Bleigh
ce9b5b088f Merge pull request #554 from toyokazu/master
A request to insert env['SCRIPT_NAME'] before on_failure new_path
2012-01-17 13:00:50 -08:00
dombi.attila
2f35ace86d mock_auth default is now an AuthHash instead of hash. 2012-01-05 12:44:51 +02:00
Toyokazu Akiyama
9022d66cea insert env['SCRIPT_NAME'] before on_failure path
handle sub_uri (a.k.a. BaseURI) at on_failure
2011-12-13 14:54:59 +09:00
Glenn Gillen
b4b8a127b8 Update mock auth to match what is actually returned. 2011-11-13 00:02:49 +00:00
Michael Bleigh
250963a59c Adds Developer strategy for default auth. 2011-10-16 19:27:26 -04:00
Michael Bleigh
53bc3f5741 Small but powerful change: Strategy options now inherit from a default, are Mashes, and can be declaratively configured. 2011-09-26 11:44:17 -05:00
Michael Bleigh
98bc2b9a4a Camelizations are now added through OmniAuth.config 2011-09-22 18:49:22 -05:00
Michael Bleigh
69177f3b10 Moves omniauth/core to just plain omniauth 2011-09-22 13:25:41 -05:00
Michael Bleigh
cc73281406 Clearing out everything to move towards the new 1.0 independent gems strategy. 2011-09-03 21:26:57 -03:00
James A. Rosen
2f77d46ce7 Moved HttpBasic to oa-more. Closes #327 2011-06-05 18:12:23 -07:00
Michael Bleigh
19c212da72 Fixing up some dependencies and such. 2011-05-04 02:41:37 -05:00
Erik Michaels-Ober
1d100ab8e9 New versioning system to support testing on http://test.rubygems.org/ 2011-04-22 11:41:33 -05:00
Renamed from omniauth/lib/omniauth.rb (Browse further)