template_params.gemspec in template_params-0.1.0 vs template_params.gemspec in template_params-0.1.1
- old
+ new
@@ -1,22 +1,26 @@
# coding: utf-8
-lib = File.expand_path('../lib', __FILE__)
+# frozen_string_literal: true
+lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require 'template_params/version'
+require "template_params/version"
Gem::Specification.new do |spec|
- spec.name = "template_params"
- spec.version = TemplateParams::VERSION
- spec.authors = ["Jared Beck"]
- spec.email = ["jared@jaredbeck.com"]
- spec.summary = "Parameter assertions for your view templates"
- spec.homepage = "https://github.com/jaredbeck/template_params"
- spec.license = "MIT"
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
- spec.bindir = "exe"
- spec.executables = []
+ spec.name = "template_params"
+ spec.version = TemplateParams::VERSION
+ spec.authors = ["Jared Beck"]
+ spec.email = ["jared@jaredbeck.com"]
+ spec.summary = "Parameter assertions for your view templates"
+ spec.homepage = "https://github.com/jaredbeck/template_params"
+ spec.license = "MIT"
+ spec.files = `git ls-files -z`.
+ split("\x0").
+ reject { |f| f.match(%r{^(test|spec|features)/}) }
+ spec.bindir = "exe"
+ spec.executables = []
spec.require_paths = ["lib"]
spec.add_runtime_dependency "method_source", "~> 0.8.2"
spec.add_development_dependency "bundler", "~> 1.10"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec"
+ spec.add_development_dependency "rubocop"
end