-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add bixby 3.0.0 * Run style checker * Remove travis
- Loading branch information
Showing
25 changed files
with
258 additions
and
159 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
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,10 @@ | ||
inherit_from: .rubocop_todo.yml | ||
|
||
inherit_gem: | ||
bixby: bixby_default.yml | ||
|
||
AllCops: | ||
TargetRubyVersion: 2.6 | ||
Exclude: | ||
- spec/lib/hydra/file_characterization_spec.rb | ||
- vendor/bundle/**/* |
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,92 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2020-06-10 16:20:03 -0400 using RuboCop version 0.85.1. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: Include. | ||
# Include: **/*.gemfile, **/Gemfile, **/gems.rb | ||
Bundler/DuplicatedGem: | ||
Exclude: | ||
- 'Gemfile' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity. | ||
# SupportedStylesAlignWith: keyword, variable, start_of_line | ||
Layout/EndAlignment: | ||
Exclude: | ||
- 'lib/hydra/file_characterization.rb' | ||
|
||
# Offense count: 6 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. | ||
# URISchemes: http, https | ||
Layout/LineLength: | ||
Max: 293 | ||
|
||
# Offense count: 5 | ||
# Configuration parameters: CountComments, ExcludedMethods. | ||
# ExcludedMethods: refine | ||
Metrics/BlockLength: | ||
Max: 50 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: CountComments, ExcludedMethods. | ||
Metrics/MethodLength: | ||
Max: 15 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, Regex, IgnoreExecutableScripts, AllowedAcronyms. | ||
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS | ||
Naming/FileName: | ||
Exclude: | ||
- '**/Gemfile' | ||
- '**/*.rake' | ||
- 'Capfile' | ||
- 'config/deploy/*' | ||
- 'lib/hydra-file_characterization.rb' | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: Max. | ||
RSpec/ExampleLength: | ||
Exclude: | ||
- 'spec/lib/hydra/file_characterization/to_temp_file_spec.rb' | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: AssignmentOnly. | ||
RSpec/InstanceVariable: | ||
Exclude: | ||
- 'spec/lib/hydra/file_characterization/to_temp_file_spec.rb' | ||
|
||
# Offense count: 4 | ||
# Configuration parameters: . | ||
# SupportedStyles: have_received, receive | ||
RSpec/MessageSpies: | ||
EnforcedStyle: receive | ||
|
||
# Offense count: 9 | ||
# Configuration parameters: IgnoreSharedExamples. | ||
RSpec/NamedSubject: | ||
Exclude: | ||
- 'spec/lib/hydra/file_characterization/characterizer_spec.rb' | ||
- 'spec/lib/hydra/file_characterization/characterizers/ffprobe_spec.rb' | ||
- 'spec/lib/hydra/file_characterization/characterizers/fit_servlet_spec.rb' | ||
- 'spec/lib/hydra/file_characterization/characterizers/fits_spec.rb' | ||
- 'spec/lib/hydra/file_characterization/characterizers_spec.rb' | ||
- 'spec/lib/hydra/file_characterization/to_temp_file_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowedChars. | ||
Style/AsciiComments: | ||
Exclude: | ||
- 'lib/hydra/file_characterization.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: MinBodyLength. | ||
Style/GuardClause: | ||
Exclude: | ||
- 'lib/hydra/file_characterization/characterizers.rb' |
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
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,4 @@ | ||
# frozen_string_literal: true | ||
require "bundler/gem_tasks" | ||
require 'rspec/core' | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# -*- encoding: utf-8 -*- | ||
# frozen_string_literal: true | ||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'hydra/file_characterization/version' | ||
|
@@ -12,23 +13,24 @@ Gem::Specification.new do |gem| | |
"Sue Richeson", | ||
"Rajesh Balekai" | ||
] | ||
gem.email = [ | ||
gem.email = [ | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]" | ||
] | ||
gem.description = %q{To provide a wrapper for file characterization} | ||
gem.summary = %q{To provide a wrapper for file characterization} | ||
gem.description = 'To provide a wrapper for file characterization' | ||
gem.summary = 'To provide a wrapper for file characterization' | ||
gem.homepage = "https://github.com/projecthydra/hydra-file_characterization" | ||
gem.license = "APACHE2" | ||
|
||
gem.files = `git ls-files`.split($/) | ||
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } | ||
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) | ||
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) } | ||
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) | ||
gem.require_paths = ["lib"] | ||
|
||
gem.add_dependency "activesupport", ">= 3.0.0" | ||
gem.add_development_dependency 'bixby', '~> 3.0.0' | ||
gem.add_development_dependency 'coveralls' | ||
gem.add_development_dependency 'github_changelog_generator' | ||
gem.add_development_dependency "guard" | ||
|
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 +1,2 @@ | ||
# frozen_string_literal: true | ||
require "hydra/file_characterization" |
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
Oops, something went wrong.