et_fake_ccd 0.1.8 → 0.1.9

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: 7682ef686f9e5a2a30a6ffac4a7a9f4e0d22d067b91bd741bfab37551e627e85
4
- data.tar.gz: eac92c52598898d3757d2a9d267f8b9f4c7f6bd50aab311840f4eb2fbb8a7305
3
+ metadata.gz: c6559c178a9bf5ef8d716a02ba2e12d875164c19d39808faaf5b579345fd64e0
4
+ data.tar.gz: 62a2b9953a81c755bda04dffd052231c4457e1fecf18eb8f1950ff79f844efb1
5
5
  SHA512:
6
- metadata.gz: 9d3d2169a3ecf70d4931cec05cb50e1d9c7769f46a1260e013b0e26b2d1ae56a9caf45104c1d896500a044666c3049cfcbc0a311264799efa92da830bb6fceff
7
- data.tar.gz: dd7db76403c0e3e12b4500cb2656aae4723922a350bfbf23524b2f62042e5962ecfa8811eaea8b476432402c92234eb5c31f1aed097df4e6cf9933aa6da3e4ae
6
+ metadata.gz: 8190fbd904d2a22a546c92429e9f005cef19ff4a535862c61147906d5c9acac4991fce10320e08e79fee70495243164e0d86e39d8e36cd80bacac3ecae627799
7
+ data.tar.gz: 8edb6a5ac27819dd14d13a8d772678adc1750593e269acde8e0aeb9c2b4c05c3e7a5df4db1667106aec9bfc237ba5181f0ad795028cecdbb251442527844c099
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_fake_ccd (0.1.8)
4
+ et_fake_ccd (0.1.9)
5
5
  activemodel (~> 5.2, >= 5.2.3)
6
6
  roda (~> 3.21)
7
7
  rotp (~> 5.1)
@@ -50,7 +50,7 @@ module EtFakeCcd
50
50
 
51
51
  def fetch_all(jid:, ctid:, filters: {}, page: 1, sort_direction: 'asc', page_size: 25)
52
52
  hash = data.dig(jid, ctid)
53
- return [] if hash.nil? || hash.empty?
53
+ return {} if hash.nil? || hash.empty?
54
54
 
55
55
  filtered_list = filter(hash, filters: filters)
56
56
  sorted_list = sort(filtered_list, sort_direction: sort_direction)
@@ -1,3 +1,3 @@
1
1
  module EtFakeCcd
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: et_fake_ccd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor