feedjira 0.9.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/feedjira/feed.rb +1 -4
- data/lib/feedjira/parser/itunes_rss_item.rb +0 -5
- data/lib/feedjira/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8f1b7fbf212aa429ee26e857cc641194c22584e
|
4
|
+
data.tar.gz: 78b69c9bf960dc288d750f339d0a36d009ec139e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7e75a6f8f4d421254fcf232168a6cb83da5fce3d06c61a3beccb3c0cb8747dbd37621762cf3185b8d06ac4e80f694586ef88e75f8e41138d4e5756dc53abc77
|
7
|
+
data.tar.gz: ed92126d6de4bacd62b6d179b90f2bd6df912838b6656f4f59ed7306d18fc2c2bbe2cade112b50439a621812d54bb04117a30f2c5c18dde9b26b49c06a2a5c21
|
data/CHANGELOG.md
CHANGED
data/lib/feedjira/feed.rb
CHANGED
@@ -444,10 +444,7 @@ module Feedjira
|
|
444
444
|
|
445
445
|
def call_on_failure(c, error, on_failure)
|
446
446
|
if on_failure
|
447
|
-
if on_failure.arity ==
|
448
|
-
warn 'on_failure proc with deprecated arity 4 should include a fifth parameter containing the error'
|
449
|
-
on_failure.call(c.url, c.response_code, c.header_str, c.body_str)
|
450
|
-
elsif on_failure.arity == 2
|
447
|
+
if on_failure.arity == 2
|
451
448
|
on_failure.call(c, error)
|
452
449
|
else
|
453
450
|
warn "on_failure proc with invalid parameters number #{on_failure.arity} instead of 2, ignoring it"
|
@@ -30,11 +30,6 @@ module Feedjira
|
|
30
30
|
element :enclosure, :value => :length, :as => :enclosure_length
|
31
31
|
element :enclosure, :value => :type, :as => :enclosure_type
|
32
32
|
element :enclosure, :value => :url, :as => :enclosure_url
|
33
|
-
|
34
|
-
def guid
|
35
|
-
warn "Feedjira: ITunesRSSItem.guid is deprecated, please use `id` or `entry_id` instead. This will be removed in version 1.0"
|
36
|
-
id
|
37
|
-
end
|
38
33
|
end
|
39
34
|
end
|
40
35
|
|
data/lib/feedjira/version.rb
CHANGED