haveapi 0.23.2 → 0.23.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/haveapi.gemspec +1 -1
- data/lib/haveapi/actions/paginable.rb +4 -2
- data/lib/haveapi/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec3e885f9f94f90e0a8289cbe608c046dd900f8f05f585db389d9f717a206c6f
|
4
|
+
data.tar.gz: a754784e6e2a2de5a80e8cd2a8d0c9f8f0c870538962f57129044e029e887767
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad48b1b480282aaa0567f72a9ff0c8f0a9b7ff5147c2b46fd08cf49baad791d99d4ea5d6d8ceae586140f4a6fca2fb5723996af28f2f85918c4a957ce3cfc025
|
7
|
+
data.tar.gz: eb9ec6e13e09f2b634613a2c59a515fb86b2d58d22f8866f506c3e36a328b4c3626ea33ed525eb524f20b626bf5e7aea7eb01b1ad9095363480280c7293d0159
|
data/haveapi.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
|
17
17
|
s.add_runtime_dependency 'activesupport', '>= 7.1'
|
18
18
|
s.add_runtime_dependency 'github-markdown'
|
19
|
-
s.add_runtime_dependency 'haveapi-client', '~> 0.23.
|
19
|
+
s.add_runtime_dependency 'haveapi-client', '~> 0.23.3'
|
20
20
|
s.add_runtime_dependency 'json'
|
21
21
|
s.add_runtime_dependency 'mail'
|
22
22
|
s.add_runtime_dependency 'nesty', '~> 1.0'
|
@@ -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
|
-
|
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
|
data/lib/haveapi/version.rb
CHANGED
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.
|
4
|
+
version: 0.23.3
|
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.
|
47
|
+
version: 0.23.3
|
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.
|
54
|
+
version: 0.23.3
|
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.
|
346
|
+
rubygems_version: 3.5.9
|
347
347
|
signing_key:
|
348
348
|
specification_version: 4
|
349
349
|
summary: Framework for creating self-describing APIs
|