feedjira 3.1.0 → 3.1.1

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: 3d77becc66f52f24c3105ebed905255506b0857c1452accf32b6b2f7f691dd8b
4
- data.tar.gz: 04e39a33e2de97107040f3a10ae8a84fad2441e2bca21c7c0731c58293d47af1
3
+ metadata.gz: 61f3d95b5c43923b3b97d3353017af589c0a7bb10c733907235ce50177b77419
4
+ data.tar.gz: d391298c7484876c396b3a308a473f8944ad979b9cb5f585a469ee1700ee3954
5
5
  SHA512:
6
- metadata.gz: 77fc47a4b6918578a8934b3aff52f07fc7c643597bf4b30116de0f90d1526bc79bccdbd52acba8b43f6fdcf8856490df680ecbce2e9b0f1efd5c337ed0f5da4b
7
- data.tar.gz: 4440459e2e2ad27c953f30238349b9e60d0fff2cd15282fec0d1ae986a6bedacd3fff91ac34add975688c2a002081f5523b57261da4ab4b3a9db25b35d8d3bef
6
+ metadata.gz: d409e15aa33a19e52bbc8adecd4ca05afe153d5a8f53956eda760f532fb9ea3ce0ac2ecf6a06fb6a039ffb877364f2f5df078bc68d88c7f42d322df84bc0a5ec
7
+ data.tar.gz: 19d45fdbd89b4347e84b017da3df211a94d53bb22bbe2b490a8f0a74f13fdb273286d2a2c07101eabe07884230c6f111e5640171fe633cf5ba8aca5095e48d7d
@@ -3,9 +3,9 @@ language: ruby
3
3
  cache: bundler
4
4
 
5
5
  rvm:
6
- - 2.2
7
- - 2.3
8
- - 2.4
6
+ - 2.5
7
+ - 2.6
8
+ - 2.7
9
9
  - jruby-9
10
10
  - ruby-head
11
11
 
@@ -1,6 +1,6 @@
1
1
  # Feedjira Changelog
2
2
 
3
- ## (Unreleased)
3
+ ## 3.1.0
4
4
 
5
5
  * Breaking Changes
6
6
  * `title` of Atom entry classes always return a plain text even in case the entry has a title of the HTML or XML type. [#423][] (@knu)
@@ -10,17 +10,17 @@ module Feedjira
10
10
  elements :"itunes:category", as: :itunes_categories,
11
11
  class: ITunesRSSCategory
12
12
 
13
- def each_subcategory
13
+ def each_subcategory(&block)
14
14
  return to_enum(__method__) unless block_given?
15
15
 
16
16
  yield text
17
17
 
18
18
  itunes_categories.each do |itunes_category|
19
- itunes_category.each_subcategory(&proc)
19
+ itunes_category.each_subcategory(&block)
20
20
  end
21
21
  end
22
22
 
23
- def each_path(ancestors = [])
23
+ def each_path(ancestors = [], &block)
24
24
  return to_enum(__method__, ancestors) unless block_given?
25
25
 
26
26
  category_hierarchy = ancestors + [text]
@@ -29,7 +29,7 @@ module Feedjira
29
29
  yield category_hierarchy
30
30
  else
31
31
  itunes_categories.each do |itunes_category|
32
- itunes_category.each_path(category_hierarchy, &proc)
32
+ itunes_category.each_path(category_hierarchy, &block)
33
33
  end
34
34
  end
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module Feedjira
2
- VERSION = "3.1.0".freeze
2
+ VERSION = "3.1.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feedjira
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Hess
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2019-11-21 00:00:00.000000000 Z
17
+ date: 2020-02-06 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: loofah
@@ -275,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
275
275
  - !ruby/object:Gem::Version
276
276
  version: '0'
277
277
  requirements: []
278
- rubygems_version: 3.0.1
278
+ rubygems_version: 3.1.2
279
279
  signing_key:
280
280
  specification_version: 4
281
281
  summary: A feed parsing library