Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nbulaj committed Oct 24, 2018
1 parent 25223d6 commit 4b9f692
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 32 deletions.
28 changes: 0 additions & 28 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,45 +8,17 @@ AllCops:
ExtraDetails: true
TargetRubyVersion: 2.5

################################### Bundler ####################################

################################### Gemspec ####################################

#################################### Layout ####################################

##################################### Lint #####################################

################################### Metrics ####################################

Metrics/BlockLength:
Enabled: false

Metrics/MethodLength:
Enabled: false

#################################### Naming ####################################

Naming/FileName:
Exclude:
- lib/doorkeeper-jwt.rb

################################# Performance ##################################

#################################### Rails #####################################

################################### Security ###################################

#################################### Style #####################################

Style/Documentation:
Enabled: false

################################### Capybara ###################################

################################## FactoryBot ##################################

#################################### RSpec #####################################

RSpec/ExampleLength:
Enabled: false

Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this
project adheres to [Semantic Versioning](http://semver.org/).

## [0.4.0] - 2018-10-18
## master

### Changed

Expand Down
4 changes: 2 additions & 2 deletions doorkeeper-jwt.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require 'doorkeeper/jwt/version'

Gem::Specification.new do |spec|
spec.name = 'doorkeeper-jwt'
spec.version = Doorkeeper::JWT::VERSION
spec.version = Doorkeeper::JWT.gem_version
spec.authors = ['Chris Warren']
spec.email = ['chris@expectless.com']

Expand All @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
spec.license = 'MIT'

spec.bindir = 'exe'
spec.files = `git ls-files -z`.split("\x0")
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
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']
Expand Down
15 changes: 14 additions & 1 deletion lib/doorkeeper/jwt/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

module Doorkeeper
module JWT
VERSION = '0.4.0'
def self.gem_version
Gem::Version.new VERSION::STRING
end

module VERSION
# Semantic versioning
MAJOR = 0
MINOR = 3
TINY = 0
PRE = nil

# Full version number
STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
end
end
end

0 comments on commit 4b9f692

Please sign in to comment.