rspec-block_is_expected 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +13 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +35 -0
  5. data/.travis.yml +61 -0
  6. data/Appraisals +32 -0
  7. data/CODE_OF_CONDUCT.md +74 -0
  8. data/Gemfile +20 -0
  9. data/LICENSE +22 -0
  10. data/README.md +157 -0
  11. data/Rakefile +28 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/gemfiles/jruby_1.7.26.gemfile +16 -0
  15. data/gemfiles/jruby_9.1.9.0.gemfile +15 -0
  16. data/gemfiles/jruby_9.1.9.0.gemfile.lock +70 -0
  17. data/gemfiles/jruby_9.2.0.0.gemfile +15 -0
  18. data/gemfiles/jruby_9.2.0.0.gemfile.lock +70 -0
  19. data/gemfiles/jruby_head.gemfile +15 -0
  20. data/gemfiles/jruby_head.gemfile.lock +70 -0
  21. data/gemfiles/ruby_1.8.7_p371.gemfile +16 -0
  22. data/gemfiles/ruby_1.9.3_p551.gemfile +16 -0
  23. data/gemfiles/ruby_2.0.0_p648.gemfile +16 -0
  24. data/gemfiles/ruby_2.0.0_p648.gemfile.lock +50 -0
  25. data/gemfiles/ruby_2.1.10.gemfile +15 -0
  26. data/gemfiles/ruby_2.1.10.gemfile.lock +66 -0
  27. data/gemfiles/ruby_2.2.10.gemfile +16 -0
  28. data/gemfiles/ruby_2.2.10.gemfile.lock +66 -0
  29. data/gemfiles/ruby_2.3.7.gemfile +16 -0
  30. data/gemfiles/ruby_2.3.7.gemfile.lock +66 -0
  31. data/gemfiles/ruby_2.4.4.gemfile +16 -0
  32. data/gemfiles/ruby_2.4.4.gemfile.lock +66 -0
  33. data/gemfiles/ruby_2.5.1.gemfile +16 -0
  34. data/gemfiles/ruby_2.5.1.gemfile.lock +66 -0
  35. data/gemfiles/ruby_head.gemfile +16 -0
  36. data/gemfiles/ruby_head.gemfile.lock +66 -0
  37. data/lib/rspec/block_is_expected.rb +10 -0
  38. data/lib/rspec/block_is_expected/rspec.rb +8 -0
  39. data/lib/rspec/block_is_expected/version.rb +5 -0
  40. data/rspec-block_is_expected.gemspec +32 -0
  41. metadata +174 -0
@@ -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
+ gem 'rake'
11
+ gem 'rspec'
12
+ gem 'rubocop', '~> 0.52.1'
13
+ gem 'simplecov', '~> 0', :require => false
14
+ end
15
+
16
+ gemspec :path => '../'
@@ -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
@@ -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
+ gem 'rake'
11
+ gem 'rspec'
12
+ gem 'rubocop', '~> 0.52.1'
13
+ gem 'simplecov', '~> 0', :require => false
14
+ end
15
+
16
+ gemspec :path => '../'
@@ -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
@@ -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
+ gem 'rake'
11
+ gem 'rspec'
12
+ gem 'rubocop', '~> 0.52.1'
13
+ gem 'simplecov', '~> 0', :require => false
14
+ end
15
+
16
+ gemspec :path => '../'
@@ -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
@@ -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
+ gem 'rake'
11
+ gem 'rspec'
12
+ gem 'rubocop', '~> 0.52.1'
13
+ gem 'simplecov', '~> 0', :require => false
14
+ end
15
+
16
+ gemspec :path => '../'
@@ -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.5
@@ -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
+ gem 'rake'
11
+ gem 'rspec'
12
+ gem 'rubocop', '~> 0.52.1'
13
+ gem 'simplecov', '~> 0', :require => false
14
+ end
15
+
16
+ gemspec :path => '../'
@@ -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.4
@@ -0,0 +1,10 @@
1
+ require 'rspec/block_is_expected/version'
2
+ require 'rspec/block_is_expected/rspec'
3
+
4
+ module Rspec
5
+ module BlockIsExpected
6
+ def block_is_expected
7
+ expect { subject }
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,8 @@
1
+ require 'rspec/core'
2
+ begin
3
+ RSpec.configure do |c|
4
+ c.include Rspec::BlockIsExpected
5
+ end
6
+ rescue NameError
7
+ # Rspec really should be loaded by now...
8
+ end