entrance 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ module Entrance
15
15
  elsif base.respond_to?(:keys) # MongoMapper::Document
16
16
  base.keys.keys
17
17
  else # just get setters in the class
18
- base.instance_methods(false).select { |m| m[/\=$/] }.map { |s| s.sub('=', '') }
18
+ base.instance_methods(false).select { |m| m[/\=$/] }.map { |s| s.to_s.sub('=', '') }
19
19
  end.map { |el| el.to_sym }
20
20
 
21
21
  %w(username_attr password_attr).each do |key|
@@ -159,4 +159,4 @@ module Entrance
159
159
  end
160
160
 
161
161
  end
162
- end
162
+ end
@@ -1,7 +1,7 @@
1
1
  module Entrance
2
2
  MAJOR = 0
3
3
  MINOR = 2
4
- PATCH = 4
4
+ PATCH = 5
5
5
 
6
6
  VERSION = [MAJOR, MINOR, PATCH].join('.')
7
7
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 4
9
- version: 0.2.4
8
+ - 5
9
+ version: 0.2.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Tom\xC3\xA1s Pollak"
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2015-01-08 00:00:00 -03:00
17
+ date: 2015-01-15 00:00:00 -03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency