rspec_candy 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -37,7 +37,7 @@ If you only care about the matchers or helpers you can also more specifically re
37
37
 
38
38
  Time.parse('2012-12-01 14:00:00.5').should == Time.parse('2012-12-01 14:00')
39
39
 
40
- Note that two times in a different time zones will still be considered different.q
40
+ Note that two times in a different time zones will still be considered different.
41
41
 
42
42
  **include_hash**
43
43
 
@@ -88,7 +88,7 @@ If you only care about the matchers or helpers you can also more specifically re
88
88
 
89
89
  Like dup for classes. This will temporarily add a method to a class:
90
90
 
91
- copy = Model.disposable_copy.class_eval do
91
+ copy = Model.disposable_copy do
92
92
  def foo; end
93
93
  end
94
94
 
@@ -15,7 +15,7 @@ module RSpecCandy
15
15
 
16
16
  unless method_defined?(method_with_spy)
17
17
 
18
- define_method method_called do
18
+ define_method method_called do |*args|
19
19
  end
20
20
 
21
21
  define_method method_with_spy do |*args, &block|
@@ -1,3 +1,3 @@
1
1
  module RSpecCandy
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_candy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Henning Koch
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-08-06 00:00:00 +02:00
19
+ date: 2012-11-23 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  requirements: []
161
161
 
162
162
  rubyforge_project:
163
- rubygems_version: 1.3.9.4
163
+ rubygems_version: 1.3.9.5
164
164
  signing_key:
165
165
  specification_version: 3
166
166
  summary: RSpec helpers and matchers we use in our daily work at makandra.