api_auth 0.0.1a → 0.0.1b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README ADDED
@@ -0,0 +1,6 @@
1
+ Welcome to API Auth
2
+ -------------------
3
+
4
+ So far, this project does nothing of any use. Ultimately, it will be a full featured API Public Key/Secret Authentication tool.
5
+
6
+ One day.
@@ -1,3 +1,3 @@
1
1
  module ApiAuth
2
- VERSION = "0.0.1a"
2
+ VERSION = "0.0.1b"
3
3
  end
data/lib/api_auth.rb CHANGED
@@ -1,5 +1,10 @@
1
1
  module ApiAuth
2
- def self.authenticate(token)
3
- token == "hello" ? true : false
2
+ require ActiveSupport::Concern
3
+
4
+ module ClassMethods
5
+ def self.authenticate(token)
6
+ token == "hello" ? true : false
7
+ end
4
8
  end
9
+
5
10
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1a
9
- version: 0.0.1a
8
+ - 1b
9
+ version: 0.0.1b
10
10
  platform: ruby
11
11
  authors:
12
12
  - JGW Maxwell
@@ -30,6 +30,7 @@ extra_rdoc_files: []
30
30
  files:
31
31
  - .gitignore
32
32
  - Gemfile
33
+ - README
33
34
  - Rakefile
34
35
  - api_auth.gemspec
35
36
  - lib/api_auth.rb