has_token 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/has_token.gemspec +1 -1
  3. data/lib/has_token.rb +2 -2
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.0
1
+ 0.6.1
data/has_token.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{has_token}
8
- s.version = "0.6.0"
8
+ s.version = "0.6.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["laserlemon"]
data/lib/has_token.rb CHANGED
@@ -30,7 +30,7 @@ module HasToken
30
30
  )
31
31
 
32
32
  class_inheritable_accessor :has_token_options
33
- return false unless self.has_token_options.nil?
33
+ return false unless has_token_options.nil?
34
34
  self.has_token_options = options
35
35
 
36
36
  if options[:to_param]
@@ -48,7 +48,7 @@ module HasToken
48
48
 
49
49
  include InstanceMethods
50
50
 
51
- send options[:callback], :create_token
51
+ send has_token_options[:callback], :create_token
52
52
  end
53
53
  end
54
54
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_token
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - laserlemon