cutest 1.0.0 → 1.0.1
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/README.markdown +0 -2
- data/bin/cutest +2 -3
- data/cutest.gemspec +1 -1
- data/lib/cutest.rb +1 -16
- metadata +4 -12
    
        data/README.markdown
    CHANGED
    
    
    
        data/bin/cutest
    CHANGED
    
    | @@ -3,7 +3,7 @@ | |
| 3 3 | 
             
            require File.expand_path("../lib/cutest", File.dirname(__FILE__))
         | 
| 4 4 |  | 
| 5 5 | 
             
            if ARGV.empty?
         | 
| 6 | 
            -
              puts "usage: cutest [-r lib] [-v]  | 
| 6 | 
            +
              puts "usage: cutest [-r lib] [-v] file ..."
         | 
| 7 7 | 
             
              exit
         | 
| 8 8 | 
             
            end
         | 
| 9 9 |  | 
| @@ -64,7 +64,6 @@ end | |
| 64 64 |  | 
| 65 65 | 
             
            files = Cutest::Clap.run ARGV,
         | 
| 66 66 | 
             
              "-r"      => lambda { |file| require file },
         | 
| 67 | 
            -
              "-v"      => lambda { puts Cutest::VERSION } | 
| 68 | 
            -
              "--debug" => lambda { ENV["DEBUG"] = true }
         | 
| 67 | 
            +
              "-v"      => lambda { puts Cutest::VERSION }
         | 
| 69 68 |  | 
| 70 69 | 
             
            Cutest.run(Dir[*files]) if files.any?
         | 
    
        data/cutest.gemspec
    CHANGED
    
    
    
        data/lib/cutest.rb
    CHANGED
    
    | @@ -1,20 +1,5 @@ | |
| 1 1 | 
             
            class Cutest
         | 
| 2 | 
            -
              VERSION = "1.0. | 
| 3 | 
            -
             | 
| 4 | 
            -
              if ENV["DEBUG"]
         | 
| 5 | 
            -
                begin
         | 
| 6 | 
            -
                  require "ruby-debug"
         | 
| 7 | 
            -
                rescue LoadError
         | 
| 8 | 
            -
                  puts "Cutest needs ruby-debug, but it couldn't be required."
         | 
| 9 | 
            -
                  puts "Please install ruby-debug or ruby-debug19 and try again."
         | 
| 10 | 
            -
                  exit
         | 
| 11 | 
            -
                end
         | 
| 12 | 
            -
             | 
| 13 | 
            -
                Debugger.settings[:autoeval] = 1
         | 
| 14 | 
            -
                Debugger.settings[:autolist] = 1
         | 
| 15 | 
            -
                Debugger.settings[:listsize] = 5
         | 
| 16 | 
            -
                Debugger.settings[:reload_source_on_change] = 1
         | 
| 17 | 
            -
              end
         | 
| 2 | 
            +
              VERSION = "1.0.1"
         | 
| 18 3 |  | 
| 19 4 | 
             
              def self.run(files)
         | 
| 20 5 | 
             
                files.each do |file|
         | 
    
        metadata
    CHANGED
    
    | @@ -1,12 +1,8 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: cutest
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              prerelease:  | 
| 5 | 
            -
               | 
| 6 | 
            -
              - 1
         | 
| 7 | 
            -
              - 0
         | 
| 8 | 
            -
              - 0
         | 
| 9 | 
            -
              version: 1.0.0
         | 
| 4 | 
            +
              prerelease: 
         | 
| 5 | 
            +
              version: 1.0.1
         | 
| 10 6 | 
             
            platform: ruby
         | 
| 11 7 | 
             
            authors: 
         | 
| 12 8 | 
             
            - Damian Janowski
         | 
| @@ -15,7 +11,7 @@ autorequire: | |
| 15 11 | 
             
            bindir: bin
         | 
| 16 12 | 
             
            cert_chain: []
         | 
| 17 13 |  | 
| 18 | 
            -
            date:  | 
| 14 | 
            +
            date: 2011-02-14 00:00:00 -03:00
         | 
| 19 15 | 
             
            default_executable: 
         | 
| 20 16 | 
             
            dependencies: []
         | 
| 21 17 |  | 
| @@ -57,21 +53,17 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 57 53 | 
             
              requirements: 
         | 
| 58 54 | 
             
              - - ">="
         | 
| 59 55 | 
             
                - !ruby/object:Gem::Version 
         | 
| 60 | 
            -
                  segments: 
         | 
| 61 | 
            -
                  - 0
         | 
| 62 56 | 
             
                  version: "0"
         | 
| 63 57 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement 
         | 
| 64 58 | 
             
              none: false
         | 
| 65 59 | 
             
              requirements: 
         | 
| 66 60 | 
             
              - - ">="
         | 
| 67 61 | 
             
                - !ruby/object:Gem::Version 
         | 
| 68 | 
            -
                  segments: 
         | 
| 69 | 
            -
                  - 0
         | 
| 70 62 | 
             
                  version: "0"
         | 
| 71 63 | 
             
            requirements: []
         | 
| 72 64 |  | 
| 73 65 | 
             
            rubyforge_project: 
         | 
| 74 | 
            -
            rubygems_version: 1. | 
| 66 | 
            +
            rubygems_version: 1.5.2
         | 
| 75 67 | 
             
            signing_key: 
         | 
| 76 68 | 
             
            specification_version: 3
         | 
| 77 69 | 
             
            summary: Forking tests.
         |