Sha256: 2dfc857f407b61008af9b0671ec0c27c0597976b7bce9371595db3e5e1912c93

Contents?: true

Size: 1.63 KB

Versions: 1

Compression:

Stored size: 1.63 KB

Contents

# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "execute_with_rescue/version"

Gem::Specification.new do |spec|
  spec.name          = "execute_with_rescue"
  spec.version       = ExecuteWithRescue::VERSION
  spec.authors       = ["PikachuEXE"]
  spec.email         = ["pikachuexe@gmail.com"]
  spec.summary       = <<-SUMMARY
    Execute code without writting rescue in methods with before and after hooks.
    You can also create some extensions yourself.
  SUMMARY
  spec.description = <<-DESC
    Saves your from writing `begin...rescue...ensure...end` everywhere.
    This assumes you know how to use `rescue_from` not just within a controller.
  DESC
  spec.homepage      = "http://github.com/PikachuEXE/execute_with_rescue"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]

  spec.add_dependency "activesupport", ">= 4.1.0", "< 6.0.0"

  spec.add_development_dependency "bundler", "~> 1.5"
  spec.add_development_dependency "rake", ">= 10.0", "<= 13.0"
  spec.add_development_dependency "appraisal", "~> 2.0"
  spec.add_development_dependency "rspec", "~> 3.0"
  spec.add_development_dependency "rspec-its", "~> 1.0"
  spec.add_development_dependency "coveralls", ">= 0.7"
  spec.add_development_dependency "gem-release", ">= 0.7"
  spec.add_development_dependency "rubocop", "~> 0.30"

  spec.required_ruby_version = ">= 2.2.0"

  spec.required_rubygems_version = ">= 1.4.0"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
execute_with_rescue-0.0.3 execute_with_rescue.gemspec