sassator 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -5
- data/Gemfile +4 -0
- data/Gemfile.lock +24 -0
- data/LICENSE +20 -20
- data/README.rdoc +3 -17
- data/Rakefile +57 -59
- data/VERSION +1 -1
- data/bin/sassator +4 -4
- data/features/support/env.rb +4 -4
- data/lib/sassator.rb +5 -5
- data/lib/sassator/compiler.rb +34 -34
- data/sassator.gemspec +71 -71
- data/spec/sassator_spec.rb +4 -4
- data/spec/spec.opts +1 -1
- data/spec/spec_helper.rb +8 -8
- metadata +64 -31
- data/.gitignore +0 -28
    
        data/.document
    CHANGED
    
    | @@ -1,5 +1,5 @@ | |
| 1 | 
            -
            README.rdoc
         | 
| 2 | 
            -
            lib/**/*.rb
         | 
| 3 | 
            -
            bin/*
         | 
| 4 | 
            -
            features/**/*.feature
         | 
| 5 | 
            -
            LICENSE
         | 
| 1 | 
            +
            README.rdoc
         | 
| 2 | 
            +
            lib/**/*.rb
         | 
| 3 | 
            +
            bin/*
         | 
| 4 | 
            +
            features/**/*.feature
         | 
| 5 | 
            +
            LICENSE
         | 
    
        data/Gemfile
    ADDED
    
    
    
        data/Gemfile.lock
    ADDED
    
    | @@ -0,0 +1,24 @@ | |
| 1 | 
            +
            GEM
         | 
| 2 | 
            +
              remote: http://rubygems.org/
         | 
| 3 | 
            +
              specs:
         | 
| 4 | 
            +
                builder (2.1.2)
         | 
| 5 | 
            +
                cucumber (0.9.4)
         | 
| 6 | 
            +
                  builder (~> 2.1.2)
         | 
| 7 | 
            +
                  diff-lcs (~> 1.1.2)
         | 
| 8 | 
            +
                  gherkin (~> 2.2.9)
         | 
| 9 | 
            +
                  json (~> 1.4.6)
         | 
| 10 | 
            +
                  term-ansicolor (~> 1.0.5)
         | 
| 11 | 
            +
                diff-lcs (1.1.2)
         | 
| 12 | 
            +
                gherkin (2.2.9)
         | 
| 13 | 
            +
                  json (~> 1.4.6)
         | 
| 14 | 
            +
                  term-ansicolor (~> 1.0.5)
         | 
| 15 | 
            +
                json (1.4.6)
         | 
| 16 | 
            +
                rspec (1.2.9)
         | 
| 17 | 
            +
                term-ansicolor (1.0.5)
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            PLATFORMS
         | 
| 20 | 
            +
              ruby
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            DEPENDENCIES
         | 
| 23 | 
            +
              cucumber
         | 
| 24 | 
            +
              rspec (~> 1.2.9)
         | 
    
        data/LICENSE
    CHANGED
    
    | @@ -1,20 +1,20 @@ | |
| 1 | 
            -
            Copyright (c) 2009 Jakub Arnold
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            Permission is hereby granted, free of charge, to any person obtaining
         | 
| 4 | 
            -
            a copy of this software and associated documentation files (the
         | 
| 5 | 
            -
            "Software"), to deal in the Software without restriction, including
         | 
| 6 | 
            -
            without limitation the rights to use, copy, modify, merge, publish,
         | 
| 7 | 
            -
            distribute, sublicense, and/or sell copies of the Software, and to
         | 
| 8 | 
            -
            permit persons to whom the Software is furnished to do so, subject to
         | 
| 9 | 
            -
            the following conditions:
         | 
| 10 | 
            -
             | 
| 11 | 
            -
            The above copyright notice and this permission notice shall be
         | 
| 12 | 
            -
            included in all copies or substantial portions of the Software.
         | 
| 13 | 
            -
             | 
| 14 | 
            -
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
         | 
| 15 | 
            -
            EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
         | 
| 16 | 
            -
            MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
         | 
| 17 | 
            -
            NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
         | 
| 18 | 
            -
            LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
         | 
| 19 | 
            -
            OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
         | 
| 20 | 
            -
            WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         | 
| 1 | 
            +
            Copyright (c) 2009 Jakub Arnold
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            Permission is hereby granted, free of charge, to any person obtaining
         | 
| 4 | 
            +
            a copy of this software and associated documentation files (the
         | 
| 5 | 
            +
            "Software"), to deal in the Software without restriction, including
         | 
| 6 | 
            +
            without limitation the rights to use, copy, modify, merge, publish,
         | 
| 7 | 
            +
            distribute, sublicense, and/or sell copies of the Software, and to
         | 
| 8 | 
            +
            permit persons to whom the Software is furnished to do so, subject to
         | 
