pragma-operation.gemspec in pragma-operation-1.6.3 vs pragma-operation.gemspec in pragma-operation-2.0.0
- old
+ new
@@ -1,35 +1,32 @@
-# coding: utf-8
+# frozen_string_literal: true
+
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pragma/operation/version'
Gem::Specification.new do |spec|
- spec.name = "pragma-operation"
+ spec.name = 'pragma-operation'
spec.version = Pragma::Operation::VERSION
- spec.authors = ["Alessandro Desantis"]
- spec.email = ["desa.alessandro@gmail.com"]
+ spec.authors = ['Alessandro Desantis']
+ spec.email = ['desa.alessandro@gmail.com']
spec.summary = 'Business logic encapsulation for your JSON API.'
- spec.homepage = "https://github.com/pragmarb/pragma-operation"
- spec.license = "MIT"
+ spec.homepage = 'https://github.com/pragmarb/pragma-operation'
+ spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
- spec.bindir = "exe"
+ spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
- spec.require_paths = ["lib"]
+ spec.require_paths = ['lib']
- spec.add_dependency 'interactor', '~> 3.1.0'
+ spec.add_dependency 'trailblazer-operation', '~> 0.0'
- spec.add_development_dependency 'pragma-policy', '~> 0.1.0'
- spec.add_development_dependency 'pragma-contract', '~> 0.1.0'
- spec.add_development_dependency 'pragma-decorator', '~> 0.1.0'
-
- spec.add_development_dependency "bundler"
- spec.add_development_dependency "rake"
- spec.add_development_dependency "rspec"
- spec.add_development_dependency "rubocop"
- spec.add_development_dependency "rubocop-rspec"
- spec.add_development_dependency "coveralls"
+ spec.add_development_dependency 'bundler'
+ spec.add_development_dependency 'rake'
+ spec.add_development_dependency 'rspec'
+ spec.add_development_dependency 'rubocop'
+ spec.add_development_dependency 'rubocop-rspec'
+ spec.add_development_dependency 'coveralls'
end