shindo 0.3.7 → 0.3.8
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/bin/shindo +5 -1
- data/bin/shindont +5 -1
- data/lib/shindo.rb +1 -1
- data/lib/shindo/bin.rb +1 -6
- data/shindo.gemspec +2 -2
- metadata +2 -2
    
        data/bin/shindo
    CHANGED
    
    | @@ -1,4 +1,8 @@ | |
| 1 1 | 
             
            #!/usr/bin/env ruby
         | 
| 2 2 | 
             
            @thread_locals = { :interactive => true }
         | 
| 3 3 | 
             
            require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'verbose'))
         | 
| 4 | 
            -
             | 
| 4 | 
            +
            if Kernel.respond_to?(:require_relative)
         | 
| 5 | 
            +
              require_relative File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'bin'))
         | 
| 6 | 
            +
            else
         | 
| 7 | 
            +
              require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'bin'))
         | 
| 8 | 
            +
            end
         | 
    
        data/bin/shindont
    CHANGED
    
    | @@ -1,4 +1,8 @@ | |
| 1 1 | 
             
            #!/usr/bin/env ruby
         | 
| 2 2 | 
             
            @thread_locals = { :interactive => false }
         | 
| 3 3 | 
             
            require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'taciturn'))
         | 
| 4 | 
            -
             | 
| 4 | 
            +
            if Kernel.respond_to?(:require_relative)
         | 
| 5 | 
            +
              require_relative File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'bin'))
         | 
| 6 | 
            +
            else
         | 
| 7 | 
            +
              require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'bin'))
         | 
| 8 | 
            +
            end
         | 
    
        data/lib/shindo.rb
    CHANGED
    
    
    
        data/lib/shindo/bin.rb
    CHANGED
    
    | @@ -62,12 +62,7 @@ def run_in_thread(helpers, tests, thread_locals) | |
| 62 62 | 
             
                  end
         | 
| 63 63 | 
             
                end
         | 
| 64 64 | 
             
              }
         | 
| 65 | 
            -
               | 
| 66 | 
            -
                shindo.join
         | 
| 67 | 
            -
              rescue
         | 
| 68 | 
            -
                # continue, even if threads are gone
         | 
| 69 | 
            -
                # see: https://github.com/geemus/shindo/issues/12
         | 
| 70 | 
            -
              end
         | 
| 65 | 
            +
              shindo.join
         | 
| 71 66 | 
             
              if shindo[:reload]
         | 
| 72 67 | 
             
                run_in_thread(helpers, tests, thread_locals)
         | 
| 73 68 | 
             
              else
         | 
    
        data/shindo.gemspec
    CHANGED
    
    | @@ -13,8 +13,8 @@ Gem::Specification.new do |s| | |
| 13 13 | 
             
              ## If your rubyforge_project name is different, then edit it and comment out
         | 
| 14 14 | 
             
              ## the sub! line in the Rakefile
         | 
| 15 15 | 
             
              s.name              = 'shindo'
         | 
| 16 | 
            -
              s.version           = '0.3. | 
| 17 | 
            -
              s.date              = '2013-10- | 
| 16 | 
            +
              s.version           = '0.3.8'
         | 
| 17 | 
            +
              s.date              = '2013-10-10'
         | 
| 18 18 | 
             
              s.rubyforge_project = 'shindo'
         | 
| 19 19 |  | 
| 20 20 | 
             
              ## Make sure your summary is short. The description may be as long
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: shindo
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.3. | 
| 4 | 
            +
              version: 0.3.8
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -9,7 +9,7 @@ authors: | |
| 9 9 | 
             
            autorequire: 
         | 
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 | 
            -
            date: 2013-10- | 
| 12 | 
            +
            date: 2013-10-10 00:00:00.000000000 Z
         | 
| 13 13 | 
             
            dependencies:
         | 
| 14 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 15 | 
             
              name: formatador
         |