455 Commits

Author SHA1 Message Date
Thibault Jouan
1ccd95b80f Fix error formatting in debug mode
Backtrace filtering was only disabled for exception cause, this change
ensure no backtrace filtering at all in debug mode.

* Prevent main exception filtering when debug mode is enabled;
* Test when exception cause must be displayed;
* Test how exception cause must be displayed.
2015-04-03 23:18:28 +00:00
Thibault Jouan
b93e5717ce Filter ruby lib directory from error backtrace 2015-04-03 22:36:23 +00:00
Thibault Jouan
0da47a0acb Fix backtrace filtering for producer 2015-04-03 22:35:44 +00:00
Thibault Jouan
dc561de047 Fix backtrace filtering for net-ssh
Improve our filter pattern so it works for this kind of error:

SocketError: getaddrinfo: hostname nor servname provided, or not known
  /usr/local/lib/ruby/2.2/timeout.rb:74:in `timeout'
  /usr/local/lib/ruby/2.2/timeout.rb:125:in `timeout'
  /home/tj/.gem/ruby/22/gems/net-ssh-2.9.2/lib/net/ssh.rb:207:in `new'
  /home/tj/.gem/ruby/22/gems/net-ssh-2.9.2/lib/net/ssh.rb:207:in `start'
2015-04-03 22:34:46 +00:00
Thibault Jouan
e361b6d174 Remove extra parameters for README badges
[ci skip]
2015-04-03 20:28:49 +00:00
Thibault Jouan
47455b9c45 Restrict directories watched by guard
If we watch directories like .git or tmp, guard/listen can get very
slow when running tests generating new events, the adapter will have to
process all of them (and potentially search file system for new files).
2015-04-03 20:27:32 +00:00
Thibault Jouan
b1879ea9f9 Test net-ssh error filtering 2015-04-03 20:27:28 +00:00
Thibault Jouan
2e06d7d944 Add various "badges" in README 2015-04-03 20:17:18 +00:00
Thibault Jouan
9fa1bd898a Cache travis bundle installs 2015-04-03 19:35:05 +00:00
Thibault Jouan
45bdd63c00 Remove rubinius from travis builds 2015-04-03 19:31:17 +00:00
Thibault Jouan
c974a21b94 Allow travis rbx-2 build to fail 2015-04-03 19:25:34 +00:00
Thibault Jouan
d926b11882 Create ci rake task for CI services 2015-04-03 19:07:27 +00:00
Thibault Jouan
7cf0a89e2a Indicate ruby ~> 2.1 requirement (Exception#cause) 2015-04-03 18:49:28 +00:00
Thibault Jouan
341642518f Test with more rubies on travis 2015-04-03 18:42:54 +00:00
Thibault Jouan
ed01bbed4e Merge cucumber env setup in a unique file 2015-04-03 16:12:47 +00:00
Thibault Jouan
a9c8485d09 Update cucumber dependency
In the process, we remove our cucumber docstrings monkey patch. It
does not work anymore and it was not a so good idea.
2015-04-03 15:54:11 +00:00
Thibault Jouan
d3f656cacc Update documentation (serverspec URI) 2015-04-02 17:51:57 +00:00
Thibault Jouan
de7f4a71aa Fix code sample in templates documentation 2015-04-01 15:13:40 +00:00
Thibault Jouan
92948edad5 Fix documented code blocks formatting 2015-04-01 15:12:12 +00:00
Thibault Jouan
cf825de367 Fix documented ruby code blocks formatting 2015-04-01 15:10:07 +00:00
Thibault Jouan
bf760a2c62 Add sample recipe in documentation 2015-04-01 15:08:18 +00:00
Thibault Jouan
ec8d194ffd Document templates usage 2015-04-01 15:08:12 +00:00
Thibault Jouan
23dad13c24 Document program usage 2015-04-01 14:52:03 +00:00
Thibault Jouan
ec6f6255c6 Rephrase documented project description 2015-04-01 14:50:27 +00:00
Thibault Jouan
03c3648458 Add incomplete documentation 2015-04-01 14:47:40 +00:00
Thibault Jouan
5d9778f33f Fix coding standards 2015-03-05 07:24:10 +00:00
Thibault Jouan
b0b5257ec2 Bump version to 0.4.3 2015-02-18 01:06:37 +00:00
Thibault Jouan
2f34414bf8 Fix aruba 0.6.2 API usage
Use `check_file_content` instead of `check_exact_file_content` which
has been deprecated.
2015-02-03 04:02:10 +00:00
Thibault Jouan
7e3d753d5c Ensure env cleanup always happen in CLI#run 2014-11-18 19:21:42 +00:00
Thibault Jouan
cacfa7e342 Move registry cucumber feature in recipe directory 2014-11-18 17:40:42 +00:00
Thibault Jouan
a4571971e7 Filter net-ssh out of errors backtrace 2014-11-18 17:25:44 +00:00
Thibault Jouan
3b413a242f Implement `set?' task keyword:
When called from a task, will return true when given key exists and
false when key does not exist.
2014-11-18 16:48:11 +00:00
Thibault Jouan
1465b98f18 Accept a default value for `get' registry keyword 2014-11-18 15:56:25 +00:00
Thibault Jouan
2d3975d47f Unflatten features directory tree 2014-11-18 11:58:23 +00:00
Thibault Jouan
86a84bbe12 Refactor with Forwardable module 2014-11-18 11:20:28 +00:00
Thibault Jouan
af1bb97287 Fix coding standards 2014-11-18 11:20:23 +00:00
Thibault Jouan
e93f5e6a57 Fix exception rescuing in CLI 2014-11-17 19:31:17 +00:00
Thibault Jouan
cf17db49bd Use only ruby 2.1.4 in Travis builds 2014-11-07 13:19:13 +00:00
Thibault Jouan
f860bdfab4 Add Travis CI YAML config 2014-11-07 13:14:07 +00:00
Thibault Jouan
9f49cc5777 Bump version 2014-10-14 00:00:55 +00:00
Thibault Jouan
e22d0039e1 Implement CLI debug option 2014-10-12 23:45:01 +00:00
Thibault Jouan
25d03d4322 Improve CLI error reporting 2014-10-12 18:11:37 +00:00
Thibault Jouan
f6237bfc0c Implement `yaml_eq' condition keyword 2014-10-11 13:46:18 +00:00
Thibault Jouan
0ba12bfb90 Implement `yaml_write' action 2014-10-11 00:47:16 +00:00
Thibault Jouan
9780cdf220 Support YAML templates 2014-10-10 23:58:20 +00:00
Thibault Jouan
82879b56b4 Extract Task#template code in Template class 2014-10-10 16:36:06 +00:00
Thibault Jouan
6d74e499fa Bump version 2014-10-09 20:15:55 +00:00
Thibault Jouan
6276720137 Fix wording in specs 2014-10-09 20:15:40 +00:00
Thibault Jouan
3cc52bb1a8 Fail when `sh' misses arguments 2014-10-09 20:14:44 +00:00
Thibault Jouan
3f82b923b7 Fail when `mkdir' misses arguments 2014-10-09 20:12:44 +00:00