rspec-spy 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## Version 1.1.1
2
+
3
+ * Fixed problem with some projects getting RSpec::Core not defined
4
+
1
5
  ## Version 1.1.0
2
6
 
3
7
  * `rspec-spy` no longer sets up the before hook for you, you need to do that manually. See the README
data/README.md CHANGED
@@ -25,7 +25,7 @@ end
25
25
 
26
26
  ## Installation
27
27
 
28
- Add this line to your application's Gemfile:
28
+ Add this line to your application's Gemfile in the `:test` group
29
29
 
30
30
  gem 'rspec-spy'
31
31
 
@@ -42,6 +42,7 @@ Add to your spec_helper.rb in `RSpec.configure` **AFTER any other global before
42
42
  ``` ruby
43
43
  # any config.before hooks should go above
44
44
 
45
+ require 'rspec-spy'
45
46
  config.before(:each, :spy => true) do |example|
46
47
  RSpec::Spy(example)
47
48
  end
data/lib/rspec-spy.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require 'rspec/core'
2
+
1
3
  require 'rspec/spy/version'
2
4
  require 'rspec/spy'
3
5
  require 'rspec/spy/mock_methods'
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Spy
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-spy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-22 00:00:00.000000000 Z
12
+ date: 2012-05-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -104,7 +104,7 @@ rubyforge_project:
104
104
  rubygems_version: 1.8.21
105
105
  signing_key:
106
106
  specification_version: 3
107
- summary: rspec-spy-1.1.0
107
+ summary: rspec-spy-1.1.1
108
108
  test_files:
109
109
  - spec/rspec-spy_spec.rb
110
110
  - spec/spec_helper.rb