haveapi 0.23.2 → 0.23.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0aa11eba96b789b794f330f04fc0d83a6820bef8dcb049ae3e9e8ab6a44260d2
4
- data.tar.gz: e7af2470dc6267371241a9cacdbfe8fc7bd8ef6dfc01d4c7028062b2fd693beb
3
+ metadata.gz: 9da91ee7044eeb2353c785a9f1b128ae19f349d8ac63296a3e1f8c2c825779ca
4
+ data.tar.gz: 2bb08fb12036047a8f75b401d71480e1ef8af1255836c0dff0686d7dd5063eca
5
5
  SHA512:
6
- metadata.gz: 138a5423132543912b986c7b5ece46f2e007f0da70e1dd01ce9aed622e811d8c2a21c2a14a16dec012668673e1c9e9592326026e52274ddabc8c3f96c0eef84a
7
- data.tar.gz: 9d96e7a6048db84cfecba31c2f3dc5433c5c59350d3a2e85092dafbc9e34ea28eb28f601f95f7b1171082d1b72d59efc546ab15c04893fe887bd824a93ccd55d
6
+ metadata.gz: 52472fd4dddc449bcfe7602a9cfd5f508c01bdb13b90061c29409f85087345ed00ef5ad2c19373cfaae9fcb8eccbae918ca575084dd98cff2652bcce8a5baf7d
7
+ data.tar.gz: d2e9a398e6585d327ad7f0b80bbda7ba2e891b4789efc57524edf42d94b43de374503fcb628a6b035bf0db13943265e319745b61df0eb179619da8f4293eac67
data/haveapi.gemspec CHANGED
@@ -14,17 +14,17 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.required_ruby_version = ">= #{File.read('../../.ruby-version').strip}"
16
16
 
17
- s.add_runtime_dependency 'activesupport', '>= 7.1'
18
- s.add_runtime_dependency 'github-markdown'
19
- s.add_runtime_dependency 'haveapi-client', '~> 0.23.2'
20
- s.add_runtime_dependency 'json'
21
- s.add_runtime_dependency 'mail'
22
- s.add_runtime_dependency 'nesty', '~> 1.0'
23
- s.add_runtime_dependency 'rack-oauth2', '~> 2.2.0'
24
- s.add_runtime_dependency 'rake'
25
- s.add_runtime_dependency 'redcarpet', '~> 3.6'
26
- s.add_runtime_dependency 'require_all', '~> 2.0.0'
27
- s.add_runtime_dependency 'sinatra', '~> 3.1.0'
28
- s.add_runtime_dependency 'sinatra-contrib', '~> 3.1.0'
29
- s.add_runtime_dependency 'tilt', '~> 2.3.0'
17
+ s.add_dependency 'activesupport', '>= 7.1'
18
+ s.add_dependency 'github-markdown'
19
+ s.add_dependency 'haveapi-client', '~> 0.23.4'
20
+ s.add_dependency 'json'
21
+ s.add_dependency 'mail'
22
+ s.add_dependency 'nesty', '~> 1.0'
23
+ s.add_dependency 'rack-oauth2', '~> 2.2.0'
24
+ s.add_dependency 'rake'
25
+ s.add_dependency 'redcarpet', '~> 3.6'
26
+ s.add_dependency 'require_all', '~> 2.0.0'
27
+ s.add_dependency 'sinatra', '~> 3.1.0'
28
+ s.add_dependency 'sinatra-contrib', '~> 3.1.0'
29
+ s.add_dependency 'tilt', '~> 2.3.0'
30
30
  end
@@ -2,8 +2,10 @@ module HaveAPI::Actions
2
2
  module Paginable
3
3
  def self.included(action)
4
4
  action.input do
5
- integer :offset, label: 'Offset', desc: 'The offset of the first object'
6
- integer :limit, label: 'Limit', desc: 'The number of objects to retrieve'
5
+ integer :offset, label: 'Offset', desc: 'The offset of the first object',
6
+ number: { min: 0 }
7
+ integer :limit, label: 'Limit', desc: 'The number of objects to retrieve',
8
+ number: { min: 0 }
7
9
  end
8
10
  end
9
11
  end
@@ -1,4 +1,4 @@
1
1
  module HaveAPI
2
2
  PROTOCOL_VERSION = '2.0'.freeze
3
- VERSION = '0.23.2'.freeze
3
+ VERSION = '0.23.4'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haveapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.2
4
+ version: 0.23.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Skokan
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.23.2
47
+ version: 0.23.4
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.23.2
54
+ version: 0.23.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: json
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -343,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
343
343
  - !ruby/object:Gem::Version
344
344
  version: '0'
345
345
  requirements: []
346
- rubygems_version: 3.4.22
346
+ rubygems_version: 3.5.9
347
347
  signing_key:
348
348
  specification_version: 4
349
349
  summary: Framework for creating self-describing APIs