surrogate 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -1
- data/Readme.md.mountain_berry_fields +1 -1
- data/gemfiles/rspec_mocks_2.11 +8 -0
- data/lib/surrogate/rspec.rb +1 -0
- data/lib/surrogate/version.rb +1 -1
- data/surrogate.gemspec +2 -2
- metadata +16 -16
- data/Gemfile +0 -5
data/.travis.yml
CHANGED
@@ -469,7 +469,7 @@ _Note: Right now, block error messages have not been addressed (which means they
|
|
469
469
|
Before/after hooks (make assertions here)
|
470
470
|
|
471
471
|
```ruby
|
472
|
-
<% test 'block example', with: :rspec
|
472
|
+
<% test 'block example', with: :rspec do %>
|
473
473
|
class MockService
|
474
474
|
Surrogate.endow self
|
475
475
|
define(:create) {}
|
data/lib/surrogate/rspec.rb
CHANGED
data/lib/surrogate/version.rb
CHANGED
data/surrogate.gemspec
CHANGED
@@ -21,8 +21,8 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.add_runtime_dependency 'bindable_block', '= 0.0.5.1'
|
22
22
|
|
23
23
|
s.add_development_dependency "rake"
|
24
|
-
s.add_development_dependency "rspec", "~> 2.
|
24
|
+
s.add_development_dependency "rspec", "~> 2.4"
|
25
25
|
s.add_development_dependency "mountain_berry_fields", "~> 1.0.3"
|
26
|
-
s.add_development_dependency "mountain_berry_fields-rspec", "~> 1.0.
|
26
|
+
s.add_development_dependency "mountain_berry_fields-rspec", "~> 1.0.3"
|
27
27
|
s.add_development_dependency "mountain_berry_fields-magic_comments", "~> 1.0.1"
|
28
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: surrogate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-07-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bindable_block
|
16
|
-
requirement: &
|
16
|
+
requirement: &70136705575640 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - =
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.0.5.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70136705575640
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &70136705575220 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,21 +32,21 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70136705575220
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec
|
38
|
-
requirement: &
|
38
|
+
requirement: &70136705574680 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: '2.
|
43
|
+
version: '2.4'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70136705574680
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: mountain_berry_fields
|
49
|
-
requirement: &
|
49
|
+
requirement: &70136705574180 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,21 +54,21 @@ dependencies:
|
|
54
54
|
version: 1.0.3
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70136705574180
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: mountain_berry_fields-rspec
|
60
|
-
requirement: &
|
60
|
+
requirement: &70136705573720 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 1.0.
|
65
|
+
version: 1.0.3
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70136705573720
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mountain_berry_fields-magic_comments
|
71
|
-
requirement: &
|
71
|
+
requirement: &70136705573260 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,7 +76,7 @@ dependencies:
|
|
76
76
|
version: 1.0.1
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70136705573260
|
80
80
|
description: Framework to aid in handrolling mock/spy objects.
|
81
81
|
email:
|
82
82
|
- josh.cheek@gmail.com
|
@@ -87,11 +87,11 @@ files:
|
|
87
87
|
- .gitignore
|
88
88
|
- .rvmrc
|
89
89
|
- .travis.yml
|
90
|
-
- Gemfile
|
91
90
|
- Rakefile
|
92
91
|
- Readme.md
|
93
92
|
- Readme.md.mountain_berry_fields
|
94
93
|
- gemfiles/rspec_mocks_2.10
|
94
|
+
- gemfiles/rspec_mocks_2.11
|
95
95
|
- gemfiles/rspec_mocks_2.2
|
96
96
|
- lib/surrogate.rb
|
97
97
|
- lib/surrogate/api_comparer.rb
|