breadcrumbs.gemspec in breadcrumbs-0.1.7 vs breadcrumbs.gemspec in breadcrumbs-0.2.0
- old
+ new
@@ -1,27 +1,38 @@
-# -*- encoding: utf-8 -*-
-$:.push File.expand_path("../lib", __FILE__)
-require "breadcrumbs/version"
+# frozen_string_literal: true
+require "./lib/breadcrumbs/version"
+
Gem::Specification.new do |s|
s.name = "breadcrumbs"
s.version = Breadcrumbs::Version::STRING
s.platform = Gem::Platform::RUBY
s.authors = ["Nando Vieira"]
s.email = ["fnando.vieira@gmail.com"]
s.homepage = "http://rubygems.org/gems/breadcrumbs"
- s.summary = "Breadcrumbs is a simple plugin that adds a `breadcrumbs` object to controllers and views."
+ s.summary = "Breadcrumbs is a simple plugin that adds a `breadcrumbs` " \
+ "object to controllers and views."
s.description = s.summary
+ s.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.executables = `git ls-files -- bin/*`
+ .split("\n")
+ .map {|f| File.basename(f) }
s.require_paths = ["lib"]
+ s.add_dependency "actionview"
+ s.add_dependency "activesupport"
s.add_dependency "i18n"
- s.add_development_dependency "nokogiri"
s.add_development_dependency "actionpack"
+ s.add_development_dependency "bundler"
+ s.add_development_dependency "minitest-utils"
s.add_development_dependency "mocha"
+ s.add_development_dependency "nokogiri"
+ s.add_development_dependency "pry-meta"
s.add_development_dependency "rake"
- s.add_development_dependency "test-unit"
+ s.add_development_dependency "rubocop"
+ s.add_development_dependency "rubocop-fnando"
+ s.add_development_dependency "simplecov"
end