Skip to content
This repository
  • 428 commits
  • 174 files changed
  • 22 comments
  • 32 contributors
This comparison is big! We're only showing the most recent 250 commits
Sep 25, 2012
Myron Marston Fix build on 1.8.7.
Proc#source_location is only available on 1.9, apparently.
a5b7209
Myron Marston Refactor shared example code so we don't leak methods onto Module/main.
We should limit the number of methods we add onto objects we don't own.
21c415f
Sep 26, 2012
Sam Phippen Command line arguments consistently use hyphens
`--default_path` has been replaced with `--default-path` and `--line_number`
has been replaced with `--line-number`.

The old, underscore based args still work. The new hyphen based args now
show in the help text in `--help`.

Closes #497
Closes #691
ef74478
Andy Lindeman Changelog for #497, #691 [ci skip] 92038d3
Sep 27, 2012
Andy Lindeman "--init" no longer generates an incorrect warning
* Closes #693
* Fixes #686
336f201
Sam Phippen Deprecate SharedExampleGroup#share_as
Signed-off-by: Sam Phippen <samphippen@googlemail.com>
aa294e7
Sam Phippen Add a spec for the share_as deprecation
Signed-off-by: Sam Phippen <samphippen@googlemail.com>
faf6d4f
Jordi Polo Carres A more useful error message is shown when an invalid command line opt…
…ion is used

* Closes #688
ccedfcb
Sep 28, 2012
Akira Matsuda s/map/each/ 64fbdca
David Chelimsky Merge pull request #696 from amatsuda/load_each_file
avoid creating unused Array instance
5012aea
Sep 30, 2012
Myron Marston Merge pull request #694 from samphippen/deprecate-share-as
Deprecate SharedExampleGroup#share_as
701f901
Myron Marston Silence share_as deprecation warning in our specs. 5882cff
Myron Marston Fix warning: already initialized constant NestedFoo2 cfb6029
Myron Marston Update changelog. 94fd7a8
Myron Marston Unify error message for invalid option.
No need to `puts` part of it and `abort` with the rest.
45f23ab
Oct 02, 2012
alex-tan Add format_docstrings option to configuration. 4fd3882
Myron Marston Changelog for #698.
[ci skip]
ffeda87
Myron Marston Don't output the seed before loading spec files.
This sets the formatter before users have a chance to
configure it in a `RSpec.configure` block in a loaded
spec file, and it turns out we don't need it--#660
fixes the order files are loaded to a consistent order,
so the seed isn't involved at file load time.

This reverts the following commits:

* "Changelog for #676."
  (824119e)
* "Ensures that error commands always throw an error"
  (dbee8b6)
* "Outputs random seed before loading files"
  (f6565c7)

Closes #676.
3301d30
Oct 04, 2012
blowmage Remove unnecessary require
The rake task doesn't use core, and doesn't need the DSL loaded to work.
Having core loaded stomps on minitest if in the same project.
92c48a4
David Chelimsky Merge pull request #700 from blowmage/minitest-rails
Allow RSpec's rake task to live with MiniTest
b45066f
Myron Marston Rearrange code to keep ordering config options together. 8b461d3
Oct 05, 2012
David Chelimsky Use dup of Time so reporting isn't clobbered by examples that modify …
…Time

without properly restoring it.
51a31c9
Myron Marston Delegate #configuration through to rspec-mocks.
This allows our block config API to be used.

