* The regex was unintentionally acception things like --f--asd+-- * In some cases switches needed to pass the regexes to be switches in others, just starting with a - was enough, now everything must pass the regexes
Adds a test dependency on fakeweb to perform HTTP source test without hitting the network. Signed-off-by: José Valim <email@example.com>
As of commit dd072c9 the get action fails to retrieve remote sources. This is due to the File.binread method operating on File which only works with locally mounted file systems. Prior to this commit the get action used Open-URI to access the source which allowed it to be either local to the system or a remote http file. This commit restores the use of Open-URI and also aims to maintain the binary mode reading support of the aforementioned commit. Signed-off-by: José Valim <firstname.lastname@example.org>
…or/group. This was fixed. Neither Thor or Thor::Group are autoloaded, you need to require them by hand. The good news is, if you just require 'thor', you will get only Thor, if you require only 'thor/group', you will get only Thor::Group.
Thor::Group was not autoloaded, despite the comment on ba20598 indicating so. Autoloading Thor::Group is consistent with autoloading Thor::Actions. No longer require 'thor/group' in spec_helper.rb. All specs pass. `thor list` now runs without error.
Patches the problem at task.rb:92, but spec_helper.rb blows up when loading fixtures/group.thor This reverts commit 5943a11.
There's no way to spec this because spec_helper.rb requires thor/group already.