Commit 63abf749b146df510905d80b1d004df7333f9ed2
1 parent
1be777b1
Exists in
master
and in
2 other branches
Minor corrections in Gemfile, Readme, and gemspec.
Showing
3 changed files
with
15 additions
and
24 deletions
Show diff stats
Gemfile
1 | source "http://rubygems.org" | 1 | source "http://rubygems.org" |
2 | 2 | ||
3 | -group :development, :test do | 3 | +gemspec |
4 | + | ||
5 | +group :development do | ||
4 | gem 'guard' | 6 | gem 'guard' |
5 | - gem 'guard-rspec' | ||
6 | gem 'guard-bundler' | 7 | gem 'guard-bundler' |
7 | - gem 'rb-fsevent' | ||
8 | - gem 'simplecov' | ||
9 | - gem 'rspec' | 8 | + gem 'guard-rspec' |
10 | gem 'rake' | 9 | gem 'rake' |
10 | +end | ||
11 | + | ||
12 | +group :test do | ||
11 | gem 'coveralls' | 13 | gem 'coveralls' |
12 | gem 'rack-test' | 14 | gem 'rack-test' |
15 | + gem 'simplecov' | ||
16 | + gem 'rspec' | ||
13 | end | 17 | end |
14 | - | ||
15 | -gemspec |
README.md
@@ -2,16 +2,12 @@ | @@ -2,16 +2,12 @@ | ||
2 | 2 | ||
3 | The Omniauth Remote User gem provides a way for application to utilize a authentication with remote user HTTP header. | 3 | The Omniauth Remote User gem provides a way for application to utilize a authentication with remote user HTTP header. |
4 | 4 | ||
5 | -# Omniauth Gitlab Remote User | ||
6 | - | ||
7 | -This gem provides authentication of remote users in gitlab. | ||
8 | - | ||
9 | # Instalation | 5 | # Instalation |
10 | 6 | ||
11 | -Include in you gitlab Gemfile | 7 | +Include in your Gemfile |
12 | 8 | ||
13 | ```ruby | 9 | ```ruby |
14 | -gem "omniauth-remote-user", :git => "git@beta.softwarepublico.gov.br:softwarepublico/omniauth-remote-user.git" | 10 | +gem "omniauth-remote-user" |
15 | ``` | 11 | ``` |
16 | Then run `bundle install` from the command line: | 12 | Then run `bundle install` from the command line: |
17 | 13 |
omniauth-remote-user.gemspec
1 | require File.dirname(__FILE__) + '/lib/omniauth-remote-user/version' | 1 | require File.dirname(__FILE__) + '/lib/omniauth-remote-user/version' |
2 | 2 | ||
3 | Gem::Specification.new do |gem| | 3 | Gem::Specification.new do |gem| |
4 | - gem.add_runtime_dependency 'omniauth' | ||
5 | - | ||
6 | - gem.add_runtime_dependency 'simplecov' | ||
7 | - gem.add_runtime_dependency 'bundler' | ||
8 | - gem.add_runtime_dependency 'rake' | ||
9 | - gem.add_runtime_dependency 'rspec' | ||
10 | - gem.add_runtime_dependency 'rack-test' | ||
11 | - gem.add_runtime_dependency 'activerecord' | ||
12 | - | 4 | + gem.add_runtime_dependency 'omniauth', '~> 1.0' |
5 | + gem.add_development_dependency 'bundler', '~> 1.0' | ||
13 | gem.name = 'omniauth-remote-user' | 6 | gem.name = 'omniauth-remote-user' |
14 | gem.version = Omniauth::RemoteUser::VERSION | 7 | gem.version = Omniauth::RemoteUser::VERSION |
15 | - gem.description = %q{Authentication with Remote-User HTTP header for Omniauth.} | ||
16 | - gem.summary = gem.description | 8 | + gem.description = 'Authentication with Remote-User HTTP header for Omniauth.' |
9 | + gem.summary = 'Authentication with HTTP Remote User' | ||
17 | gem.email = ['kanashiro.duarte@gmail.com', 'thiagitosouza@gmail.com', 'rodrigosiqueiramelo@gmail.com','macartur.sc@gmail.com','Antonio Terceiro'] | 10 | gem.email = ['kanashiro.duarte@gmail.com', 'thiagitosouza@gmail.com', 'rodrigosiqueiramelo@gmail.com','macartur.sc@gmail.com','Antonio Terceiro'] |
18 | gem.homepage = 'http://beta.softwarepublico.gov.br/gitlab/softwarepublico/omiauth-remote-user' | 11 | gem.homepage = 'http://beta.softwarepublico.gov.br/gitlab/softwarepublico/omiauth-remote-user' |
19 | gem.authors = ['Lucas Kanashiro', 'Thiago Ribeiro', 'Rodrigo Siqueira','Macartur Sousa', 'Antonio Terceiro'] | 12 | gem.authors = ['Lucas Kanashiro', 'Thiago Ribeiro', 'Rodrigo Siqueira','Macartur Sousa', 'Antonio Terceiro'] |