rainforest-cli 1.0.1 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4691d682cea9f0800d51a9b83efa292c0dacccd
4
- data.tar.gz: f213e7432e7a48f8c6d3ae797d3d5df41ab86b2d
3
+ metadata.gz: e3a484bd94488a210728f2a47ea8d10e72d1910a
4
+ data.tar.gz: 2690b22660e7ab92114a66a5f3c431f6b7cdbb6c
5
5
  SHA512:
6
- metadata.gz: bfa83c307d2fed9acd62bac1517d55ffe8bbabba2644f753c7a2dd5b2ce6c5f4a3188c068d9c98b46de95909387d3eb905a7a3c4ff69f1e953a3958b6b4770c3
7
- data.tar.gz: 0566f2c4a89978464b52492d38b07607a57f8f63f55604e18a6a60dd649a9b2e17316a2fa8378d18b2e51ce29e5e847ce2c984b8d314290952506a7a0f7befee
6
+ metadata.gz: 51edacba7bc21caf29103f7b51e453c246935b6a997b5919e5997de0bf52f7cbcc53f0523020fb1ef2db5f3852d5b8f5e5eaf2164644e13548f93a9ce7b35d00
7
+ data.tar.gz: 63b6e946f0c31eaf449b53e97f2c63ef76bd93dc49c319c671b00274bb51a3bba8914752ed7511755d0eb4ea5f1758e12e514eeab39440d58edeb27a224e4873
data/README.md CHANGED
@@ -38,7 +38,7 @@ rainforest run all --fg --token YOUR_TOKEN_HERE
38
38
  Run all tests with tag 'run-me' and abort previous in-progress runs.
39
39
 
40
40
  ```bash
41
- rainforest run --tag run-me --fg --conflict abort --token YOUR_TOKEN_HERE
41
+ rainforest run --tag run-me --fg --conflict abort --token YOUR_TOKEN_HERE
42
42
  ```
43
43
 
44
44
 
@@ -51,17 +51,19 @@ Required:
51
51
 
52
52
 
53
53
  ### Running Tests
54
- The options are:
54
+ The most popular options are:
55
55
 
56
56
  - `--browsers ie8` or `--browsers ie8,chrome` - specficy the browsers you wish to run against. This overrides the test own settings. Valid browsers are ie8, ie9, chrome, firefox and safari.
57
57
  - `--tag run-me` - only run tests which have this tag (recommended if you have lots of [test-steps](http://docs.rainforestqa.com/pages/example-test-suite.html#test_steps))!)
58
58
  - `--site-id` - only run tests for a specific site. Get in touch with us for help on getting that you site id if you are unable to.
59
59
  - `--conflict abort` - if you trigger rainforest more than once, anything running will be aborted and a fresh run started
60
- - `--fg` - results in the foreground - rainforest-cli will not return until the run is complete. This is what you want to make the build pass / fail dependent on rainforest results
60
+ - `--fg` - results in the foreground - rainforest-cli will not return until the run is complete. This is what you want to make the build pass / fail dependent on rainforest results
61
61
  - `--fail-fast` - fail the build as soon as the first failed result comes in. If you don't pass this it will wait until 100% of the run is done. Use with `--fg`.
62
62
  - `--custom-url` - use a custom url for this run. Example use case: an ad-hoc QA environment with [Fourchette](https://github.com/rainforestapp/fourchette). You will need to specify a `site_id` too for this to work. Note that we will be creating a new environment for this particular run.
63
63
  - `--git-trigger` - only trigger a run when the last commit (for a git repo in the current working directory) has contains `@rainforest` and a list of one or more tags. E.g. "Fix checkout process. @rainforest #checkout" would trigger a run for everything tagged `checkout`. This over-rides `--tag` and any tests specified. If no `@rainforest` is detected it will exit 0.
64
64
 
65
+ More detailed info on options can be [found here](https://github.com/rainforestapp/rainforest-cli/blob/master/lib/rainforest/cli/options.rb#L23-L74).
66
+
65
67
  ## Support
66
68
 
67
69
  Email [help@rainforestqa.com](mailto:help@rainforestqa.com) if you're having trouble using this gem or need help to integrate Rainforest in your CI or deployment flow.
@@ -4,6 +4,7 @@ require "rainforest/cli/runner"
4
4
  require "rainforest/cli/http_client"
5
5
  require "rainforest/cli/git_trigger"
6
6
  require "rainforest/cli/csv_importer"
7
+ require "erb"
7
8
  require "httparty"
8
9
  require "json"
9
10
  require "logger"
@@ -1,5 +1,5 @@
1
1
  module Rainforest
2
2
  module Cli
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rainforest-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Mathieu
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-03-07 00:00:00.000000000 Z
12
+ date: 2015-05-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty