Skip to content
Commits on Mar 9, 2016
  1. @tjgrathwell

    Support rake 11.x

    tjgrathwell committed Mar 9, 2016
    The method `Rake.application.last_comment` has been removed
    in favor of `Rake.application.last_description`
Commits on Jan 28, 2016
  1. @paddor

    avoid TypeError when exiting

    paddor committed Jan 28, 2016
Commits on Oct 27, 2015
  1. @bootstraponline
Commits on Oct 26, 2015
  1. @myronmarston

    Use optimized relative requires in rake_task.rb

    myronmarston committed Oct 26, 2015
    This avoids a problem some users have seen where
    files are double-required.
    
    Fixes #2099.
Commits on Oct 14, 2015
  1. @myronmarston

    Add missing require.

    myronmarston committed Oct 13, 2015
    As of rspec/rspec-support#245, `rspec/support/ruby_features`
    relies upon `rspec/support` being loaded first.
Commits on Jun 16, 2015
  1. @takiy33

    Delete space

    takiy33 committed Jun 17, 2015
Commits on Apr 6, 2015
  1. @myronmarston

    Extract ShellEscape module.

    myronmarston committed Mar 21, 2015
Commits on Mar 18, 2015
  1. @myronmarston
  2. @myronmarston

    Fix `RSpec::Core::RakeTask#failure_message`.

    myronmarston committed Mar 17, 2015
    `system` returns a boolean value to indicate success/failure,
    but the use of `failure_message` was in a `rescue` block that
    never got executed.  It appears this has been broken since
    ea70e4e. Before that commit,
    we used `Rake::FileUtilsExt#ruby`, which does indicate failure
    by raising an error (and thus the `rescue` was correct). In
    ea70e4e, we switched to using
    `system` and the rescue was left in place but never got hit
    anymore.
    
    The lack of test coverage here is why we never noticed, so I
    addressed that as well.
Commits on Feb 26, 2015
  1. @myronmarston
Commits on Jan 17, 2015
  1. @agx

    Escape rspec path

    agx committed Jan 12, 2015
    otherwise things like
    
       bundle exec rake spec
    
    break in repos containing spaces in directory names
Commits on Nov 12, 2014
  1. @myronmarston

    Fix YARD warnings.

    myronmarston committed Nov 11, 2014
    [warn]: In file `lib/rspec/core/rake_task.rb':29: Cannot resolve link to ,// from text:
    [warn]: ...{,//}...
    [warn]: In file `lib/rspec/core/rake_task.rb':29: Cannot resolve link to ,// from text:
    [warn]: ...{,//}...
    
    Note that I haven't been able to repro these warnings locally with YARD
    but they happen on travis. While I was at it, I fixed up some
    inaccuracies in the documented defaults for rake task options.
Commits on Oct 31, 2014
  1. @myronmarston

    Update require to new support file.

    myronmarston committed Oct 31, 2014
    See rspec/rspec-support#119
    for the background to this change.
Commits on Oct 11, 2014
  1. @yous

    Fix grammer

    yous committed Oct 11, 2014
    - End sentence with period
    - Start sentence with upper case letter
    - Remove extra spacing
  2. @yous

    Keep comment line length to 80

    yous committed Oct 11, 2014
Commits on Oct 8, 2014
  1. @myronmarston

    Prevent duplicate load path entries.

    myronmarston committed Oct 7, 2014
    Fixes #1729.
Commits on Sep 27, 2014
  1. @JonRowe
Commits on Sep 23, 2014
  1. @bsnape
Commits on Sep 12, 2014
  1. @myronmarston

    Fix another regression in rake task pattern handling.

    myronmarston committed Sep 9, 2014
    Apparently `FileList[file_list_object]` works, and some
    users used `task.pattern = FileList[…]`.
    
    See 667a4ca#commitcomment-7725799
Commits on Sep 5, 2014
  1. @myronmarston

    Fix another regression in rake task pattern handling.

    myronmarston committed Sep 5, 2014
    This was reported by @aprescott: #1671 (comment).
    
    The regression was originally introduced in #1653.
    See also #1691 and #1692.
Commits on Sep 3, 2014
  1. @myronmarston
Commits on Sep 2, 2014
  1. @myronmarston
  2. @myronmarston
Commits on Aug 27, 2014
  1. @alex-tan @myronmarston

    Setup rubocop

    alex-tan committed with myronmarston Aug 13, 2014
    This setup of rubocop is very lenient to begin with. Some leniencies are
    established in .rubocop.yml and other times rules are disabled
    inline in the files. Over time, more rules should be enabled.
Commits on Aug 21, 2014
  1. @myronmarston
Commits on Aug 20, 2014
  1. @myronmarston
Commits on Jul 31, 2014
  1. @myronmarston

    Rename method.

    myronmarston committed Jul 30, 2014
    It no longer returns a list of files to run, but rather returns a
    file specification in the form of either a `--pattern` option or a
    list of files.
  2. @myronmarston

    Remove unnecessary -S from rake task.

    myronmarston committed Jul 30, 2014
    Fixes #1559.
  3. @kesor @myronmarston

    use rspec --pattern option in rake tasks

    kesor committed with myronmarston Jun 7, 2014
    rspec has an internal option (--pattern) to receive pattern of files to run
    via the command line, use this option in rake_tasks instead of passing through
    a huge list of files one by one on the command line.
    
    Fixes #1126.
Commits on Jul 16, 2014
  1. @myronmarston

    Remove unneeded requires in rake task.

    myronmarston committed Jul 16, 2014
    - rspec/core/version require was added in
      390392e but
      looks like it was never actually used.
    - We used to have some warnings emitted by the rake
      task (and thus needed to load that support) but
      don’t have any more warnings.
Commits on Apr 25, 2014
  1. @myronmarston
  2. @myronmarston

    In the rake task, setup load path for rspec-(core|support).

    myronmarston committed Apr 24, 2014
    We want to ensure that the currently running version of rspec
    gets loaded when the rake task shells out.  Simply loading
    the correct executable doesn't guarantee that since it does
    a simple `require 'rspec/core'` which could load a different
    version (such as a newer gem installation) or fail (such as
    when there is no normal gem installation, such as when using
    bundler's --standalone mode).
  3. @postmodern @myronmarston
Commits on Apr 18, 2014
  1. @postmodern
  2. @postmodern
Something went wrong with that request. Please try again.