-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update based on latest foreman_plugin_template
- Loading branch information
Showing
9 changed files
with
106 additions
and
54 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,39 @@ | ||
require: | ||
- rubocop-performance | ||
- rubocop-rails | ||
- rubocop-minitest | ||
|
||
AllCops: | ||
TargetRubyVersion: 2.5 | ||
TargetRailsVersion: 6.0 | ||
Exclude: | ||
- 'node_modules/**/*' | ||
- 'vendor/**/*' | ||
|
||
Layout/ArgumentAlignment: | ||
EnforcedStyle: with_fixed_indentation | ||
IndentationWidth: 2 | ||
|
||
Layout/EmptyLineAfterGuardClause: | ||
Enabled: false | ||
|
||
Layout/LineLength: | ||
Enabled: 111 # TODO: discuss and set this | ||
|
||
Rails: | ||
Enabled: true | ||
|
||
Style/Alias: | ||
EnforcedStyle: prefer_alias_method | ||
|
||
# Don't enforce documentation | ||
Style/Documentation: | ||
Enabled: false | ||
|
||
# Don't enforce frozen string literals | ||
Style/FrozenStringLiteralComment: | ||
Enabled: false | ||
|
||
# Support both ruby19 and hash_rockets | ||
Style/HashSyntax: | ||
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
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,3 @@ | ||
module.exports = { | ||
presets: ['@theforeman/builder/babel'], | ||
module.exports = { | ||
presets: ['@theforeman/builder/babel'], | ||
}; |
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,22 +1,27 @@ | ||
require File.expand_path('lib/foreman_theme_satellite/version', __dir__) | ||
require 'date' | ||
require File.expand_path('../lib/foreman_theme_satellite/version', __FILE__) | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "foreman_theme_satellite" | ||
s.name = 'foreman_theme_satellite' | ||
s.version = ForemanThemeSatellite::VERSION | ||
s.date = Date.today.to_s | ||
s.authors = ["Alon Goldboim, Shimon Stein"] | ||
s.email = ["[email protected]"] | ||
s.homepage = "https://github.com/alongoldboim/foreman_theme_satellite" | ||
s.summary = "This is a plugin that enables building a theme for Foreman." | ||
s.metadata = { "is_foreman_plugin" => "true" } | ||
s.license = 'GPL-3.0' | ||
s.authors = ['Alon Goldboim, Shimon Stein'] | ||
s.email = ['[email protected]'] | ||
s.homepage = 'https://github.com/theforeman/foreman_theme_satellite' | ||
s.summary = 'This is a plugin that enables building a theme for Foreman.' | ||
# also update locale/gemspec.rb | ||
s.description = "Theme changes for Satellite 6." | ||
s.description = 'Theme changes for Satellite 6.' | ||
s.files = Dir['{app,config,db,lib,locale,webpack}/**/*'] + | ||
['LICENSE', 'Rakefile', 'README.md'] + | ||
['package.json'] | ||
s.files -= Dir['**/*.orig'] | ||
s.test_files = Dir['test/**/*'] | ||
s.test_files -= Dir['test/**/*.orig'] | ||
s.test_files = Dir['test/**/*'] + Dir['webpack/**/__tests__/*.js'] | ||
|
||
s.add_dependency "deface" | ||
s.add_dependency "activesupport" | ||
s.add_development_dependency 'rubocop' | ||
s.add_development_dependency 'rubocop-minitest' | ||
s.add_development_dependency 'rubocop-performance' | ||
s.add_development_dependency 'rubocop-rails' | ||
s.add_development_dependency 'rdoc' | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
require "foreman_theme_satellite/version" | ||
require "foreman_theme_satellite/engine" | ||
require 'foreman_theme_satellite/engine' | ||
|
||
module ForemanThemeSatellite | ||
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