forked from treehouse/mastodon
Follow renaming of microformats2 gem (#4203)
parent
e2685ccc81
commit
8d224ad23b
2
Gemfile
2
Gemfile
|
@ -79,7 +79,7 @@ group :test do
|
||||||
gem 'capybara', '~> 2.14'
|
gem 'capybara', '~> 2.14'
|
||||||
gem 'climate_control', '~> 0.2'
|
gem 'climate_control', '~> 0.2'
|
||||||
gem 'faker', '~> 1.7'
|
gem 'faker', '~> 1.7'
|
||||||
gem 'microformats2', '~> 3.0'
|
gem 'microformats', '~> 4.0'
|
||||||
gem 'rails-controller-testing', '~> 1.0'
|
gem 'rails-controller-testing', '~> 1.0'
|
||||||
gem 'rspec-sidekiq', '~> 3.0'
|
gem 'rspec-sidekiq', '~> 3.0'
|
||||||
gem 'simplecov', '~> 0.14', require: false
|
gem 'simplecov', '~> 0.14', require: false
|
||||||
|
|
|
@ -242,7 +242,7 @@ GEM
|
||||||
mail (2.6.6)
|
mail (2.6.6)
|
||||||
mime-types (>= 1.16, < 4)
|
mime-types (>= 1.16, < 4)
|
||||||
method_source (0.8.2)
|
method_source (0.8.2)
|
||||||
microformats2 (3.1.0)
|
microformats (4.0.7)
|
||||||
json
|
json
|
||||||
nokogiri
|
nokogiri
|
||||||
mime-types (3.1)
|
mime-types (3.1)
|
||||||
|
@ -533,7 +533,7 @@ DEPENDENCIES
|
||||||
letter_opener_web (~> 1.3)
|
letter_opener_web (~> 1.3)
|
||||||
link_header (~> 0.0)
|
link_header (~> 0.0)
|
||||||
lograge (~> 0.5)
|
lograge (~> 0.5)
|
||||||
microformats2 (~> 3.0)
|
microformats (~> 4.0)
|
||||||
mime-types (~> 3.1)
|
mime-types (~> 3.1)
|
||||||
nokogiri (~> 1.7)
|
nokogiri (~> 1.7)
|
||||||
oj (~> 3.0)
|
oj (~> 3.0)
|
||||||
|
|
|
@ -27,7 +27,7 @@ describe 'stream_entries/show.html.haml', without_verify_partial_doubles: true d
|
||||||
|
|
||||||
render
|
render
|
||||||
|
|
||||||
mf2 = Microformats2.parse(rendered)
|
mf2 = Microformats.parse(rendered)
|
||||||
|
|
||||||
expect(mf2.entry.name.to_s).to eq status.text
|
expect(mf2.entry.name.to_s).to eq status.text
|
||||||
expect(mf2.entry.url.to_s).not_to be_empty
|
expect(mf2.entry.url.to_s).not_to be_empty
|
||||||
|
@ -53,7 +53,7 @@ describe 'stream_entries/show.html.haml', without_verify_partial_doubles: true d
|
||||||
|
|
||||||
render
|
render
|
||||||
|
|
||||||
mf2 = Microformats2.parse(rendered)
|
mf2 = Microformats.parse(rendered)
|
||||||
|
|
||||||
expect(mf2.entry.name.to_s).to eq reply.text
|
expect(mf2.entry.name.to_s).to eq reply.text
|
||||||
expect(mf2.entry.url.to_s).not_to be_empty
|
expect(mf2.entry.url.to_s).not_to be_empty
|
||||||
|
|
Loading…
Reference in New Issue