podcast_api 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- podcast_api (1.1.4)
5
- httparty
4
+ podcast_api (1.1.5)
5
+ httparty (~> 0.20.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -12,7 +12,7 @@ GEM
12
12
  multi_xml (>= 0.5.2)
13
13
  mime-types (3.4.1)
14
14
  mime-types-data (~> 3.2015)
15
- mime-types-data (3.2022.0105)
15
+ mime-types-data (3.2023.0218.1)
16
16
  multi_xml (0.6.0)
17
17
 
18
18
  PLATFORMS
data/lib/podcast_api.rb CHANGED
@@ -154,6 +154,11 @@ module PodcastApi
154
154
  def fetch_audience_for_podcast(**kwargs)
155
155
  id = kwargs.delete(:id)
156
156
  return send_http_request('get', "#{@base_url}/podcasts/#{id}/audience", {query: kwargs, headers: @headers})
157
+ end
158
+
159
+ def fetch_podcasts_by_domain(**kwargs)
160
+ domain_name = kwargs.delete(:domain_name)
161
+ return send_http_request('get', "#{@base_url}/podcasts/domains/#{domain_name}", {query: kwargs, headers: @headers})
157
162
  end
158
163
  end
159
164
 
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PodcastApi
4
- VERSION = "1.1.4"
4
+ VERSION = "1.1.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: podcast_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Listen Notes, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-28 00:00:00.000000000 Z
11
+ date: 2023-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty