semaphore_test_boosters 1.2.1 → 1.2.2
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.
- checksums.yaml +4 -4
- data/config/cucumber.yml +1 -1
- data/exe/cucumber_booster +5 -2
- data/lib/test_boosters/cucumber_booster.rb +3 -0
- data/lib/test_boosters/version.rb +1 -1
- data/lib/test_boosters.rb +1 -0
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: b072a6447772e3d6d465a12dcc4f7d583cf40432
         | 
| 4 | 
            +
              data.tar.gz: d5b42645fae00a89d9f405c84d5cbb2c91e20db6
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 1d82bac4cd1c6100a5603e5029ede7937f8c82281fd4c43441c7363d16687d2b1323e577cc8f3cbc475c906527f081342409ab8d2a8ca980f9de6f1c4053325e
         | 
| 7 | 
            +
              data.tar.gz: 5a7c942ebe496e0128e153b8beea1d1d7f07f4ddf9128d702d849ec14d9870f8701e6063c19238bae384921bc1834ccfb5cf2d505635be1e61aa80086e25d03f
         | 
    
        data/config/cucumber.yml
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
             | 
| 1 | 
            +
            default: --format pretty 
         | 
    
        data/exe/cucumber_booster
    CHANGED
    
    | @@ -1,7 +1,6 @@ | |
| 1 1 | 
             
            #!/usr/bin/env ruby
         | 
| 2 2 |  | 
| 3 | 
            -
            require  | 
| 4 | 
            -
            require 'test_boosters/run_cucumber_config'
         | 
| 3 | 
            +
            require 'test_boosters'
         | 
| 5 4 |  | 
| 6 5 | 
             
            Semaphore::run_cucumber_config
         | 
| 7 6 |  | 
| @@ -9,4 +8,8 @@ cli_options = Semaphore::parse | |
| 9 8 | 
             
            thread_index = cli_options[:index] - 1
         | 
| 10 9 | 
             
            cucumber_booster = Semaphore::CucumberBooster.new(thread_index)
         | 
| 11 10 | 
             
            exit_status = cucumber_booster.run
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            report_path = cucumber_booster.report_path
         | 
| 13 | 
            +
            Semaphore::InsightsUploader.new.upload("cucumber", report_path)
         | 
| 14 | 
            +
             | 
| 12 15 | 
             
            exit(exit_status)
         | 
| @@ -7,9 +7,12 @@ module Semaphore | |
| 7 7 | 
             
              require "test_boosters/leftover_files"
         | 
| 8 8 |  | 
| 9 9 | 
             
              class CucumberBooster
         | 
| 10 | 
            +
                attr_reader :report_path
         | 
| 11 | 
            +
             | 
| 10 12 | 
             
                def initialize(thread_index)
         | 
| 11 13 | 
             
                  @thread_index = thread_index
         | 
| 12 14 | 
             
                  @cucumber_split_configuration_path = ENV["CUCUMBER_SPLIT_CONFIGURATION_PATH"] || "#{ENV["HOME"]}/cucumber_split_configuration.json"
         | 
| 15 | 
            +
                  @report_path = "#{ENV["HOME"]}/rspec_report.json"
         | 
| 13 16 | 
             
                  @spec_path = ENV["SPEC_PATH"] || "features"
         | 
| 14 17 | 
             
                end
         | 
| 15 18 |  | 
    
        data/lib/test_boosters.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: semaphore_test_boosters
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.2. | 
| 4 | 
            +
              version: 1.2.2
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - MAINTAINER Rendered Text
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2017-03- | 
| 11 | 
            +
            date: 2017-03-13 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: semaphore_cucumber_booster_config
         |