This depends on rspec/rspec-mocks#188 and should be merged after that.
44ff59b
Myron Marston Time.new doesn't accept any arguments on 1.8.7.
It's an alias for Time.now.
1bd9815
Myron Marston Build on all rbx/jruby interpreters available.
...but allow failures for now (since I don't know if they'll pass initially).
e052419
Myron Marston Relax time threshold.
If GC kicks in at the right moment, it could take a fair bit longer.
ffb48f5
Oct 06, 2012
David Chelimsky Merge pull request #681 from twe4ked/pluralize-seconds
Pluralize 'second' in RSpec::Core::Formatters::Helpers#format_duration
1a57965
David Chelimsky Changelog for #681 f6e707d
Oct 07, 2012
Jarmo Pertman Fix ANSICON url. 4835159
David Chelimsky Merge pull request #702 from jarmo/master
Fix ANSICON url.
4a67c9f
David Chelimsky Changelog for #702 5087344
David Chelimsky warn when RSpec.configuration receives a block (use RSpec.configure f…
…or that)
0c8cf26
Myron Marston JRuby 1.8 is passing fine. f2d7105
Oct 08, 2012
Andy Lindeman Adds information about instance variables and mocks in hooks 7c9d701
Myron Marston Extract BacktraceFormatters into a module.
This will be used by rspec/rspec-expectations#59.
39857f3
Myron Marston Merge pull request #701 from rspec/extract_backtrace_filtering
Extract backtrace filtering methods into helper module.
5ac165f
Oct 09, 2012
Patrick Van Stee Fix example of --format with --out
Seperating format and output file with a colon was never supported and
was probably added by accident. The output filename was also updated to
be consistent with later examples. Fixes #704
5561e17
Andy Lindeman Merge pull request #705 from vanstee/fix_format_option_documentation
Fix example of --format with --out
1f08fc2
Andy Lindeman `rspec --drb` (without other args) runs specs in default_path
* Fixes #631
bc7bcb2
Andy Lindeman Merge pull request #706 from alindeman/issue_631
`rspec --drb` (without other args) runs specs in default_path
5a8eed0
Oct 11, 2012
Patrick Van Stee Identify ruby code for syntax highlighting
Thanks to @charlietanksley, @alindeman, and @greggroth for the regex
help. Fixes #708
0b93fdc
Andy Lindeman This gem is rspec-core; no need to require it in Gemfile 8f3944f
Andy Lindeman Works around failures of the test suite under Rubinius
rubinius-2.0.0dev :001 > (Time.now - Time.now).class
=> Float
rubinius-2.0.0dev :002 > MyTime = Time.dup
=> MyTime
rubinius-2.0.0dev :003 > (MyTime.now - MyTime.now).class
=> Time

On MRI, the last line reads `Float`, which is what we expected before
this commit.
96e3d13
Andy Lindeman Works around failures of the test suite under Rubinius (in rspec-mocks) 582a0a8
Oct 12, 2012
Andy Lindeman Merge pull request #710 from vanstee/ruby_file_doc_strings
Identify ruby code for syntax highlighting
2c04e79
Andy Lindeman Removes the need for `fakefs`
* `fakefs` is broken under rbx
dd574fb
Oct 13, 2012
Andy Lindeman Includes detailed backtraces on failures 3c7c803
Oct 14, 2012
Andy Lindeman Works around JRuby issue where Dir.mktmpdir is slightly broken
* See <https://jira.codehaus.org/browse/JRUBY-5678> for more details on
  workaround
7f53806
Andy Lindeman Merge pull request #711 from alindeman/removes_fakefs
Removes the need for `fakefs`
2f6b803
Andy Lindeman Removes assertion on $SAFE in Rubinius as it is not supported 8e2baaa
Andy Lindeman Address Rubinius' differing multiple assignment expression behavior
* See rubinius/rubinius#1955 for bug report
8285449
Andy Lindeman Only assert if there is an expected suffix
* Rubinius' backtraces have a bit of extra suffix. This seems OK as long
  as we didn't expect it to be something else entirely.
be599c2
Oct 15, 2012
Andy Lindeman Rake task cukes support Rubinius (which runs as rbx) bc1fdf8
Andy Lindeman Text formatter cuke supports Rubinius (which includes extra lines of …
…backtrace)
55d3266
Andy Lindeman Avoids asserting on order of Set, which is an unordered data structure aa4cb40
Andy Lindeman Bumps aruba version
* Preserves JRUBY_OPTS, making it easier to test in 1.9 mode locally.
a3f45f9
Andy Lindeman Adds -rbx formatted fixtures 7f063e4
Andy Lindeman Removes step definition that is now covered by aruba ed121c0
Andy Lindeman Backs out aruba upgrade as it seems to be broken on JRuby
This reverts commit ed121c0.
This reverts commit a3f45f9.
351fb0d
Andy Lindeman rbx is green. Let's try to keep it that way 9cbb75c
David Chelimsky beef up formatter (built-in and custom) rdoc 4a5bc5e
Andy Lindeman Adds generated fixtures for JRuby 1.9
* Also sets the source encoding for the specs to UTF-8. For some reason,
  Nokogiri did not correctly parse the actual output if they were read
  into ASCII strings. Setting the source encoding seems to solve this,
  even though I thought source encoding only affected the source file
  itself, not encodings of I/O.
