surrogate 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,6 @@ rvm:
3
3
  - 1.9.3
4
4
  script: "bundle exec rake"
5
5
  gemfile:
6
- - Gemfile
7
6
  - gemfiles/rspec_mocks_2.2
8
7
  - gemfiles/rspec_mocks_2.10
8
+ - gemfiles/rspec_mocks_2.11
@@ -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, context: 'generic it block' do %>
472
+ <% test 'block example', with: :rspec do %>
473
473
  class MockService
474
474
  Surrogate.endow self
475
475
  define(:create) {}
@@ -0,0 +1,8 @@
1
+ # set this with
2
+ # export BUNDLE_GEMFILE=gemfiles/rspec_mocks_2.10
3
+
4
+ source "http://rubygems.org"
5
+
6
+ gemspec path: File.expand_path('../..', __FILE__)
7
+
8
+ gem "rspec", "~> 2.11", group: :development # squiggly is on purpose
@@ -1,6 +1,7 @@
1
1
  # Maybe I should be my own gem?
2
2
 
3
3
  require 'rspec/core'
4
+ require 'rspec/expectations'
4
5
  require 'surrogate'
5
6
 
6
7
  class Surrogate
@@ -1,3 +1,3 @@
1
1
  class Surrogate
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
@@ -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.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.2"
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.3
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: &70195439834980 !ruby/object:Gem::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: *70195439834980
24
+ version_requirements: *70136705575640
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70195439834560 !ruby/object:Gem::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: *70195439834560
35
+ version_requirements: *70136705575220
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70195439834020 !ruby/object:Gem::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.2'
43
+ version: '2.4'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70195439834020
46
+ version_requirements: *70136705574680
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: mountain_berry_fields
49
- requirement: &70195439833520 !ruby/object:Gem::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: *70195439833520
57
+ version_requirements: *70136705574180
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: mountain_berry_fields-rspec
60
- requirement: &70195439833060 !ruby/object:Gem::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.2
65
+ version: 1.0.3
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70195439833060
68
+ version_requirements: *70136705573720
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mountain_berry_fields-magic_comments
71
- requirement: &70195439832600 !ruby/object:Gem::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: *70195439832600
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
data/Gemfile DELETED
@@ -1,5 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gemspec
4
-
5
- gem "rspec", "~> 2.2", group: :development