Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: clean-up-world
Commits on Nov 11, 2013
  1. @dchelimsky
  2. @dchelimsky
  3. @dchelimsky

    Remove obsolete line

    dchelimsky authored
    - example_groups is already empty whenever this line is called
Commits on Nov 8, 2013
  1. @myronmarston

    Release 3.0.0.beta1

    myronmarston authored
  2. @myronmarston
  3. @myronmarston

    Setup gem signing.

    myronmarston authored
Commits on Nov 7, 2013
  1. @myronmarston
  2. @myronmarston

    Merge pull request #1161 from rspec/turn-deprecations-into-errors-master

    myronmarston authored
    Turn deprecations into errors
  3. @myronmarston

    Rename deprecation printer classes.

    myronmarston authored
    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.
  4. @JonRowe

    Merge pull request #1160 from rspec/fix-confusing-spec-output

    JonRowe authored
    Prevent spec from issuing confusing output.
  5. @myronmarston
  6. @myronmarston
  7. @myronmarston
  8. @myronmarston
  9. @myronmarston
  10. @myronmarston

    Prevent spec from issuing confusing output.

    myronmarston authored
    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
Commits on Nov 6, 2013
  1. @myronmarston

    Merge pull request #1158 from rspec/fix-duplicate-deprecations-master

    myronmarston authored
    Fix duplicate deprecations master
  2. @myronmarston

    Add `require 'set'`.

    myronmarston authored
    Since this file depends on it.
  3. @myronmarston

    Don't print duplicate deprecation messages.

    myronmarston authored
    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.
  4. @myronmarston

    Sync the deprecation formatter file to avoid odd duplicate lines.

    myronmarston authored
    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 :(.
  5. @JonRowe

    Merge pull request #1156 from rspec/remove-shared-context-rspec-1-upg…

    JonRowe authored
    …rade-warning
    
    Remove shared example warning logic for RSpec 1 => 2 upgrades.
  6. @myronmarston

    Remove shared example warning logic for RSpec 1 => 2 upgrades.

    myronmarston authored
    We don't need it in RSpec 3.  (It's still in RSpec 2.99).
Commits on Nov 5, 2013
  1. @myronmarston

    Merge pull request #1154 from rspec/changelog-tidy

    myronmarston authored
    Consistent formatting of changelog.
  2. @xaviershay
Commits on Nov 4, 2013
  1. @soulcutter

    Merge pull request #1149 from rspec/too-many-deprecations-newline

    soulcutter authored
    Group deprecations together separated by newlines
  2. @soulcutter
  3. @soulcutter
  4. @myronmarston

    Merge pull request #1142 from rspec/fix-1127-in-master

    myronmarston authored
    Fix 1127 in master
  5. @myronmarston

    Stub `warn` to silence "output stream already used" warning.

    myronmarston authored
    We don't care about it here.
  6. @myronmarston

    Revert "Swap output stream to current sandbox (Read why)."

    myronmarston authored
    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.
Commits on Nov 3, 2013
  1. @myronmarston

    Add changelog entry.

    myronmarston authored
  2. @myronmarston
  3. @myronmarston
  4. @myronmarston

    Use `output_stream` as the standardized method name.

    myronmarston authored
    Everything else in RSpec uses `output_stream`.
  5. @myronmarston

    Fix a couple specs so that they explicitly redirect unwanted output.

    myronmarston authored
    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.
Something went wrong with that request. Please try again.