Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pskl-hotfix/linterminated'
- Loading branch information
Showing
21 changed files
with
435 additions
and
342 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,46 @@ | ||
AllCops: | ||
TargetRubyVersion: 2.3 | ||
Exclude: | ||
- 'db/**/*' | ||
- 'spec/fixtures/**/*' | ||
- 'vendor/**/*' | ||
- 'bin/*' | ||
|
||
Style/IndentationWidth: | ||
Width: 2 | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Style/Encoding: | ||
Enabled: false | ||
|
||
Style/MultilineOperationIndentation: | ||
EnforcedStyle: indented | ||
|
||
Style/FirstParameterIndentation: | ||
EnforcedStyle: special_for_inner_method_call_in_parentheses | ||
|
||
Metrics/AbcSize: | ||
Max: 25 | ||
|
||
Metrics/LineLength: | ||
Max: 120 | ||
|
||
Metrics/MethodLength: | ||
Max: 40 | ||
|
||
Metrics/ClassLength: | ||
Max: 250 | ||
|
||
Metrics/ModuleLength: | ||
Max: 250 | ||
|
||
Metrics/CyclomaticComplexity: | ||
Max: 8 | ||
|
||
Metrics/PerceivedComplexity: | ||
Max: 8 | ||
|
||
Rails: | ||
Enabled: true |
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 @@ | ||
require "bundler" | ||
# frozen_string_literal: true | ||
require 'bundler' | ||
require 'rake' | ||
Bundler.setup | ||
Bundler::GemHelper.install_tasks | ||
|
||
# Import all our rake tasks | ||
FileList['tasks/**/*.rake'].each { |task| import task } | ||
FileList['tasks/**/*.rake'].each { |task| import 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,25 +1,24 @@ | ||
# -*- encoding: utf-8 -*- | ||
# frozen_string_literal: true | ||
require File.expand_path('../lib/active_admin_import/version', __FILE__) | ||
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ["Igor Fedoronchuk"] | ||
gem.email = ["fedoronchuk@gmail.com"] | ||
gem.description = "The most efficient way to import for Active Admin" | ||
gem.summary = "ActiveAdmin import based on activerecord-import gem." | ||
gem.homepage = "http://github.com/Fivell/active_admin_import" | ||
gem.authors = ['Igor Fedoronchuk'] | ||
gem.email = ['fedoronchuk@gmail.com'] | ||
gem.description = 'The most efficient way to import for Active Admin' | ||
gem.summary = 'ActiveAdmin import based on activerecord-import gem.' | ||
gem.homepage = 'http://github.com/Fivell/active_admin_import' | ||
gem.license = 'MIT' | ||
gem.files = `git ls-files`.split($\) | ||
gem.files = `git ls-files`.split($OUTPUT_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.name = "active_admin_import" | ||
gem.require_paths = ["lib"] | ||
gem.name = 'active_admin_import' | ||
gem.require_paths = ['lib'] | ||
gem.version = ActiveAdminImport::VERSION | ||
|
||
|
||
gem.add_runtime_dependency 'activerecord-import', '~> 0.13.0' | ||
gem.add_runtime_dependency 'rchardet', '~> 1.6' | ||
|
||
gem.add_runtime_dependency 'rubyzip', '~> 1.2' | ||
gem.add_dependency "rails", ">= 4.0" | ||
|
||
gem.add_dependency 'rails', '>= 4.0' | ||
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
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,9 +1,8 @@ | ||
# frozen_string_literal: true | ||
require 'rails' | ||
|
||
module ActiveAdminImport | ||
class Engine < ::Rails::Engine | ||
|
||
config.mount_at = '/' | ||
|
||
end | ||
end | ||
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
Oops, something went wrong.