Bump feedjira from 2.2.0 to 3.0.0 (#3560)
* Bump feedjira from 2.2.0 to 3.0.0 Bumps [feedjira](https://github.com/feedjira/feedjira) from 2.2.0 to 3.0.0. - [Release notes](https://github.com/feedjira/feedjira/releases) - [Changelog](https://github.com/feedjira/feedjira/blob/master/CHANGELOG.md) - [Commits](https://github.com/feedjira/feedjira/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Update Feedjira's usage of parse
This commit is contained in:
parent
7f125f18df
commit
653b74b39b
3 changed files with 5 additions and 7 deletions
2
Gemfile
2
Gemfile
|
|
@ -38,7 +38,7 @@ gem "emoji_regex", "~> 2.0" # A pair of Ruby regular expressions for matching Un
|
|||
gem "envied", "~> 0.9" # Ensure presence and type of your app's ENV-variables
|
||||
gem "fastly", "~> 1.15" # Client library for the Fastly acceleration system
|
||||
gem "fastly-rails", "~> 0.8" # Fastly dynamic caching integration for Rails
|
||||
gem "feedjira", "~> 2.2" # A feed fetching and parsing library
|
||||
gem "feedjira", "~> 3.0" # A feed fetching and parsing library
|
||||
gem "figaro", "~> 1.1" # Simple, Heroku-friendly Rails app configuration using ENV and a single YAML file
|
||||
gem "fog-aws", "~> 3.5" # 'fog' gem to support Amazon Web Services
|
||||
gem "front_matter_parser", "~> 0.2" # Parse a front matter from syntactically correct strings or files
|
||||
|
|
|
|||
|
|
@ -323,10 +323,8 @@ GEM
|
|||
fastly-rails (0.8.0)
|
||||
fastly (~> 1.6)
|
||||
railties (> 2, < 6)
|
||||
feedjira (2.2.0)
|
||||
faraday (>= 0.9)
|
||||
faraday_middleware (>= 0.9)
|
||||
loofah (>= 2.0)
|
||||
feedjira (3.0.0)
|
||||
loofah (>= 2.2.1)
|
||||
sax-machine (>= 1.0)
|
||||
ffi (1.10.0)
|
||||
figaro (1.1.1)
|
||||
|
|
@ -875,7 +873,7 @@ DEPENDENCIES
|
|||
faker (~> 1.9)
|
||||
fastly (~> 1.15)
|
||||
fastly-rails (~> 0.8)
|
||||
feedjira (~> 2.2)
|
||||
feedjira (~> 3.0)
|
||||
figaro (~> 1.1)
|
||||
fix-db-schema-conflicts (~> 3.0)
|
||||
fog-aws (~> 3.5)
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ class RssReader
|
|||
|
||||
def fetch_rss(url)
|
||||
xml = HTTParty.get(url).body
|
||||
Feedjira::Feed.parse xml
|
||||
Feedjira.parse xml
|
||||
end
|
||||
|
||||
def make_from_rss_item(item, user, feed)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue