bearing 0.1.0

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: a3deb0d4910f2b9fe88a2f3330e65fdc6891ff195bbc093bc2cde840a834d497
4
+ data.tar.gz: 4a59062e641faf6a2fc1bd0a6b4d7475e8628ae4e68ede70a70b2559ec4b5832
5
+ SHA512:
6
+ metadata.gz: 52947ca93d03c1075cceb4481a5efe42370d81ff6472599896d4923afcd324d6908def436222d59232eab06f2ace97fcc14268eed8b02981b26dcc0eaf0422d0
7
+ data.tar.gz: 4edaadae957f05eeac267249a845a1370dd6d3c1c916fa254028f92f14c1304c200ed3f9f9846840e2697953836bffe3aa8772d5036f390cb41b3878151bb55f
data/CHANGE_LOG ADDED
@@ -0,0 +1,2 @@
1
+ May 4, 2017: Version - 0.0.0
2
+ Initialize Bearing project
data/README ADDED
@@ -0,0 +1 @@
1
+ Bearing is a gem for developer authentication for axle(open slot game engine).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
3
+ # All required libraries
4
+ require File.join(File.expand_path(File.dirname(__FILE__)), 'lib/bearing')
5
+
6
+ # Load all the rake tasks under tasks folder
7
+ Dir['tasks/*.rake'].each { |rake| load rake }
8
+
9
+ # Set default rake task is to run all spec test cases
10
+ task :default => :test
data/bearing.gemspec ADDED
@@ -0,0 +1,23 @@
1
+ require File.expand_path('../lib/bearing/version', __FILE__)
2
+
3
+ Gem::Specification.new do |gem|
4
+ gem.name = Bearing::NAME
5
+ gem.version = Bearing::VERSION::STRING
6
+ gem.date = '2017-05-04'
7
+ gem.summary = "Developer Authentication"
8
+ gem.description = "responsible for developer authentication for axle(open slot game engine)"
9
+ gem.authors = ["Carrie Lei"]
10
+ gem.email = 'carrie.lei@laxino.com'
11
+ if gem.respond_to?(:metadata)
12
+ gem.metadata['allowed_push_host'] = "https://rubygems.org"
13
+ else
14
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
15
+ end
16
+ gem.files = Dir.glob("lib/**/*") +
17
+ [
18
+ 'README',
19
+ 'CHANGE_LOG',
20
+ 'Rakefile',
21
+ 'bearing.gemspec'
22
+ ]
23
+ end
@@ -0,0 +1,9 @@
1
+ module Bearing
2
+ class Auth
3
+ class << self
4
+ def authorized?(token)
5
+ return true
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,12 @@
1
+ module Bearing
2
+ module VERSION
3
+ MAJOR = 0
4
+ MINOR = 1
5
+ TINY = 0
6
+
7
+ STRING = [MAJOR, MINOR, TINY].join('.')
8
+ end
9
+
10
+ NAME = 'bearing'.freeze
11
+ RELEASE = "#{NAME} #{VERSION::STRING}".freeze
12
+ end
data/lib/bearing.rb ADDED
@@ -0,0 +1,2 @@
1
+ require 'bearing/version'
2
+ require 'bearing/auth'
metadata ADDED
@@ -0,0 +1,49 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bearing
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Carrie Lei
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-05-04 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: responsible for developer authentication for axle(open slot game engine)
14
+ email: carrie.lei@laxino.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - CHANGE_LOG
20
+ - README
21
+ - Rakefile
22
+ - bearing.gemspec
23
+ - lib/bearing.rb
24
+ - lib/bearing/auth.rb
25
+ - lib/bearing/version.rb
26
+ homepage:
27
+ licenses: []
28
+ metadata:
29
+ allowed_push_host: https://rubygems.org
30
+ post_install_message:
31
+ rdoc_options: []
32
+ require_paths:
33
+ - lib
34
+ required_ruby_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ required_rubygems_version: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ requirements: []
45
+ rubygems_version: 3.1.6
46
+ signing_key:
47
+ specification_version: 4
48
+ summary: Developer Authentication
49
+ test_files: []