incline 0.2.6 → 0.2.7

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: f31fe3757e3d195e25dd9154513c4b95fcfc22df
4
- data.tar.gz: 66e93d328a2e53e716358e15f1aae7135444859c
3
+ metadata.gz: 8cfbf17b26c16120554b3867cb1ce1f33d3bc39d
4
+ data.tar.gz: 8fdfd9a49f863281010e5c0a50e373a11a984b09
5
5
  SHA512:
6
- metadata.gz: 117ffcbea8af8913b31e0c82292cc5a3dcc106c489a10d6c5521aaf6d066cd0bceeff284261b5d006a278be42a4c5e26210ec2fa5cce77a8a0de8c080c2f6320
7
- data.tar.gz: 89c97c19037309d49ca8cc7816a3dfd8b306265e68288e8b8aa375397cf8de02ead1f5d63270685b705fc4180c99898d68325c664f2765de3c7699bb3052a036
6
+ metadata.gz: 886b0af6a73cd3e11dd8485a36d73f353d512ed49ea1b38f89352e5ccf4f7ab15444c4d011eeae49b679c005e15f0e6844acb68ce1524e7b8704b8d68889eb4a
7
+ data.tar.gz: 6239c29b73ef51dc972f489bd9d67c1e75211a3cdd09cb7776270d8f56fef89352e1aa7e4206762cea20e4fd658a1499cff216889db2aa9a392a7ad2835b7a0c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- incline (0.2.6)
4
+ incline (0.2.7)
5
5
  ansi (~> 1.5.0)
6
6
  bcrypt
7
7
  bootstrap-sass
@@ -12,7 +12,9 @@ module Incline
12
12
  ##
13
13
  # GET /incline/login
14
14
  def new
15
-
15
+ # Before displaying the login form, make sure an external auth system shouldn't be used.
16
+ auth_url = ::Incline::UserManager.begin_external_authentication(request)
17
+ redirect_to auth_url unless auth_url.blank?
16
18
  end
17
19
 
18
20
  ##
@@ -1,3 +1,3 @@
1
1
  module Incline
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: incline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beau Barker