280ee60
Oct 16, 2012
Andy Lindeman JRuby sometimes reports a bogus line number in exception stack traces…
…; handle this gracefully
c577405
Andy Lindeman Correctly runs the tests in MRI where $SAFE will prevent the file fro…
…m being read
7cfdfac
Charlie Tanksley document using metadata with shared examples
When a shared example and a describe block have the same metadata, the
shared example gets included automatically. Document this. Closes Issue #440.
aae43c7
Andy Lindeman JRuby --1.9 is green b765570
Myron Marston Merge pull request #713 from charlietanksley/document-shared-examples…
…-with-metadata

document using metadata with shared examples
5d28318
Oct 17, 2012
Sam Phippen Add support for .rspec-local
Signed-off-by: Sam Phippen <samphippen@googlemail.com>
0e60322
Bradley Schaefer First pass at allowing you to pass task args to an rspec rake task. R…
…elates to #330
6b0e0d1
Oct 18, 2012
Bradley Schaefer Fixed the specs to work for deferred rake task initializer blocks 662758d
Oct 20, 2012
Bradley Schaefer Rejiggered the block caller to use terser syntax, tweaked test accord…
…ing to feedback from alindeman
7b43ffb
Oct 21, 2012
Bradley Schaefer Added a cucumber feature that shows using rake task args 59a2728
Oct 24, 2012
Sam Phippen Use local_options to refer to .rspec local
This moves the old "local_options" to "project_options".

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
8203313
Oct 27, 2012
Myron Marston Merge pull request #716 from soulcutter/rake_task_args
Allow task args to be passed to rspec tasks.
5f6e715
Charlie Tanksley Documents nuances of using rcov with rspec
* Closes #479
* Closes #551
* Closes #719
f442561
Myron Marston Use an isolated home dir for drb_options_spec.rb
I recently added `--color` to my `~/.rspec` file and it broke the specs in these files since it unexpectedly picked up that config in my home directory.

