podcast_index 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 161c5b230c8c0ecc2ab8b73ca6904fb2aa277e4b053a20abc181057b0e5d242a
4
- data.tar.gz: b58af7959179c2c8d9f8a1517ae96fb3153c8d982ce39ac4aa2efb152da73cd1
3
+ metadata.gz: aae2e479cb9e2d08fd29a47ce458a5ad5bcb948b2d886826afa0599f733523b3
4
+ data.tar.gz: 1c79010bbe21a3be5ba1caf683b2a253a448dff20f6776928a3734e9a437415c
5
5
  SHA512:
6
- metadata.gz: ee5de3077c32a6e24496fcefb4966df8dfe9f65462b1c855bbef71976ed10ead5c5465fe3d7818764f797f835b1fff1aae0ea29427a9c2061907b9aa5535819c
7
- data.tar.gz: c0dd485e842954d4981e390995e43e939f144f3b86941e2be2881998347832556fba4bad6696c8ccef96d2529cdeade58db65bc71a5ee094b3f4a54bb1681c80
6
+ metadata.gz: fa88875c017619e56b3fe54728a0f086d498688bcbc637eef9a96338d3a038347d09dfc38e7e1fbe8ecba07a95f7144b60b916ab4f80299f940f7528da60852d
7
+ data.tar.gz: 86cbb6b4efc49f5f46434b212bc86a8124155a4ba25f44e9510a29d4eafa559f315691cc3a933989231a0164b83433cf2df3a5586d522d9d844b9e23e1a39b0a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.5.1] - 2026-01-30
4
+
5
+ * Remove dependency on ActiveSupport::Configurable
6
+
3
7
  ## [0.5.0] - 2024-11-08
4
8
 
5
9
  * Remove gem version restrictions to support Rails 8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- podcast_index (0.5.0)
4
+ podcast_index (0.5.1)
5
5
  activesupport
6
6
  addressable
7
7
 
@@ -111,6 +111,7 @@ GEM
111
111
  hashdiff (>= 0.4.0, < 2.0.0)
112
112
 
113
113
  PLATFORMS
114
+ arm64-darwin-24
114
115
  x86_64-darwin-20
115
116
  x86_64-darwin-23
116
117
  x86_64-linux
@@ -1,3 +1,3 @@
1
1
  module PodcastIndex
2
- VERSION = "0.5.0".freeze
2
+ VERSION = "0.5.1".freeze
3
3
  end
data/lib/podcast_index.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require_relative "podcast_index/version"
2
- require "active_support/configurable"
2
+ require "active_support/ordered_options"
3
3
  require "active_support/core_ext/string/inflections"
4
4
  require "json"
5
5
 
@@ -20,16 +20,20 @@ require_relative "podcast_index/stats"
20
20
  require_relative "podcast_index/value"
21
21
 
22
22
  module PodcastIndex
23
- include ActiveSupport::Configurable
24
-
25
- config_accessor :api_key, :api_secret, :base_url
26
-
27
23
  class Error < StandardError; end
28
24
  class PodcastNotFound < Error; end
29
25
  class CategoryNotFound < Error; end
30
26
 
31
27
  def self.configure
32
- self.base_url = "https://api.podcastindex.org/api/1.0".freeze
33
- super
28
+ config.base_url = "https://api.podcastindex.org/api/1.0".freeze
29
+ yield config
34
30
  end
31
+
32
+ def self.config
33
+ @config ||= ActiveSupport::OrderedOptions.new
34
+ end
35
+
36
+ def self.api_key = config.api_key
37
+ def self.api_secret = config.api_secret
38
+ def self.base_url = config.base_url
35
39
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: podcast_index
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason York
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-11-08 00:00:00.000000000 Z
10
+ date: 2026-01-30 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -151,7 +150,6 @@ dependencies:
151
150
  - !ruby/object:Gem::Version
152
151
  version: '0'
153
152
  description: Exposes the podcastindex.org API through Ruby domain models.
154
- email:
155
153
  executables: []
156
154
  extensions: []
157
155
  extra_rdoc_files: []
@@ -188,7 +186,6 @@ metadata:
188
186
  source_code_uri: https://github.com/jasonyork/podcast-index
189
187
  changelog_uri: https://github.com/jasonyork/podcast-index/blob/master/CHANGELOG.md
190
188
  rubygems_mfa_required: 'true'
191
- post_install_message:
192
189
  rdoc_options: []
193
190
  require_paths:
194
191
  - lib
@@ -203,8 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
200
  - !ruby/object:Gem::Version
204
201
  version: '0'
205
202
  requirements: []
206
- rubygems_version: 3.5.20
207
- signing_key:
203
+ rubygems_version: 3.6.6
208
204
  specification_version: 4
209
205
  summary: Ruby client for the podcastindex.org API
210
206
  test_files: []