monban 0.0.5 → 0.0.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.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.0.6
2
+ * [FIX] require_login should use controller and action for routing.
3
+
1
4
  == 0.0.5
2
5
  * [FIX] Scaffolded SessionsController should have respond_to.
3
6
  * [FIX] SignUp should get the value instead of slicing.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- monban (0.0.4)
4
+ monban (0.0.6)
5
5
  bcrypt-ruby
6
6
  rails
7
7
  warden
@@ -49,7 +49,7 @@ module Monban
49
49
  def require_login
50
50
  unless signed_in?
51
51
  flash.notice = Monban.config.sign_in_notice
52
- redirect_to '/sign_in'
52
+ redirect_to controller: 'sessions', action: 'new'
53
53
  end
54
54
  end
55
55
  end
@@ -1,3 +1,3 @@
1
1
  module Monban
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: