rspectacular 0.14.1 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 84a183219bface64b7b8d326247074cf45912f3a
4
+ data.tar.gz: 962db6dd61869e19fbba2378ce21d54b2a31d5e9
5
+ SHA512:
6
+ metadata.gz: 56b3b0606648db774e2d78b71690e90cd617db00f0bfb532b8c7146569b3a51adc601b22ed88c8e373531ff6352715a7dc5d6ee84423ed57825b487904637495
7
+ data.tar.gz: 786d639dd64db2c7f83933d288be41a649d02b5b05699e7e319af8d9a603761928658fb258588367d78e1d5dc7aafdfbb6ac67a4ed37f6d95f4b68fa81c415c2
@@ -25,7 +25,6 @@ module Capybara
25
25
  end
26
26
  end
27
27
 
28
-
29
28
  def self.feature(*args, &block)
30
29
  options = if args.last.is_a?(Hash) then args.pop else {} end
31
30
  options[:capybara_feature] = true
@@ -0,0 +1,21 @@
1
+ begin
2
+ require 'sidekiq/testing'
3
+
4
+ RSpec.configure do |config|
5
+ config.before(:each) do
6
+ # Clears out the jobs for tests using the fake testing
7
+ Sidekiq::Worker.clear_all
8
+
9
+ if example.metadata[:queue] == :stub
10
+ Sidekiq::Testing.fake!
11
+ elsif example.metadata[:queue] == :immediately_execute
12
+ Sidekiq::Testing.inline!
13
+ elsif example.metadata[:type] == :acceptance
14
+ Sidekiq::Testing.inline!
15
+ else
16
+ Sidekiq::Testing.fake!
17
+ end
18
+ end
19
+ end
20
+ rescue LoadError
21
+ end
@@ -4,12 +4,11 @@
4
4
 
5
5
  begin
6
6
  require 'vcr'
7
- require 'rspectacular/plugins/webmock'
8
7
 
9
8
  VCR.configure do |config|
10
9
  config.cassette_library_dir = File.expand_path('./tmp/vcr_cassettes')
11
10
 
12
- config.hook_into :webmock
11
+ config.hook_into :faraday
13
12
  config.configure_rspec_metadata!
14
13
  end
15
14
 
@@ -1,3 +1,3 @@
1
1
  module RSpectacular
2
- VERSION = '0.14.1'
2
+ VERSION = '0.15.0'
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspectacular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
5
- prerelease:
4
+ version: 0.15.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - jfelchner
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-10-24 00:00:00.000000000 Z
11
+ date: 2013-12-06 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: fuubar
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -80,6 +75,7 @@ files:
80
75
  - lib/rspectacular/plugins/paypal.rb
81
76
  - lib/rspectacular/plugins/recaptcha.rb
82
77
  - lib/rspectacular/plugins/shoulda.rb
78
+ - lib/rspectacular/plugins/sidekiq.rb
83
79
  - lib/rspectacular/plugins/singleton.rb
84
80
  - lib/rspectacular/plugins/timecop.rb
85
81
  - lib/rspectacular/plugins/vcr.rb
@@ -107,29 +103,27 @@ files:
107
103
  - bin/rspectacular_test_bootstrap
108
104
  homepage: https://github.com/jfelchner/rspectacular
109
105
  licenses: []
106
+ metadata: {}
110
107
  post_install_message:
111
108
  rdoc_options:
112
109
  - --charset = UTF-8
113
110
  require_paths:
114
111
  - lib
115
112
  required_ruby_version: !ruby/object:Gem::Requirement
116
- none: false
117
113
  requirements:
118
- - - ! '>='
114
+ - - '>='
119
115
  - !ruby/object:Gem::Version
120
116
  version: '0'
121
117
  required_rubygems_version: !ruby/object:Gem::Requirement
122
- none: false
123
118
  requirements:
124
- - - ! '>='
119
+ - - '>='
125
120
  - !ruby/object:Gem::Version
126
121
  version: '0'
127
122
  requirements: []
128
123
  rubyforge_project: rspectacular
129
- rubygems_version: 1.8.23
124
+ rubygems_version: 2.0.14
130
125
  signing_key:
131
- specification_version: 3
126
+ specification_version: 4
132
127
  summary: RSpec Support And Matchers
133
128
  test_files:
134
129
  - spec/spec_helper.rb
135
- has_rdoc: