blood_contracts.gemspec in blood_contracts-0.2.1 vs blood_contracts.gemspec in blood_contracts-1.0.0
- old
+ new
@@ -1,37 +1,20 @@
-
-lib = File.expand_path("../lib", __FILE__)
-$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require "blood_contracts/version"
-
Gem::Specification.new do |spec|
spec.name = "blood_contracts"
- spec.version = BloodContracts::VERSION
- spec.authors = ["Sergey Dolganov"]
- spec.email = ["dolganov@evl.ms"]
+ spec.version = "1.0.0"
+ spec.authors = ["Sergey Dolganov (sclinede)"]
+ spec.email = ["sclinede@evilmartians.com"]
- spec.summary = "Ruby gem to define and validate behavior of API using contracts."
- spec.description = "Ruby gem to define and validate behavior of API using contracts."
+ spec.summary = " Ruby gem for runtime data validation and monitoring using the contracts approach."
+ spec.description = " Ruby gem for runtime data validation and monitoring using the contracts approach."
spec.homepage = "https://github.com/sclinede/blood_contracts"
spec.license = "MIT"
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
- f.match(%r{^(test|spec|features)/})
- end
+ spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
- # Will be introduced soon
- # spec.bindir = "exe"
- # spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
- spec.require_paths = ["lib"]
+ spec.required_ruby_version = ">= 2.4"
- spec.required_ruby_version = '>= 2.2.0'
-
- spec.add_runtime_dependency "dry-initializer", "~> 2.0"
- spec.add_runtime_dependency "nanoid", "~> 0.2"
- spec.add_runtime_dependency "hashie", "~> 3.0"
-
- spec.add_development_dependency "bundler", "~> 1.16"
- spec.add_development_dependency "rake", "~> 10.0"
- spec.add_development_dependency "rspec", "~> 3.0"
- spec.add_development_dependency "pry", "~> 0.9"
+ spec.add_runtime_dependency "blood_contracts-core", "~> 0.4"
+ spec.add_runtime_dependency "blood_contracts-ext", "~> 0.1"
+ spec.add_runtime_dependency "blood_contracts-instrumentation", "~> 0.1"
end