Skip to content
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

updating for Ruby style guide #81

Merged
merged 2 commits into from
Apr 1, 2016
Merged

Conversation

sepulworld
Copy link
Owner

No description provided.

@@ -69,7 +69,7 @@
end

it "records the fixture for repo package search with dependencies" do
repo_api.repo_package_query({:name => 'stable-repo', :withDeps => true})
repo_api.repo_package_query({:name => 'stable-repo', :with_deps => true})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant curly braces around a hash parameter.
Use the new Ruby 1.9 hash syntax.
Use 2 (not 1) spaces for indentation.
Space inside { missing.
Space inside } missing.

@@ -57,6 +57,7 @@ def parse_names(names, label_type)
repos_to_publish << { label_type.to_s => k }
end
end
return repos_to_publish

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant return detected.

@sepulworld sepulworld merged commit 72d9687 into master Apr 1, 2016
@sepulworld sepulworld deleted the zmw/update_ruby_style_repo_lib branch June 11, 2016 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants