winton-authentication 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/init.rb +1 -7
  2. data/lib/authentication.rb +5 -0
  3. metadata +2 -1
data/init.rb CHANGED
@@ -1,7 +1 @@
1
- require 'huberry/authentication/controller_methods'
2
- require 'huberry/authentication/model_methods'
3
-
4
- ActionController::Base.extend Huberry::Authentication::ControllerMethods
5
- ActiveRecord::Base.extend Huberry::Authentication::ModelMethods
6
-
7
- $:.unshift File.dirname(__FILE__) + '/lib'
1
+ require 'authentication'
@@ -0,0 +1,5 @@
1
+ require 'huberry/authentication/controller_methods'
2
+ require 'huberry/authentication/model_methods'
3
+
4
+ ActionController::Base.extend Huberry::Authentication::ControllerMethods
5
+ ActiveRecord::Base.extend Huberry::Authentication::ModelMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: winton-authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Huber
@@ -24,6 +24,7 @@ extra_rdoc_files: []
24
24
  files:
25
25
  - CHANGELOG
26
26
  - init.rb
27
+ - lib/authentication.rb
27
28
  - lib/huberry/authentication/controller_methods.rb
28
29
  - lib/huberry/authentication/model_methods.rb
29
30
  - MIT-LICENSE