| 9 | 
            +
            the following conditions:
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            The above copyright notice and this permission notice shall be
         | 
| 12 | 
            +
            included in all copies or substantial portions of the Software.
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
         | 
| 15 | 
            +
            EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
         | 
| 16 | 
            +
            MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
         | 
| 17 | 
            +
            NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
         | 
| 18 | 
            +
            LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
         | 
| 19 | 
            +
            OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
         | 
| 20 | 
            +
            WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         | 
    
        data/README.rdoc
    CHANGED
    
    | @@ -1,17 +1,3 @@ | |
| 1 | 
            -
            = sassator
         | 
| 2 | 
            -
             | 
| 3 | 
            -
             | 
| 4 | 
            -
             | 
| 5 | 
            -
            == Note on Patches/Pull Requests
         | 
| 6 | 
            -
             
         | 
| 7 | 
            -
            * Fork the project.
         | 
| 8 | 
            -
            * Make your feature addition or bug fix.
         | 
| 9 | 
            -
            * Add tests for it. This is important so I don't break it in a
         | 
| 10 | 
            -
              future version unintentionally.
         | 
| 11 | 
            -
            * Commit, do not mess with rakefile, version, or history.
         | 
| 12 | 
            -
              (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
         | 
| 13 | 
            -
            * Send me a pull request. Bonus points for topic branches.
         | 
| 14 | 
            -
             | 
| 15 | 
            -
            == Copyright
         | 
| 16 | 
            -
             | 
| 17 | 
            -
            Copyright (c) 2009 Jakub Arnold. See LICENSE for details.
         | 
| 1 | 
            +
            = sassator
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            Use `sass --watch` instead. See http://sass-lang.com/tutorial.html
         | 
    
        data/Rakefile
    CHANGED
    
    | @@ -1,59 +1,57 @@ | |
| 1 | 
            -
            require 'rubygems'
         | 
| 2 | 
            -
            require 'rake'
         | 
| 3 | 
            -
             | 
| 4 | 
            -
            begin
         | 
| 5 | 
            -
              require 'jeweler'
         | 
| 6 | 
            -
              Jeweler::Tasks.new do |gem|
         | 
| 7 | 
            -
                gem.name = "sassator"
         | 
| 8 | 
            -
                gem.summary = %Q{Automatic  | 
| 9 | 
            -
                gem.description = %Q{Automatic  | 
| 10 | 
            -
                gem.email = "darthdeus@gmail.com"
         | 
| 11 | 
            -
                gem.homepage = "http://github.com/darthdeus/sassator"
         | 
| 12 | 
            -
                gem.authors = ["Jakub Arnold"]
         | 
| 13 | 
            -
                gem. | 
| 14 | 
            -
                gem. | 
| 15 | 
            -
                gem | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
              Jeweler | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
             | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 29 | 
            -
             | 
| 30 | 
            -
             | 
| 31 | 
            -
              spec. | 
| 32 | 
            -
             | 
| 33 | 
            -
             | 
| 34 | 
            -
             | 
| 35 | 
            -
             | 
| 36 | 
            -
             | 
| 37 | 
            -
             | 
| 38 | 
            -
             | 
| 39 | 
            -
             | 
| 40 | 
            -
               | 
| 41 | 
            -
             | 
| 42 | 
            -
              task :features  | 
| 43 | 
            -
             | 
| 44 | 
            -
               | 
| 45 | 
            -
             | 
| 46 | 
            -
             | 
| 47 | 
            -
             | 
| 48 | 
            -
             | 
| 49 | 
            -
             | 
| 50 | 
            -
             | 
| 51 | 
            -
             | 
| 52 | 
            -
             | 
| 53 | 
            -
               | 
| 54 | 
            -
             | 
| 55 | 
            -
              rdoc. | 
| 56 | 
            -
              rdoc. | 
| 57 | 
            -
             | 
| 58 | 
            -
              rdoc.rdoc_files.include('lib/**/*.rb')
         | 
| 59 | 
            -
            end
         | 
| 1 | 
            +
            require 'rubygems'
         | 
| 2 | 
            +
            require 'rake'
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            begin
         | 
| 5 | 
            +
              require 'jeweler'
         | 
| 6 | 
            +
              Jeweler::Tasks.new do |gem|
         | 
| 7 | 
            +
                gem.name = "sassator"
         | 
| 8 | 
            +
                gem.summary = %Q{Automatic SASS compilator for non-ruby projects}
         | 
| 9 | 
            +
                gem.description = %Q{Automatic SASS compilator for non-ruby projects.}
         | 
| 10 | 
            +
                gem.email = "darthdeus@gmail.com"
         | 
| 11 | 
            +
                gem.homepage = "http://github.com/darthdeus/sassator"
         | 
| 12 | 
            +
                gem.authors = ["Jakub Arnold"]    
         | 
| 13 | 
            +
                gem.add_development_dependency "rspec", ">= 1.2.9"
         | 
| 14 | 
            +
                gem.add_development_dependency "cucumber", ">= 0"
         | 
| 15 | 
            +
                # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
         | 
| 16 | 
            +
              end
         | 
| 17 | 
            +
              Jeweler::GemcutterTasks.new
         | 
| 18 | 
            +
            rescue LoadError
         | 
| 19 | 
            +
              puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
         | 
| 20 | 
            +
            end
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            require 'spec/rake/spectask'
         | 
| 23 | 
            +
            Spec::Rake::SpecTask.new(:spec) do |spec|
         | 
| 24 | 
            +
              spec.libs << 'lib' << 'spec'
         | 
| 25 | 
            +
              spec.spec_files = FileList['spec/**/*_spec.rb']
         | 
| 26 | 
            +
            end
         | 
| 27 | 
            +
             | 
| 28 | 
            +
            Spec::Rake::SpecTask.new(:rcov) do |spec|
         | 
| 29 | 
            +
              spec.libs << 'lib' << 'spec'
         | 
| 30 | 
            +
              spec.pattern = 'spec/**/*_spec.rb'
         | 
| 31 | 
            +
              spec.rcov = true
         | 
| 32 | 
            +
            end
         | 
| 33 | 
            +
             | 
| 34 | 
            +
            task :spec => :check_dependencies
         | 
| 35 | 
            +
             | 
| 36 | 
            +
            begin
         | 
| 37 | 
            +
              require 'cucumber/rake/task'
         | 
| 38 | 
            +
              Cucumber::Rake::Task.new(:features)
         | 
| 39 | 
            +
             | 
| 40 | 
            +
              task :features => :check_dependencies
         | 
| 41 | 
            +
            rescue LoadError
         | 
| 42 | 
            +
              task :features do
         | 
| 43 | 
            +
                abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
         | 
| 44 | 
            +
              end
         | 
| 45 | 
            +
            end
         | 
| 46 | 
            +
             | 
| 47 | 
            +
            task :default => :spec
         | 
| 48 | 
            +
             | 
| 49 | 
            +
            require 'rake/rdoctask'
         | 
| 50 | 
            +
            Rake::RDocTask.new do |rdoc|
         | 
| 51 | 
            +
              version = File.exist?('VERSION') ? File.read('VERSION') : ""
         | 
| 52 | 
            +
             | 
| 53 | 
            +
              rdoc.rdoc_dir = 'rdoc'
         | 
| 54 | 
            +
              rdoc.title = "sassator #{version}"
         | 
| 55 | 
            +
              rdoc.rdoc_files.include('README*')
         | 
| 56 | 
            +
              rdoc.rdoc_files.include('lib/**/*.rb')
         | 
| 57 | 
            +
            end
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0. | 
| 1 | 
            +
            0.2.0
         | 
    
        data/bin/sassator
    CHANGED
    
    | @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            #!/usr/bin/env ruby
         | 
| 2 | 
            -
            $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
         | 
| 3 | 
            -
            require 'sassator' 
         | 
| 4 | 
            -
             | 
| 1 | 
            +
            #!/usr/bin/env ruby
         | 
| 2 | 
            +
            $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
         | 
| 3 | 
            +
            require 'sassator' 
         | 
| 4 | 
            +
             | 
    
        data/features/support/env.rb
    CHANGED
    
    | @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
         | 
| 2 | 
            -
            require 'sassator'
         | 
| 3 | 
            -
             | 
| 4 | 
            -
            require 'spec/expectations'
         | 
| 1 | 
            +
            $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
         | 
| 2 | 
            +
            require 'sassator'
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            require 'spec/expectations'
         | 
    
        data/lib/sassator.rb
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 | 
            -
            require 'rubygems'
         | 
| 2 | 
            -
            require 'sassator/compiler'
         | 
| 3 | 
            -
             | 
| 4 | 
            -
            compiler = Sassator::Compiler.new
         | 
| 5 | 
            -
            ARGV.each { |arg| compiler.watch_folder(arg) }
         | 
| 1 | 
            +
            require 'rubygems'
         | 
| 2 | 
            +
            require 'sassator/compiler'
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            compiler = Sassator::Compiler.new
         | 
| 5 | 
            +
            ARGV.each { |arg| compiler.watch_folder(arg) }
         | 
| 6 6 | 
             
            compiler.run
         | 
    
        data/lib/sassator/compiler.rb
    CHANGED
    
    | @@ -1,35 +1,35 @@ | |
| 1 | 
            -
            require 'fssm'
         | 
| 2 | 
            -
            require 'sass'
         | 
| 3 | 
            -
             | 
| 4 | 
            -
            module Sassator
         | 
| 5 | 
            -
              class Compiler
         | 
| 6 | 
            -
                def initialize
         | 
| 7 | 
            -
                  @monitor = FSSM::Monitor.new
         | 
| 8 | 
            -
                end
         | 
| 9 | 
            -
             | 
| 10 | 
            -
                def watch_folder(folder)
         | 
| 11 | 
            -
                  @monitor.path folder, '*.sass' do
         | 
| 12 | 
            -
                    puts "self is #{self}"
         | 
| 13 | 
            -
                    update do |base, relative|
         | 
| 14 | 
            -
                      puts "self is #{self}"
         | 
| 15 | 
            -
             | 
| 16 | 
            -
                      puts "compiling #{relative}"
         | 
| 17 | 
            -
                      content = File.read(File.join(base, relative))
         | 
| 18 | 
            -
                      engine = Sass::Engine.new(content, :style => :expanded)
         | 
| 19 | 
            -
                      css =engine.render
         | 
| 20 | 
            -
                      outfile = File.join(base, relative.gsub(/sass$/, "css"))
         | 
| 21 | 
            -
                      File.open(outfile, "w") do |file|
         | 
| 22 | 
            -
                        file.puts css
         | 
| 23 | 
            -
                      end
         | 
| 24 | 
            -
                      puts "css written to #{outfile}"
         | 
| 25 | 
            -
                    end
         | 
| 26 | 
            -
                  end
         | 
| 27 | 
            -
                  puts "added #{folder} to watch list"
         | 
| 28 | 
            -
                end
         | 
| 29 | 
            -
             | 
| 30 | 
            -
                def run
         | 
| 31 | 
            -
                  puts "started monitoring"
         | 
| 32 | 
            -
                  @monitor.run
         | 
| 33 | 
            -
                end
         | 
| 34 | 
            -
              end
         | 
| 1 | 
            +
            require 'fssm'
         | 
| 2 | 
            +
            require 'sass'
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            module Sassator
         | 
| 5 | 
            +
              class Compiler
         | 
| 6 | 
            +
                def initialize
         | 
| 7 | 
            +
                  @monitor = FSSM::Monitor.new
         | 
| 8 | 
            +
                end
         | 
| 9 | 
            +
             | 
| 10 | 
            +
                def watch_folder(folder)
         | 
| 11 | 
            +
                  @monitor.path folder, '*.sass' do
         | 
| 12 | 
            +
                    puts "self is #{self}"
         | 
| 13 | 
            +
                    update do |base, relative|
         | 
| 14 | 
            +
                      puts "self is #{self}"
         | 
| 15 | 
            +
             | 
| 16 | 
            +
                      puts "compiling #{relative}"
         | 
| 17 | 
            +
                      content = File.read(File.join(base, relative))
         | 
| 18 | 
            +
                      engine = Sass::Engine.new(content, :style => :expanded)
         | 
| 19 | 
            +
                      css =engine.render
         | 
| 20 | 
            +
                      outfile = File.join(base, relative.gsub(/sass$/, "css"))
         | 
| 21 | 
            +
                      File.open(outfile, "w") do |file|
         | 
| 22 | 
            +
                        file.puts css
         | 
| 23 | 
            +
                      end
         | 
| 24 | 
            +
                      puts "css written to #{outfile}"
         | 
| 25 | 
            +
                    end
         | 
| 26 | 
            +
                  end
         | 
| 27 | 
            +
                  puts "added #{folder} to watch list"
         | 
| 28 | 
            +
                end
         | 
| 29 | 
            +
             | 
| 30 | 
            +
                def run
         | 
| 31 | 
            +
                  puts "started monitoring"
         | 
| 32 | 
            +
                  @monitor.run
         | 
| 33 | 
            +
                end
         | 
| 34 | 
            +
              end
         | 
| 35 35 | 
             
            end
         | 
    
        data/sassator.gemspec
    CHANGED
    
    | @@ -1,71 +1,71 @@ | |
| 1 | 
            -
            # Generated by jeweler
         | 
| 2 | 
            -
            # DO NOT EDIT THIS FILE DIRECTLY
         | 
| 3 | 
            -
            # Instead, edit Jeweler::Tasks in  | 
| 4 | 
            -
            # -*- encoding: utf-8 -*-
         | 
| 5 | 
            -
             | 
| 6 | 
            -
            Gem::Specification.new do |s|
         | 
| 7 | 
            -
              s.name = %q{sassator}
         | 
| 8 | 
            -
              s.version = "0. | 
| 9 | 
            -
             | 
| 10 | 
            -
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 11 | 
            -
              s.authors = ["Jakub Arnold"]
         | 
| 12 | 
            -
              s.date = %q{2010- | 
| 13 | 
            -
              s.default_executable = %q{sassator}
         | 
| 14 | 
            -
              s.description = %q{Automatic  | 
| 15 | 
            -
              s.email = %q{darthdeus@gmail.com}
         | 
| 16 | 
            -
              s.executables = ["sassator"]
         | 
| 17 | 
            -
              s.extra_rdoc_files = [
         | 
| 18 | 
            -
                "LICENSE",
         | 
| 19 | 
            -
             | 
| 20 | 
            -
              ]
         | 
| 21 | 
            -
              s.files = [
         | 
| 22 | 
            -
                ".document",
         | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
             | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 29 | 
            -
             | 
| 30 | 
            -
             | 
| 31 | 
            -
             | 
| 32 | 
            -
             | 
| 33 | 
            -
             | 
| 34 | 
            -
             | 
| 35 | 
            -
             | 
| 36 | 
            -
             | 
| 37 | 
            -
             | 
| 38 | 
            -
             | 
| 39 | 
            -
               | 
| 40 | 
            -
              s. | 
| 41 | 
            -
              s.require_paths = ["lib"]
         | 
| 42 | 
            -
              s.rubygems_version = %q{1.3. | 
| 43 | 
            -
              s.summary = %q{Automatic  | 
| 44 | 
            -
              s.test_files = [
         | 
| 45 | 
            -
                "spec/sassator_spec.rb",
         | 
| 46 | 
            -
             | 
| 47 | 
            -
              ]
         | 
| 48 | 
            -
             | 
| 49 | 
            -
              if s.respond_to? :specification_version then
         | 
| 50 | 
            -
                current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
         | 
| 51 | 
            -
                s.specification_version = 3
         | 
| 52 | 
            -
             | 
| 53 | 
            -
                if Gem::Version.new(Gem:: | 
| 54 | 
            -
                  s.add_runtime_dependency(%q< | 
| 55 | 
            -
                  s.add_runtime_dependency(%q< | 
| 56 | 
            -
                  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
         | 
| 57 | 
            -
                  s.add_development_dependency(%q<cucumber>, [">= 0"])
         | 
| 58 | 
            -
                else
         | 
| 59 | 
            -
                  s.add_dependency(%q< | 
| 60 | 
            -
                  s.add_dependency(%q< | 
| 61 | 
            -
                  s.add_dependency(%q<rspec>, [">= 1.2.9"])
         | 
| 62 | 
            -
                  s.add_dependency(%q<cucumber>, [">= 0"])
         | 
| 63 | 
            -
                end
         | 
| 64 | 
            -
              else
         | 
| 65 | 
            -
                s.add_dependency(%q< | 
| 66 | 
            -
                s.add_dependency(%q< | 
| 67 | 
            -
                s.add_dependency(%q<rspec>, [">= 1.2.9"])
         | 
| 68 | 
            -
                s.add_dependency(%q<cucumber>, [">= 0"])
         | 
| 69 | 
            -
              end
         | 
| 70 | 
            -
            end
         | 
| 71 | 
            -
             | 
| 1 | 
            +
            # Generated by jeweler
         | 
| 2 | 
            +
            # DO NOT EDIT THIS FILE DIRECTLY
         | 
| 3 | 
            +
            # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
         | 
| 4 | 
            +
            # -*- encoding: utf-8 -*-
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            Gem::Specification.new do |s|
         | 
| 7 | 
            +
              s.name = %q{sassator}
         | 
| 8 | 
            +
              s.version = "0.2.0"
         | 
| 9 | 
            +
             | 
| 10 | 
            +
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 11 | 
            +
              s.authors = ["Jakub Arnold"]
         | 
| 12 | 
            +
              s.date = %q{2010-12-05}
         | 
| 13 | 
            +
              s.default_executable = %q{sassator}
         | 
| 14 | 
            +
              s.description = %q{Automatic SASS compilator for non-ruby projects.}
         | 
| 15 | 
            +
              s.email = %q{darthdeus@gmail.com}
         | 
| 16 | 
            +
              s.executables = ["sassator"]
         | 
| 17 | 
            +
              s.extra_rdoc_files = [
         | 
| 18 | 
            +
                "LICENSE",
         | 
| 19 | 
            +
                "README.rdoc"
         | 
| 20 | 
            +
              ]
         | 
| 21 | 
            +
              s.files = [
         | 
| 22 | 
            +
                ".document",
         | 
| 23 | 
            +
                "Gemfile",
         | 
| 24 | 
            +
                "Gemfile.lock",
         | 
| 25 | 
            +
                "LICENSE",
         | 
| 26 | 
            +
                "README.rdoc",
         | 
| 27 | 
            +
                "Rakefile",
         | 
| 28 | 
            +
                "VERSION",
         | 
| 29 | 
            +
                "bin/sassator",
         | 
| 30 | 
            +
                "features/sassator.feature",
         | 
| 31 | 
            +
                "features/step_definitions/sassator_steps.rb",
         | 
| 32 | 
            +
                "features/support/env.rb",
         | 
| 33 | 
            +
                "lib/sassator.rb",
         | 
| 34 | 
            +
                "lib/sassator/compiler.rb",
         | 
| 35 | 
            +
                "sassator.gemspec",
         | 
| 36 | 
            +
                "spec/sassator_spec.rb",
         | 
| 37 | 
            +
                "spec/spec.opts",
         | 
| 38 | 
            +
                "spec/spec_helper.rb"
         | 
| 39 | 
            +
              ]
         | 
| 40 | 
            +
              s.homepage = %q{http://github.com/darthdeus/sassator}
         | 
| 41 | 
            +
              s.require_paths = ["lib"]
         | 
| 42 | 
            +
              s.rubygems_version = %q{1.3.7}
         | 
| 43 | 
            +
              s.summary = %q{Automatic SASS compilator for non-ruby projects}
         | 
| 44 | 
            +
              s.test_files = [
         | 
| 45 | 
            +
                "spec/sassator_spec.rb",
         | 
| 46 | 
            +
                "spec/spec_helper.rb"
         | 
| 47 | 
            +
              ]
         | 
| 48 | 
            +
             | 
| 49 | 
            +
              if s.respond_to? :specification_version then
         | 
| 50 | 
            +
                current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
         | 
| 51 | 
            +
                s.specification_version = 3
         | 
| 52 | 
            +
             | 
| 53 | 
            +
                if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
         | 
| 54 | 
            +
                  s.add_runtime_dependency(%q<rspec>, ["~> 1.2.9"])
         | 
| 55 | 
            +
                  s.add_runtime_dependency(%q<cucumber>, [">= 0"])
         | 
| 56 | 
            +
                  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
         | 
| 57 | 
            +
                  s.add_development_dependency(%q<cucumber>, [">= 0"])
         | 
| 58 | 
            +
                else
         | 
| 59 | 
            +
                  s.add_dependency(%q<rspec>, ["~> 1.2.9"])
         | 
| 60 | 
            +
                  s.add_dependency(%q<cucumber>, [">= 0"])
         | 
| 61 | 
            +
                  s.add_dependency(%q<rspec>, [">= 1.2.9"])
         | 
| 62 | 
            +
                  s.add_dependency(%q<cucumber>, [">= 0"])
         | 
| 63 | 
            +
                end
         | 
| 64 | 
            +
              else
         | 
| 65 | 
            +
                s.add_dependency(%q<rspec>, ["~> 1.2.9"])
         | 
| 66 | 
            +
                s.add_dependency(%q<cucumber>, [">= 0"])
         | 
| 67 | 
            +
                s.add_dependency(%q<rspec>, [">= 1.2.9"])
         | 
| 68 | 
            +
                s.add_dependency(%q<cucumber>, [">= 0"])
         | 
| 69 | 
            +
              end
         | 
| 70 | 
            +
            end
         | 
| 71 | 
            +
             | 
    
        data/spec/sassator_spec.rb
    CHANGED
    
    | @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            describe "Sassator" do
         | 
| 4 | 
            -
            end
         | 
| 1 | 
            +
            require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            describe "Sassator" do
         | 
| 4 | 
            +
            end
         | 
    
        data/spec/spec.opts
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            --color
         | 
| 1 | 
            +
            --color
         | 
    
        data/spec/spec_helper.rb
    CHANGED
    
    | @@ -1,8 +1,8 @@ | |
| 1 | 
            -
            $LOAD_PATH.unshift(File.dirname(__FILE__))
         | 
| 2 | 
            -
            $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
         | 
| 3 | 
            -
             | 
| 4 | 
            -
            require 'spec'
         | 
| 5 | 
            -
            require 'spec/autorun'
         | 
| 6 | 
            -
             | 
| 7 | 
            -
            Spec::Runner.configure do |config|  
         | 
| 8 | 
            -
            end
         | 
| 1 | 
            +
            $LOAD_PATH.unshift(File.dirname(__FILE__))
         | 
| 2 | 
            +
            $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            require 'spec'
         | 
| 5 | 
            +
            require 'spec/autorun'
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            Spec::Runner.configure do |config|  
         | 
| 8 | 
            +
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: sassator
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
               | 
| 4 | 
            +
              hash: 23
         | 
| 5 | 
            +
              prerelease: false
         | 
| 6 | 
            +
              segments: 
         | 
| 7 | 
            +
              - 0
         | 
| 8 | 
            +
              - 2
         | 
| 9 | 
            +
              - 0
         | 
| 10 | 
            +
              version: 0.2.0
         | 
| 5 11 | 
             
            platform: ruby
         | 
| 6 12 | 
             
            authors: 
         | 
| 7 13 | 
             
            - Jakub Arnold
         | 
| @@ -9,50 +15,70 @@ autorequire: | |
| 9 15 | 
             
            bindir: bin
         | 
| 10 16 | 
             
            cert_chain: []
         | 
| 11 17 |  | 
| 12 | 
            -
            date: 2010- | 
| 18 | 
            +
            date: 2010-12-05 00:00:00 +01:00
         | 
| 13 19 | 
             
            default_executable: sassator
         | 
| 14 20 | 
             
            dependencies: 
         | 
| 15 21 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| 16 | 
            -
               | 
| 17 | 
            -
               | 
| 18 | 
            -
               | 
| 19 | 
            -
             | 
| 22 | 
            +
              prerelease: false
         | 
| 23 | 
            +
              name: rspec
         | 
| 24 | 
            +
              version_requirements: &id001 !ruby/object:Gem::Requirement 
         | 
| 25 | 
            +
                none: false
         | 
| 20 26 | 
             
                requirements: 
         | 
| 21 | 
            -
                - -  | 
| 27 | 
            +
                - - ~>
         | 
| 22 28 | 
             
                  - !ruby/object:Gem::Version 
         | 
| 23 | 
            -
                     | 
| 24 | 
            -
             | 
| 25 | 
            -
            -  | 
| 26 | 
            -
             | 
| 29 | 
            +
                    hash: 13
         | 
| 30 | 
            +
                    segments: 
         | 
| 31 | 
            +
                    - 1
         | 
| 32 | 
            +
                    - 2
         | 
| 33 | 
            +
                    - 9
         | 
| 34 | 
            +
                    version: 1.2.9
         | 
| 35 | 
            +
              requirement: *id001
         | 
| 27 36 | 
             
              type: :runtime
         | 
| 28 | 
            -
             | 
| 29 | 
            -
               | 
| 37 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 38 | 
            +
              prerelease: false
         | 
| 39 | 
            +
              name: cucumber
         | 
| 40 | 
            +
              version_requirements: &id002 !ruby/object:Gem::Requirement 
         | 
| 41 | 
            +
                none: false
         | 
| 30 42 | 
             
                requirements: 
         | 
| 31 43 | 
             
                - - ">="
         | 
| 32 44 | 
             
                  - !ruby/object:Gem::Version 
         | 
| 33 | 
            -
                     | 
| 34 | 
            -
             | 
| 45 | 
            +
                    hash: 3
         | 
| 46 | 
            +
                    segments: 
         | 
| 47 | 
            +
                    - 0
         | 
| 48 | 
            +
                    version: "0"
         | 
| 49 | 
            +
              requirement: *id002
         | 
| 50 | 
            +
              type: :runtime
         | 
| 35 51 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| 52 | 
            +
              prerelease: false
         | 
| 36 53 | 
             
              name: rspec
         | 
| 37 | 
            -
               | 
| 38 | 
            -
             | 
| 39 | 
            -
              version_requirements: !ruby/object:Gem::Requirement 
         | 
| 54 | 
            +
              version_requirements: &id003 !ruby/object:Gem::Requirement 
         | 
| 55 | 
            +
                none: false
         | 
| 40 56 | 
             
                requirements: 
         | 
| 41 57 | 
             
                - - ">="
         | 
| 42 58 | 
             
                  - !ruby/object:Gem::Version 
         | 
| 59 | 
            +
                    hash: 13
         | 
| 60 | 
            +
                    segments: 
         | 
| 61 | 
            +
                    - 1
         | 
| 62 | 
            +
                    - 2
         | 
| 63 | 
            +
                    - 9
         | 
| 43 64 | 
             
                    version: 1.2.9
         | 
| 44 | 
            -
             | 
| 65 | 
            +
              requirement: *id003
         | 
| 66 | 
            +
              type: :development
         | 
| 45 67 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| 68 | 
            +
              prerelease: false
         | 
| 46 69 | 
             
              name: cucumber
         | 
| 47 | 
            -
               | 
| 48 | 
            -
             | 
| 49 | 
            -
              version_requirements: !ruby/object:Gem::Requirement 
         | 
| 70 | 
            +
              version_requirements: &id004 !ruby/object:Gem::Requirement 
         | 
| 71 | 
            +
                none: false
         | 
| 50 72 | 
             
                requirements: 
         | 
| 51 73 | 
             
                - - ">="
         | 
| 52 74 | 
             
                  - !ruby/object:Gem::Version 
         | 
| 75 | 
            +
                    hash: 3
         | 
| 76 | 
            +
                    segments: 
         | 
| 77 | 
            +
                    - 0
         | 
| 53 78 | 
             
                    version: "0"
         | 
| 54 | 
            -
             | 
| 55 | 
            -
             | 
| 79 | 
            +
              requirement: *id004
         | 
| 80 | 
            +
              type: :development
         | 
| 81 | 
            +
            description: Automatic SASS compilator for non-ruby projects.
         | 
| 56 82 | 
             
            email: darthdeus@gmail.com
         | 
| 57 83 | 
             
            executables: 
         | 
| 58 84 | 
             
            - sassator
         | 
| @@ -63,7 +89,8 @@ extra_rdoc_files: | |
| 63 89 | 
             
            - README.rdoc
         | 
| 64 90 | 
             
            files: 
         | 
| 65 91 | 
             
            - .document
         | 
| 66 | 
            -
            -  | 
| 92 | 
            +
            - Gemfile
         | 
| 93 | 
            +
            - Gemfile.lock
         | 
| 67 94 | 
             
            - LICENSE
         | 
| 68 95 | 
             
            - README.rdoc
         | 
| 69 96 | 
             
            - Rakefile
         | 
| @@ -83,29 +110,35 @@ homepage: http://github.com/darthdeus/sassator | |
| 83 110 | 
             
            licenses: []
         | 
| 84 111 |  | 
| 85 112 | 
             
            post_install_message: 
         | 
| 86 | 
            -
            rdoc_options: 
         | 
| 87 | 
            -
             | 
| 113 | 
            +
            rdoc_options: []
         | 
| 114 | 
            +
             | 
| 88 115 | 
             
            require_paths: 
         | 
| 89 116 | 
             
            - lib
         | 
| 90 117 | 
             
            required_ruby_version: !ruby/object:Gem::Requirement 
         | 
| 118 | 
            +
              none: false
         | 
| 91 119 | 
             
              requirements: 
         | 
| 92 120 | 
             
              - - ">="
         | 
| 93 121 | 
             
                - !ruby/object:Gem::Version 
         | 
| 122 | 
            +
                  hash: 3
         | 
| 123 | 
            +
                  segments: 
         | 
| 124 | 
            +
                  - 0
         | 
| 94 125 | 
             
                  version: "0"
         | 
| 95 | 
            -
              version: 
         | 
| 96 126 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement 
         | 
| 127 | 
            +
              none: false
         | 
| 97 128 | 
             
              requirements: 
         | 
| 98 129 | 
             
              - - ">="
         | 
| 99 130 | 
             
                - !ruby/object:Gem::Version 
         | 
| 131 | 
            +
                  hash: 3
         | 
| 132 | 
            +
                  segments: 
         | 
| 133 | 
            +
                  - 0
         | 
| 100 134 | 
             
                  version: "0"
         | 
| 101 | 
            -
              version: 
         | 
| 102 135 | 
             
            requirements: []
         | 
| 103 136 |  | 
| 104 137 | 
             
            rubyforge_project: 
         | 
| 105 | 
            -
            rubygems_version: 1.3. | 
| 138 | 
            +
            rubygems_version: 1.3.7
         | 
| 106 139 | 
             
            signing_key: 
         | 
| 107 140 | 
             
            specification_version: 3
         | 
| 108 | 
            -
            summary: Automatic  | 
| 141 | 
            +
            summary: Automatic SASS compilator for non-ruby projects
         | 
| 109 142 | 
             
            test_files: 
         | 
| 110 143 | 
             
            - spec/sassator_spec.rb
         | 
| 111 144 | 
             
            - spec/spec_helper.rb
         | 
    
        data/.gitignore
    DELETED
    
    | @@ -1,28 +0,0 @@ | |
| 1 | 
            -
            ## MAC OS
         | 
| 2 | 
            -
            .DS_Store
         | 
| 3 | 
            -
             | 
| 4 | 
            -
            ## TEXTMATE
         | 
| 5 | 
            -
            *.tmproj
         | 
| 6 | 
            -
            tmtags
         | 
| 7 | 
            -
             | 
| 8 | 
            -
            ## EMACS
         | 
| 9 | 
            -
            *~
         | 
| 10 | 
            -
            \#*
         | 
| 11 | 
            -
            .\#*
         | 
| 12 | 
            -
             | 
| 13 | 
            -
            ## VIM
         | 
| 14 | 
            -
            *.swp
         | 
| 15 | 
            -
            *~
         | 
| 16 | 
            -
             | 
| 17 | 
            -
            ## RubyMine
         | 
| 18 | 
            -
            .idea
         | 
| 19 | 
            -
            .idea/**
         | 
| 20 | 
            -
             | 
| 21 | 
            -
            ## PROJECT::GENERAL
         | 
| 22 | 
            -
            coverage
         | 
| 23 | 
            -
            rdoc
         | 
| 24 | 
            -
            pkg
         | 
| 25 | 
            -
             | 
| 26 | 
            -
            ## PROJECT::SPECIFIC
         | 
| 27 | 
            -
            lib/file.sass
         | 
| 28 | 
            -
            lib/file.css
         |