This fixes it so that it doesn't matter what (if anything) you have in your ~/.rspec file.
6e334eb
Sam Phippen Make Configuration#get_files_to_run consistently order files.
Fixes #715.
Closes #717.
d91410f
Myron Marston Simplify the specs from d91410f.
- We don't want to specify how the ordering is done (e.g. alpabetical) just that it is consistent.
- There's no need to complicate it with random seed stuff; an example showing the files being assigned in two different orders getting the same load order is sufficient.
eb5d2e0
Myron Marston Merge pull request #714 from samphippen/rspec-local
Add support for .rspec-local
a205122
Myron Marston Clarify local vs project options in spec descriptions. 4919640
Myron Marston Update changelog.
[ci skip]
2901dd0
Nov 04, 2012
Ned Ruggeri fix pattern escaping of spaces 7007f75
David Chelimsky Merge pull request #721 from ruggeri/master
RSpec fails when using --pattern when $PWD has a space
a816fe4
Nov 10, 2012
David Chelimsky update changelog d8e459f
Nov 12, 2012
Andy Lindeman Supports mocha 0.13.0 which removed "mocha/object" c6ef6fb
Andy Lindeman Changelog for #727 [ci skip] 445e283
Andy Lindeman Restores support for mocha >= 0.9.7, < 0.13.0 35fe27f
David Chelimsky prep for 2.12 a5cdbd0
David Chelimsky changelog format [ci-skip] 37391c2
Andy Lindeman Updates to rake 10 9e43641
David Chelimsky bump version to 2.12 f81eb66
Nov 13, 2012
Suraj N. Kurapati run specs even if Kernel#exit() was called
This commit fixes a problem that I introduced in pull request #569,
where RSpec won't run any specs if someone explicitly called exit() or
if they were using both Test::Unit and RSpec together and they had
loaded RSpec before loading Test::Unit.  In particular, exit() called in
Test::Unit's at_exit handler would raise SystemExit, thereby defining
$!, whose presence inhibits RSpec's at_exit handler from running specs.
5e5603c
Andy Lindeman Fixes link in Changelog e951103
Andy Lindeman Changelog for #720
[Closes #720]
3e95e4e
charliemaffitt Defines shellescape method
Method allows newer versions of Ruby to use string.shellescape while not breaking in 1.8.6
f5e14f0
Andy Lindeman Increases the default timeout to attempt to make rbx-19 go green on t…
…ravis-ci
4d881e8
Nov 18, 2012
Andy Lindeman Merge pull request #728 from charliemaffitt/shellescape_backwards_com…
…patible

Defines shellescape method
6f99136
Nov 20, 2012
Tyler Brock fix spelling error in README.md c088283
Andy Lindeman Merge pull request #736 from TylerBrock/patch-1
fix spelling error in README.md
547754d
Nov 23, 2012
Myron Marston Collapse two loops into one. 9c8d6bd
Myron Marston Just use `inject` rather than `map.inject`. 2919139
Myron Marston Fix doc string when a method name is nested under a context string de…
…scription.

Fixes #733.
5529b39
Nov 24, 2012
Myron Marston Add missing 1.9.3-jruby fixture files. 247bc53
Myron Marston Changelog for 5529b39. ad3d3cd
Nov 26, 2012
Sam Phippen Document the order in which configuration options are loaded
Configuration options are loaded from files, this docstring clarifies
which order they are loaded in and where they are loaded from (hopefully!)

Closes #739
c765c3b
Nov 30, 2012
Myron Marston Restore a public API I unintentionally broke in 39857f3.
@DouweM rightly pointed out that I broke this API.

39857f3#commitcomment-2236278
f06254c
Myron Marston Words. 497de60
Dec 01, 2012
Myron Marston 2.12.1 release. e227bb4
Dec 06, 2012
Greggory Rothmeier documentation for Formatters::Helpers
fixes #673
b4895d9
Greggory Rothmeier documentation for Formatters::SnippetExtractor
fixes #673
04024bb
Charlie Tanksley add feature to document failure_exit_code option b15a03b
Charlie Tanksley add feature to document profile_examples option a3ce764
Charlie Tanksley add feature to document run_all_when_everything_filtered ce715c7
Charlie Tanksley add feature to document pattern option f0c93ed
Charlie Tanksley add feature to document treat_symbols_as_metadata_keys_with_true_values 0e3b20d
Charlie Tanksley use aruba exit code matcher a52dad6
Charlie Tanksley add feature to document drb and drb_port options 352bd79
Greggory Rothmeier update documentation for Formatters::BaseFormatter
fixes #673
465098a
Charlie Tanksley add feature to document show_failures_in_pending_blocks e10fe0a
Greggory Rothmeier documentation for Formatters::BaseTextFormatter with help from @wallace
fixes #673
f0f48fa
Charlie Tanksley add feature to document output_stream 31edba4
Andy Lindeman Allows rbx to fail due to flaky compilation errors on Travis 4b11a11
Greggory Rothmeier remove implementation details from wording b240daa
Greggory Rothmeier remove duplicated documentation
* this is also documented in RSpec::Core::Formatters
f620228
Patrick Van Stee Require backward compatibility in rake task
When upgrading from an old version, `Rspec` may not be available where
`backward_compatibility` is not required. Fixes rspec/rspec-rails#638
2d148cb
Myron Marston Merge pull request #744 from vanstee/rake_task_backward_compatibility
Require backward compatibility in rake task
4c760a3
Dec 07, 2012
Charlie Tanksley link to documentation for order and seed options
Since `order` and `seed` are pretty tightly coupled, it seems like
these should be documented together. But the only way I can think of
to write a feature for seed would be to try and run a spec, capture
the seed, then insert that into a config block. But that seems way too
complicated to be informative as documentation. So after consulting
with @alindeman I opted to just link to where these features are
documented for the command line options.
4385437
Greggory Rothmeier document formatters helper methods as private 69096ff
Dec 10, 2012
Greggory Rothmeier document SnipptExtractor as private 1f4fe3f
Myron Marston Merge pull request #743 from greggroth/formatters_documentation
Formatters Documentation
64c311f
Dec 11, 2012
Myron Marston Improve our use of String#shellescape.
We've gotten a few reports of problems with String#shellescape:

* https://twitter.com/jcoglan/status/278464520245092353
* #728 (comment)

However, I can't repro errors. Our travis build is green on 1.8.7.
I realized that String#shellescape is only available if `shellwords`
hasn't been loaded, but Rake loads that library:

jimweirich/rake@d000a3d

...so I'm not sure how the reported errors are occurring. Regardless,
the changes here are an improvement, I think:

* Explicitly require `shellwords` -- it's bad to rely on Rake
  requiring it as there is no guarantee it will always do so.
* Use feature detection (e.g. `"".respond_to?(:shellwords)`)
  rather than version detection. This is helpful if a user
  runs a 1.8.6 w/ shellescape backported (e.g. using the
  backports gem) and also if there are any early patch
  levels of 1.8.7 for which shellwords does not define
  String#shellescape (not sure if that is the case, but it's
  one potential source of the reported breakage).
