Git Product home page Git Product logo

css-redundancy-checker's People

Watchers

 avatar

css-redundancy-checker's Issues

Enhancement Request: accept URL for CSS file and list-of-URLs

What steps will reproduce the problem?

1. Attempt to run the following command:
   ruby css-redundancy-checker.rb <url_of_css_file> <url_of_.txt_file>
2. See that it doesn't know what the heck you're talking about

What is the expected output?

A successful redundancy check using the CSS file and text file downloaded
from the given URLs.

What version of the product are you using? On what operating system?

Version downloaded 5/20/2009 @ 1730 Pacific via instructions at
http://code.google.com/p/css-redundancy-checker/

Please provide any additional information below.

Thank you very much.

Original issue reported on code.google.com by [email protected] on 21 May 2009 at 12:43

Script doesn't run, errors out in Hpricot

I've tried running it on CentOS Linux under Ruby 1.8.4 and Mac OS 10.4
under Ruby 1.8.4 and I get the same error in both cases:

"/hpricot/builder.rb:11: warning: `&' interpreted as argument prefix"

This is using revision 9 from subversion.


Original issue reported on code.google.com by [email protected] on 5 Nov 2007 at 8:24

mis-spelled

Checking out trunk, css-redundancy-checker.rb is currently misspelled
css-redunancy-checker.rb.

;)

Original issue reported on code.google.com by [email protected] on 8 Jul 2007 at 9:09

Commas in CSS aren't handled correctly.

What steps will reproduce the problem?
1. Create a CSS rule "p.foo,p.bar".
2. Parse that file using css-redundancy-checker.
3.

What is the expected output? What do you see instead?
"p.foo,p.bar" gets treated as a single selector.

What version of the product are you using? On what operating system?
r9 from svn.

Please provide any additional information below.

The fix is to use this line instead:

  content.gsub!(/\s*,\s*/, "\r\n")

Original issue reported on code.google.com by [email protected] on 28 Aug 2007 at 10:47

Directories aren't handled correctly

What steps will reproduce the problem?
1. mkdir ~/foo; cp foo.html ~/foo
2. css-redundancy-checker some.css ~/foo
3.

What is the expected output? What do you see instead?
Nada.

What version of the product are you using? On what operating system?
r9 from trunk

Please provide any additional information below.

The bit that runs over directories needs to look like this:

  things = Dir["#{source}/*.html"]

Original issue reported on code.google.com by [email protected] on 28 Aug 2007 at 10:48

script requires rubygems but doesn't use it

What steps will reproduce the problem?
1. Don't have rubygems installed (I've installed hpricot from debian packages)
2. run the script
3. Get error message "3:in `require': no such file to load -- rubygems
(LoadError)"

I've removed the require line and it now works fine.

Original issue reported on code.google.com by [email protected] on 28 Apr 2010 at 10:15

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.