travis 1.9.1.travis.1201.9 → 1.9.1.travis.1205.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +64 -64
- data/lib/travis/cli/repo_command.rb +4 -2
- data/spec/cli/encrypt_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18bd45bd1e3ce83bf3f40eb08acc8a7fdba7b6309b5c9caa4e6e991a66d66de9
|
4
|
+
data.tar.gz: af632bc701540a9c06ac2c3f2df9ed6a4ff9ccb3af14daf654db1f6c5a51b6c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bc2f53dab824bf04e8ee94b3828835b03d5ba9349fa6d3ca0ec42b6058cab256b7ad0e530e6f58e40223c8832274c3feedc6dd85e8c816ed37416a9d59be46e
|
7
|
+
data.tar.gz: df6e056fbc55fa18ef326550bcf27f0ac8347bacf7ef760f5aeac8e22a9fe704f84488a59d741ce94dcbfddfb9294927df1ff2c95b22111119aa071d2f5f9683
|
data/README.md
CHANGED
@@ -2124,7 +2124,7 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
2124
2124
|
|
2125
2125
|
## Version History
|
2126
2126
|
|
2127
|
-
|
2127
|
+
### 1.9.0 (April 27, 2020)
|
2128
2128
|
|
2129
2129
|
* Require Ruby 2.3 and up
|
2130
2130
|
* Add Ruby 2.7 support
|
@@ -2147,53 +2147,53 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
2147
2147
|
* Define `skip_cleanup` for `setup` command if using `dpl` v1 https://github.com/travis-ci/travis.rb/pull/704
|
2148
2148
|
* Prevent `.bashrc` from failing when init file is not present https://github.com/travis-ci/travis.rb/pull/595
|
2149
2149
|
|
2150
|
-
|
2150
|
+
### 1.8.13 (April 7, 2020)
|
2151
2151
|
|
2152
2152
|
* Add support for [`gh`](https://github.com/travis-ci/gh) [0.16.0](https://rubygems.org/gems/gh/versions/0.16.0)
|
2153
2153
|
|
2154
|
-
|
2154
|
+
### 1.8.12 (March 23, 2020)
|
2155
2155
|
|
2156
2156
|
* Fix `encrypt-file` command (https://github.com/travis-ci/travis.rb/pull/715)
|
2157
2157
|
* Fix `console` command (https://github.com/travis-ci/travis.rb/issues/654)
|
2158
2158
|
* Ask for confirmation when `encrypt` and `encrypt-file` commands receive
|
2159
2159
|
`-a`, `--add` flag (https://github.com/travis-ci/travis.rb/issues/651)
|
2160
2160
|
|
2161
|
-
|
2161
|
+
### 1.8.11 (March 2, 2020)
|
2162
2162
|
|
2163
2163
|
* Generate unique key-iv pair for each file (https://github.com/travis-ci/travis.rb/pull/678)
|
2164
2164
|
* Add logout command
|
2165
2165
|
|
2166
|
-
|
2166
|
+
### 1.8.10 (May 5, 2019)
|
2167
2167
|
|
2168
|
-
|
2168
|
+
### 1.8.8 (March 3, 2017)
|
2169
2169
|
|
2170
2170
|
* Fix auto-login for when token is locally available
|
2171
2171
|
|
2172
|
-
|
2172
|
+
### $1 (July 15, 2015)
|
2173
2173
|
|
2174
2174
|
* Fix listener for pusher changes on [travis-ci.org](https://travis-ci.org).
|
2175
2175
|
* Change `monitor` command to only monitor personal repositories if `common` channel is not available.
|
2176
2176
|
|
2177
|
-
|
2177
|
+
### $1 (May 26, 2015)
|
2178
2178
|
|
2179
2179
|
* Fix `travis whatsup` for fresh Travis Enterprise installations.
|
2180
2180
|
|
2181
|
-
|
2181
|
+
### $1 (April 08, 2015)
|
2182
2182
|
|
2183
2183
|
* Add support for "received" build state.
|
2184
2184
|
* Fix issue with archived logs.
|
2185
2185
|
* On version check, do not kill the process if a newer version has been released.
|
2186
2186
|
|
2187
|
-
|
2187
|
+
### $1 (January 15, 2015)
|
2188
2188
|
|
2189
2189
|
* Add support for url.<remote>.insteadOf
|
2190
2190
|
* Fix packaging error with 1.7.4, in which Code Deploy setup code was not included
|
2191
2191
|
|
2192
|
-
|
2192
|
+
### $1 (November 12, 2014)
|
2193
2193
|
|
2194
2194
|
* Add `travis setup codedeploy`
|
2195
2195
|
|
2196
|
-
|
2196
|
+
### $1 (November 10, 2014)
|
2197
2197
|
|
2198
2198
|
* Add `travis setup biicode`
|
2199
2199
|
* Add `travis env clear`
|
@@ -2201,7 +2201,7 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
2201
2201
|
* Fix bug in S3 ACL settings.
|
2202
2202
|
* Make `travis console` work with newer pry versions.
|
2203
2203
|
|
2204
|
-
|
2204
|
+
### $1 (September 17, 2014)
|
2205
2205
|
|
2206
2206
|
* Add `travis setup elasticbeanstalk`.
|
2207
2207
|
* Properly display educational accounts in `travis accounts`.
|
@@ -2211,12 +2211,12 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
2211
2211
|
* Better handling of multibyte characters in archived logs.
|
2212
2212
|
* Use more restricitve permissions for the config file.
|
2213
2213
|
|
2214
|
-
|
2214
|
+
### $1 (August 9, 2014)
|
2215
2215
|
|
2216
2216
|
* Better error message when trying to encrypt a string that is too long.
|
2217
2217
|
* Fix Validation failed error using `travis sshkey --upload`.
|
2218
2218
|
|
2219
|
-
|
2219
|
+
### $1 (August 5, 2014)
|
2220
2220
|
|
2221
2221
|
* Add `travis encrypt-file`.
|
2222
2222
|
* Add `--store-repo`/`-R` to repository commands to permanently store the slug for a repository.
|
@@ -2229,16 +2229,16 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
2229
2229
|
* Have `travis sshkey --upload` check that the content is a private key.
|
2230
2230
|
* Make `travis sshkey --upload` prompt for and remove the pass phrase if the key is encrypted.
|
2231
2231
|
|
2232
|
-
|
2232
|
+
### $1 (July 25, 2014)
|
2233
2233
|
|
2234
2234
|
* Add `travis sshkey` and corresponding Ruby API.
|
2235
2235
|
* Make desktop notifications work on Mac OS X 10.10.
|
2236
2236
|
|
2237
|
-
|
2237
|
+
### $1 (July 19, 2014)
|
2238
2238
|
|
2239
2239
|
* Fix check for updates.
|
2240
2240
|
|
2241
|
-
|
2241
|
+
### $1 (July 18, 2014)
|
2242
2242
|
|
2243
2243
|
* Add `travis env [list|add|set|copy]`.
|
2244
2244
|
* Add `Repository#env_vars`.
|
@@ -2252,29 +2252,29 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
2252
2252
|
* Proper handling for empty or broken config files.
|
2253
2253
|
* Reset terminal colors after `travis logs`.
|
2254
2254
|
|
2255
|
-
|
2255
|
+
### $1 (June 17, 2014)
|
2256
2256
|
|
2257
2257
|
* Add `travis lint` command and Ruby API.
|
2258
2258
|
|
2259
|
-
|
2259
|
+
### $1 (June 15, 2014)
|
2260
2260
|
|
2261
2261
|
* Added Deis and Hackage setup support.
|
2262
2262
|
|
2263
|
-
|
2263
|
+
### $1 (June 12, 2014)
|
2264
2264
|
|
2265
2265
|
* Added artifacts setup support.
|
2266
2266
|
|
2267
|
-
|
2267
|
+
### $1 (May 12, 2014)
|
2268
2268
|
|
2269
2269
|
* Added Cloud 66 and Ninefold setup support.
|
2270
2270
|
* Require typhoeus 0.6.8 and later.
|
2271
2271
|
|
2272
|
-
|
2272
|
+
### $1 (April 24, 2014)
|
2273
2273
|
|
2274
2274
|
* Better CloudFoundry support
|
2275
2275
|
* Update Faraday to version 0.9.
|
2276
2276
|
|
2277
|
-
|
2277
|
+
### $1 (April 9, 2014)
|
2278
2278
|
|
2279
2279
|
* Add `--limit` to `travis requests`.
|
2280
2280
|
* Add `--committer` option to `travis history`.
|
@@ -2284,7 +2284,7 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
2284
2284
|
* Update Rubinius version generated by `travis init ruby`.
|
2285
2285
|
* Improve setup when running `travis` executable that has not been installed via RubyGems.
|
2286
2286
|
|
2287
|
-
|
2287
|
+
### $1 (March 12, 2014)
|
2288
2288
|
|
2289
2289
|
* Display annotations in `travis show`.
|
2290
2290
|
* Add `travis requests` to see build requests Travis CI has received.
|
@@ -2292,7 +2292,7 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
2292
2292
|
* Add `Repository#requests` to Ruby library.
|
2293
2293
|
* Fix behavior for missing entities.
|
2294
2294
|
|
2295
|
-
|
2295
|
+
### $1 (January 30, 2014)
|
2296
2296
|
|
2297
2297
|
* Properly display OS for projects tested on multiple operating systems.
|
2298
2298
|
* Better error message when using an invalid access token.
|
@@ -2304,11 +2304,11 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
2304
2304
|
* Do not have the client raise on unknown API entities.
|
2305
2305
|
* Do not try and resolve missing commit data (as it will lead to a 404).
|
2306
2306
|
|
2307
|
-
|
2307
|
+
### $1 (December 16, 2013)
|
2308
2308
|
|
2309
2309
|
* Fix `travis login --com` for new users.
|
2310
2310
|
|
2311
|
-
|
2311
|
+
### $1 (December 16, 2013)
|
2312
2312
|
|
2313
2313
|
* Add `travis settings` command for accessing repository settings.
|
2314
2314
|
* Add `travis setup opsworks`.
|
@@ -2319,11 +2319,11 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
2319
2319
|
* Only ask for GitHub two-factor auth token if two-factor auth is actually required.
|
2320
2320
|
* Fix access right check for `travis caches`.
|
2321
2321
|
|
2322
|
-
|
2322
|
+
### $1 (December 16, 2013)
|
2323
2323
|
|
2324
2324
|
Release was yanked. See 1.6.5 for changes.
|
2325
2325
|
|
2326
|
-
|
2326
|
+
### $1 (November 27, 2013)
|
2327
2327
|
|
2328
2328
|
* Fix OS detection on Windows.
|
2329
2329
|
* Add `travis repos` command.
|
@@ -2339,7 +2339,7 @@ Release was yanked. See 1.6.5 for changes.
|
|
2339
2339
|
* User proper API endpoint for streaming logs, as old endpoint has been removed.
|
2340
2340
|
* Make tests run on Rubinius 2.x.
|
2341
2341
|
|
2342
|
-
|
2342
|
+
### $1 (November 8, 2013)
|
2343
2343
|
|
2344
2344
|
* Remove worker support, as API endpoints have been removed from Travis CI.
|
2345
2345
|
* Improve OS detection.
|
@@ -2350,22 +2350,22 @@ Release was yanked. See 1.6.5 for changes.
|
|
2350
2350
|
* Increase and improve debug output.
|
2351
2351
|
* Only load pry if console command is actually invoked, not when it is loaded (for instance by `travis help`).
|
2352
2352
|
|
2353
|
-
|
2353
|
+
### $1 (November 4, 2013)
|
2354
2354
|
|
2355
2355
|
* Update autocompletion when updating travis gem.
|
2356
2356
|
|
2357
|
-
|
2357
|
+
### $1 (November 4, 2013)
|
2358
2358
|
|
2359
2359
|
* Add `travis cache` to list and delete directory caches.
|
2360
2360
|
* Add `travis report` to give a report of the system, endpoint, configuration and last exception.
|
2361
2361
|
* Add `Cache` entity.
|
2362
2362
|
* Keep `travis monitor` running on API errors.
|
2363
2363
|
|
2364
|
-
|
2364
|
+
### $1 (October 24, 2013)
|
2365
2365
|
|
2366
2366
|
* Fix bug in completion code that stopped command line client from running.
|
2367
2367
|
|
2368
|
-
|
2368
|
+
### $1 (October 24, 2013)
|
2369
2369
|
|
2370
2370
|
* Improve logic for automatically figuring out a repository slug based on the tracked git remote.
|
2371
2371
|
* Display error if argument passed to `-r` is not a full slug.
|
@@ -2378,7 +2378,7 @@ Release was yanked. See 1.6.5 for changes.
|
|
2378
2378
|
* Make streaming API, and thus the `monitor` and `logs` command, work with enterprise installations.
|
2379
2379
|
* Add `--build`, `--push` and `--pull` flags to monitor command to allow filtering events.
|
2380
2380
|
|
2381
|
-
|
2381
|
+
### $1 (October 22, 2013)
|
2382
2382
|
|
2383
2383
|
* Add `travis setup appfog` and `travis setup s3`.
|
2384
2384
|
* Use new API for fetching a single branch for Repository#branch. This also circumvents the 25 branches limit.
|
@@ -2405,14 +2405,14 @@ Release was yanked. See 1.6.5 for changes.
|
|
2405
2405
|
* Add `--insecure` to turn off SSL verification.
|
2406
2406
|
* Add `--enterprise`/`-X` option for Travis Enterprise integration.
|
2407
2407
|
|
2408
|
-
|
2408
|
+
### $1 (October 2, 2013)
|
2409
2409
|
|
2410
2410
|
* Add `travis setup pypi`
|
2411
2411
|
* Add `travis setup npm`
|
2412
2412
|
* When loading accounts, set all flag to true.
|
2413
2413
|
* Fix bug where session.config would be nil instead of a hash.
|
2414
2414
|
|
2415
|
-
|
2415
|
+
### $1 (September 7, 2013)
|
2416
2416
|
|
2417
2417
|
* Make `travis monitor` send out desktop notifications.
|
2418
2418
|
* List available templates on `travis init --help`.
|
@@ -2428,7 +2428,7 @@ Release was yanked. See 1.6.5 for changes.
|
|
2428
2428
|
* Add `travis endpoint --github`.
|
2429
2429
|
* Make `travis accounts` handle accounts without name better.
|
2430
2430
|
|
2431
|
-
|
2431
|
+
### $1 (August 22, 2013)
|
2432
2432
|
|
2433
2433
|
* Fix issues on Windows.
|
2434
2434
|
* Improve `travis setup rubygems` (automatically figure out API token for newer RubyGems versions, offer to only release tagged commits, allow changing gem name).
|
@@ -2436,7 +2436,7 @@ Release was yanked. See 1.6.5 for changes.
|
|
2436
2436
|
* Smarter check if travis gem is outdated.
|
2437
2437
|
* Better error messages for non-existing build/job numbers.
|
2438
2438
|
|
2439
|
-
|
2439
|
+
### $1 (August 18, 2013)
|
2440
2440
|
|
2441
2441
|
* Add `travis cancel`.
|
2442
2442
|
* Add `Build#cancel` and `Job#cancel` to Ruby API.
|
@@ -2445,13 +2445,13 @@ Release was yanked. See 1.6.5 for changes.
|
|
2445
2445
|
* Make it possible to configure cli via env variables (`$TRAVIS_TOKEN`, `$TRAVIS_ENDPOINT` and `$TRAVIS_CONFIG_PATH`).
|
2446
2446
|
* Improve `travis setup cloudcontrol`.
|
2447
2447
|
|
2448
|
-
|
2448
|
+
### $1 (August 15, 2013)
|
2449
2449
|
|
2450
2450
|
* Add `travis setup engineyard`.
|
2451
2451
|
* Add `travis setup cloudcontrol`.
|
2452
2452
|
* Silence warnings when running `travis help` or `travis console`.
|
2453
2453
|
|
2454
|
-
|
2454
|
+
### $1 (August 7, 2013)
|
2455
2455
|
|
2456
2456
|
* Add `travis setup rubygems`.
|
2457
2457
|
* Add `travis accounts`.
|
@@ -2465,7 +2465,7 @@ Release was yanked. See 1.6.5 for changes.
|
|
2465
2465
|
* Be smarter about warnings when running `travis encrypt`.
|
2466
2466
|
* Improve documentation.
|
2467
2467
|
|
2468
|
-
|
2468
|
+
### $1 (July 26, 2013)
|
2469
2469
|
|
2470
2470
|
* Add `travis init`
|
2471
2471
|
* Improve install documentation, especially for people from outside the Ruby community
|
@@ -2474,14 +2474,14 @@ Release was yanked. See 1.6.5 for changes.
|
|
2474
2474
|
* Switch to Typhoeus as default HTTP adapter
|
2475
2475
|
* Fix tests for forks
|
2476
2476
|
|
2477
|
-
|
2477
|
+
### $1 (July 21, 2013)
|
2478
2478
|
|
2479
2479
|
* Add `travis whatsup --my-repos`, which corresponds to the "My Repositories" tab in the web interface
|
2480
2480
|
* It is now recommended to use Ruby 2.0, any Ruby version prior to 1.9.3 will lead to a warning being displayed. Disable with `--skip-version-check`.
|
2481
2481
|
* Add `--override` and `--append` to `travis encrypt`, make default behavior depend on key.
|
2482
2482
|
* Add shorthand for `travis encrypt --add`.
|
2483
2483
|
|
2484
|
-
|
2484
|
+
### $1 (July 20, 2013)
|
2485
2485
|
|
2486
2486
|
* Add `travis setup [heroku|openshift|nodejitsu|sauce_connect]`
|
2487
2487
|
* Add `travis branches`
|
@@ -2490,47 +2490,47 @@ Release was yanked. See 1.6.5 for changes.
|
|
2490
2490
|
* Improve error message when calling `travis logs` with a matrix build number
|
2491
2491
|
* Check if travis gem is up to date from time to time (CLI only, not when used as library)
|
2492
2492
|
|
2493
|
-
|
2493
|
+
### $1 (July 19, 2013)
|
2494
2494
|
|
2495
2495
|
* Make pubkey print out key in ssh encoding, add --pem flag for old format
|
2496
2496
|
* Fix more encoding issues
|
2497
2497
|
* Fix edge cases that broke history view
|
2498
2498
|
|
2499
|
-
|
2499
|
+
### $1 (July 15, 2013)
|
2500
2500
|
|
2501
2501
|
* Add pubkey command
|
2502
2502
|
* Remove all whitespace from an encrypted string
|
2503
2503
|
|
2504
|
-
|
2504
|
+
### $1 (July 7, 2013)
|
2505
2505
|
|
2506
2506
|
* Improve output of history command
|
2507
2507
|
|
2508
|
-
|
2508
|
+
### $1 (July 7, 2013)
|
2509
2509
|
|
2510
2510
|
* Fix encoding issue
|
2511
2511
|
|
2512
|
-
|
2512
|
+
### $1 (July 7, 2013)
|
2513
2513
|
|
2514
2514
|
* Allow empty commit message
|
2515
2515
|
|
2516
|
-
|
2516
|
+
### $1 (June 27, 2013)
|
2517
2517
|
|
2518
2518
|
* Fix encoding issue
|
2519
2519
|
* Will detect github repo from other remotes besides origin
|
2520
2520
|
* Add clear_cache(!) to Travis::Namespace
|
2521
2521
|
|
2522
|
-
|
2522
|
+
### $1 (May 24, 2013)
|
2523
2523
|
|
2524
2524
|
* Fixed `travis disable`.
|
2525
2525
|
* Fix edge cases around `travis encrypt`.
|
2526
2526
|
|
2527
|
-
|
2527
|
+
### $1 (May 24, 2013)
|
2528
2528
|
|
2529
2529
|
* Builds with high build numbers are properly aligned when running `travis history`.
|
2530
2530
|
* Don't lock against a specific backports version, makes it easier to use it as a Ruby library.
|
2531
2531
|
* Fix encoding issues.
|
2532
2532
|
|
2533
|
-
|
2533
|
+
### $1 (February 22, 2013)
|
2534
2534
|
|
2535
2535
|
* add `--adapter` to API endpoints
|
2536
2536
|
* added branch to `show`
|
@@ -2542,22 +2542,22 @@ Release was yanked. See 1.6.5 for changes.
|
|
2542
2542
|
* add worker support to the ruby library
|
2543
2543
|
* adjust artifacts/logs code to upstream api changes
|
2544
2544
|
|
2545
|
-
|
2545
|
+
### $1 (January 26, 2013)
|
2546
2546
|
|
2547
2547
|
* use persistent HTTP connections (performance for commands with example api requests)
|
2548
2548
|
* include round trip time in debug output
|
2549
2549
|
|
2550
|
-
|
2550
|
+
### $1 (January 24, 2013)
|
2551
2551
|
|
2552
2552
|
* `token` command
|
2553
2553
|
* no longer wrap $stdin in delegator (caused bug on some Linux systems)
|
2554
2554
|
* correctly detect when running on Windows, even on JRuby
|
2555
2555
|
|
2556
|
-
|
2556
|
+
### $1 (January 22, 2013)
|
2557
2557
|
|
2558
2558
|
* Make pry a runtime dependency rather than a development dependency.
|
2559
2559
|
|
2560
|
-
|
2560
|
+
### $1 (January 21, 2013)
|
2561
2561
|
|
2562
2562
|
* New commands: `console`, `status`, `show`, `logs`, `history`, `restart`, `sync`, `enable`, `disable`, `open` and `whatsup`.
|
2563
2563
|
* `--debug` option for all API commands.
|
@@ -2567,29 +2567,29 @@ Release was yanked. See 1.6.5 for changes.
|
|
2567
2567
|
* Print warning when running "encrypt owner/project data", as it's not supported by the new client.
|
2568
2568
|
* Improved documentation.
|
2569
2569
|
|
2570
|
-
|
2570
|
+
### $1 (January 15, 2013)
|
2571
2571
|
|
2572
2572
|
* Fix `-r slug` for repository commands. (#3)
|
2573
2573
|
|
2574
|
-
|
2574
|
+
### $1 (January 14, 2013)
|
2575
2575
|
|
2576
2576
|
* Only bundle CA certs needed to verify Travis CI and GitHub domains.
|
2577
2577
|
* Make tests pass on Windows.
|
2578
2578
|
|
2579
|
-
|
2579
|
+
### $1 (January 14, 2013)
|
2580
2580
|
|
2581
2581
|
* Improve `encrypt --add` behavior.
|
2582
2582
|
|
2583
|
-
|
2583
|
+
### $1 (January 14, 2013)
|
2584
2584
|
|
2585
2585
|
* Fist public release.
|
2586
2586
|
* Improved documentation.
|
2587
2587
|
|
2588
|
-
|
2588
|
+
### $1 (January 14, 2013)
|
2589
2589
|
|
2590
2590
|
* Added Windows support.
|
2591
2591
|
* Suggestion to run `travis login` will add `--org` if needed.
|
2592
2592
|
|
2593
|
-
|
2593
|
+
### $1 (January 13, 2013)
|
2594
2594
|
|
2595
2595
|
* Initial public prerelease.
|
@@ -155,10 +155,12 @@ module Travis
|
|
155
155
|
travis_config.to_yaml,
|
156
156
|
color("(y/N)", [:info, :yellow])
|
157
157
|
].join("\n\n")
|
158
|
-
|
158
|
+
proceed = ans =~ /^y/i
|
159
|
+
else
|
160
|
+
proceed = true
|
159
161
|
end
|
160
162
|
|
161
|
-
save_travis_config if
|
163
|
+
save_travis_config if proceed
|
162
164
|
end
|
163
165
|
|
164
166
|
def save_travis_config(file = travis_yaml)
|
data/spec/cli/encrypt_spec.rb
CHANGED
@@ -59,9 +59,9 @@ describe Travis::CLI::Encrypt do
|
|
59
59
|
stderr.should match(/Environment variables in env\.global should be formatted as FOO=bar/)
|
60
60
|
end
|
61
61
|
|
62
|
-
example "travis encrypt FOO
|
62
|
+
example "travis encrypt FOO=bar -a foo --no-interactive" do
|
63
63
|
described_class.any_instance.stub(:save_travis_config)
|
64
|
-
run_cli("encrypt", "FOO
|
64
|
+
run_cli("encrypt", "FOO=bar", "-a", "foo", "--no-interactive").should be_success
|
65
65
|
stdout.should be_empty
|
66
66
|
end
|
67
67
|
end
|