wcc-media-client 0.7.0 → 0.7.2

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: c3ded80f5c2f0db54965af27eacaad2bf7f78b0daf8f8e52979205f5d79cac1a
4
- data.tar.gz: d7fe5b6207e5b97d520d3615ce0d17d94bfdf7a760621cbca0d5d227b8d6e702
3
+ metadata.gz: b8b5467eab4358be59b0934f4f69f57687efb5053e6e9aa2a1281a2560ebe9d1
4
+ data.tar.gz: 7bc3cb6241469789224edf05112a1e21fed4fb14492d1a141eb6d63b61870a57
5
5
  SHA512:
6
- metadata.gz: 78db8c5105186be203f6ce8e3017c8714137e4f163b29c37e0793246bb2e5b49c1c752a1dbd68774b73002fedd51de253a53a11f1129be8f98c0435bbb9b3235
7
- data.tar.gz: ce354d84eac11a10703d735aab7ebb1dbeee754b4ec58979f2d93fe081a52984e9758f5fb20a15fbadcfae160e21a863cb99da0ff957b254dcd4ed6d222cd2d8
6
+ metadata.gz: 94e7cb89e78e1a01607927c34ab5101b81d7aee2d85597ade55a9d28b770c6b1d3db4c41f4b9237c389aa8cb4759d18884043cf1b4981e394c26248221169226
7
+ data.tar.gz: 1cb6a11ae0f147035528a722fb835e2d1d92adf812b0b21c09e89006ec08eb1748ead408e80e3ada939ab852a59beddc77a6db96d7393f86785b310d314a5f3d
@@ -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,15 +26,21 @@ 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
43
+ meta
37
44
  ].each do |att|
38
45
  define_method att do
39
46
  OpenStruct.new(raw[att]) if raw[att]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module WCC
4
4
  module Media
5
- VERSION = '0.7.0'
5
+ VERSION = '0.7.2'
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.0
4
+ version: 0.7.2
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-14 00:00:00.000000000 Z
11
+ date: 2023-09-29 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.1.6
75
+ rubygems_version: 3.4.11
76
76
  signing_key:
77
77
  specification_version: 4
78
78
  summary: ''