RSpec Monthly Update - March 2014

60 views
Skip to first unread message

Xavier Shay

unread,
Mar 29, 2014, 2:07:23 PM3/29/14
to rs...@googlegroups.com

Hello and welcome to the monthly RSpec update!


Here you can find what the core team is up to, what we are planning, progress towards our next major release, and how you can help out. It’s been a huge month for us!


Welcome Aaron Kromer to the core team!

Aaron (aka @cupakromer) has been contributing for a while, and in addition (from Myron’s recommendation):


“More than the commits he's contributed, the thing about Aaron that's really impressed me is how useful and friendly he's been in issue discussions. (Do a search for @cupakromer on any of the repos to find some if you're interested). He has a great ability (and willingness) to reproduce tricky issues and he's extremely thorough in reporting back what he's found.“


We are unanimously pretty freaking excited to have Aaron on the team. Please do join us in congratulating him.

Theme

Big month! Marching towards a release candidate. Check out this super cool dashboard listing all the release blocking issues! http://rspec-dashboard.herokuapp.com/


(ok so maybe it’s a little ugly... PRs welcome! https://github.com/xaviershay/rspec-dashboard )


Last Month

  • Xavier: Fixed some thread-safety bugs in rspec-mocks. [1]

  • Xavier: Make rspec-mocks Marshal monkey-patch opt-in. [2]

  • Xavier: 100% doc coverage for rspec-mocks. [3]

  • Xavier: Bugfix for verifying partial doubles and private methods. [4]

  • Xavier: Prevent defining nested isolated contexts. [5]

  • Xavier: Remove support for pending in before(:all) hooks. [6]

  • Xavier: Remove skip-with-block feature. [7]

  • Myron: Audited rspec-core, rspec-mocks and rspec-expectations to see what’s left before the RC release.  Many small improvements and improved docs came out of this (and too many small PRs to link to here).

  • Myron: Get rspec-expectations to 100% documentation coverage. [8]

  • Myron: Remove `--line-number` filtering and CLI option. It was buggy and semantically dubious. Use `path/to/spec.rb:num` instead. [9]

  • Myron: Fix implicit `subject` so that `describe <some hash>` and `describe <symbol>` work properly. [10]

  • Myron: Fix `described_class` so that it returns the innermost described class rather than the outermost described class for those rare situations when you nest a `describe SomeClass` within another example group. [11]

  • Myron: Change metadata implementation so that it is just a raw ruby hash with precomputed entries rather than a subclass of Hash that lazily computes the metadata entries managed by RSpec. As part of this I restructured the example group metadata so that it no longer is confusingly nested under an extra `:example_group` key. [12]

  • Myron: Change `:execution_result` entry in example metadata so that it is a ruby object with a known set of attributes rather than a hash that could contain anything. [13]

  • Myron: Add new `default_formatter` config option. [14]

  • Myron: Use `require_relative` if available to load files as it’s constant time whereas the time complexity of `require` is linear over the number of directories on your load path. [15] [16] [17] [18]

  • Myron: Migrate rspec-mocks’ specs to primarily use the newer expect/allow syntax (with a few specs left for the old syntax) using transpec. [19]

  • Myron: Change rspec-mocks to use `autoload` to load optional or rarely used features; this improves the load time of rspec-mocks by about 10%. [20]

  • Myron: Assist Jon with implementing a robust solution for stubbing methods on objects that have prepended modules on the singleton class (as the prepended module can take precedence over normally defined singleton methods). [21]

  • Bradley: Add docs badges to RSpec repos. [22]

  • Bradley: Fix ordering problem where descriptions were generated after tearing down mocks resulting in unexpected errors [23]

  • Bradley: Add fencing to multiline deprecation messages [24]

  • Bradley: Finish up long-running PR extracting rails have(…).errors_on matcher to rspec-collection_matchers [25]

  • Sam: Fix the readme of rspec-dev so that it no longer references a specific version of RSpec[26]

  • Sam: Internal cleaning [27]


This Month

  • Xavier: Anything I can do to help get a release candidate out!

  • Myron: Ditto. Really want to ship RC1 by the next monthly update. Also want to put together a blog post listing all the notable changes in RSpec 3.

  • Bradley: Definitely looking forward to getting RSpec 3 out the door. Let’s do this!

  • Sam: Much the same as everyone else: RC1 shipping efforts.


How You Can Help

  • Try the beta! We are working hard to make this the smoothest major version upgrade you've ever done. Go to 2.99 first, fix deprecations, then on to 3.0.0.beta2 . Report any issues to the github issue tracker.


Cheers,

Xavier and the RSpec team.


[1] https://github.com/rspec/rspec-mocks/pull/634

[2] https://github.com/rspec/rspec-mocks/pull/620

[3] https://github.com/rspec/rspec-mocks/pull/616

[4] https://github.com/rspec/rspec-mocks/pull/615

[5] https://github.com/rspec/rspec-core/pull/1429

[6] https://github.com/rspec/rspec-core/pull/1330

[7] https://github.com/rspec/rspec-core/pull/1325

[8] https://github.com/rspec/rspec-expectations/pull/482

[9] https://github.com/rspec/rspec-core/pull/1415

[10] https://github.com/rspec/rspec-core/pull/1403

[11] https://github.com/rspec/rspec-core/pull/1361

[12] https://github.com/rspec/rspec-core/pull/1391

[13] https://github.com/rspec/rspec-core/pull/1376

[14] https://github.com/rspec/rspec-core/pull/1353

[15] https://github.com/rspec/rspec-support/pull/45

[16] https://github.com/rspec/rspec-core/pull/1348

[17] https://github.com/rspec/rspec-expectations/pull/488

[18] https://github.com/rspec/rspec-mocks/pull/607

[19] https://github.com/rspec/rspec-mocks/pull/612

[20] https://github.com/rspec/rspec-mocks/pull/596

[21] https://github.com/rspec/rspec-mocks/pull/586

[22] http://inch-pages.github.io/

[23] https://github.com/rspec/rspec-core/pull/1372

[24] https://github.com/rspec/rspec-core/pull/1350

[25] https://github.com/rspec/rspec-collection_matchers/pull/5

[26] https://github.com/rspec/rspec-dev/pull/60

[27] https://github.com/rspec/rspec-expectations/pull/484

Reply all
Reply to author
Forward
0 new messages