parallel_tests 0.8.10 → 0.8.11
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/Gemfile.lock +1 -1
- data/Readme.md +1 -0
- data/lib/parallel_tests/tasks.rb +6 -2
- data/lib/parallel_tests/version.rb +1 -1
- metadata +4 -4
    
        data/Gemfile.lock
    CHANGED
    
    
    
        data/Readme.md
    CHANGED
    
    | @@ -172,6 +172,7 @@ TIPS | |
| 172 172 |  | 
| 173 173 | 
             
            TODO
         | 
| 174 174 | 
             
            ====
         | 
| 175 | 
            +
             - add tests for the rake tasks, maybe generate a rails project ...
         | 
| 175 176 | 
             
             - add unit tests for cucumber runtime formatter
         | 
| 176 177 | 
             
             - make jRuby compatible [basics](http://yehudakatz.com/2009/07/01/new-rails-isolation-testing/)
         | 
| 177 178 | 
             
             - make windows compatible
         | 
    
        data/lib/parallel_tests/tasks.rb
    CHANGED
    
    | @@ -40,8 +40,12 @@ namespace :parallel do | |
| 40 40 | 
             
              # just load the schema (good for integration server <-> no development db)
         | 
| 41 41 | 
             
              desc "load dumped schema for test databases via db:schema:load --> parallel:load_schema[num_cpus]"
         | 
| 42 42 | 
             
              task :load_schema, :count do |t,args|
         | 
| 43 | 
            -
                 | 
| 44 | 
            -
                 | 
| 43 | 
            +
                # sed does not support | without -r -> stay basic
         | 
| 44 | 
            +
                # grep changes the exitstatus if nothing matches
         | 
| 45 | 
            +
                # without pipefail parallel:prepare would exit 0 even if it failed due to sed exiting with 0
         | 
| 46 | 
            +
                # defining a new rake task like silence_schema would force users to load parallel_tests in test env
         | 
| 47 | 
            +
                suppress_schema_noise = '| sed "/^-- /d" | sed "/^   ->/d"'
         | 
| 48 | 
            +
                run_in_parallel("set -o pipefail ; rake db:schema:load RAILS_ENV=#{rails_env} #{suppress_schema_noise}", args)
         | 
| 45 49 | 
             
              end
         | 
| 46 50 |  | 
| 47 51 | 
             
              desc "load the seed data from db/seeds.rb via db:seed --> parallel:seed[num_cpus]"
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: parallel_tests
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.8. | 
| 4 | 
            +
              version: 0.8.11
         | 
| 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-09- | 
| 12 | 
            +
            date: 2012-09-15 00:00:00.000000000 Z
         | 
| 13 13 | 
             
            dependencies:
         | 
| 14 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 15 | 
             
              name: parallel
         | 
| @@ -90,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 90 90 | 
             
                  version: '0'
         | 
| 91 91 | 
             
                  segments:
         | 
| 92 92 | 
             
                  - 0
         | 
| 93 | 
            -
                  hash:  | 
| 93 | 
            +
                  hash: -591028116551061521
         | 
| 94 94 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 95 95 | 
             
              none: false
         | 
| 96 96 | 
             
              requirements:
         | 
| @@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 99 99 | 
             
                  version: '0'
         | 
| 100 100 | 
             
                  segments:
         | 
| 101 101 | 
             
                  - 0
         | 
| 102 | 
            -
                  hash:  | 
| 102 | 
            +
                  hash: -591028116551061521
         | 
| 103 103 | 
             
            requirements: []
         | 
| 104 104 | 
             
            rubyforge_project: 
         | 
| 105 105 | 
             
            rubygems_version: 1.8.24
         |