hanami-helpers/hanami-helpers.gemspec

35 lines
1.2 KiB
Ruby
Raw Permalink Normal View History

2017-11-29 16:45:13 +00:00
# frozen_string_literal: true
lib = File.expand_path("../lib", __FILE__)
Issue #105 Migrate from Minitest to RSpec (#106) * Create .rspec * Update .rubocop.yml * Update .travis.yml * Update hanami-helpers.gemspec * Update Rakefile * Create escape_helper_spec.rb * Create escape_helper_spec.rb * Create escape_helper_spec.rb * Delete escape_helper_spec.rb * Create fixtures.rb * Create version_spec.rb * Update escape_helper_spec.rb * Create html_helper_spec.rb * create form_helper_spec in progress * Create link_to_helper_spec.rb * Create routing_helper_spec.rb * Create number_formatting_helper_spec.rb * Update escape_helper_spec.rb * Create html_helper_spec * Create number_formatter_helper_spec * Create routing_helper_spec * Rename number_formatter_helper_spec to number_formatter_helper_spec.rb * Rename html_helper_spec to html_helper_spec.rb * Rename routing_helper_spec to routing_helper_spec.rb * Create form_helper_spec.rb * Create link_to_helper_spec.rb * Update .travis.yml * Update fixtures.rb * Create new.html.erb * Add files via upload * Create spec_helper.rb * Create html_builder_spec.rb * Update html_helper_spec.rb * Update escape_helper_spec.rb * Update form_helper_spec.rb * Update html_helper_spec.rb * Update escape_helper_spec.rb * Update version_spec.rb * Update * Update form_helper_spec.rb * Update html_helper_spec.rb * Update number_formatting_helper_spec.rb * clear trailing whitespace * Update spec_helper.rb * Update html_helper_spec.rb * Update hanami-helpers.gemspec * Update escape_helper_spec.rb * fix indentation issues * Update hanami-helpers.gemspec * Update Rakefile * Update form_helper_spec.rb * Update form_helper_spec.rb * Fix to skip errors about array and indent * Fix to clear CI issue This should fix this issue: test/fixtures.rb:58:5: W: Lint/AmbiguousBlockAssociation: Parenthesize the param html to make sure that the block will be associated with the + method call. (https://github.com/bbatsov/ruby-style-guide#syntax) html { div 'Hello' } + html { div 'Hanami' } ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * Update form_helper_spec.rb * Update fixtures.rb * Update fixtures.rb * Update form_helper_spec.rb * Update fixtures.rb
2017-04-11 12:23:34 +00:00
2014-05-13 16:23:13 +00:00
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
2017-11-29 16:45:13 +00:00
require "hanami/helpers/version"
2014-05-13 16:23:13 +00:00
Gem::Specification.new do |spec|
2017-11-29 16:45:13 +00:00
spec.name = "hanami-helpers"
2016-01-19 17:58:23 +00:00
spec.version = Hanami::Helpers::VERSION
2017-11-29 16:45:13 +00:00
spec.authors = ["Luca Guidi"]
spec.email = ["me@lucaguidi.com"]
spec.summary = "Hanami helpers"
spec.description = "View helpers for Ruby applications"
spec.homepage = "http://hanamirb.org"
spec.license = "MIT"
2014-05-13 16:23:13 +00:00
spec.files = `git ls-files -- lib/* CHANGELOG.md LICENSE.md README.md hanami-helpers.gemspec`.split($/)
2016-07-07 12:30:16 +00:00
2014-05-13 16:23:13 +00:00
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
2017-11-29 16:45:13 +00:00
spec.require_paths = ["lib"]
spec.metadata["rubygems_mfa_required"] = "true"
2014-05-13 16:23:13 +00:00
spec.required_ruby_version = ">= 3.0"
2014-05-13 16:23:13 +00:00
spec.add_dependency "hanami-utils", "~> 1.3"
2019-01-26 15:14:08 +00:00
spec.add_development_dependency "bundler", ">= 1.6", "< 3"
spec.add_development_dependency "dry-struct", "~> 1.1"
spec.add_development_dependency "rake", "~> 13"
2020-10-16 15:15:41 +00:00
spec.add_development_dependency "rspec", "~> 3.9"
spec.add_development_dependency "rubocop", "~> 1.0"
2014-05-13 16:23:13 +00:00
end