Permalink
Commits on Mar 6, 2014
  1. @myronmarston

    Ensure `expect`, `should` and `should_not` are doc'd properly.

    They should be doc'd as part of `RSpec::Matchers` and
    `BasicObject`, not part of `RSpec::Expectations::Syntax`.
    myronmarston committed Mar 6, 2014
Commits on Mar 2, 2014
  1. @myronmarston

    Merge pull request #488 from rspec/use-optimized-require

    Use optimized require
    myronmarston committed Mar 2, 2014
  2. @JonRowe

    cleanup ws

    [skip ci]
    JonRowe committed Mar 2, 2014
  3. @myronmarston

    Add changelog entry.

    [ci skip]
    myronmarston committed Mar 2, 2014
  4. @myronmarston
  5. @myronmarston

    Move configuration class from matchers to expectations.

    - It's general config for rspec-expectations, not
      just for the matchers and fits better there.
    - This allows us to cleanup some odd cross-requires
      where rspec/expectations files were requiring
      rspec/matchers files and vice-versa.
    - The attribute for this remains on RSpec::Matchers
      because that's where rspec-core looks for it and
      that's been the public API.
    myronmarston committed Mar 2, 2014
  6. @JonRowe

    Merge pull request #486 from rspec/matcher_docs

    Matcher docs,WIP
    JonRowe committed Mar 2, 2014
  7. @JonRowe

    Document inbuilt matchers

    Fixes #463
    [skip ci]
    JonRowe committed Mar 2, 2014
  8. @myronmarston

    Merge pull request #485 from rspec/remove-unneeded-ivar

    Cleanup matcher_execution_context.
    myronmarston committed Mar 2, 2014
  9. @myronmarston

    Tag slow specs.

    myronmarston committed Mar 2, 2014
  10. @myronmarston

    Remove expected_to_sentence method.

    It's unnecessary and has some odd coupling, where it
    assumes the including class has an `expected` attribute.
    
    I prefer the simplicity of `to_sentence expected`.
    myronmarston committed Mar 1, 2014
  11. @myronmarston

    Remove `RSpec::Matchers::Pretty#_pretty_print`.

    It's nearly identical to `to_sentence`.
    myronmarston committed Mar 1, 2014
  12. @myronmarston

    Cleanup matcher_execution_context.

    * The external @matcher_execution_context (from `self`
      at the point the matcher method was called) was odd,
      and turns out never to have been needed.  It was
      introduced in abba439
      but wasn't actually needed there (as the spec added
      in that commit passed when I tried removing it).
    * Given that it must be set (as `respond_to?` assumes
      it has been set), it was odd to have an extra
      attribute that gets set after instantiation.
      Far better to make it a constructor arg.
    * No need to expose it as public method.
    myronmarston committed Mar 1, 2014
  13. @myronmarston

    Add missing changelog entry.

    [ci skip]
    myronmarston committed Mar 2, 2014
  14. @myronmarston

    Merge pull request #482 from rspec/100-percent-doc-coverage

    Fail build if coverage is less than 100%.
    myronmarston committed Mar 2, 2014
  15. @myronmarston
Commits on Feb 28, 2014
  1. @myronmarston

    Fix invalid YARD tag.

    myronmarston committed Feb 28, 2014
Commits on Feb 27, 2014
  1. @myronmarston

    Use `bin/yard`.

    myronmarston committed Feb 27, 2014
  2. @myronmarston

    Always install yard as part of builds.

    It's needed for our new check_documentation_coverage step.
    myronmarston committed Feb 27, 2014
  3. @myronmarston

    Fail build if coverage is less than 100%.

    For #461.
    
    This will fail initially; I'm just getting the build going.
    We'll have to doc everything before we can merge this.
    
    We'll also want to extract this into rspec-dev
    (and propagate it to all repos) once we're happy with
    this build change.
    myronmarston committed Feb 27, 2014
Commits on Feb 25, 2014
  1. @JonRowe

    Merge pull request #481 from rspec/update-travis-build-scripts-2014-0…

    …2-25-for-master
    
    Updates from rspec-dev (2014-02-25)
    JonRowe committed Feb 25, 2014
  2. @JonRowe
Commits on Feb 24, 2014
  1. @JonRowe

    Merge pull request #479 from rspec/smaller-built-gem-size

    Don't include any test files in the gem.
    JonRowe committed Feb 24, 2014
  2. @JonRowe
  3. @myronmarston

    Merge pull request #478 from rspec/add-syntax-highlighting-for-compos…

    …able-matchers-cuke
    
    Tag scenario files with `ruby` so it gets syntax highlighted on relish.
    myronmarston committed Feb 24, 2014
  4. @myronmarston
Commits on Feb 23, 2014
  1. @JonRowe

    Merge pull request #475 from rspec/specify_type_on_legacy_matcher_dep…

    …recations
    
    Group legacy matcher deprecations together using type key
    JonRowe committed Feb 23, 2014
  2. @JonRowe
Commits on Feb 22, 2014
  1. @myronmarston

    Merge pull request #477 from rspec/fix-do-end-blocks

    Fix do end blocks
    myronmarston committed Feb 22, 2014
  2. @myronmarston
  3. @myronmarston

    Improve robustness of spec.

    `expect { }.to raise_error` is prone to false positives since
    it could fail with any kind of error, not just the kind of error
    we expect.
    myronmarston committed Feb 22, 2014
  4. @myronmarston
Commits on Feb 21, 2014
  1. @myronmarston

    Merge pull request #474 from rspec/fix-issue-473

    Fix issue 473
    myronmarston committed Feb 21, 2014
  2. @JonRowe

    Merge pull request #472 from rspec/strip_out_simple_delegate_from_enc…

    …oded_string
    
    Remove SimpleDelegate from EncodedString
    JonRowe committed Feb 21, 2014
  3. @myronmarston

    Remove spec.

    It doesn't really make sense to keep a spec that
    specifies behavior when a specific gem is loaded
    when there's nothing left in the project that is
    custom code when that gem is loaded.
    
    I thought it was worth committing the spec for the
    history, though, so I kept it in the last commit.
    myronmarston committed Feb 21, 2014