Permalink
Switch branches/tags
Commits on Nov 11, 2013
  1. Remove obsolete line

    - example_groups is already empty whenever this line is called
    dchelimsky committed Nov 11, 2013
Commits on Nov 8, 2013
  1. Release 3.0.0.beta1

    myronmarston committed Nov 8, 2013
  2. Setup gem signing.

    myronmarston committed Nov 7, 2013
Commits on Nov 7, 2013
  1. Merge pull request #1161 from rspec/turn-deprecations-into-errors-master

    Turn deprecations into errors
    myronmarston committed Nov 7, 2013
  2. Rename deprecation printer classes.

    For the new `raise_errors` option, we were using
    the FilePrinter but not actually giving it a File
    object. We use it because it immediately prints
    deprecations, whereas the IOPrinter delays the printing
    of errors until the end, so I think these names are
    better.
    myronmarston committed Nov 7, 2013
  3. Merge pull request #1160 from rspec/fix-confusing-spec-output

    Prevent spec from issuing confusing output.
    JonRowe committed Nov 7, 2013
  4. Prevent spec from issuing confusing output.

    On ruby 2.0.0, `rspec --seed 1325` would issue confusing
    output where the end-of-run summary is printed twice.
    See the following example output below.
    
    This spec was the culprit. It's not actually concerned
    with running the command line so we might as well stub it out.
    
    Run options:
      include {:focus=>true}
      exclude {:ruby=>#<Proc:./spec/spec_helper.rb:152>}
    
    All examples were filtered out; ignoring {:focus=>true}
    .....No examples found.
    
    
    Finished in 0.00006 seconds
    0 examples, 0 failures
    
    Deprecation Warnings:
    
    Using `stub` from the old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /Users/myron/code/rspec-dev/repos/rspec-core/spec/rspec/core/runner_spec.rb:57:in `block (3 levels) in <module:Core>'.
    
    
    1 deprecation warning total
    
    Randomized with seed 5055
    
    ...................................................................................................................................*.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    
    Pending:
      ::DRbCommandLine with server running outputs colorized text when running with --colour option
        # figure out a way to tell the output to say it's tty
        # ./spec/rspec/core/drb_command_line_spec.rb:97
    
    Finished in 2.18 seconds
    1126 examples, 0 failures, 1 pending
    
    Randomized with seed 1325
    myronmarston committed Nov 7, 2013
Commits on Nov 6, 2013
  1. Merge pull request #1158 from rspec/fix-duplicate-deprecations-master

    Fix duplicate deprecations master
    myronmarston committed Nov 6, 2013
  2. Add `require 'set'`.

    Since this file depends on it.
    myronmarston committed Nov 6, 2013
  3. Don't print duplicate deprecation messages.

    When a spec suite uses a helper method that is called
    from a global `before` hook and calls a deprecated method,
    we only need one deprecation message in our output,
    not one per spec.
    
    Note that this only limits *identical* deprecation messages.
    The same deprecation from multiple call sites will still
    each get printed.
    
    Fixes #1151.
    myronmarston committed Nov 6, 2013
  4. Sync the deprecation formatter file to avoid odd duplicate lines.

    When upgrading a project at work, I observed *lots* of duplicate
    lines winding up in the deprecation file, even though the
    `deprecation_stream.puts` line was only hit a small number of times.
    Setting `sync = true` (while debugging the issue) was observed to
    fix the problem.  No idea why :(.
    myronmarston committed Nov 6, 2013
  5. Merge pull request #1156 from rspec/remove-shared-context-rspec-1-upg…

    …rade-warning
    
    Remove shared example warning logic for RSpec 1 => 2 upgrades.
    JonRowe committed Nov 6, 2013
  6. Remove shared example warning logic for RSpec 1 => 2 upgrades.

    We don't need it in RSpec 3.  (It's still in RSpec 2.99).
    myronmarston committed Nov 6, 2013
Commits on Nov 5, 2013
  1. Merge pull request #1154 from rspec/changelog-tidy

    Consistent formatting of changelog.
    myronmarston committed Nov 5, 2013
Commits on Nov 4, 2013
  1. Merge pull request #1149 from rspec/too-many-deprecations-newline

    Group deprecations together separated by newlines
    soulcutter committed Nov 4, 2013
  2. Merge pull request #1142 from rspec/fix-1127-in-master

    Fix 1127 in master
    myronmarston committed Nov 4, 2013
  3. Stub `warn` to silence "output stream already used" warning.

    We don't care about it here.
    myronmarston committed Nov 4, 2013
  4. Revert "Swap output stream to current sandbox (Read why)."

    This reverts commit a22d524.
    
    This is no longer needed with the new approach we are taking
    to `output_stream` (e.g. having it default to $stdout), and
    it was causing `command_line_spec.rb` to have a failure when
    run in isolation.
    myronmarston committed Nov 4, 2013
Commits on Nov 3, 2013
  1. Add changelog entry.

    myronmarston committed Nov 3, 2013
  2. Use `output_stream` as the standardized method name.

    Everything else in RSpec uses `output_stream`.
    myronmarston committed Nov 3, 2013
  3. Fix a couple specs so that they explicitly redirect unwanted output.

    These specs depended on the reporter defaulting
    to a `StringIO.new`. Now that it is defaulting to
    `$stdout`, we were getting unwanted output from these
    two specs.
    myronmarston committed Nov 2, 2013