-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rubocop #38
base: master
Are you sure you want to change the base?
Rubocop #38
Conversation
You used a very different rubocop ruleset than we use in other Hoppinger projects. For instance you changed all quotations to double quotes while the latest default rubocop ruleset uses single quotes simple strings. |
Also in the readme single quotes have been changed where it should be a single code. |
@@ -20,3 +20,4 @@ tmp | |||
*.o | |||
*.a | |||
mkmf.log | |||
.DS_Store |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Marthyn Please add this to your personal global .gitignore
file.
I thought I got the rubocop file from the dotfiles repo, but I'll check again Sent from my iPhone On Wed, Jun 10, 2015 at 8:16 AM -0700, "Sebastiaan" [email protected] wrote: Reply to this email directly or view it on GitHub: |
@@ -10,7 +10,7 @@ This library is part of the [**WP on Rails**](https://github.com/wponrails) proj | |||
|
|||
To prepare a WP installation to be used in a **WP on Rails** architecture the [**wp-relinquish**](https://github.com/wponrails/wp-relinquish) plugin is provided. It provides a means to configure WP actions to send notifications as webhook calls to a Rails application equipped with **wp-connector**. | |||
|
|||
When using **WP on Rails** the content's *master data* resides in WP's database, as that's where is it created and modified. The Rails application that is connected to WP stores merely a copy of the data, a cache, on the basis of which the public requests are served. | |||
When using **WP on Rails** the content"s *master data* resides in WP"s database, as that"s where is it created and modified. The Rails application that is connected to WP stores merely a copy of the data, a cache, on the basis of which the public requests are served. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Marthyn Here single quotes are actually valid. Regardless of the rubocop setting. Did rubocop report this as wrong inside a .md file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should run rubocop only on lib and app folders probably
Sent from my iPhone
On Wed, Jun 10, 2015 at 8:22 AM -0700, "Sebastiaan" [email protected] wrote:
@@ -10,7 +10,7 @@ This library is part of the WP on Rails proj
To prepare a WP installation to be used in a WP on Rails architecture the wp-relinquish plugin is provided. It provides a means to configure WP actions to send notifications as webhook calls to a Rails application equipped with wp-connector.
-When using WP on Rails the content's master data resides in WP's database, as that's where is it created and modified. The Rails application that is connected to WP stores merely a copy of the data, a cache, on the basis of which the public requests are served.
+When using WP on Rails the content"s master data resides in WP"s database, as that"s where is it created and modified. The Rails application that is connected to WP stores merely a copy of the data, a cache, on the basis of which the public requests are served.
@Marthyn Here single quotes are actually valid. Regardless of the rubocop setting. Did rubocop report this as wrong inside a .md file?
Reply to this email directly or view it on GitHub:
https://github.com/wponrails/wp-connector/pull/38/files#r32129172
a22540f
to
5ece33b
Compare
I rebased out the non lib/app files. |
👍 |
Since at Hoppinger we use rubocop now, i decided while reading the code to fix some issues. I was a little lenient wit AbcSize and Methodlength