-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
381 additions
and
307 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 |
---|---|---|
@@ -1,10 +1,16 @@ | ||
/.bundle/ | ||
/.yardoc | ||
/Gemfile.lock | ||
/_yardoc/ | ||
*.gem | ||
/coverage/ | ||
/doc/ | ||
/pkg/ | ||
/spec/reports/ | ||
/tmp/ | ||
*.gem | ||
|
||
/.yardoc/ | ||
/_yardoc/ | ||
/doc/ | ||
|
||
/.bundle/ | ||
|
||
Gemfile.lock | ||
|
||
.idea/ | ||
*.iml |
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,13 +1,57 @@ | ||
--- | ||
require: rubocop-rspec | ||
|
||
AllCops: | ||
DefaultFormatter: progress | ||
DisplayCopNames: true | ||
DisplayStyleGuide: false | ||
ExtraDetails: true | ||
TargetRubyVersion: 2.5 | ||
|
||
################################### Bundler #################################### | ||
|
||
################################### Gemspec #################################### | ||
|
||
#################################### Layout #################################### | ||
|
||
##################################### Lint ##################################### | ||
|
||
################################### Metrics #################################### | ||
|
||
Metrics/BlockLength: | ||
Exclude: | ||
- spec/**/* | ||
Enabled: false | ||
|
||
Metrics/MethodLength: | ||
Enabled: false | ||
|
||
#################################### Naming #################################### | ||
|
||
LineLength: | ||
Naming/FileName: | ||
Exclude: | ||
- spec/**/* | ||
- lib/doorkeeper-jwt.rb | ||
|
||
StringLiterals: | ||
Enabled: false | ||
################################# Performance ################################## | ||
|
||
#################################### Rails ##################################### | ||
|
||
################################### Security ################################### | ||
|
||
#################################### Style ##################################### | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Style/StringLiterals: | ||
EnforcedStyle: double_quotes | ||
|
||
################################### Capybara ################################### | ||
|
||
################################## FactoryBot ################################## | ||
|
||
#################################### RSpec ##################################### | ||
|
||
RSpec/ExampleLength: | ||
Enabled: false | ||
|
||
RSpec/MultipleExpectations: | ||
Enabled: false |
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,6 +1,10 @@ | ||
source 'https://rubygems.org' | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
# Specify your gem's dependencies in doorkeeper-jwt.gemspec | ||
gemspec | ||
|
||
gem 'coveralls', require: false | ||
gem "coveralls", require: false | ||
gem "rubocop", "~> 0.59.2", require: false | ||
gem "rubocop-rspec", "~> 1.30", require: false |
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,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
require "bundler/gem_tasks" | ||
require "rspec/core/rake_task" | ||
|
||
|
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,7 +1,8 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
bundle install | ||
|
||
# Do any other automated setup that you need to do here | ||
# Do any other automated setup that you need to do here. |
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,27 +1,31 @@ | ||
lib = File.expand_path('lib', __dir__) | ||
# frozen_string_literal: true | ||
|
||
lib = File.expand_path("lib", __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'doorkeeper-jwt/version' | ||
|
||
require "doorkeeper/jwt/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "doorkeeper-jwt" | ||
spec.version = Doorkeeper::JWT.gem_version | ||
spec.authors = ["Chris Warren"] | ||
spec.email = ["chris@expectless.com"] | ||
spec.name = "doorkeeper-jwt" | ||
spec.version = Doorkeeper::JWT::VERSION | ||
spec.authors = ["Chris Warren"] | ||
spec.email = ["chris@expectless.com"] | ||
|
||
spec.summary = 'JWT token generator for Doorkeeper' | ||
spec.description = 'JWT token generator extension for Doorkeeper' | ||
spec.homepage = "https://github.com/chriswarren/doorkeeper-jwt" | ||
spec.license = "MIT" | ||
spec.summary = "JWT token generator for Doorkeeper" | ||
spec.description = "JWT token generator extension for Doorkeeper" | ||
spec.homepage = "https://github.com/chriswarren/doorkeeper-jwt" | ||
spec.license = "MIT" | ||
|
||
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } | ||
spec.bindir = "exe" | ||
spec.files = `git ls-files -z`.split("\x0") | ||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = ["lib"] | ||
|
||
spec.add_dependency "jwt", "~> 2.1.0", ">= 2.1.0" | ||
spec.add_dependency "jwt", "~> 2.1" | ||
|
||
spec.add_development_dependency "bundler", "~> 1.8", ">= 1.8" | ||
spec.add_development_dependency "bundler", "~> 1.16" | ||
spec.add_development_dependency "pry", "~> 0" | ||
spec.add_development_dependency "rake", "~> 10.0", ">= 10.0" | ||
spec.add_development_dependency "rspec", "~> 3.2.0", ">= 3.2" | ||
spec.add_development_dependency "rake", "~> 12.3" | ||
spec.add_development_dependency "rspec", "~> 3.8" | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.