-
Notifications
You must be signed in to change notification settings - Fork 7
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
14 changed files
with
114 additions
and
65 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,54 @@ | ||
Documentation: | ||
Enabled: true | ||
|
||
AllCops: | ||
Include: | ||
- "**/Rakefile" | ||
- "**/config.ru" | ||
Exclude: | ||
- "db/**/*" | ||
- "tmp/**/*" | ||
- "vendor/**/*" | ||
- "bin/**/*" | ||
- "log/**/*" | ||
RunRailsCops: true | ||
|
||
Documentation: | ||
Enabled: false | ||
Style/LineLength: | ||
Max: 145 | ||
Metrics/AbcSize: | ||
Max: 30 | ||
Metrics/BlockNesting: | ||
Max: 3 | ||
Metrics/ClassLength: | ||
CountComments: false # count full line comments? | ||
Max: 100 | ||
Metrics/CyclomaticComplexity: | ||
Max: 6 | ||
Metrics/LineLength: | ||
Max: 80 | ||
AllowURI: true | ||
URISchemes: | ||
- http | ||
- https | ||
|
||
Style/ClassAndModuleChildren: | ||
Enabled: false | ||
|
||
Metrics/MethodLength: | ||
CountComments: false # count full line comments? | ||
Max: 13 | ||
|
||
Metrics/ParameterLists: | ||
Max: 5 | ||
CountKeywordArgs: true | ||
|
||
Metrics/PerceivedComplexity: | ||
Max: 7 | ||
|
||
StringLiterals: | ||
EnforcedStyle: double_quotes | ||
|
||
Style/ClassAndModuleChildren: | ||
EnforcedStyle: nested |
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,2 +1 @@ | ||
require "bundler/gem_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 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 |
---|---|---|
|
@@ -14,7 +14,7 @@ def update_menu(json) | |
|
||
module ClassMethods | ||
def wp_type | ||
'menus' | ||
"menus" | ||
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
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 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,7 @@ | ||
require "wp_connector/version" | ||
require "wp_connector/railtie" if defined?(Rails) | ||
require "exceptions" | ||
|
||
module WpConnector | ||
class Engine < ::Rails::Engine; 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
require 'wp-connector' | ||
require "wp_connector" | ||
|
||
module WpConnector | ||
class Railtie < Rails::Railtie | ||
end | ||
|
File renamed without changes.