-
Notifications
You must be signed in to change notification settings - Fork 11
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
55 changed files
with
3,047 additions
and
2,320 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
engines: | ||
duplication: | ||
enabled: true | ||
config: | ||
languages: | ||
- ruby | ||
fixme: | ||
enabled: false | ||
rubocop: | ||
enabled: true | ||
brakeman: | ||
enabled: false | ||
ratings: | ||
paths: | ||
- "**.rb" | ||
exclude_paths: | ||
- spec/ |
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,2 @@ | ||
--color | ||
--require spec_helper |
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,20 @@ | ||
AllCops: | ||
TargetRubyVersion: 2.4 | ||
|
||
Style/StringLiterals: | ||
EnforcedStyle: double_quotes | ||
Enabled: true | ||
|
||
Style/StringLiteralsInInterpolation: | ||
EnforcedStyle: double_quotes | ||
Enabled: true | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Metrics/LineLength: | ||
Max: 100 | ||
|
||
Metrics/BlockLength: | ||
Exclude: | ||
- spec/**/*.rb |
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,11 +1,20 @@ | ||
language: ruby | ||
cache: bundler | ||
dist: trusty | ||
rvm: | ||
- ruby-2.0 | ||
- ruby-2.1 | ||
- ruby-2.2 | ||
- ruby-2.3.0 | ||
- rbx | ||
- ruby-2.3 | ||
- ruby-2.4 | ||
- rbx-3.84 | ||
- jruby | ||
before_install: | ||
- gem update --system | ||
- gem update bundler | ||
before_script: | ||
- bundle exec rubocop -D | ||
notifications: | ||
email: | ||
on_success: change | ||
on_failure: change |
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 @@ | ||
lib/addic7ed/models/**/*.rb |
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,15 +1,17 @@ | ||
source 'https://rubygems.org' | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
# The gem's dependencies will be specified in addic7ed.gemspec | ||
gemspec | ||
|
||
group :test do | ||
gem 'coveralls', require: false | ||
gem "coveralls", require: false | ||
end | ||
|
||
platforms :rbx do | ||
gem 'json' | ||
gem 'racc' | ||
gem 'rubysl' | ||
gem 'psych' | ||
gem 'iconv' | ||
gem "iconv" | ||
gem "json" | ||
gem "psych" | ||
gem "racc" | ||
gem "rubysl" | ||
end |
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,8 +1,10 @@ | ||
require 'rspec/core/rake_task' | ||
# frozen_string_literal: true | ||
|
||
require "rspec/core/rake_task" | ||
|
||
RSpec::Core::RakeTask.new(:spec) | ||
|
||
task :default => :spec | ||
task default: :spec | ||
|
||
require 'bundler' | ||
require "bundler" | ||
Bundler::GemHelper.install_tasks |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
|
||
require "bundler/setup" | ||
Bundler.require(:default, ENV["RACK_ENV"] || :development) | ||
|
||
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) | ||
|
||
$LOAD_PATH.unshift File.expand_path("lib", APP_ROOT) | ||
|
||
require "addic7ed" | ||
|
||
Pry.start |
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,7 @@ | ||
require 'addic7ed/version' | ||
require 'addic7ed/common' | ||
require 'addic7ed/services/addic7ed_version_normalizer' | ||
require 'addic7ed/services/addic7ed_comment_normalizer' | ||
require 'addic7ed/errors' | ||
require 'addic7ed/show_list' | ||
require 'addic7ed/video_file' | ||
require 'addic7ed/episode' | ||
require 'addic7ed/subtitle' | ||
require 'addic7ed/parser' | ||
# frozen_string_literal: true | ||
|
||
Dir[ | ||
File.join(File.dirname(__FILE__), "addic7ed/*.rb"), | ||
File.join(File.dirname(__FILE__), "addic7ed/services/**/*.rb"), | ||
File.join(File.dirname(__FILE__), "addic7ed/models/**/*.rb") | ||
].each { |file| require file } |
Oops, something went wrong.