api_auth 0.0.1a

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/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ pkg/*
2
+ *.gem
3
+ .bundle
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in api_auth.gemspec
4
+ gemspec
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
data/api_auth.gemspec ADDED
@@ -0,0 +1,21 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "api_auth/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "api_auth"
7
+ s.version = ApiAuth::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["JGW Maxwell"]
10
+ s.email = ["jgwmaxwell@gmail.com"]
11
+ s.homepage = ""
12
+ s.summary = %q{API_Auth handles generating secure tokens for authentication API requests}
13
+ s.description = %q{The gem will handle adding API tokens to your user account, and handle the authentication of incoming requests.}
14
+
15
+ s.rubyforge_project = "api_auth"
16
+
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.require_paths = ["lib"]
21
+ end
@@ -0,0 +1,3 @@
1
+ module ApiAuth
2
+ VERSION = "0.0.1a"
3
+ end
data/lib/api_auth.rb ADDED
@@ -0,0 +1,5 @@
1
+ module ApiAuth
2
+ def self.authenticate(token)
3
+ token == "hello" ? true : false
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: api_auth
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: true
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 1a
9
+ version: 0.0.1a
10
+ platform: ruby
11
+ authors:
12
+ - JGW Maxwell
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2011-01-06 00:00:00 +00:00
18
+ default_executable:
19
+ dependencies: []
20
+
21
+ description: The gem will handle adding API tokens to your user account, and handle the authentication of incoming requests.
22
+ email:
23
+ - jgwmaxwell@gmail.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files: []
29
+
30
+ files:
31
+ - .gitignore
32
+ - Gemfile
33
+ - Rakefile
34
+ - api_auth.gemspec
35
+ - lib/api_auth.rb
36
+ - lib/api_auth/version.rb
37
+ has_rdoc: true
38
+ homepage: ""
39
+ licenses: []
40
+
41
+ post_install_message:
42
+ rdoc_options: []
43
+
44
+ require_paths:
45
+ - lib
46
+ required_ruby_version: !ruby/object:Gem::Requirement
47
+ none: false
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ segments:
52
+ - 0
53
+ version: "0"
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ">"
58
+ - !ruby/object:Gem::Version
59
+ segments:
60
+ - 1
61
+ - 3
62
+ - 1
63
+ version: 1.3.1
64
+ requirements: []
65
+
66
+ rubyforge_project: api_auth
67
+ rubygems_version: 1.3.7
68
+ signing_key:
69
+ specification_version: 3
70
+ summary: API_Auth handles generating secure tokens for authentication API requests
71
+ test_files: []
72
+