rspec_candy 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,16 @@
1
+ require 'rspec_candy/version'
2
+ require 'rspec_candy/switcher'
3
+ require 'rspec_candy/helpers/disposable_copy'
4
+ require 'rspec_candy/helpers/it_should_act_like'
5
+ require 'rspec_candy/helpers/new_with_stubs'
6
+ require 'rspec_candy/helpers/should_receive_and_execute'
7
+ require 'rspec_candy/helpers/should_receive_and_return'
8
+ require 'rspec_candy/helpers/should_receive_chain'
9
+ require 'rspec_candy/helpers/stub_any_instance'
10
+ require 'rspec_candy/helpers/stub_existing'
11
+
12
+ if RSpecCandy::Switcher.rails_loaded?
13
+ require 'rspec_candy/helpers/rails/create_without_callbacks'
14
+ require 'rspec_candy/helpers/rails/it_should_run_callbacks'
15
+ require 'rspec_candy/helpers/rails/prevent_storage'
16
+ end
@@ -1,3 +1,3 @@
1
1
  module RSpecCandy
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
data/lib/rspec_candy.rb CHANGED
@@ -1,16 +1,2 @@
1
- require 'rspec_candy/version'
2
- require 'rspec_candy/switcher'
3
- require 'rspec_candy/helpers/disposable_copy'
4
- require 'rspec_candy/helpers/it_should_act_like'
5
- require 'rspec_candy/helpers/new_with_stubs'
6
- require 'rspec_candy/helpers/should_receive_and_execute'
7
- require 'rspec_candy/helpers/should_receive_and_return'
8
- require 'rspec_candy/helpers/should_receive_chain'
9
- require 'rspec_candy/helpers/stub_any_instance'
10
- require 'rspec_candy/helpers/stub_existing'
11
-
12
- if RSpecCandy::Switcher.rails_loaded?
13
- require 'rspec_candy/helpers/rails/create_without_callbacks'
14
- require 'rspec_candy/helpers/rails/it_should_run_callbacks'
15
- require 'rspec_candy/helpers/rails/prevent_storage'
16
- end
1
+ # empty, so Bundler does not require anything
2
+ # put a "require rspec_candy/helpers" into your spec_helper
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Henning Koch
@@ -45,6 +45,7 @@ files:
45
45
  - README.md
46
46
  - Rakefile
47
47
  - lib/rspec_candy.rb
48
+ - lib/rspec_candy/helpers.rb
48
49
  - lib/rspec_candy/helpers/disposable_copy.rb
49
50
  - lib/rspec_candy/helpers/it_should_act_like.rb
50
51
  - lib/rspec_candy/helpers/new_with_stubs.rb