bundler-dependencies.gemspec in bundler-dependencies-0.5.1 vs bundler-dependencies.gemspec in bundler-dependencies-0.6.0

- old
+ new

@@ -13,11 +13,11 @@ spec.homepage = 'https://github.com/dvandersluis/bundler-dependencies' # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' # to allow pushing to a single host or delete this section to allow pushing to any host. if spec.respond_to?(:metadata) - spec.metadata['allowed_push_host'] = "https://rubygems.org" + spec.metadata['allowed_push_host'] = 'https://rubygems.org' spec.metadata['homepage_uri'] = spec.homepage spec.metadata['source_code_uri'] = spec.homepage spec.metadata['changelog_uri'] = "#{spec.homepage}/CHANGES.md" else @@ -29,11 +29,11 @@ # The `git ls-files -z` loads the files in the RubyGem that have been added into git. spec.files = Dir.chdir(File.expand_path(__dir__)) do `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } end - glob = lambda { |patterns| spec.files & Dir[*patterns] } + glob = -> (patterns) { spec.files & Dir[*patterns] } spec.executables = glob['bin/bundle*'].map { |path| File.basename(path) } spec.default_executable = spec.executables.first if Gem::VERSION < '1.7.' spec.require_paths = ['lib'] @@ -41,8 +41,6 @@ spec.add_dependency 'thor', '~> 0.20.3' spec.add_development_dependency 'pry', '~> 0.12.2' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0' - spec.add_development_dependency 'rubocop', '~> 0.76.0' - spec.add_development_dependency 'rubocop-rspec', '~> 1.36.0' end