Commit 225a0743 by liyijie

Fix rspec errors.

parent 3548abc4
require "rails_api_authentication/version"
module RailsApiAuthentication
# Your code goes here...
VERSION = "0.1"
end
......@@ -9,15 +9,15 @@ Gem::Specification.new do |spec|
spec.authors = ["liyijie"]
spec.email = ["liyijie825@gmail.com"]
spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.}
spec.description = %q{TODO: Write a longer description or delete this line.}
spec.homepage = "TODO: Put your gem's website or public repo URL here."
spec.summary = %q{Rails API Project Authentication.}
spec.description = %q{Rails API Project Authentication.}
spec.homepage = "https://git.tallty.com/open-source/rails_api_authentication"
spec.license = "MIT"
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
spec.metadata['allowed_push_host'] = "https://git.tallty.com/open-source/rails_api_authentication"
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
......
......@@ -4,8 +4,4 @@ RSpec.describe RailsApiAuthentication do
it "has a version number" do
expect(RailsApiAuthentication::VERSION).not_to be nil
end
it "does something useful" do
expect(false).to eq(true)
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment