rspec-block_is_expected 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.rspec +3 -0
- data/.rubocop.yml +35 -0
- data/.travis.yml +61 -0
- data/Appraisals +32 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +20 -0
- data/LICENSE +22 -0
- data/README.md +157 -0
- data/Rakefile +28 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/gemfiles/jruby_1.7.26.gemfile +16 -0
- data/gemfiles/jruby_9.1.9.0.gemfile +15 -0
- data/gemfiles/jruby_9.1.9.0.gemfile.lock +70 -0
- data/gemfiles/jruby_9.2.0.0.gemfile +15 -0
- data/gemfiles/jruby_9.2.0.0.gemfile.lock +70 -0
- data/gemfiles/jruby_head.gemfile +15 -0
- data/gemfiles/jruby_head.gemfile.lock +70 -0
- data/gemfiles/ruby_1.8.7_p371.gemfile +16 -0
- data/gemfiles/ruby_1.9.3_p551.gemfile +16 -0
- data/gemfiles/ruby_2.0.0_p648.gemfile +16 -0
- data/gemfiles/ruby_2.0.0_p648.gemfile.lock +50 -0
- data/gemfiles/ruby_2.1.10.gemfile +15 -0
- data/gemfiles/ruby_2.1.10.gemfile.lock +66 -0
- data/gemfiles/ruby_2.2.10.gemfile +16 -0
- data/gemfiles/ruby_2.2.10.gemfile.lock +66 -0
- data/gemfiles/ruby_2.3.7.gemfile +16 -0
- data/gemfiles/ruby_2.3.7.gemfile.lock +66 -0
- data/gemfiles/ruby_2.4.4.gemfile +16 -0
- data/gemfiles/ruby_2.4.4.gemfile.lock +66 -0
- data/gemfiles/ruby_2.5.1.gemfile +16 -0
- data/gemfiles/ruby_2.5.1.gemfile.lock +66 -0
- data/gemfiles/ruby_head.gemfile +16 -0
- data/gemfiles/ruby_head.gemfile.lock +66 -0
- data/lib/rspec/block_is_expected.rb +10 -0
- data/lib/rspec/block_is_expected/rspec.rb +8 -0
- data/lib/rspec/block_is_expected/version.rb +5 -0
- data/rspec-block_is_expected.gemspec +32 -0
- metadata +174 -0
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'rspec/block_is_expected'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require 'irb'
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
group :development do
|
6
|
+
gem 'pry'
|
7
|
+
end
|
8
|
+
|
9
|
+
group :test do
|
10
|
+
# Some changes to defaults make older version config incompatible with newer version config
|
11
|
+
# gem "rubocop", "~> 0.41.2"
|
12
|
+
gem 'rake'
|
13
|
+
gem 'rspec'
|
14
|
+
end
|
15
|
+
|
16
|
+
gemspec :path => '../'
|
@@ -0,0 +1,70 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-block_is_expected (1.0.0)
|
5
|
+
rspec-core
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.2.0)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
ast (2.4.0)
|
15
|
+
coderay (1.1.2)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
ffi (1.9.25-java)
|
18
|
+
method_source (0.9.0)
|
19
|
+
parallel (1.12.1)
|
20
|
+
parser (2.5.1.2)
|
21
|
+
ast (~> 2.4.0)
|
22
|
+
powerpack (0.1.2)
|
23
|
+
pry (0.11.3-java)
|
24
|
+
coderay (~> 1.1.0)
|
25
|
+
method_source (~> 0.9.0)
|
26
|
+
spoon (~> 0.0)
|
27
|
+
rainbow (3.0.0)
|
28
|
+
rake (12.3.1)
|
29
|
+
rspec (3.8.0)
|
30
|
+
rspec-core (~> 3.8.0)
|
31
|
+
rspec-expectations (~> 3.8.0)
|
32
|
+
rspec-mocks (~> 3.8.0)
|
33
|
+
rspec-core (3.8.0)
|
34
|
+
rspec-support (~> 3.8.0)
|
35
|
+
rspec-expectations (3.8.1)
|
36
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
+
rspec-support (~> 3.8.0)
|
38
|
+
rspec-mocks (3.8.0)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.8.0)
|
41
|
+
rspec-support (3.8.0)
|
42
|
+
rubocop (0.52.1)
|
43
|
+
parallel (~> 1.10)
|
44
|
+
parser (>= 2.4.0.2, < 3.0)
|
45
|
+
powerpack (~> 0.1)
|
46
|
+
rainbow (>= 2.2.2, < 4.0)
|
47
|
+
ruby-progressbar (~> 1.7)
|
48
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
49
|
+
ruby-progressbar (1.10.0)
|
50
|
+
spoon (0.0.6)
|
51
|
+
ffi
|
52
|
+
thor (0.20.0)
|
53
|
+
unicode-display_width (1.4.0)
|
54
|
+
wwtd (1.3.0)
|
55
|
+
|
56
|
+
PLATFORMS
|
57
|
+
java
|
58
|
+
|
59
|
+
DEPENDENCIES
|
60
|
+
appraisal
|
61
|
+
bundler (~> 1.16)
|
62
|
+
pry
|
63
|
+
rake
|
64
|
+
rspec
|
65
|
+
rspec-block_is_expected!
|
66
|
+
rubocop (~> 0.52.1)
|
67
|
+
wwtd
|
68
|
+
|
69
|
+
BUNDLED WITH
|
70
|
+
1.16.4
|
@@ -0,0 +1,70 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-block_is_expected (1.0.0)
|
5
|
+
rspec-core
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.2.0)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
ast (2.4.0)
|
15
|
+
coderay (1.1.2)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
ffi (1.9.25-java)
|
18
|
+
method_source (0.9.0)
|
19
|
+
parallel (1.12.1)
|
20
|
+
parser (2.5.1.2)
|
21
|
+
ast (~> 2.4.0)
|
22
|
+
powerpack (0.1.2)
|
23
|
+
pry (0.11.3-java)
|
24
|
+
coderay (~> 1.1.0)
|
25
|
+
method_source (~> 0.9.0)
|
26
|
+
spoon (~> 0.0)
|
27
|
+
rainbow (3.0.0)
|
28
|
+
rake (12.3.1)
|
29
|
+
rspec (3.8.0)
|
30
|
+
rspec-core (~> 3.8.0)
|
31
|
+
rspec-expectations (~> 3.8.0)
|
32
|
+
rspec-mocks (~> 3.8.0)
|
33
|
+
rspec-core (3.8.0)
|
34
|
+
rspec-support (~> 3.8.0)
|
35
|
+
rspec-expectations (3.8.1)
|
36
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
+
rspec-support (~> 3.8.0)
|
38
|
+
rspec-mocks (3.8.0)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.8.0)
|
41
|
+
rspec-support (3.8.0)
|
42
|
+
rubocop (0.52.1)
|
43
|
+
parallel (~> 1.10)
|
44
|
+
parser (>= 2.4.0.2, < 3.0)
|
45
|
+
powerpack (~> 0.1)
|
46
|
+
rainbow (>= 2.2.2, < 4.0)
|
47
|
+
ruby-progressbar (~> 1.7)
|
48
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
49
|
+
ruby-progressbar (1.10.0)
|
50
|
+
spoon (0.0.6)
|
51
|
+
ffi
|
52
|
+
thor (0.20.0)
|
53
|
+
unicode-display_width (1.4.0)
|
54
|
+
wwtd (1.3.0)
|
55
|
+
|
56
|
+
PLATFORMS
|
57
|
+
java
|
58
|
+
|
59
|
+
DEPENDENCIES
|
60
|
+
appraisal
|
61
|
+
bundler (~> 1.16)
|
62
|
+
pry
|
63
|
+
rake
|
64
|
+
rspec
|
65
|
+
rspec-block_is_expected!
|
66
|
+
rubocop (~> 0.52.1)
|
67
|
+
wwtd
|
68
|
+
|
69
|
+
BUNDLED WITH
|
70
|
+
1.16.4
|
@@ -0,0 +1,70 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-block_is_expected (1.0.0)
|
5
|
+
rspec-core
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.2.0)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
ast (2.4.0)
|
15
|
+
coderay (1.1.2)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
ffi (1.9.25-java)
|
18
|
+
method_source (0.9.0)
|
19
|
+
parallel (1.12.1)
|
20
|
+
parser (2.5.1.2)
|
21
|
+
ast (~> 2.4.0)
|
22
|
+
powerpack (0.1.2)
|
23
|
+
pry (0.11.3-java)
|
24
|
+
coderay (~> 1.1.0)
|
25
|
+
method_source (~> 0.9.0)
|
26
|
+
spoon (~> 0.0)
|
27
|
+
rainbow (3.0.0)
|
28
|
+
rake (12.3.1)
|
29
|
+
rspec (3.8.0)
|
30
|
+
rspec-core (~> 3.8.0)
|
31
|
+
rspec-expectations (~> 3.8.0)
|
32
|
+
rspec-mocks (~> 3.8.0)
|
33
|
+
rspec-core (3.8.0)
|
34
|
+
rspec-support (~> 3.8.0)
|
35
|
+
rspec-expectations (3.8.1)
|
36
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
+
rspec-support (~> 3.8.0)
|
38
|
+
rspec-mocks (3.8.0)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.8.0)
|
41
|
+
rspec-support (3.8.0)
|
42
|
+
rubocop (0.52.1)
|
43
|
+
parallel (~> 1.10)
|
44
|
+
parser (>= 2.4.0.2, < 3.0)
|
45
|
+
powerpack (~> 0.1)
|
46
|
+
rainbow (>= 2.2.2, < 4.0)
|
47
|
+
ruby-progressbar (~> 1.7)
|
48
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
49
|
+
ruby-progressbar (1.10.0)
|
50
|
+
spoon (0.0.6)
|
51
|
+
ffi
|
52
|
+
thor (0.20.0)
|
53
|
+
unicode-display_width (1.4.0)
|
54
|
+
wwtd (1.3.0)
|
55
|
+
|
56
|
+
PLATFORMS
|
57
|
+
java
|
58
|
+
|
59
|
+
DEPENDENCIES
|
60
|
+
appraisal
|
61
|
+
bundler (~> 1.16)
|
62
|
+
pry
|
63
|
+
rake
|
64
|
+
rspec
|
65
|
+
rspec-block_is_expected!
|
66
|
+
rubocop (~> 0.52.1)
|
67
|
+
wwtd
|
68
|
+
|
69
|
+
BUNDLED WITH
|
70
|
+
1.16.4
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
group :development do
|
6
|
+
gem 'pry'
|
7
|
+
end
|
8
|
+
|
9
|
+
group :test do
|
10
|
+
# Some changes to defaults make older version config incompatible with newer version config
|
11
|
+
# gem "rubocop", "~> 0.41.2"
|
12
|
+
gem 'rake'
|
13
|
+
gem 'rspec'
|
14
|
+
end
|
15
|
+
|
16
|
+
gemspec :path => '../'
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
group :development do
|
6
|
+
gem 'pry'
|
7
|
+
end
|
8
|
+
|
9
|
+
group :test do
|
10
|
+
# Some changes to defaults make older version config incompatible with newer version config
|
11
|
+
# gem "rubocop", "~> 0.41.2"
|
12
|
+
gem 'rake'
|
13
|
+
gem 'rspec'
|
14
|
+
end
|
15
|
+
|
16
|
+
gemspec :path => '../'
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
group :development do
|
6
|
+
gem 'pry'
|
7
|
+
end
|
8
|
+
|
9
|
+
group :test do
|
10
|
+
# Some changes to defaults make older version config incompatible with newer version config
|
11
|
+
# gem "rubocop", "~> 0.41.2"
|
12
|
+
gem 'rake'
|
13
|
+
gem 'rspec'
|
14
|
+
end
|
15
|
+
|
16
|
+
gemspec :path => '../'
|
@@ -0,0 +1,50 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-block_is_expected (1.0.0)
|
5
|
+
rspec-core
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.2.0)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
coderay (1.1.2)
|
15
|
+
diff-lcs (1.3)
|
16
|
+
method_source (0.9.0)
|
17
|
+
pry (0.11.3)
|
18
|
+
coderay (~> 1.1.0)
|
19
|
+
method_source (~> 0.9.0)
|
20
|
+
rake (12.3.1)
|
21
|
+
rspec (3.8.0)
|
22
|
+
rspec-core (~> 3.8.0)
|
23
|
+
rspec-expectations (~> 3.8.0)
|
24
|
+
rspec-mocks (~> 3.8.0)
|
25
|
+
rspec-core (3.8.0)
|
26
|
+
rspec-support (~> 3.8.0)
|
27
|
+
rspec-expectations (3.8.1)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.8.0)
|
30
|
+
rspec-mocks (3.8.0)
|
31
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
32
|
+
rspec-support (~> 3.8.0)
|
33
|
+
rspec-support (3.8.0)
|
34
|
+
thor (0.20.0)
|
35
|
+
wwtd (1.3.0)
|
36
|
+
|
37
|
+
PLATFORMS
|
38
|
+
ruby
|
39
|
+
|
40
|
+
DEPENDENCIES
|
41
|
+
appraisal
|
42
|
+
bundler (~> 1.16)
|
43
|
+
pry
|
44
|
+
rake
|
45
|
+
rspec
|
46
|
+
rspec-block_is_expected!
|
47
|
+
wwtd
|
48
|
+
|
49
|
+
BUNDLED WITH
|
50
|
+
1.16.2
|
@@ -0,0 +1,66 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rspec-block_is_expected (1.0.0)
|
5
|
+
rspec-core
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.2.0)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
ast (2.4.0)
|
15
|
+
coderay (1.1.2)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
method_source (0.9.0)
|
18
|
+
parallel (1.12.1)
|
19
|
+
parser (2.5.1.2)
|
20
|
+
ast (~> 2.4.0)
|
21
|
+
powerpack (0.1.2)
|
22
|
+
pry (0.11.3)
|
23
|
+
coderay (~> 1.1.0)
|
24
|
+
method_source (~> 0.9.0)
|
25
|
+
rainbow (3.0.0)
|
26
|
+
rake (12.3.1)
|
27
|
+
rspec (3.8.0)
|
28
|
+
rspec-core (~> 3.8.0)
|
29
|
+
rspec-expectations (~> 3.8.0)
|
30
|
+
rspec-mocks (~> 3.8.0)
|
31
|
+
rspec-core (3.8.0)
|
32
|
+
rspec-support (~> 3.8.0)
|
33
|
+
rspec-expectations (3.8.1)
|
34
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
+
rspec-support (~> 3.8.0)
|
36
|
+
rspec-mocks (3.8.0)
|
37
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
+
rspec-support (~> 3.8.0)
|
39
|
+
rspec-support (3.8.0)
|
40
|
+
rubocop (0.52.1)
|
41
|
+
parallel (~> 1.10)
|
42
|
+
parser (>= 2.4.0.2, < 3.0)
|
43
|
+
powerpack (~> 0.1)
|
44
|
+
rainbow (>= 2.2.2, < 4.0)
|
45
|
+
ruby-progressbar (~> 1.7)
|
46
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
47
|
+
ruby-progressbar (1.10.0)
|
48
|
+
thor (0.20.0)
|
49
|
+
unicode-display_width (1.4.0)
|
50
|
+
wwtd (1.3.0)
|
51
|
+
|
52
|
+
PLATFORMS
|
53
|
+
ruby
|
54
|
+
|
55
|
+
DEPENDENCIES
|
56
|
+
appraisal
|
57
|
+
bundler (~> 1.16)
|
58
|
+
pry
|
59
|
+
rake
|
60
|
+
rspec
|
61
|
+
rspec-block_is_expected!
|
62
|
+
rubocop (~> 0.52.1)
|
63
|
+
wwtd
|
64
|
+
|
65
|
+
BUNDLED WITH
|
66
|
+
1.16.2
|