diff --git a/.gitignore b/.gitignore index f100483..ffa7870 100755 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ test_init_project test_fixtures vendor/gems test_project/.epuber +vendor/bundle diff --git a/Gemfile b/Gemfile index 4c6682c..5985d68 100644 --- a/Gemfile +++ b/Gemfile @@ -6,3 +6,5 @@ source 'https://rubygems.org' gemspec gem 'coveralls', require: false +gem 'ruby-debug-ide' +gem 'debase' diff --git a/Gemfile.lock b/Gemfile.lock index af6da76..ae3081e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -22,133 +22,145 @@ PATH GEM remote: https://rubygems.org/ specs: - activesupport (5.2.3) + activesupport (5.2.6) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) minitest (~> 5.1) tzinfo (~> 1.1) - addressable (2.6.0) - public_suffix (>= 2.0.2, < 4.0) - ast (2.4.0) - backports (3.14.0) - bade (0.2.4) - claide (1.0.2) + addressable (2.7.0) + public_suffix (>= 2.0.2, < 5.0) + ast (2.4.2) + bade (0.2.5) + psych (>= 2.2, < 4.0) + claide (1.0.3) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.12.2) - concurrent-ruby (1.1.5) - coveralls (0.8.22) + concurrent-ruby (1.1.8) + coveralls (0.8.23) json (>= 1.8, < 3) simplecov (~> 0.16.1) term-ansicolor (~> 1.3) - thor (~> 0.19.4) + thor (>= 0.19.4, < 2.0) tins (~> 1.6) - daemons (1.3.1) - diff-lcs (1.3) - docile (1.3.1) + daemons (1.4.0) + debase (0.2.4.1) + debase-ruby_core_source (>= 0.10.2) + debase-ruby_core_source (0.10.12) + diff-lcs (1.4.4) + docile (1.3.5) em-websocket (0.3.8) addressable (>= 2.1.1) eventmachine (>= 0.12.9) - epubcheck-ruby (4.1.1.0) + epubcheck-ruby (4.2.5.0) epuber-stylus (1.1.1) execjs stylus-source eventmachine (1.2.7) execjs (2.7.0) - fakefs (0.18.0) - ffi (1.10.0) - i18n (1.6.0) + fakefs (0.20.1) + ffi (1.15.0) + i18n (1.8.10) concurrent-ruby (~> 1.0) - jaro_winkler (1.5.1) - json (2.1.0) - listen (3.1.5) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - ruby_dep (~> 1.2) - mime-types (3.2.2) + json (2.5.1) + listen (3.5.1) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mime-types (3.3.1) mime-types-data (~> 3.2015) - mime-types-data (3.2019.0331) - mini_portile2 (2.4.0) - minitest (5.11.3) - multi_json (1.13.1) - mustermann (1.0.3) - nokogiri (1.10.3) - mini_portile2 (~> 2.4.0) - os (1.0.1) - parallel (1.12.1) - parser (2.5.1.2) - ast (~> 2.4.0) - powerpack (0.1.2) - public_suffix (3.0.3) - rack (2.0.7) - rack-protection (2.0.5) + mime-types-data (3.2021.0225) + mini_portile2 (2.5.1) + minitest (5.14.4) + multi_json (1.15.0) + mustermann (1.1.1) + ruby2_keywords (~> 0.0.1) + nokogiri (1.11.3) + mini_portile2 (~> 2.5.0) + racc (~> 1.4) + os (1.1.1) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + psych (3.3.1) + public_suffix (4.0.6) + racc (1.5.2) + rack (2.2.3) + rack-protection (2.1.0) rack rainbow (3.0.0) - rake (12.3.1) - rb-fsevent (0.10.3) - rb-inotify (0.10.0) + rake (12.3.3) + rb-fsevent (0.11.0) + rb-inotify (0.10.1) ffi (~> 1.0) + regexp_parser (2.1.1) + rexml (3.2.5) rmagick (2.16.0) - rspec (3.8.0) - rspec-core (~> 3.8.0) - rspec-expectations (~> 3.8.0) - rspec-mocks (~> 3.8.0) - rspec-core (3.8.0) - rspec-support (~> 3.8.0) - rspec-expectations (3.8.1) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.8.0) - rspec-mocks (3.8.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.8.0) - rspec-support (3.8.0) - rubocop (0.58.2) - jaro_winkler (~> 1.5.1) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rubocop (0.93.1) parallel (~> 1.10) - parser (>= 2.5, != 2.5.1.1) - powerpack (~> 0.1) + parser (>= 2.7.1.5) rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8) + rexml + rubocop-ast (>= 0.6.0) ruby-progressbar (~> 1.7) - unicode-display_width (~> 1.0, >= 1.0.1) - ruby-progressbar (1.10.0) - ruby_dep (1.5.0) - rubyzip (1.2.2) + unicode-display_width (>= 1.4.0, < 2.0) + rubocop-ast (1.5.0) + parser (>= 3.0.1.1) + ruby-debug-ide (0.7.2) + rake (>= 0.8.1) + ruby-progressbar (1.11.0) + ruby2_keywords (0.0.4) + rubyzip (1.3.0) simplecov (0.16.1) docile (~> 1.1) json (>= 1.8, < 3) simplecov-html (~> 0.10.0) simplecov-html (0.10.2) - sinatra (2.0.5) + sinatra (2.1.0) mustermann (~> 1.0) - rack (~> 2.0) - rack-protection (= 2.0.5) + rack (~> 2.2) + rack-protection (= 2.1.0) tilt (~> 2.0) - sinatra-contrib (2.0.5) - backports (>= 2.8.2) + sinatra-contrib (2.1.0) multi_json mustermann (~> 1.0) - rack-protection (= 2.0.5) - sinatra (= 2.0.5) - tilt (>= 1.3, < 3) + rack-protection (= 2.1.0) + sinatra (= 2.1.0) + tilt (~> 2.0) sinatra-websocket (0.3.1) em-websocket (~> 0.3.6) eventmachine thin (>= 1.3.1, < 2.0.0) stylus-source (0.54.5) - term-ansicolor (1.6.0) + sync (0.5.0) + term-ansicolor (1.7.1) tins (~> 1.0) - thin (1.7.2) + thin (1.8.0) daemons (~> 1.0, >= 1.0.9) eventmachine (~> 1.0, >= 1.0.4) rack (>= 1, < 3) - thor (0.19.4) + thor (1.1.0) thread_safe (0.3.6) - tilt (2.0.9) - tins (1.16.3) - tzinfo (1.2.5) + tilt (2.0.10) + tins (1.29.0) + sync + tzinfo (1.2.9) thread_safe (~> 0.1) - unicode-display_width (1.4.0) + unicode-display_width (1.7.0) PLATFORMS ruby @@ -156,11 +168,13 @@ PLATFORMS DEPENDENCIES bundler coveralls + debase epuber! fakefs (~> 0.6) rake (~> 12.2) rspec (~> 3.2) rubocop (~> 0.49) + ruby-debug-ide BUNDLED WITH - 2.0.1 + 2.2.17 diff --git a/spec/unit/compiler/file/xhtml_file_spec.rb b/spec/unit/compiler/file/xhtml_file_spec.rb index 4e7189a..8e2677f 100755 --- a/spec/unit/compiler/file/xhtml_file_spec.rb +++ b/spec/unit/compiler/file/xhtml_file_spec.rb @@ -107,7 +107,7 @@ module FileTypes ' ^', ].join("\n").ansi.yellow, [ - 'some_file.xhtml:4 column: 8 --- 4:8: FATAL: Premature end of data in tag root line 1', + "some_file.xhtml:4 column: 8 --- 4:8: FATAL: EndTag: '', ' ^', ].join("\n").ansi.yellow,