omniauth-headquarters 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +34 -0
- data/Rakefile +1 -2
- data/lib/omniauth-headquarters/version.rb +1 -1
- data/lib/omniauth/strategies/headquarters.rb +1 -1
- data/omniauth-headquarters.gemspec +10 -10
- data/spec/spec_helper.rb +0 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 112feead1c1c6fbc63b7734bb52e8770e0424c1a
|
4
|
+
data.tar.gz: 0367d756c7124eca9379c4b907416ad68b541f51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 230497239b578216927617723d61c366835ab7dc369acc219a7007208010e49c3864062582bcb61ec9e484a1c414d98c7e04e3564338bdbad590f4038c779566
|
7
|
+
data.tar.gz: 7eb5e3b7458b1842f8c41ebb1b272542dfb3b18e2dff2ce13849532d3ef59928e12da8487b3f17aaf75f0a4c7dc8dc5f92e8785758d4344b3d31fbc33ad60bb5
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
AllCops:
|
2
|
+
Include:
|
3
|
+
- '**/Rakefile'
|
4
|
+
- '**/config.ru'
|
5
|
+
Exclude:
|
6
|
+
- 'db/**/*'
|
7
|
+
- 'config/**/*'
|
8
|
+
- 'script/**/*'
|
9
|
+
- 'bin/**/*'
|
10
|
+
- 'vendor/**/*'
|
11
|
+
|
12
|
+
Metrics/LineLength:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
Style/AlignParameters:
|
16
|
+
EnforcedStyle: with_fixed_indentation
|
17
|
+
|
18
|
+
Style/ClassAndModuleChildren:
|
19
|
+
Enabled: false
|
20
|
+
|
21
|
+
Style/Documentation:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
Style/DotPosition:
|
25
|
+
EnforcedStyle: trailing
|
26
|
+
|
27
|
+
Style/IfUnlessModifier:
|
28
|
+
Enabled: false
|
29
|
+
|
30
|
+
Style/RegexpLiteral:
|
31
|
+
MaxSlashes: 0
|
32
|
+
|
33
|
+
Style/FileName:
|
34
|
+
Enabled: false
|
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ module OmniAuth
|
|
5
5
|
class Headquarters < ::OmniAuth::Strategies::OAuth2
|
6
6
|
include ::OmniAuth::Strategy
|
7
7
|
|
8
|
-
URL = ENV['HQ_URL'] || '
|
8
|
+
URL = ENV['HQ_URL'] || 'https://hq.groupbuddies.com'
|
9
9
|
PATH = '/oauth/authorize'
|
10
10
|
|
11
11
|
option :name, :headquarters
|
@@ -4,25 +4,25 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'omniauth-headquarters/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'omniauth-headquarters'
|
8
8
|
spec.version = Omniauth::Headquarters::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
11
|
-
spec.summary =
|
12
|
-
spec.description =
|
13
|
-
spec.homepage =
|
14
|
-
spec.license =
|
9
|
+
spec.authors = ['Miguel Palhas']
|
10
|
+
spec.email = ['mpalhas@groupbuddies.com']
|
11
|
+
spec.summary = 'OAuth2 strategy for the Headquarters API, by Group Buddies'
|
12
|
+
spec.description = 'OAuth2 strategy for the Headquarters API, by Group Buddies'
|
13
|
+
spec.homepage = 'https://github.com/groupbuddies/omniauth-headquarters'
|
14
|
+
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = [
|
19
|
+
spec.require_paths = ['lib']
|
20
20
|
|
21
21
|
spec.add_dependency 'omniauth', '~> 1.2', '>= 1.2.2'
|
22
22
|
spec.add_dependency 'omniauth-oauth2', '~> 1.2', '>= 1.2.0'
|
23
23
|
|
24
|
-
spec.add_development_dependency
|
25
|
-
spec.add_development_dependency
|
24
|
+
spec.add_development_dependency 'bundler', '~> 1.7'
|
25
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
26
26
|
spec.add_development_dependency 'rubocop', '~> 0.27.1'
|
27
27
|
spec.add_development_dependency 'rspec', '~> 3.1', '~> 3.1.0'
|
28
28
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-headquarters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Palhas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -120,6 +120,7 @@ extensions: []
|
|
120
120
|
extra_rdoc_files: []
|
121
121
|
files:
|
122
122
|
- ".gitignore"
|
123
|
+
- ".rubocop.yml"
|
123
124
|
- Gemfile
|
124
125
|
- LICENSE.txt
|
125
126
|
- README.md
|