diff --git a/apia.gemspec b/apia.gemspec index a695cb5..8842c73 100644 --- a/apia.gemspec +++ b/apia.gemspec @@ -13,6 +13,6 @@ Gem::Specification.new do |s| s.authors = ['Adam Cooke'] s.email = ['adam@k.io'] s.licenses = ['MIT'] - s.add_runtime_dependency 'json' - s.add_runtime_dependency 'rack' + s.add_dependency 'json' + s.add_dependency 'rack' end diff --git a/lib/apia/dsls/endpoint.rb b/lib/apia/dsls/endpoint.rb index df939e3..f9a8d18 100644 --- a/lib/apia/dsls/endpoint.rb +++ b/lib/apia/dsls/endpoint.rb @@ -69,7 +69,7 @@ def field(name, *args, type: nil, **options, &block) field :pagination, type: PaginationObject end - super(name, *args, type: type, **options, &block) + super end def fields(fieldset)