rspec_candy 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.travis.yml +3 -0
- data/gemfiles/Gemfile.rspec1-rails2.lock +1 -2
- data/gemfiles/Gemfile.rspec2-rails3.lock +1 -1
- data/gemfiles/Gemfile.rspec3-rails4.lock +1 -1
- data/lib/rspec_candy/switcher.rb +7 -13
- data/lib/rspec_candy/version.rb +1 -1
- metadata +5 -11
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
OTY0ZjE2OGRiYjE4ZTBiMWFhMDk3NmYwOWMzYTMwMzk3OTZmYTc4ZQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MTkzMDdiYzhmZWJlNTIwOWE1MjE1YjgwMDRkZDlkMWRmZDZkNGMyMQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZDVjNWJhYzQ0YzUyY2MxOWE5OTliYjNmNjIxMzJkMmY5NTRjM2I5NTY5ODA0
|
10
|
+
ZDE1ZDE0MWFiNTI4Yjc0YTE3M2E5NDRjYzllMDljZjIyMzFiYTkwM2I2NThj
|
11
|
+
YWY0ZjQ3N2NkM2NmMjIzMWZjMTVkZGNlODM4MjFlMDY0ZWM2N2E=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YTU5ZDk2YmNlMTEzZWNkMjI0MDY5N2Y3YjJiOWQwMzc4MjkwNTE3ZWIzN2Nk
|
14
|
+
MTkwMjM4ZmY3MDcwM2UzN2I2ZDg4NjMyYWM0OTJhMzdiYjlkOWQ0ZWIzYjA3
|
15
|
+
NGRhZThmMDZiYmNiMDM4NDg2YjI4MDI4M2M3OGMzNWRlZDg4ODY=
|
data/.travis.yml
CHANGED
@@ -5,6 +5,9 @@ gemfile:
|
|
5
5
|
- gemfiles/Gemfile.rspec1-rails2
|
6
6
|
- gemfiles/Gemfile.rspec2-rails3
|
7
7
|
- gemfiles/Gemfile.rspec3-rails4
|
8
|
+
before_install:
|
9
|
+
- gem update --system 2.4.3 # newer versions dont like bunlder 1.7.6
|
10
|
+
- gem --version
|
8
11
|
script: rake spec
|
9
12
|
notifications:
|
10
13
|
email:
|
data/lib/rspec_candy/switcher.rb
CHANGED
@@ -2,22 +2,16 @@ module RSpecCandy
|
|
2
2
|
module Switcher
|
3
3
|
extend self
|
4
4
|
|
5
|
-
# def rspec_version
|
6
|
-
# if defined?(RSpec::Core)
|
7
|
-
# :rspec2
|
8
|
-
# elsif defined?(Spec)
|
9
|
-
# :rspec1
|
10
|
-
# else
|
11
|
-
# raise 'Cannot determine RSpec version'
|
12
|
-
# end
|
13
|
-
# end
|
14
|
-
|
15
5
|
def rspec_version
|
16
|
-
|
17
|
-
1
|
18
|
-
else
|
6
|
+
begin
|
19
7
|
require 'rspec/version'
|
20
8
|
RSpec::Version::STRING.to_i
|
9
|
+
rescue LoadError
|
10
|
+
if defined?(Spec)
|
11
|
+
1
|
12
|
+
else
|
13
|
+
raise 'Cannot determine RSpec version'
|
14
|
+
end
|
21
15
|
end
|
22
16
|
end
|
23
17
|
|
data/lib/rspec_candy/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec_candy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Henning Koch
|
@@ -10,12 +9,11 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2016-10-18 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rspec
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - ! '>='
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,7 +21,6 @@ dependencies:
|
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - ! '>='
|
29
26
|
- !ruby/object:Gem::Version
|
@@ -31,7 +28,6 @@ dependencies:
|
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: sneaky-save
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
32
|
- - ! '>='
|
37
33
|
- !ruby/object:Gem::Version
|
@@ -39,7 +35,6 @@ dependencies:
|
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
39
|
- - ! '>='
|
45
40
|
- !ruby/object:Gem::Version
|
@@ -108,26 +103,25 @@ files:
|
|
108
103
|
homepage: https://github.com/makandra/rspec_candy
|
109
104
|
licenses:
|
110
105
|
- MIT
|
106
|
+
metadata: {}
|
111
107
|
post_install_message:
|
112
108
|
rdoc_options: []
|
113
109
|
require_paths:
|
114
110
|
- lib
|
115
111
|
required_ruby_version: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
112
|
requirements:
|
118
113
|
- - ! '>='
|
119
114
|
- !ruby/object:Gem::Version
|
120
115
|
version: '0'
|
121
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
117
|
requirements:
|
124
118
|
- - ! '>='
|
125
119
|
- !ruby/object:Gem::Version
|
126
120
|
version: '0'
|
127
121
|
requirements: []
|
128
122
|
rubyforge_project:
|
129
|
-
rubygems_version:
|
123
|
+
rubygems_version: 2.4.3
|
130
124
|
signing_key:
|
131
|
-
specification_version:
|
125
|
+
specification_version: 4
|
132
126
|
summary: RSpec helpers and matchers we use in our daily work at makandra.
|
133
127
|
test_files: []
|