http_base_auth 0.0.2.1 → 0.0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module HttpBaseAuth
2
- VERSION = "0.0.2.1"
2
+ VERSION = "0.0.2.2"
3
3
  end
@@ -1,16 +1,8 @@
1
1
  module HttpBaseAuth
2
- def printing
3
- "Hellow__________________________________"
4
- logger.info('***********')
5
- end
6
- helper_method :printing
7
- def authenticated?
8
- session[:authenticated]
9
- end
10
- helper_method :authenticated?
11
2
 
12
3
  def require_authentication
13
4
  session[:authenticated] = true if authentication
5
+ logger.info '***********************'
14
6
  end
15
7
 
16
8
  def authentication
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_base_auth
3
3
  version: !ruby/object:Gem::Version
4
- hash: 69
4
+ hash: 67
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 2
10
- - 1
11
- version: 0.0.2.1
10
+ - 2
11
+ version: 0.0.2.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Macj