-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from samdunne/2.0
Version 2.0.1 Release
- Loading branch information
Showing
15 changed files
with
293 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# This is the configuration used to check the rubocop source code. | ||
|
||
inherit_from: .rubocop_todo.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
AllCops: | ||
Include: | ||
- 'Gemfile' | ||
- 'Rakefile' | ||
- 'omniauth-gplus.gemspec' | ||
|
||
# Avoid long parameter lists | ||
ParameterLists: | ||
Max: 5 | ||
CountKeywordArgs: true | ||
|
||
MethodLength: | ||
CountComments: false | ||
Max: 18 | ||
|
||
# Avoid more than `Max` levels of nesting. | ||
BlockNesting: | ||
Max: 2 | ||
|
||
# Align with the style guide. | ||
CollectionMethods: | ||
PreferredMethods: | ||
map: 'collect' | ||
reduce: 'inject' | ||
find: 'detect' | ||
find_all: 'select' | ||
|
||
# Do not force public/protected/private keyword to be indented at the same | ||
# level as the def keyword. My personal preference is to outdent these keywords | ||
# because I think when scanning code it makes it easier to identify the | ||
# sections of code and visually separate them. When the keyword is at the same | ||
# level I think it sort of blends in with the def keywords and makes it harder | ||
# to scan the code and see where the sections are. | ||
AccessModifierIndentation: | ||
Enabled: false | ||
|
||
# Limit line length | ||
LineLength: | ||
Enabled: false | ||
|
||
# Disable documentation checking until a class needs to be documented once | ||
Documentation: | ||
Enabled: false | ||
|
||
# Enforce Ruby 1.8-compatible hash syntax | ||
HashSyntax: | ||
EnforcedStyle: hash_rockets | ||
|
||
# No spaces inside hash literals | ||
SpaceInsideHashLiteralBraces: | ||
EnforcedStyle: no_space | ||
|
||
# Allow dots at the end of lines | ||
DotPosition: | ||
Enabled: false | ||
|
||
# Don't require magic comment at the top of every file | ||
Encoding: | ||
Enabled: false | ||
|
||
EmptyLinesAroundAccessModifier: | ||
Enabled: true | ||
|
||
# Align ends correctly | ||
EndAlignment: | ||
AlignWith: variable | ||
|
||
# Indentation of when/else | ||
CaseIndentation: | ||
IndentWhenRelativeTo: end | ||
IndentOneStep: false | ||
|
||
Lambda: | ||
Enabled: false | ||
|
||
FileName: | ||
Exclude: | ||
- 'lib/omniauth-gplus.rb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,26 @@ | ||
before_install: | ||
- gem update bundler | ||
- bundle --version | ||
- gem update --system 2.1.11 | ||
- gem --version | ||
language: ruby | ||
rvm: | ||
- 1.9.2 | ||
- 1.9.3 | ||
- 2.0.0 | ||
- 2.1 | ||
- jruby | ||
- rbx | ||
- rbx-2 | ||
- ruby-head | ||
- rbx-19mode | ||
- jruby-19mode | ||
matrix: | ||
include: | ||
- rvm: jruby-19mode | ||
env: JRUBY_OPTS="$JRUBY_OPTS --debug" | ||
- rvm: jruby-head | ||
env: JRUBY_OPTS="$JRUBY_OPTS --debug" | ||
allow_failures: | ||
- rvm: jruby-head | ||
- rvm: ruby-head | ||
- rvm: rbx | ||
fast_finish: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Changelog | ||
--------- | ||
**v2.0.0** | ||
|
||
* Support for hybrid sign-in flow | ||
* Conform to [ruby style guidelines](bbatsov/ruby-style-guide) | ||
* Support for Ruby 2.1 & 2.0 | ||
* Ensure compatibility with Rails 4.1 and 4.0 | ||
* Squashed bugs | ||
* Moved changelog to seperate file | ||
|
||
**v1.1.1** | ||
|
||
* Using the correct api scope | ||
|
||
**v1.1.0** | ||
|
||
* Fixed UID field always being nil | ||
|
||
**v1.0.0** | ||
|
||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Copyright (c) 2013 Kurtis Rainbolt-Greene | ||
Copyright (c) 2014 Sam Dunne | ||
|
||
MIT License | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
require "omniauth-oauth2" | ||
require_relative "omniauth/strategies/gplus" | ||
require_relative "omniauth/gplus/version" | ||
|
||
OmniAuth.config.add_camelization("gplus", "GPlus") | ||
require 'omniauth/gplus' | ||
OmniAuth.config.add_camelization('gplus', 'GPlus') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
require 'omniauth/gplus/version' | ||
require 'omniauth/strategies/gplus' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module OmniAuth | ||
module GPlus | ||
VERSION = "1.2.0" | ||
VERSION = '2.0.1' | ||
end | ||
end |
Oops, something went wrong.