d77527f
Myron Marston RBX builds are passing now; no need to allow them to fail. 8f37eda
Myron Marston Set some Jruby options that should hopefully speed up the travis build.
It timed out after 25 minutes :(.
dbabd46
Greggory Rothmeier add config option to specify profile example count
addresses #726
1a0accf
Dec 12, 2012
David Ed Mellum Docs for pending messages in a pending example 328fb3c
Greggory Rothmeier remove `profile_example_count` in favor of setting `profile_examples`…
… to an integer
db8d6e0
Greggory Rothmeier add CLI option for --profile 7aedb1d
Greggory Rothmeier stub config optio for profile_examples
* fix fragile spec which depends on line distance from where the spec is
defined.
d8edaba
Greggory Rothmeier improve CLI descriptoin of --profile 4ae3643
Greggory Rothmeier improve example spec example names 922b733
Dec 13, 2012
Myron Marston 2.12.2 release. 349c3e7
Dec 14, 2012
Greggory Rothmeier add --no-profile CLI flag d702df7
Greggory Rothmeier add cucumber feature to document using --no-profile with spec_helper eb40e25
Dec 15, 2012
Myron Marston Run build against 2.0.0. 93bd979
Myron Marston `allow_failures` needs to go under `matrix`... c0e1f4c
Myron Marston Allow rbx-19mode build failures.
For now, at least.
b1280d8
Dec 16, 2012
Murahashi Sanemat Kenichi Generate formatted files for Ruby2.0.0
GENERATE=1 bundle exec rspec spec
0ceab26
Murahashi Sanemat Kenichi Adjust Ruby2.0.0 in HtmlFormatter 7edb6ba
Myron Marston Merge pull request #751 from sanemat/feature/generate-2-0-0
Add formatted html for Ruby2.0.0
2334080
Dec 19, 2012
David Chelimsky Merge pull request #753 from edmellum/patch-1
Docs for pending messages in a pending example
776d2c2
Myron Marston Allow rbx 18 failures.
We've gotten weird intermittent compile errors from rubinius :(.
No idea why, and it's intermittent.
1aea1bc
Tom Stuart Cuke for backtrace_clean_patterns configuration 89322f8
Myron Marston Merge pull request #752 from mortice/documentation_for_backtrace_clea…
…n_patterns

Cuke for backtrace_clean_patterns configuration
82817f7
Myron Marston Improve the way we run builds.
- It was causing issues to have a rake task shell out to `script/test_all`
  since that itself was re-bundling.
- No need for `find_path_to_rspec_exe`; I've discovered that `--standalone`
  and `--binstubs` together produce bins that don't load bundler.
- Add `-x` to `set -e` as that will cause the script to print each command
  as it runs.  No need for `print_and_run`.
- Add cucumber to test_all script, and use just that for the build.
4d06cef
Dec 20, 2012
charliemaffitt Make colors customizable in configuration 37b2713
charliemaffitt Uses symbol names instead of integers in custom color definitions f88fc3e
charliemaffitt Uses configuration API instead of stubbing configuration settings d369827
charliemaffitt Colorize method defaults to white if bad input is received 897020c
charliemaffitt Moves terminal color code back into base_text_formatter 3443183
charliemaffitt Removes requirement for terminal_color class which was moved back int…
…o base_text_formatter
d0271fe
charliemaffitt Checks to see if parameter is contained in values of VT100_COLORS hash 01e1ea5
charliemaffitt Moves specs for terminal color output back into base_text_formatter_spec 97400c0
charliemaffitt Renames color methods with descriptive intent rather than color name d431cd1
charliemaffitt Fixes bad syntax in bold definition 7c0e3a4
charliemaffitt Adds YARD documentation listing valid color symbols for color config e579968
charliemaffitt Updates BaseTextFormatter#colorize to check against a set of values
If it doesn't find the code in the set of values, it looks in the hash of VT_100 codes and values. If it can't find it there, it defaults to white.
868a861
charliemaffitt Restores color-named methods in BaseTextFormatter
in case they are being used by 3rd-party applications. Uses color symbol instead of code for clarity.
64c8739
charliemaffitt Adds method for magenta to BaseTextFormatter
which I overlooked in charliemaffitt@64c8739
44e4679
charliemaffitt Corrects color sybol in previously added method for BaseTextFormatter…
…#white
435bfbf
Dec 21, 2012
Myron Marston Don't blow up on anonymous error classes.
Previously, I was getting an error like:

    /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/formatters/base_text_formatter.rb:203:in `dump_failure_info': undefined method `<<' for nil:NilClass (NoMethodError)
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/formatters/base_text_formatter.rb:197:in `dump_failure'
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/formatters/base_text_formatter.rb:23:in `block in dump_failures'
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/formatters/base_text_formatter.rb:21:in `each'
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/formatters/base_text_formatter.rb:21:in `each_with_index'
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/formatters/base_text_formatter.rb:21:in `dump_failures'
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/reporter.rb:98:in `block in notify'
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/reporter.rb:97:in `each'
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/reporter.rb:97:in `notify'
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/reporter.rb:81:in `finish'
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/reporter.rb:36:in `report'
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/command_line.rb:25:in `run'
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/runner.rb:80:in `run'
	from /Users/myron/code/vanguard/bundle/ruby/1.9.1/bundler/gems/rspec-core-4d06cef45fb1/lib/rspec/core/runner.rb:17:in `block in autorun'

Fixes #755.
56078da
Myron Marston Fix default backtrace filter patterns.
Lines from projects containing "gems" in the name should
not be filtered, but lines from installed gems should be.

Fixes #754.
356f15a
Myron Marston On some rubies (e.g. 1.8) anonymous classes are named '', not nil. c4f1b20
Myron Marston Fix .travis.yml to properly allow rbx failures.
It's hard to get rbx to be consistent for some reason :(.
b76bf4f
Dec 22, 2012
charliemaffitt Add deprecation warnings to named color methods in BaseTextFormatter 5bf26bc
charliemaffitt Nil is not a string f15615a
Dec 23, 2012
Myron Marston Remove a level of `include` chaining.
No need to trigger an additional include on inclusion.
c7005c6
Dec 24, 2012
Greggory Rothmeier fix documentation 96d2e8f
Greggory Rothmeier improve clarity of conditional 569d55a
Myron Marston Merge pull request #747 from greggroth/profile_config_options
config option to specify profile example count
2115f88
Myron Marston Update changelog.
[ci skip]
b2136ac
Myron Marston No need to waste time sleeping. 93a609d
Myron Marston Re-instate the sleep -- the build failed on JRuby.
Locally, it passed on JRuby for me but failed on travis.
It failed due to reporting the time taken as 0% instead of 100%.

So, we need to ensure some time passes, but it doesn't need to be much.
f256f1b
Myron Marston Dump --profile output even when there are failures.
Closes #730.
8b4e75b
Myron Marston Make spec less brittle. 23e4400
Dec 25, 2012
Myron Marston No need to use send here. f273be3
Dec 27, 2012
Myron Marston Ignore .rspec-local.
This file is for personal preferences and should
not be checked into source.
7aab5fb
Dec 30, 2012
Zubin Henner Added `subject!` method for invoking subject in a before block like `…
…let!`.
027dcd4
Jonas Tingeborn fixed broken command generation for Windows f263111
Jonas Tingeborn added Windows quoting test to avoid regression 135f7a5
Jonas Tingeborn made quoting test inclusive and more expressive 7ef07b3
Zubin Henner Added spec and yard docs for #subject! method, and improved cuke exam…
…ple.
d6018ac
Zubin Henner Updated specs for #let! to assert before block gets called. 65c6504
Myron Marston Merge pull request #760 from zubin/master
Added `subject!` method for invoking subject in a before block like `let!`
635baca
Myron Marston Add changelog entry for #760.
[ci skip]
cf54910
Myron Marston Merge pull request #762 from jojje/fixes
Window command line generation patches
34577db
Myron Marston Add changelog entry for #762.
[ci skip]
cc2e56f
Myron Marston Refactor `subject` to be implemented in terms of `let`.
This is far simpler, and paves the way for supporting
`super` in both `let` and `subject`.

I had to rewrite a few of the subject specs; they were coupled
to ExampleGroup#subject returning a proc, but that was an
implementation detail of the old implementation.
19dd6b2
Myron Marston Fix `let` and `subject` so they support method constructs.
These constructs are presented as defining memoized methods,
but they've been a leaky abstraction before now. Method
constructs like `super` and `return` did not work correctly
in them.

This plugs the leak and allows these constructs to be used
in `let` and `subject` declarations.

Fixes #294.
c5172be
Myron Marston Fix grammar typo. f099ece
Myron Marston Clarify spec for use of `super` in a named subject.
If `super` is used in `subject(:name) { }`, it should
delegate to the parent context's `subject`, not to the
parent context's `name`.
cc46b55
Myron Marston Merge pull request #757 from rspec/let_subject_super
Fix `let` and `subject` declarations so they can use super
93a5bf6
Dec 31, 2012
Gabriel Sobrinho Remove unnecessary assignment from RSpec::Core::Let.get_constant_or_y…
…ield
ae4546c
Myron Marston Merge pull request #764 from sobrinho/master
Remove unnecessary assignment from RSpec::Core::Let.get_constant_or_yield
c578697
Myron Marston Merge branch 'master' into charliemaffitt-configurable_terminal_colors
Conflicts:
	lib/rspec/core/configuration.rb
	lib/rspec/core/formatters/base_text_formatter.rb
4eb7ebe
Myron Marston Add changelog entry.
[ci skip]
a80bf68
Myron Marston Cleanup whitespace.
[ci skip]
3c00d1b
Myron Marston Add specs for the deprecated color methods. 08cfa39
Myron Marston Merge branch 'charlietanksley-document-config-options' 44c1cae
Myron Marston Merge the two profile config cukes. abd4b30
Myron Marston Delete the DRb cuke. It doesn't really provide documentation value. ae16e92
Jan 01, 2013
Myron Marston Add missing require. 3b1fd5f
Myron Marston Switch to the new `expect` syntax.
I used some vim macros to do most of the work here:
http://nathanmlong.com/2012/11/convert-to-the-new-rspec-syntax-with-vim-macros/

I also had to re-gen the html/textmate formatter output since
those include the failing line, which changed from `should`
to `expect`.

While I was at it, I deleted the files for 1.9.2-jruby because
the current jruby version supports 1.9.3, but not 1.9.2.

I wasn't able to re-gen the rbx files because my local
rbx installation is messed up and RVM is failing on me
when trying to re-install rbx :(.
d7a3f4e
Andy Lindeman Regenerates expected files for rbx 5c35b2d
Andy Lindeman Merge pull request #765 from rspec/new_expect_syntax
Switch to the new `expect` syntax.
6a54bf8
Jan 02, 2013
Andy Lindeman Adds documentation for configurable colors 65700c6
Jan 03, 2013
Andy Lindeman Adds formatter features to navigation f347f20
Jan 04, 2013
Olek Janiszewski Implicit subject should be memoized with let df58558
Jake Goulding Remove incorrect help text suggesting that the example option can be …
…a regexp
17fb1e3
Olek Janiszewski Combine Let and Subject modules into one 0c70d63
Jan 05, 2013
Myron Marston No need to nest these methods in an additional module. 0adc003
Myron Marston Merge branch 'exviva-subject_not_memoized' f7ab113
Olek Janiszewski Implement `its` using new `subject` powers f430278
Myron Marston Add specs for subject/its in a shared context. 3a4470f
Myron Marston Fix typo. edaf976
Jan 06, 2013
Myron Marston Fix a `described_class` edge case.
In a case like:

  describe "in some context" do
    # example { described_class }
    describe MyClass do
      example { described_class }
    end
  end

...the value of `described_class` in the inner example group
changed based on whether or not the example in the outer group
was commented out or not. This was due to the fact that
`GroupMetadataHash#described_class` would return the parent
group's `described_class` if the key was present in that
group's metadata hash, but given the fact that `described_class`
is lazily computed and stored, the key would be present in the
parent group's metadata hash if and only if `described_class`
was called on the parent group--which would only be done if
the outer example was defined.

By adding the extra guard against nil, it allows the normal logic
to run to find the example group:

- scan the groups from the outer to the inner
- return the first non-string/non-symbol `describe` arg
538285b
Jan 09, 2013
Olek Janiszewski Do not modify `subject` when defining an `its` example d177f54
Myron Marston Merge pull request #772 from mislav/test-all-standalone
avoid bundle exec in test_all
f66b89d
Jan 10, 2013
Mislav Marohnić avoid bundle exec in test_all 57d20b4
Myron Marston Merge pull request #771 from exviva/its_subject
Do not modify `subject` when defining an `its` example
978f429
Myron Marston Update changelog.
[ci skip]
960bbd2
Jan 15, 2013
Myron Marston Merge pull request #769 from shepmaster/remove-regexp-example
Remove incorrect help text suggesting that the example option can be a r...
79e10c3
Myron Marston Cleanup whitespace. f983252
Myron Marston Prevent `the examples should all pass` cuke step false positives.
It did not actually verify that any examples were run, and lead
to a false positive cucumber scenario discovered by @shepmaster
in #769. The underlying assumption of "the examples should all pass"
is that there were actually examples.

I think "the process should succeed even though no examples were run"
is a better description of the case when there are no examples.
27a89f6
Jan 16, 2013
Parker Selbert Scenario documenting multiple exclude
This adds a scenario that explicitly shows how excluding examples with
multiple tags should behave. I.e `-t ~skip -t ~speed:slow`
456fc8e
Myron Marston Merge pull request #775 from sorentwo/document-multi-exclude
Scenario documenting multiple exclude
771f5f0
Jan 22, 2013
Myron Marston Fix Example#instance_eval to properly forward args.
It's not used very often, but it was blowing up from the pretty print library:
a77b222
Jan 29, 2013
Leo Gallucci Small typo on README for described_class()
Should be described_class() instead of described()
96dc96c
Myron Marston Merge pull request #780 from elgalu/patch-1
Small typo on README for described_class()
94b8846
Jan 31, 2013
Kohei Hasegawa README uses expect() syntax d6bd080
Andy Lindeman Merge pull request #782 from banyan/readme-uses-expect-syntax
README uses expect() syntax
89fce7c
Feb 05, 2013
Christian Seiler Preserve the original state of ARGV by duplicating the array. Closes #… 10b99d1
Myron Marston Merge pull request #788 from csmuc/dup_command_line_args
Preserve the original state of ARGV by duplicating the array. Closes #787
9f8983f
Feb 09, 2013
Myron Marston Regenerate html fixtures for ruby 2.0. 2123884
Feb 13, 2013
pjambet Use new Codeclimate badge, made by @olivierlacan a537dc7
Myron Marston Merge pull request #791 from pjambet/use_new_codeclimate_shield
Use new Codeclimate badge, made by @olivierlacan
5037aab
Feb 16, 2013
Myron Marston Ruby 2.0 is green. eecd635
Feb 19, 2013
fix typos and improve wording 2bf5192
Feb 20, 2013
Myron Marston Merge pull request #797 from glyn/master
Editorial changes to the main readme
25382fb
Feb 23, 2013
Myron Marston Update changelog for release 4d7539e
Myron Marston 2.13.0 release 3a83a89