pack_api 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 812d0a22324e3abdf75b0f366a025f24151fb2ce3b57c1a10e139af3afbb0717
|
|
4
|
+
data.tar.gz: ac35bbd7e7dd0d27616df5864e61339bbf0de52e7a622888a165bdf5b0f4a298
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9157fd79e2bf9d06cd2d779f3882457051cfd920cdeac8b6d205d4c5b0801c000ebd5da63379922ee8f2c4b6de3e7f7b2426107068f67de0de42d2b85293c5ec
|
|
7
|
+
data.tar.gz: 2fd2afbc5033aae8084401a2fd251beebf060a100aae0cb4092fbc6ea5e135832fc39460939aa36c570c2cc22f636fe132f4380562ab6a6f2031c7f29b33ee33
|
|
@@ -113,7 +113,7 @@ module PackAPI
|
|
|
113
113
|
end
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
-
it 'supports sorting by API attributes only' do
|
|
116
|
+
it 'supports sorting by API attributes only', if: options[:supports_sort] do
|
|
117
117
|
resources.each_with_index { |resource, index| resource.update(model_id_attribute => format('%02d', index + 1)) }
|
|
118
118
|
# when - sort by API attribute `id` in descending order
|
|
119
119
|
results = api_query_method.call(sort: { id: :desc })
|
data/lib/pack_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pack_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Flytedesk
|
|
@@ -262,14 +262,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
262
262
|
requirements:
|
|
263
263
|
- - ">="
|
|
264
264
|
- !ruby/object:Gem::Version
|
|
265
|
-
version: 3.
|
|
265
|
+
version: 3.1.0
|
|
266
266
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
267
267
|
requirements:
|
|
268
268
|
- - ">="
|
|
269
269
|
- !ruby/object:Gem::Version
|
|
270
270
|
version: '0'
|
|
271
271
|
requirements: []
|
|
272
|
-
rubygems_version:
|
|
272
|
+
rubygems_version: 4.0.6
|
|
273
273
|
specification_version: 4
|
|
274
274
|
summary: Building blocks for implementing APIs around domain models
|
|
275
275
|
test_files: []
|