Sha256: 6ace43b04c690527e380c77e6564b8d7f43efd0fbcec96c9fec9fcfbd9cfb911

Contents?: true

Size: 1.78 KB

Versions: 2

Compression:

Stored size: 1.78 KB

Contents

# frozen_string_literal: true

require_relative 'lib/smart_core/injection/version'

Gem::Specification.new do |spec|
  spec.required_ruby_version = Gem::Requirement.new('>= 2.4.10')

  spec.name    = 'smart_injection'
  spec.version = SmartCore::Injection::VERSION
  spec.authors = ['Rustam Ibragimov']
  spec.email   = ['iamdaiver@gmail.com']

  spec.summary     = 'DI principles and idioms realized in scope of Ruby'
  spec.description = 'DI principles and idioms realized in scope of Ruby.' \
                     'Support for method-injeciton strategy, ' \
                     'container-based dependency resolving, ' \
                     'static and dynamic bindings and etc.'

  spec.homepage    = 'https://github.com/smart-rb/smart_injection'
  spec.license     = 'MIT'

  spec.metadata['homepage_uri'] =
    spec.homepage
  spec.metadata['source_code_uri'] =
    'https://github.com/smart-rb/smart_injection'
  spec.metadata['changelog_uri'] =
    'https://github.com/smart-rb/smart_injection/blob/master/CHANGELOG.md'

  spec.files = Dir.chdir(File.expand_path(__dir__)) 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_runtime_dependency 'smart_engine',    '~> 0.11'
  spec.add_runtime_dependency 'smart_container', '~> 0.9'

  spec.add_development_dependency 'bundler',          '~> 2.2'
  spec.add_development_dependency 'rake',             '~> 13.0'
  spec.add_development_dependency 'rspec',            '~> 3.10'
  spec.add_development_dependency 'armitage-rubocop', '~> 1.7'
  spec.add_development_dependency 'simplecov',        '~> 0.21'
  spec.add_development_dependency 'pry',              '~> 0.13'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smart_injection-0.3.0 smart_injection.gemspec
smart_injection-0.2.0 smart_injection.gemspec