File: money.gemspec

package info (click to toggle)
ruby-money 7.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 352 kB
  • sloc: ruby: 1,151; makefile: 7
file content (32 lines) | stat: -rw-r--r-- 1,235 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# frozen_string_literal: true

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

Gem::Specification.new do |s|
  s.name        = "money"
  s.version     = Money::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ['Shane Emmons', 'Anthony Dmitriyev']
  s.email       = ['shane@emmons.io', 'anthony.dmitriyev@gmail.com']
  s.homepage    = "https://rubymoney.github.io/money"
  s.summary     = "A Ruby Library for dealing with money and currency conversion."
  s.description = "A Ruby Library for dealing with money and currency conversion."
  s.license     = "MIT"

  s.add_dependency "bigdecimal"
  s.add_dependency "i18n", "~> 1.9"

  s.required_ruby_version = ">= 3.1"

  s.files         = `git ls-files -z -- config/* lib/* CHANGELOG.md LICENSE money.gemspec README.md`.split("\x0")
  s.require_paths = ["lib"]

  if s.respond_to?(:metadata)
    s.metadata['changelog_uri'] = 'https://github.com/RubyMoney/money/blob/main/CHANGELOG.md'
    s.metadata['source_code_uri'] = 'https://github.com/RubyMoney/money/'
    s.metadata['bug_tracker_uri'] = 'https://github.com/RubyMoney/money/issues'
    s.metadata['rubygems_mfa_required'] = 'true'
  end
end