api_auth 0.0.1b → 0.0.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 ApiAuth
2
- VERSION = "0.0.1b"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/api_auth.rb CHANGED
@@ -1,10 +1,7 @@
1
1
  module ApiAuth
2
- require ActiveSupport::Concern
3
-
4
- module ClassMethods
5
- def self.authenticate(token)
6
- token == "hello" ? true : false
7
- end
2
+
3
+ def self.authenticate(token)
4
+ token == "hello" ? true : false
8
5
  end
9
6
 
10
7
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_auth
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: true
4
+ prerelease: false
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1b
9
- version: 0.0.1b
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - JGW Maxwell
@@ -55,13 +55,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
55
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  none: false
57
57
  requirements:
58
- - - ">"
58
+ - - ">="
59
59
  - !ruby/object:Gem::Version
60
60
  segments:
61
- - 1
62
- - 3
63
- - 1
64
- version: 1.3.1
61
+ - 0
62
+ version: "0"
65
63
  requirements: []
66
64
 
67
65
  rubyforge_project: api_auth