Sha256: 8ce3b17cb9504560f2c5ae2d7793791c9111af4d195df2db3efdafa8dd04fd99

Contents?: true

Size: 1.61 KB

Versions: 3

Compression:

Stored size: 1.61 KB

Contents

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "clocklands/version"

Gem::Specification.new do |spec|
  spec.name          = "clocklands"
  spec.version       = Clocklands::VERSION
  spec.authors       = ["David Kennedy"]
  spec.email         = ["dave@dkennedy.org"]

  spec.summary       = %q{An alternative to tzinfo}
  spec.description   = %q{I'm often told that 'timezones are hard', so, taking some inspiration from 'The Good Place', I'm trying to make them easier.}
  spec.homepage      = "https://github.com/TheTeaNerd/clocklands"

  if spec.respond_to?(:metadata)
    spec.metadata["allowed_push_host"] = "https://rubygems.org"

    spec.metadata["homepage_uri"] = spec.homepage
    spec.metadata["source_code_uri"] = "https://github.com/TheTeaNerd/clocklands"
    spec.metadata["changelog_uri"] = "https://github.com/TheTeaNerd/clocklands/blob/master/CHANGELOG.md"
  else
    raise "RubyGems 2.0 or newer is required to protect against " \
      "public gem pushes."
  end

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files         = Dir.chdir(File.expand_path('..', __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.16"
  spec.add_development_dependency "rake", "~> 10.0"

  spec.add_runtime_dependency "tzinfo"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
clocklands-0.3.0 clocklands.gemspec
clocklands-0.2.0 clocklands.gemspec
clocklands-0.1.0 clocklands.gemspec