newman_scenario 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db3fa867f95474727ab64c32b64744342f43da5a3c02e4777615e8f75beca6f6
4
- data.tar.gz: 7b601be5b0d553f6f8f3e5a589f2906b356bf46b58a09086427fde649e02b7ac
3
+ metadata.gz: 0b65ccaa6ad92719269d323a401c596ac08fc89d61854e896112cb92a0369e19
4
+ data.tar.gz: dd0d85c67adcef4346a629689530a08a9de5f2eba9e781935f7bebf1fb197ed2
5
5
  SHA512:
6
- metadata.gz: bc27fe0cbd9cdd3d3f1db8ac681086df3e31b02804e562115e012b7a09897018359ad7e3013bf2e843e36597c9c84ee0c44560267a80b3e91da440ccc3c950ed
7
- data.tar.gz: 38ff362376ffb4e7ba2c169a5794fcf62293ececeaca01a4d8123d821b9ef5e6ea27c1d22283e68fc779a9d0cf93122939e97e035dc9085c94dfdbf9cf266405
6
+ metadata.gz: ba8acf963c6e2bf78765afa5d8ce85a27c0c859ffc54d59efc48cbe73575750f817668e97d2c3a57b9c920827edc1efd0b683968b7504f64cc16bfdce070b2c0
7
+ data.tar.gz: 24732617bc7847bae9393e4fddf96b7523f5c52211d53b4dbc34d7a54d229eab3514ed968b0647053f5e11a94e588f3196a9326b8ed87f8739997693cecaca60
data/.gitignore CHANGED
@@ -9,3 +9,7 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ *.gem
13
+ *.json
14
+ *secret*
15
+ .env
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- newman_scenario (0.1.7)
4
+ newman_scenario (0.1.8)
5
5
  dotenv (= 2.7.5)
6
6
  httparty (= 0.16.2)
7
7
  thor (= 1.0.1)
@@ -12,9 +12,10 @@ module NewmanScenario
12
12
 
13
13
  `run_scenario` will prompt for the postman environment to use and create or re-used an existing scenario
14
14
  EOF
15
- option :bail
15
+ method_option :no_prompt, :aliases => "-x", :desc => "No prompt"
16
+ method_option :bail, :aliases => "-b", :desc => "Bailed after first request test failure"
16
17
  def run_scenario( environment = nil, scenario = nil )
17
- Scenario.new.run(scenario_name: scenario, environment_name: environment, bail: options[:bail])
18
+ Scenario.new.run(scenario_name: scenario, environment_name: environment, bail: options[:bail], no_prompt: options.key?(:no_prompt))
18
19
  end
19
20
 
20
21
  desc "configure", "configure Postman vs newman_scenario"
@@ -1,3 +1,3 @@
1
1
  module NewmanScenario
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newman_scenario
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hugues Bernet-Rollande
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-25 00:00:00.000000000 Z
11
+ date: 2020-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-prompt