Ruby latest stable (v2_5_5)
-
0 notes
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10
- 2_2_9
- 2_4_6
- 2_5_5
- 2_6_3 (0)
- What's this?
Adds a compatibility layer to your Bundler::Thor classes which allows you to use rake package tasks. For example, to use rspec rake tasks, one can do:
require 'bundler/vendor/thor/lib/thor/rake_compat' require 'rspec/core/rake_task' class Default < Bundler::Thor include Bundler::Thor::RakeCompat RSpec::Core::RakeTask.new(:spec) do |t| t.spec_opts = ['--options', './.rspec'] t.spec_files = FileList['spec/**/*_spec.rb'] end end