guard-rspec 2.0.0 → 2.1.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/README.md +1 -0
- data/lib/guard/rspec/runner.rb +7 -1
- data/lib/guard/rspec/version.rb +1 -1
- metadata +2 -2
    
        data/README.md
    CHANGED
    
    | @@ -119,6 +119,7 @@ Former `:color`, `:drb`, `:fail_fast` and `:formatter` options are deprecated an | |
| 119 119 | 
             
            :run_all => { :cli => "-p" } # cli arguments to use when running all specs, default: same as :cli
         | 
| 120 120 | 
             
            :spec_paths => ["spec"]      # specify an array of paths that contain spec files
         | 
| 121 121 | 
             
            :turnip => true              # enable turnip support; default: false
         | 
| 122 | 
            +
            :zeus => true                # enable zeus support; default: false
         | 
| 122 123 | 
             
            ```
         | 
| 123 124 |  | 
| 124 125 | 
             
            You can also use a custom binstubs directory using `:binstubs => 'some-dir'`.
         | 
    
        data/lib/guard/rspec/runner.rb
    CHANGED
    
    | @@ -15,7 +15,8 @@ module Guard | |
| 15 15 | 
             
                      :cli          => nil,
         | 
| 16 16 | 
             
                      :env          => nil,
         | 
| 17 17 | 
             
                      :notification => true,
         | 
| 18 | 
            -
                      :turnip       => false
         | 
| 18 | 
            +
                      :turnip       => false,
         | 
| 19 | 
            +
                      :zeus         => false
         | 
| 19 20 | 
             
                    }.merge(options)
         | 
| 20 21 |  | 
| 21 22 | 
             
                    deprecations_warnings
         | 
| @@ -89,6 +90,7 @@ module Guard | |
| 89 90 | 
             
                    cmd_parts << environment_variables
         | 
| 90 91 | 
             
                    cmd_parts << "rvm #{@options[:rvm].join(',')} exec" if @options[:rvm].respond_to?(:join)
         | 
| 91 92 | 
             
                    cmd_parts << "bundle exec" if bundle_exec?
         | 
| 93 | 
            +
                    cmd_parts << 'zeus' if zeus?
         | 
| 92 94 | 
             
                    cmd_parts << rspec_executable
         | 
| 93 95 | 
             
                    cmd_parts << rspec_arguments(paths, options)
         | 
| 94 96 | 
             
                    cmd_parts.compact.join(' ')
         | 
| @@ -167,6 +169,10 @@ module Guard | |
| 167 169 | 
             
                    @binstubs ||= !!@options[:binstubs]
         | 
| 168 170 | 
             
                  end
         | 
| 169 171 |  | 
| 172 | 
            +
                  def zeus?
         | 
| 173 | 
            +
                    @options[:zeus] || false
         | 
| 174 | 
            +
                  end
         | 
| 175 | 
            +
             | 
| 170 176 | 
             
                  def binstubs
         | 
| 171 177 | 
             
                    @options[:binstubs] == true ? "bin" : @options[:binstubs]
         | 
| 172 178 | 
             
                  end
         | 
    
        data/lib/guard/rspec/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: guard-rspec
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2. | 
| 4 | 
            +
              version: 2.1.0
         | 
| 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: 2012- | 
| 12 | 
            +
            date: 2012-10-07 00:00:00.000000000 Z
         | 
| 13 13 | 
             
            dependencies:
         | 
| 14 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 15 | 
             
              name: guard
         |