-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
grape-idempotency.gemspec
32 lines (25 loc) · 1.35 KB
/
grape-idempotency.gemspec
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
$LOAD_PATH.push File.expand_path('lib', __dir__)
require 'grape/idempotency/version'
Gem::Specification.new do |spec|
spec.name = 'grape-idempotency'
spec.version = Grape::Idempotency::VERSION
spec.authors = ['Juan Carlos García']
spec.email = ['jugade92@gmail.com']
spec.description = 'Add idempotency support to your Grape APIs for safely retrying requests without accidentally performing the same operation twice. When creating or updating an object, use an idempotency key. Then, if a connection error occurs, you can safely repeat the request without risk of creating a second object or performing the update twice.'
spec.summary = 'Gem for supporting idempotency in your Grape APIs'
spec.homepage = 'https://github.com/jcagarcia/grape-idempotency'
spec.license = 'MIT'
files = Dir["lib/**/*.rb"]
rootfiles = ["CHANGELOG.md", "grape-idempotency.gemspec", "Rakefile", "README.md"]
spec.files = rootfiles + files
spec.executables = []
spec.require_paths = ["lib"]
spec.required_ruby_version = '>= 2.6'
spec.add_runtime_dependency 'grape', '>= 1'
spec.add_runtime_dependency 'redis', '>= 4'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rack-test'
spec.add_development_dependency 'mock_redis'
end