wcc-media-client 0.7.3 → 0.7.5

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: ffa4d731ad632b8840162bd0b6dbacd25e35859a43674a8fd5592fd9227ae7b1
4
- data.tar.gz: '038fea66b28f04ded26c895e8d0b9f180e22bddf35c6715a2bd702994a22c38e'
3
+ metadata.gz: f7933fd357d12e89fc43575a4dad5153bc9dd52dc4dc8678d45fa4992d523479
4
+ data.tar.gz: 11ddb0d5a0ba43a82f79198aeb3b0b3c48dc730cf705b7494c2bbfc4e7def919
5
5
  SHA512:
6
- metadata.gz: be59b77d488af4dbd2131003a819b2cc8457da8a9b696c9eaca6b86978c00b292a94426b09da7c91a9eb47415d35116ae0ea3ed949129b6cbf23517fdd72dec7
7
- data.tar.gz: dd3fcbca9eaf11727855779a5da9c06ea61a4a17477369c497878a6a0e49a14b6ef15a815c3159ca39a8fb2040a7d74c57e2cbd4ebeadd7c76973d5f0033f752
6
+ metadata.gz: 83130887ea23f8e03da72ae4937c19ebc5e74d45d1413f75775df96ee081b0f04dc908cb22fa1666412a29ed551b35b71c683614bed33e099a81f7be1644b3fc
7
+ data.tar.gz: c922f90ed311a889aecd06f6e7c9fa95c3777c571096354ce7775665466cb9b88510cf0cbb7b030142fd09c6cb4b0e7eeb4b0d4380262ee0f09b400491e5a8a9
@@ -70,7 +70,7 @@ module WCC::Media::ActiveRecordShim
70
70
  def where(**conditions)
71
71
  # TODO: return a Query object that implements more of the ActiveRecord query interface
72
72
  # https://guides.rubyonrails.org/active_record_querying.html#conditions
73
- find_all(conditions)
73
+ find_all(**conditions)
74
74
  end
75
75
  end
76
76
 
@@ -32,6 +32,7 @@ class WCC::Media::Message < WCC::Media::Base
32
32
  topic
33
33
  topics
34
34
  hide_from_internal_search
35
+ archived
35
36
  ].each do |att|
36
37
  define_method att do
37
38
  raw[att]
@@ -42,6 +43,10 @@ class WCC::Media::Message < WCC::Media::Base
42
43
  raw['flags']['hide_from_internal_search'] || false
43
44
  end
44
45
 
46
+ def archived?
47
+ raw['flags']['archived'] || false
48
+ end
49
+
45
50
  def speakers
46
51
  (raw['speakers'] || []).map { |val| WCC::Media::Speaker.new(val) }
47
52
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module WCC
4
4
  module Media
5
- VERSION = '0.7.3'
5
+ VERSION = '0.7.5'
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.3
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watermark Dev
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-02 00:00:00.000000000 Z
11
+ date: 2024-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wcc-api
@@ -57,7 +57,7 @@ homepage: https://github.com/watermarkchurch/media/wcc-media-client
57
57
  licenses:
58
58
  - MIT
59
59
  metadata: {}
60
- post_install_message:
60
+ post_install_message:
61
61
  rdoc_options: []
62
62
  require_paths:
63
63
  - lib
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  version: '0'
74
74
  requirements: []
75
75
  rubygems_version: 3.1.6
76
- signing_key:
76
+ signing_key:
77
77
  specification_version: 4
78
78
  summary: ''
79
79
  test_files: []