wcc-media-client 0.7.1 → 0.7.3

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: 886c5928424748c983f732a1b3837533d82f5fd4443d22dc1b4a9600c40acb5e
4
- data.tar.gz: f0ad07289d0519e45937967500478e5ca1adfa4983f785f7d64682dc6bea7657
3
+ metadata.gz: ffa4d731ad632b8840162bd0b6dbacd25e35859a43674a8fd5592fd9227ae7b1
4
+ data.tar.gz: '038fea66b28f04ded26c895e8d0b9f180e22bddf35c6715a2bd702994a22c38e'
5
5
  SHA512:
6
- metadata.gz: d1dcc8cd488fe14a6814df1b99b44bb39deae93e3bf09704769f15feb44115af37cd8247ad161637d6c7d42c1ac10981174931d7cea96220483c0654c42a36fa
7
- data.tar.gz: 834460223c5b64f26eedeb0321b1e6c93b53e61dcd959e1bf84e6a93e75fcc510b083710d9fc97384c3464e49e9d5603d47435c5780fe4d4deb400a24ad5b206
6
+ metadata.gz: be59b77d488af4dbd2131003a819b2cc8457da8a9b696c9eaca6b86978c00b292a94426b09da7c91a9eb47415d35116ae0ea3ed949129b6cbf23517fdd72dec7
7
+ data.tar.gz: dd3fcbca9eaf11727855779a5da9c06ea61a4a17477369c497878a6a0e49a14b6ef15a815c3159ca39a8fb2040a7d74c57e2cbd4ebeadd7c76973d5f0033f752
@@ -35,7 +35,7 @@ module WCC::Media::ActiveRecordShim
35
35
  end
36
36
 
37
37
  def find_all(**filters)
38
- WCC::Media::Client.default.public_send(endpoint).list(filters)
38
+ WCC::Media::Client.default.public_send(endpoint).list(**filters)
39
39
  end
40
40
 
41
41
  def find_by(**filters)
@@ -14,6 +14,7 @@ class WCC::Media::Series < WCC::Media::Base
14
14
  scripture_book_id
15
15
  title_like
16
16
  legacy_id
17
+ hide_from_internal_search
17
18
  ]
18
19
  end
19
20
 
@@ -25,12 +26,17 @@ class WCC::Media::Series < WCC::Media::Base
25
26
  show_landing_page
26
27
  date_range
27
28
  messages_count
29
+ hide_from_internal_search
28
30
  ].each do |att|
29
31
  define_method att do
30
32
  raw[att]
31
33
  end
32
34
  end
33
35
 
36
+ def hide_from_internal_search
37
+ raw['flags']['hide_from_internal_search'] || false
38
+ end
39
+
34
40
  %w[
35
41
  images
36
42
  series_type
@@ -2,6 +2,6 @@
2
2
 
3
3
  module WCC
4
4
  module Media
5
- VERSION = '0.7.1'
5
+ VERSION = '0.7.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcc-media-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watermark Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-29 00:00:00.000000000 Z
11
+ date: 2023-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wcc-api
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  requirements: []
75
- rubygems_version: 3.4.11
75
+ rubygems_version: 3.1.6
76
76
  signing_key:
77
77
  specification_version: 4
78
78
  summary: ''