rspec-block_is_expected 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
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,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -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,15 @@
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
+ end
14
+
15
+ 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,15 @@
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
+ end
14
+
15
+ 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,15 @@
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
+ end
14
+
15
+ 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,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,15 @@
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
+ end
14
+
15
+ 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