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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1579ca4b98963d52648b62e13ce1100d09744a1b
4
- data.tar.gz: f3fee2d061ffb4ad9bf54b363963abd1ac313970
3
+ metadata.gz: b8f1b7fbf212aa429ee26e857cc641194c22584e
4
+ data.tar.gz: 78b69c9bf960dc288d750f339d0a36d009ec139e
5
5
  SHA512:
6
- metadata.gz: 78294bd172b74e4f9e784bbabd7bfee8243f22457f16ca6946eeb12dc762b90252d0289480c04aae42727346718a8b0d41d077f5867e7a381c71796245fc68aa
7
- data.tar.gz: febf23842faa2a597f5fdcae9e0c470d8d948a00e6d592115af82dc0dbb10baacee12678c02567e7d2d2fb49e8a6d12613676c9de21d4f8d5b1213222aeae0e9
6
+ metadata.gz: f7e75a6f8f4d421254fcf232168a6cb83da5fce3d06c61a3beccb3c0cb8747dbd37621762cf3185b8d06ac4e80f694586ef88e75f8e41138d4e5756dc53abc77
7
+ data.tar.gz: ed92126d6de4bacd62b6d179b90f2bd6df912838b6656f4f59ed7306d18fc2c2bbe2cade112b50439a621812d54bb04117a30f2c5c18dde9b26b49c06a2a5c21
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Feedjira Changelog
2
2
 
3
+ ## 1.0.0
4
+
5
+ * Removed deprecated features
6
+
3
7
  ## 0.9.0
4
8
 
5
9
  * Project renamed to Feedjira
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 == 4
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
 
@@ -1,3 +1,3 @@
1
1
  module Feedjira
2
- VERSION = '0.9.0'
2
+ VERSION = '1.0.0'
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: 0.9.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dix