Delete flow#clear spec

This spec doesn't provide any value...it just tests that, if you call
flow.clear with a block, that you called flow.clear with a block.
Fix RSpec 3 deprecations for argument validation
Go  rspec3
Symbols are now always treated as metadata keys
should --> expect in the url_spec

* as it relied on the monkey patched should and there are
  scopring issues I resorted to a global variable... which
  I shouldn't but a better solution did not come up and it
  seemed kind of pragmatic...
Convert mocks/stubs to RSpec 3.0.0.rc1 syntax with Transpec

Some specs didn't translate well. See
spec/swt_shoes/shared_examples/clickable.rb for the big one

This conversion is done by Transpec 2.1.0 with the following command:
    transpec "--rspec-command=rake spec" --keep=its

* 126 conversions
    from: obj.stub(:message)
      to: allow(obj).to receive(:message)

* 96 conversions
    from: obj.should_receive(:message)
      to: expect(obj).to receive(:message)

* 33 conversions
    from: obj.stub(:message => value)
      to: allow(obj).to receive_messages(:message => value)

* 7 conversions
    from: Klass.any_instance.should_receive(:message)
      to: expect_any_instance_of(Klass).to receive(:message)

* 4 conversions
    from: obj.should_not_receive(:message)
      to: expect(obj).not_to receive(:message)

* 3 conversions
    from: Klass.any_instance.stub(:message)
      to: allow_any_instance_of(Klass).to receive(:message)

* 2 conversions
    from: obj.unstub(:message)
      to: allow(obj).to receive(:message).and_call_original

* 1 conversion
    from: Klass.any_instance.stub(:message => value)
      to: allow_any_instance_of(Klass).to receive_messages(:message => value)

* 1 conversion
    from: Klass.any_instance.unstub(:message)
      to: allow_any_instance_of(Klass).to receive(:message).and_call_original

See also: https://github.com/yujinakayama/transpec#supported-conversions
Revert a spec whose upgrade made it fail
Fixing most of the eventually errors by explicitly specifying Exception
Made the spec work SOMETIMES again... higher timeout does not help #681
Update input_box to use instance_of? instead of class ==

* cleaner implementation
* works around rspec stacklevel too deep, see
  rspec/rspec-mocks#687
include RSpec::Matchers to make DSL available in URL class

* gets rid of $global -jay
* thanks @myronmarston for pointing this out! =)
The new hash and different dsls seemed to cause the failures
Added note about running Shoes App on OS X.
Merge pull request #738 from PeterWAWood/master

Added note about running Shoes App on OS X.
Clear transform after painting each object

The transform which is set by the Shoes::Swt::Common::Painter, if it's
provided by the object, was being allowed to persist across to
additional painting operations on that graphics context.

Most art objects didn't actually have a transform set, but line does so
elements following it would get mixed up by having the line's transform
applied to them.
Use spies instead of mocks in clickable specs

* dunno how the specs before ever worked since there were
  different values passed around
* spies save us the trouble of different values by asking after
  it happened with the most current values
Merge pull request #729 from shoes/rspec3

Update rspec to rspec 3.rc1
Reset graphic context settings consistently

Not only did transform need to get reset, but also anti-aliasing and
linecap settings we were altering per-object in the painter classes.

We already had a reset method for graphics contexts in the Resource
module, so I've made that responsible for the guts of setting those
properties how they should be at the start of painting for a given
object to the graphics context.
Removing duplicate sample

Only difference between old and new was use of fg/bg, so dropping it.
Merge pull request #739 from shoes/clear_transform

Clear transform after painting each object, to avoid side effects on other painters

* Changelog: bugfix
* fixes #701