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

better coding style #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions middleman-breadcrumbs.gemspec
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
$:.push File.expand_path("../lib", __FILE__)
require "middleman-breadcrumbs/version"
require 'middleman-breadcrumbs/version'

Gem::Specification.new do |s|
s.name = "middleman-breadcrumbs"
s.name = 'middleman-breadcrumbs'
s.version = BreadcrumbsVersion::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Marnen Laibow-Koser"]
s.email = ["[email protected]"]
s.homepage = "http://github.com/marnen/middleman-breadcrumbs"
s.authors = ['Marnen Laibow-Koser']
s.email = ['[email protected]']
s.homepage = 'http://github.com/marnen/middleman-breadcrumbs'
s.summary = %q{Breadcrumbs helper for Middleman}
s.description = %q{Breadcrumbs helper for Middleman}
s.license = 'MIT'

s.required_ruby_version = '>= 2.0'

s.add_runtime_dependency "middleman", '>= 4.0.0'
s.add_runtime_dependency 'middleman', '>= 4.0.0'
[
'byebug',
['guard', '>= 2.10.5'],
'guard-minitest',
['faker', '~> 1.5.0'],
'rake'
].each {|gem| s.add_development_dependency *gem }
].each { |gem| s.add_development_dependency(*gem) }
Copy link
Owner

Choose a reason for hiding this comment

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

There's no reason for the parentheses here, and I prefer no space between { and |.


s.files = `git ls-files`.split("\n") - %w(.gitignore .hound.yml .hound.ruby.yml .travis.yml)
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = []
s.require_paths = ["lib"]
s.require_paths = ['lib']
end