rspec-pending_for 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.travis.yml +38 -7
- data/Appraisals +26 -0
- data/Rakefile +4 -3
- data/bin/console +3 -3
- data/gemfiles/.bundle/config +3 -0
- data/gemfiles/jruby_1.7.26.gemfile +5 -0
- data/gemfiles/jruby_1.7.26.gemfile.lock +49 -0
- data/gemfiles/jruby_9.1.15.0.gemfile +5 -0
- data/gemfiles/jruby_9.1.15.0.gemfile.lock +49 -0
- data/gemfiles/jruby_head.gemfile +5 -0
- data/gemfiles/jruby_head.gemfile.lock +49 -0
- data/gemfiles/ruby_1.9.3_p551.gemfile +5 -0
- data/gemfiles/ruby_1.9.3_p551.gemfile.lock +48 -0
- data/gemfiles/ruby_2.0.0_p648.gemfile +5 -0
- data/gemfiles/ruby_2.0.0_p648.gemfile.lock +48 -0
- data/gemfiles/ruby_2.1.10.gemfile +5 -0
- data/gemfiles/ruby_2.1.10.gemfile.lock +48 -0
- data/gemfiles/ruby_2.2.9.gemfile +5 -0
- data/gemfiles/ruby_2.2.9.gemfile.lock +48 -0
- data/gemfiles/ruby_2.3.6.gemfile +5 -0
- data/gemfiles/ruby_2.3.6.gemfile.lock +48 -0
- data/gemfiles/ruby_2.4.3.gemfile +5 -0
- data/gemfiles/ruby_2.4.3.gemfile.lock +48 -0
- data/gemfiles/ruby_2.5.0.gemfile +5 -0
- data/gemfiles/ruby_2.5.0.gemfile.lock +48 -0
- data/gemfiles/ruby_head.gemfile +5 -0
- data/gemfiles/ruby_head.gemfile.lock +48 -0
- data/lib/rspec/pending_for.rb +8 -11
- data/lib/rspec/pending_for/build.rb +18 -20
- data/lib/rspec/pending_for/engine_or_versions_required.rb +0 -2
- data/lib/rspec/pending_for/rspec.rb +1 -1
- data/lib/rspec/pending_for/version.rb +1 -1
- data/rspec-pending_for.gemspec +17 -14
- metadata +71 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 29f9eff0201d271583ca76d495e55657bdc5554a330e87a7b8077a7550dfb911
|
4
|
+
data.tar.gz: cfd495b35295dc5ccb5e08bb27e02094ec1c8ce5758bb9b3bcd325d1fbd05a85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5039476794d5b13b7bb82a2b5fd726885625fe2f1c0f328513e9ecffb2c90ddab321cb24a5f2de450ea6376f5369ab3cc146e8d7ad58fa77d5396f299a18a29
|
7
|
+
data.tar.gz: d2b19771fc4ad9bb8934bb8859cc4ba516ae9824cd97024ab5e4cc753824159391e75132edf0d135aa2b6061d32e3c01032aada1920954a68a891da3b654a4c3
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,11 +1,42 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 1.9.
|
4
|
-
-
|
5
|
-
- 2.
|
6
|
-
- 2.
|
7
|
-
- 2.
|
8
|
-
-
|
9
|
-
-
|
3
|
+
- 1.9.3-p551
|
4
|
+
- 2.0.0-p648
|
5
|
+
- 2.1.10
|
6
|
+
- 2.2.9
|
7
|
+
- 2.3.6
|
8
|
+
- 2.4.3
|
9
|
+
- 2.5.0
|
10
|
+
- ruby-head
|
11
|
+
- jruby-1.7.26
|
12
|
+
- jruby-9.1.15.0
|
10
13
|
- jruby-head
|
11
14
|
before_install: gem install bundler
|
15
|
+
matrix:
|
16
|
+
allow_failures:
|
17
|
+
- rvm: jruby-head
|
18
|
+
- rvm: ruby-head
|
19
|
+
fast_finish: true
|
20
|
+
include:
|
21
|
+
- rvm: 1.9.3-p551
|
22
|
+
gemfile: gemfiles/ruby_1.9.3_p551.gemfile
|
23
|
+
- rvm: 2.0.0-p648
|
24
|
+
gemfile: gemfiles/ruby_2.0.0_p648.gemfile
|
25
|
+
- rvm: 2.1.10
|
26
|
+
gemfile: gemfiles/ruby_2.1.10.gemfile
|
27
|
+
- rvm: 2.2.9
|
28
|
+
gemfile: gemfiles/ruby_2.2.9.gemfile
|
29
|
+
- rvm: 2.3.6
|
30
|
+
gemfile: gemfiles/ruby_2.3.6.gemfile
|
31
|
+
- rvm: 2.4.3
|
32
|
+
gemfile: gemfiles/ruby_2.4.3.gemfile
|
33
|
+
- rvm: 2.5.0
|
34
|
+
gemfile: gemfiles/ruby_2.5.0.gemfile
|
35
|
+
- rvm: ruby-head
|
36
|
+
gemfile: gemfiles/ruby_head.gemfile
|
37
|
+
- rvm: jruby-1.7.26
|
38
|
+
gemfile: gemfiles/ruby-head.gemfile
|
39
|
+
- rvm: jruby-9.1.15.0
|
40
|
+
gemfile: gemfiles/jruby_1.7.26.gemfile
|
41
|
+
- rvm: jruby-head
|
42
|
+
gemfile: gemfiles/jruby_head.gemfile
|
data/Appraisals
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
appraise 'jruby-1.7.26' do
|
2
|
+
end
|
3
|
+
|
4
|
+
appraise 'ruby-1.9.3-p551' do
|
5
|
+
end
|
6
|
+
|
7
|
+
appraise 'ruby-2.0.0-p648' do
|
8
|
+
end
|
9
|
+
|
10
|
+
appraise 'ruby-2.1.10' do
|
11
|
+
end
|
12
|
+
|
13
|
+
appraise 'ruby-2.2.9' do
|
14
|
+
end
|
15
|
+
|
16
|
+
appraise 'jruby-9.1.15.0' do
|
17
|
+
end
|
18
|
+
|
19
|
+
appraise 'ruby-2.3.6' do
|
20
|
+
end
|
21
|
+
|
22
|
+
appraise 'ruby-2.4.3' do
|
23
|
+
end
|
24
|
+
|
25
|
+
appraise 'ruby-2.5.0' do
|
26
|
+
end
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'rspec/pending_for'
|
5
5
|
|
6
6
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
7
|
# with your gem easier. You can also use a different console, if you like.
|
@@ -10,5 +10,5 @@ require "rspec/pending_for"
|
|
10
10
|
# require "pry"
|
11
11
|
# Pry.start
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'irb'
|
14
14
|
IRB.start
|
@@ -0,0 +1,49 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-pending_for (0.1.5)
|
5
|
+
rspec-core
|
6
|
+
ruby_engine (~> 1.0)
|
7
|
+
ruby_version (~> 1.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
appraisal (2.2.0)
|
13
|
+
bundler
|
14
|
+
rake
|
15
|
+
thor (>= 0.14.0)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
rake (10.5.0)
|
18
|
+
rspec (3.7.0)
|
19
|
+
rspec-core (~> 3.7.0)
|
20
|
+
rspec-expectations (~> 3.7.0)
|
21
|
+
rspec-mocks (~> 3.7.0)
|
22
|
+
rspec-core (3.7.1)
|
23
|
+
rspec-support (~> 3.7.0)
|
24
|
+
rspec-expectations (3.7.0)
|
25
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
+
rspec-support (~> 3.7.0)
|
27
|
+
rspec-mocks (3.7.0)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.7.0)
|
30
|
+
rspec-support (3.7.0)
|
31
|
+
ruby_engine (1.0.1)
|
32
|
+
ruby_version (1.0.1)
|
33
|
+
thor (0.20.0)
|
34
|
+
wwtd (1.3.0)
|
35
|
+
|
36
|
+
PLATFORMS
|
37
|
+
java
|
38
|
+
ruby
|
39
|
+
|
40
|
+
DEPENDENCIES
|
41
|
+
appraisal
|
42
|
+
bundler (~> 1.10)
|
43
|
+
rake (~> 10.0)
|
44
|
+
rspec (~> 3.3)
|
45
|
+
rspec-pending_for!
|
46
|
+
wwtd
|
47
|
+
|
48
|
+
BUNDLED WITH
|
49
|
+
1.16.1
|
@@ -0,0 +1,49 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-pending_for (0.1.5)
|
5
|
+
rspec-core
|
6
|
+
ruby_engine (~> 1.0)
|
7
|
+
ruby_version (~> 1.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
appraisal (2.2.0)
|
13
|
+
bundler
|
14
|
+
rake
|
15
|
+
thor (>= 0.14.0)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
rake (10.5.0)
|
18
|
+
rspec (3.7.0)
|
19
|
+
rspec-core (~> 3.7.0)
|
20
|
+
rspec-expectations (~> 3.7.0)
|
21
|
+
rspec-mocks (~> 3.7.0)
|
22
|
+
rspec-core (3.7.1)
|
23
|
+
rspec-support (~> 3.7.0)
|
24
|
+
rspec-expectations (3.7.0)
|
25
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
+
rspec-support (~> 3.7.0)
|
27
|
+
rspec-mocks (3.7.0)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.7.0)
|
30
|
+
rspec-support (3.7.0)
|
31
|
+
ruby_engine (1.0.1)
|
32
|
+
ruby_version (1.0.1)
|
33
|
+
thor (0.20.0)
|
34
|
+
wwtd (1.3.0)
|
35
|
+
|
36
|
+
PLATFORMS
|
37
|
+
java
|
38
|
+
ruby
|
39
|
+
|
40
|
+
DEPENDENCIES
|
41
|
+
appraisal
|
42
|
+
bundler (~> 1.10)
|
43
|
+
rake (~> 10.0)
|
44
|
+
rspec (~> 3.3)
|
45
|
+
rspec-pending_for!
|
46
|
+
wwtd
|
47
|
+
|
48
|
+
BUNDLED WITH
|
49
|
+
1.16.1
|
@@ -0,0 +1,49 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-pending_for (0.1.5)
|
5
|
+
rspec-core
|
6
|
+
ruby_engine (~> 1.0)
|
7
|
+
ruby_version (~> 1.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
appraisal (2.2.0)
|
13
|
+
bundler
|
14
|
+
rake
|
15
|
+
thor (>= 0.14.0)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
rake (10.5.0)
|
18
|
+
rspec (3.7.0)
|
19
|
+
rspec-core (~> 3.7.0)
|
20
|
+
rspec-expectations (~> 3.7.0)
|
21
|
+
rspec-mocks (~> 3.7.0)
|
22
|
+
rspec-core (3.7.1)
|
23
|
+
rspec-support (~> 3.7.0)
|
24
|
+
rspec-expectations (3.7.0)
|
25
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
+
rspec-support (~> 3.7.0)
|
27
|
+
rspec-mocks (3.7.0)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.7.0)
|
30
|
+
rspec-support (3.7.0)
|
31
|
+
ruby_engine (1.0.1)
|
32
|
+
ruby_version (1.0.1)
|
33
|
+
thor (0.20.0)
|
34
|
+
wwtd (1.3.0)
|
35
|
+
|
36
|
+
PLATFORMS
|
37
|
+
java
|
38
|
+
ruby
|
39
|
+
|
40
|
+
DEPENDENCIES
|
41
|
+
appraisal
|
42
|
+
bundler (~> 1.10)
|
43
|
+
rake (~> 10.0)
|
44
|
+
rspec (~> 3.3)
|
45
|
+
rspec-pending_for!
|
46
|
+
wwtd
|
47
|
+
|
48
|
+
BUNDLED WITH
|
49
|
+
1.16.1
|
@@ -0,0 +1,48 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-pending_for (0.1.5)
|
5
|
+
rspec-core
|
6
|
+
ruby_engine (~> 1.0)
|
7
|
+
ruby_version (~> 1.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
appraisal (2.2.0)
|
13
|
+
bundler
|
14
|
+
rake
|
15
|
+
thor (>= 0.14.0)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
rake (10.5.0)
|
18
|
+
rspec (3.7.0)
|
19
|
+
rspec-core (~> 3.7.0)
|
20
|
+
rspec-expectations (~> 3.7.0)
|
21
|
+
rspec-mocks (~> 3.7.0)
|
22
|
+
rspec-core (3.7.1)
|
23
|
+
rspec-support (~> 3.7.0)
|
24
|
+
rspec-expectations (3.7.0)
|
25
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
+
rspec-support (~> 3.7.0)
|
27
|
+
rspec-mocks (3.7.0)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.7.0)
|
30
|
+
rspec-support (3.7.0)
|
31
|
+
ruby_engine (1.0.1)
|
32
|
+
ruby_version (1.0.1)
|
33
|
+
thor (0.20.0)
|
34
|
+
wwtd (1.3.0)
|
35
|
+
|
36
|
+
PLATFORMS
|
37
|
+
ruby
|
38
|
+
|
39
|
+
DEPENDENCIES
|
40
|
+
appraisal
|
41
|
+
bundler (~> 1.10)
|
42
|
+
rake (~> 10.0)
|
43
|
+
rspec (~> 3.3)
|
44
|
+
rspec-pending_for!
|
45
|
+
wwtd
|
46
|
+
|
47
|
+
BUNDLED WITH
|
48
|
+
1.16.1
|
@@ -0,0 +1,48 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-pending_for (0.1.5)
|
5
|
+
rspec-core
|
6
|
+
ruby_engine (~> 1.0)
|
7
|
+
ruby_version (~> 1.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
appraisal (2.2.0)
|
13
|
+
bundler
|
14
|
+
rake
|
15
|
+
thor (>= 0.14.0)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
rake (10.5.0)
|
18
|
+
rspec (3.7.0)
|
19
|
+
rspec-core (~> 3.7.0)
|
20
|
+
rspec-expectations (~> 3.7.0)
|
21
|
+
rspec-mocks (~> 3.7.0)
|
22
|
+
rspec-core (3.7.1)
|
23
|
+
rspec-support (~> 3.7.0)
|
24
|
+
rspec-expectations (3.7.0)
|
25
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
+
rspec-support (~> 3.7.0)
|
27
|
+
rspec-mocks (3.7.0)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.7.0)
|
30
|
+
rspec-support (3.7.0)
|
31
|
+
ruby_engine (1.0.1)
|
32
|
+
ruby_version (1.0.1)
|
33
|
+
thor (0.20.0)
|
34
|
+
wwtd (1.3.0)
|
35
|
+
|
36
|
+
PLATFORMS
|
37
|
+
ruby
|
38
|
+
|
39
|
+
DEPENDENCIES
|
40
|
+
appraisal
|
41
|
+
bundler (~> 1.10)
|
42
|
+
rake (~> 10.0)
|
43
|
+
rspec (~> 3.3)
|
44
|
+
rspec-pending_for!
|
45
|
+
wwtd
|
46
|
+
|
47
|
+
BUNDLED WITH
|
48
|
+
1.16.1
|
@@ -0,0 +1,48 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-pending_for (0.1.5)
|
5
|
+
rspec-core
|
6
|
+
ruby_engine (~> 1.0)
|
7
|
+
ruby_version (~> 1.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
appraisal (2.2.0)
|
13
|
+
bundler
|
14
|
+
rake
|
15
|
+
thor (>= 0.14.0)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
rake (10.5.0)
|
18
|
+
rspec (3.7.0)
|
19
|
+
rspec-core (~> 3.7.0)
|
20
|
+
rspec-expectations (~> 3.7.0)
|
21
|
+
rspec-mocks (~> 3.7.0)
|
22
|
+
rspec-core (3.7.1)
|
23
|
+
rspec-support (~> 3.7.0)
|
24
|
+
rspec-expectations (3.7.0)
|
25
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
+
rspec-support (~> 3.7.0)
|
27
|
+
rspec-mocks (3.7.0)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.7.0)
|
30
|
+
rspec-support (3.7.0)
|
31
|
+
ruby_engine (1.0.1)
|
32
|
+
ruby_version (1.0.1)
|
33
|
+
thor (0.20.0)
|
34
|
+
wwtd (1.3.0)
|
35
|
+
|
36
|
+
PLATFORMS
|
37
|
+
ruby
|
38
|
+
|
39
|
+
DEPENDENCIES
|
40
|
+
appraisal
|
41
|
+
bundler (~> 1.10)
|
42
|
+
rake (~> 10.0)
|
43
|
+
rspec (~> 3.3)
|
44
|
+
rspec-pending_for!
|
45
|
+
wwtd
|
46
|
+
|
47
|
+
BUNDLED WITH
|
48
|
+
1.16.1
|
@@ -0,0 +1,48 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-pending_for (0.1.5)
|
5
|
+
rspec-core
|
6
|
+
ruby_engine (~> 1.0)
|
7
|
+
ruby_version (~> 1.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
appraisal (2.2.0)
|
13
|
+
bundler
|
14
|
+
rake
|
15
|
+
thor (>= 0.14.0)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
rake (10.5.0)
|
18
|
+
rspec (3.7.0)
|
19
|
+
rspec-core (~> 3.7.0)
|
20
|
+
rspec-expectations (~> 3.7.0)
|
21
|
+
rspec-mocks (~> 3.7.0)
|
22
|
+
rspec-core (3.7.1)
|
23
|
+
rspec-support (~> 3.7.0)
|
24
|
+
rspec-expectations (3.7.0)
|
25
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
+
rspec-support (~> 3.7.0)
|
27
|
+
rspec-mocks (3.7.0)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.7.0)
|
30
|
+
rspec-support (3.7.0)
|
31
|
+
ruby_engine (1.0.1)
|
32
|
+
ruby_version (1.0.1)
|
33
|
+
thor (0.20.0)
|
34
|
+
wwtd (1.3.0)
|
35
|
+
|
36
|
+
PLATFORMS
|
37
|
+
ruby
|
38
|
+
|
39
|
+
DEPENDENCIES
|
40
|
+
appraisal
|
41
|
+
bundler (~> 1.10)
|
42
|
+
rake (~> 10.0)
|
43
|
+
rspec (~> 3.3)
|
44
|
+
rspec-pending_for!
|
45
|
+
wwtd
|
46
|
+
|
47
|
+
BUNDLED WITH
|
48
|
+
1.16.1
|
@@ -0,0 +1,48 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-pending_for (0.1.5)
|
5
|
+
rspec-core
|
6
|
+
ruby_engine (~> 1.0)
|
7
|
+
ruby_version (~> 1.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
appraisal (2.2.0)
|
13
|
+
bundler
|
14
|
+
rake
|
15
|
+
thor (>= 0.14.0)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
rake (10.5.0)
|
18
|
+
rspec (3.7.0)
|
19
|
+
rspec-core (~> 3.7.0)
|
20
|
+
rspec-expectations (~> 3.7.0)
|
21
|
+
rspec-mocks (~> 3.7.0)
|
22
|
+
rspec-core (3.7.1)
|
23
|
+
rspec-support (~> 3.7.0)
|
24
|
+
rspec-expectations (3.7.0)
|
25
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
+
rspec-support (~> 3.7.0)
|
27
|
+
rspec-mocks (3.7.0)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.7.0)
|
30
|
+
rspec-support (3.7.0)
|
31
|
+
ruby_engine (1.0.1)
|
32
|
+
ruby_version (1.0.1)
|
33
|
+
thor (0.20.0)
|
34
|
+
wwtd (1.3.0)
|
35
|
+
|
36
|
+
PLATFORMS
|
37
|
+
ruby
|
38
|
+
|
39
|
+
DEPENDENCIES
|
40
|
+
appraisal
|
41
|
+
bundler (~> 1.10)
|
42
|
+
rake (~> 10.0)
|
43
|
+
rspec (~> 3.3)
|
44
|
+
rspec-pending_for!
|
45
|
+
wwtd
|
46
|
+
|
47
|
+
BUNDLED WITH
|
48
|
+
1.16.1
|
@@ -0,0 +1,48 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-pending_for (0.1.5)
|
5
|
+
rspec-core
|
6
|
+
ruby_engine (~> 1.0)
|
7
|
+
ruby_version (~> 1.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
appraisal (2.2.0)
|
13
|
+
bundler
|
14
|
+
rake
|
15
|
+
thor (>= 0.14.0)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
rake (10.5.0)
|
18
|
+
rspec (3.7.0)
|
19
|
+
rspec-core (~> 3.7.0)
|
20
|
+
rspec-expectations (~> 3.7.0)
|
21
|
+
rspec-mocks (~> 3.7.0)
|
22
|
+
rspec-core (3.7.1)
|
23
|
+
rspec-support (~> 3.7.0)
|
24
|
+
rspec-expectations (3.7.0)
|
25
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
+
rspec-support (~> 3.7.0)
|
27
|
+
rspec-mocks (3.7.0)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.7.0)
|
30
|
+
rspec-support (3.7.0)
|
31
|
+
ruby_engine (1.0.1)
|
32
|
+
ruby_version (1.0.1)
|
33
|
+
thor (0.20.0)
|
34
|
+
wwtd (1.3.0)
|
35
|
+
|
36
|
+
PLATFORMS
|
37
|
+
ruby
|
38
|
+
|
39
|
+
DEPENDENCIES
|
40
|
+
appraisal
|
41
|
+
bundler (~> 1.10)
|
42
|
+
rake (~> 10.0)
|
43
|
+
rspec (~> 3.3)
|
44
|
+
rspec-pending_for!
|
45
|
+
wwtd
|
46
|
+
|
47
|
+
BUNDLED WITH
|
48
|
+
1.16.1
|
@@ -0,0 +1,48 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-pending_for (0.1.5)
|
5
|
+
rspec-core
|
6
|
+
ruby_engine (~> 1.0)
|
7
|
+
ruby_version (~> 1.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
appraisal (2.2.0)
|
13
|
+
bundler
|
14
|
+
rake
|
15
|
+
thor (>= 0.14.0)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
rake (10.5.0)
|
18
|
+
rspec (3.7.0)
|
19
|
+
rspec-core (~> 3.7.0)
|
20
|
+
rspec-expectations (~> 3.7.0)
|
21
|
+
rspec-mocks (~> 3.7.0)
|
22
|
+
rspec-core (3.7.1)
|
23
|
+
rspec-support (~> 3.7.0)
|
24
|
+
rspec-expectations (3.7.0)
|
25
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
+
rspec-support (~> 3.7.0)
|
27
|
+
rspec-mocks (3.7.0)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.7.0)
|
30
|
+
rspec-support (3.7.0)
|
31
|
+
ruby_engine (1.0.1)
|
32
|
+
ruby_version (1.0.1)
|
33
|
+
thor (0.20.0)
|
34
|
+
wwtd (1.3.0)
|
35
|
+
|
36
|
+
PLATFORMS
|
37
|
+
ruby
|
38
|
+
|
39
|
+
DEPENDENCIES
|
40
|
+
appraisal
|
41
|
+
bundler (~> 1.10)
|
42
|
+
rake (~> 10.0)
|
43
|
+
rspec (~> 3.3)
|
44
|
+
rspec-pending_for!
|
45
|
+
wwtd
|
46
|
+
|
47
|
+
BUNDLED WITH
|
48
|
+
1.16.1
|
@@ -0,0 +1,48 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-pending_for (0.1.5)
|
5
|
+
rspec-core
|
6
|
+
ruby_engine (~> 1.0)
|
7
|
+
ruby_version (~> 1.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
appraisal (2.2.0)
|
13
|
+
bundler
|
14
|
+
rake
|
15
|
+
thor (>= 0.14.0)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
rake (10.5.0)
|
18
|
+
rspec (3.7.0)
|
19
|
+
rspec-core (~> 3.7.0)
|
20
|
+
rspec-expectations (~> 3.7.0)
|
21
|
+
rspec-mocks (~> 3.7.0)
|
22
|
+
rspec-core (3.7.1)
|
23
|
+
rspec-support (~> 3.7.0)
|
24
|
+
rspec-expectations (3.7.0)
|
25
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
+
rspec-support (~> 3.7.0)
|
27
|
+
rspec-mocks (3.7.0)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.7.0)
|
30
|
+
rspec-support (3.7.0)
|
31
|
+
ruby_engine (1.0.1)
|
32
|
+
ruby_version (1.0.1)
|
33
|
+
thor (0.20.0)
|
34
|
+
wwtd (1.3.0)
|
35
|
+
|
36
|
+
PLATFORMS
|
37
|
+
ruby
|
38
|
+
|
39
|
+
DEPENDENCIES
|
40
|
+
appraisal
|
41
|
+
bundler (~> 1.10)
|
42
|
+
rake (~> 10.0)
|
43
|
+
rspec (~> 3.3)
|
44
|
+
rspec-pending_for!
|
45
|
+
wwtd
|
46
|
+
|
47
|
+
BUNDLED WITH
|
48
|
+
1.16.1
|
data/lib/rspec/pending_for.rb
CHANGED
@@ -1,12 +1,11 @@
|
|
1
|
-
require
|
2
|
-
require
|
3
|
-
require
|
4
|
-
require
|
5
|
-
require
|
6
|
-
require
|
1
|
+
require 'ruby_version'
|
2
|
+
require 'ruby_engine'
|
3
|
+
require 'rspec/pending_for/version'
|
4
|
+
require 'rspec/pending_for/engine_or_versions_required'
|
5
|
+
require 'rspec/pending_for/build'
|
6
|
+
require 'rspec/pending_for/rspec'
|
7
7
|
|
8
8
|
module Rspec
|
9
|
-
|
10
9
|
# Use with Rspec by including in your example groups, just like any other Rspec helpers:
|
11
10
|
#
|
12
11
|
# RSpec.configure do |c|
|
@@ -14,7 +13,6 @@ module Rspec
|
|
14
13
|
# end
|
15
14
|
#
|
16
15
|
module PendingFor
|
17
|
-
|
18
16
|
# How to pend specs that break due to bugs in Ruby interpreters or versions
|
19
17
|
#
|
20
18
|
# it("blah is blah") do
|
@@ -40,10 +38,9 @@ module Rspec
|
|
40
38
|
private
|
41
39
|
|
42
40
|
def modify_example_with(message, options)
|
43
|
-
|
41
|
+
raise(EngineOrVersionsRequired, :pending_for) unless options[:engine] || options[:versions]
|
44
42
|
build = Build.new(options)
|
45
|
-
|
43
|
+
send(message, build.message) if build.current_matches_specified?
|
46
44
|
end
|
47
|
-
|
48
45
|
end
|
49
46
|
end
|
@@ -2,7 +2,6 @@ module Rspec
|
|
2
2
|
module PendingFor
|
3
3
|
# SRP: Describe the RubyEngine and/or RubyVersion(s) that will be pended or skipped and with what message
|
4
4
|
class Build
|
5
|
-
|
6
5
|
#
|
7
6
|
# | RUBY_ENGINE | Implementation |
|
8
7
|
# |:-----------:|:------------------------:|
|
@@ -19,20 +18,20 @@ module Rspec
|
|
19
18
|
|
20
19
|
# Keys are the
|
21
20
|
INTERPRETER_MATRIX = {
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
}
|
32
|
-
BROKEN_STRING =
|
33
|
-
BUG_STRING =
|
34
|
-
VERSIONS_STRING =
|
35
|
-
ISSUES_LINK =
|
21
|
+
'unknown' => 'MRI < 1.9 (probably)',
|
22
|
+
'ruby' => 'MRI >= 1.9',
|
23
|
+
'ree' => 'Ruby Enterprise Edition',
|
24
|
+
'jruby' => 'JRuby',
|
25
|
+
'macruby' => 'MacRuby',
|
26
|
+
'rbx' => 'Rubinius',
|
27
|
+
'maglev' => 'MagLev',
|
28
|
+
'ironruby' => 'IronRuby',
|
29
|
+
'cardinal' => 'Cardinal'
|
30
|
+
}.freeze
|
31
|
+
BROKEN_STRING = 'Behavior is broken'.freeze
|
32
|
+
BUG_STRING = 'due to a bug in the Ruby engine'.freeze
|
33
|
+
VERSIONS_STRING = 'in Ruby versions'.freeze
|
34
|
+
ISSUES_LINK = 'https://github.com/pboling/rspec-pending_for/issues'.freeze
|
36
35
|
|
37
36
|
attr_reader :message, :relevant_versions, :relevant_engine, :reason
|
38
37
|
|
@@ -42,10 +41,10 @@ module Rspec
|
|
42
41
|
@reason = options[:reason]
|
43
42
|
warn_about_unrecognized_engine
|
44
43
|
# If engine is nil, then any matching versions should be pended
|
45
|
-
@message =
|
46
|
-
|
47
|
-
|
48
|
-
|
44
|
+
@message = if @relevant_engine.nil?
|
45
|
+
no_engine_specified
|
46
|
+
elsif RubyEngine.is? @relevant_engine
|
47
|
+
engine_specified_and_relevant
|
49
48
|
end
|
50
49
|
end
|
51
50
|
|
@@ -83,7 +82,6 @@ If it is a real RUBY_ENGINE, please report as a bug to #{ISSUES_LINK}
|
|
83
82
|
end
|
84
83
|
end
|
85
84
|
end
|
86
|
-
|
87
85
|
end
|
88
86
|
end
|
89
87
|
end
|
@@ -1,12 +1,10 @@
|
|
1
1
|
module Rspec
|
2
2
|
module PendingFor
|
3
|
-
|
4
3
|
class EngineOrVersionsRequired < ArgumentError
|
5
4
|
def initialize(method_name, *args)
|
6
5
|
message = "#{method_name} requires at least an engine or versions to be specified"
|
7
6
|
super(message, *args)
|
8
7
|
end
|
9
8
|
end
|
10
|
-
|
11
9
|
end
|
12
10
|
end
|
data/rspec-pending_for.gemspec
CHANGED
@@ -1,27 +1,30 @@
|
|
1
|
-
|
1
|
+
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
4
|
require 'rspec/pending_for/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'rspec-pending_for'
|
8
8
|
spec.version = Rspec::PendingFor::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ['Peter Boling']
|
10
|
+
spec.email = ['peter.boling@gmail.com']
|
11
11
|
|
12
|
-
spec.summary =
|
13
|
-
spec.homepage =
|
12
|
+
spec.summary = 'Mark specs pending or skipped for specific Ruby engine (e.g. MRI or JRuby) / version combinations'
|
13
|
+
spec.homepage = 'https://github.com/pboling/rspec-pending_for'
|
14
14
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
16
|
-
spec.bindir =
|
16
|
+
spec.bindir = 'exe'
|
17
17
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
|
-
spec.require_paths = [
|
18
|
+
spec.require_paths = ['lib']
|
19
19
|
|
20
|
-
spec.add_dependency
|
21
|
-
spec.add_dependency
|
22
|
-
spec.add_dependency
|
20
|
+
spec.add_dependency 'rspec-core'
|
21
|
+
spec.add_dependency 'ruby_engine', '~> 1.0'
|
22
|
+
spec.add_dependency 'ruby_version', '~> 1.0'
|
23
23
|
|
24
|
-
spec.add_development_dependency
|
25
|
-
spec.add_development_dependency
|
26
|
-
spec.add_development_dependency
|
24
|
+
spec.add_development_dependency 'appraisal'
|
25
|
+
spec.add_development_dependency 'bundler', '~> 1.10'
|
26
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
27
|
+
spec.add_development_dependency 'rspec', '~> 3.3'
|
28
|
+
spec.add_development_dependency 'rubocop'
|
29
|
+
spec.add_development_dependency 'wwtd'
|
27
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-pending_for
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-core
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: ruby_engine
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: ruby_version
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: appraisal
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: bundler
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +108,34 @@ dependencies:
|
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '3.3'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: wwtd
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
97
139
|
description:
|
98
140
|
email:
|
99
141
|
- peter.boling@gmail.com
|
@@ -104,12 +146,36 @@ files:
|
|
104
146
|
- ".gitignore"
|
105
147
|
- ".rspec"
|
106
148
|
- ".travis.yml"
|
149
|
+
- Appraisals
|
107
150
|
- Gemfile
|
108
151
|
- LICENSE
|
109
152
|
- README.md
|
110
153
|
- Rakefile
|
111
154
|
- bin/console
|
112
155
|
- bin/setup
|
156
|
+
- gemfiles/.bundle/config
|
157
|
+
- gemfiles/jruby_1.7.26.gemfile
|
158
|
+
- gemfiles/jruby_1.7.26.gemfile.lock
|
159
|
+
- gemfiles/jruby_9.1.15.0.gemfile
|
160
|
+
- gemfiles/jruby_9.1.15.0.gemfile.lock
|
161
|
+
- gemfiles/jruby_head.gemfile
|
162
|
+
- gemfiles/jruby_head.gemfile.lock
|
163
|
+
- gemfiles/ruby_1.9.3_p551.gemfile
|
164
|
+
- gemfiles/ruby_1.9.3_p551.gemfile.lock
|
165
|
+
- gemfiles/ruby_2.0.0_p648.gemfile
|
166
|
+
- gemfiles/ruby_2.0.0_p648.gemfile.lock
|
167
|
+
- gemfiles/ruby_2.1.10.gemfile
|
168
|
+
- gemfiles/ruby_2.1.10.gemfile.lock
|
169
|
+
- gemfiles/ruby_2.2.9.gemfile
|
170
|
+
- gemfiles/ruby_2.2.9.gemfile.lock
|
171
|
+
- gemfiles/ruby_2.3.6.gemfile
|
172
|
+
- gemfiles/ruby_2.3.6.gemfile.lock
|
173
|
+
- gemfiles/ruby_2.4.3.gemfile
|
174
|
+
- gemfiles/ruby_2.4.3.gemfile.lock
|
175
|
+
- gemfiles/ruby_2.5.0.gemfile
|
176
|
+
- gemfiles/ruby_2.5.0.gemfile.lock
|
177
|
+
- gemfiles/ruby_head.gemfile
|
178
|
+
- gemfiles/ruby_head.gemfile.lock
|
113
179
|
- lib/rspec/pending_for.rb
|
114
180
|
- lib/rspec/pending_for/build.rb
|
115
181
|
- lib/rspec/pending_for/engine_or_versions_required.rb
|
@@ -135,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
201
|
version: '0'
|
136
202
|
requirements: []
|
137
203
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.
|
204
|
+
rubygems_version: 2.7.3
|
139
205
|
signing_key:
|
140
206
|
specification_version: 4
|
141
207
|
summary: Mark specs pending or skipped for specific Ruby engine (e.g. MRI or JRuby)
|