Skip to content

Commit

Permalink
Merge pull request #46 from btalbot/fix-omniauth-name
Browse files Browse the repository at this point in the history
fix naming of Omniauth module to OmniAuth
  • Loading branch information
nhosoya authored Jun 26, 2020
2 parents f55d1eb + b2fcf06 commit f24ff0b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/omniauth/apple/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Omniauth
module OmniAuth
module Apple
VERSION = "0.0.3"
end
Expand Down
2 changes: 1 addition & 1 deletion omniauth-apple.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require "omniauth/apple/version"

Gem::Specification.new do |spec|
spec.name = "omniauth-apple"
spec.version = Omniauth::Apple::VERSION
spec.version = OmniAuth::Apple::VERSION
spec.authors = ["nhosoya", "Fabian Jäger"]
spec.email = ["[email protected]", "[email protected]"]

Expand Down
14 changes: 14 additions & 0 deletions spec/omniauth/apple/vesion_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# frozen_string_literal: true

require 'spec_helper'
require_relative '../../../lib/omniauth/apple/version'

describe OmniAuth::Apple do
it 'has VERSION' do
expect(OmniAuth::Apple::VERSION).to be_a String
end

it 'is correct' do
expect(Gem::Version.correct?(OmniAuth::Apple::VERSION)).to be true
end
end

0 comments on commit f24ff0b

Please sign in to comment.