html_cs_run_parse 0.0.2 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/HTMLCS.js +33 -630
  3. data/lib/html_cs_run_parse.rb +2 -2
  4. metadata +1 -1
@@ -1,9 +1,9 @@
1
- require './utility/parse_machine'
1
+ require 'utility/parse_machine'
2
2
 
3
3
  #this gem is specifically for running HTMLCS
4
4
  class HTMLCS
5
5
  def self.run_html_cs(browser, file_name)
6
- browser.execute_script(File.read("./HTMLCS.js"))
6
+ browser.execute_script(File.read(File.expand_path("../HTMLCS.js", __FILE__)))
7
7
  browser.execute_script("HTMLCS_RUNNER.run('WCAG2AA')")
8
8
  output = browser.driver.manage.logs.get(:browser)
9
9
  parse = ParseMachine.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_cs_run_parse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerren Every