Procházet zdrojové kódy

Follow renaming of microformats2 gem (#4203)

master
unarist před 6 roky
committed by Eugen Rochko
rodič
revize
8d224ad23b
3 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. +1
    -1
      Gemfile
  2. +2
    -2
      Gemfile.lock
  3. +2
    -2
      spec/views/stream_entries/show.html.haml_spec.rb

+ 1
- 1
Gemfile Zobrazit soubor

@@ -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


+ 2
- 2
Gemfile.lock Zobrazit soubor

@@ -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)


+ 2
- 2
spec/views/stream_entries/show.html.haml_spec.rb Zobrazit soubor

@@ -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


Načítá se…
Zrušit
Uložit