rspec-pending_for 0.1.10 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +32 -31
- data/lib/rspec/pending_for.rb +2 -0
- data/lib/rspec/pending_for/build.rb +14 -12
- data/lib/rspec/pending_for/engine_or_versions_required.rb +2 -0
- data/lib/rspec/pending_for/rspec.rb +2 -0
- data/lib/rspec/pending_for/version.rb +3 -1
- metadata +28 -64
- data/.gitignore +0 -13
- data/.rspec +0 -4
- data/.rubocop.yml +0 -31
- data/.travis.yml +0 -35
- data/Appraisals +0 -26
- data/Gemfile +0 -9
- data/Rakefile +0 -29
- data/bin/console +0 -14
- data/bin/setup +0 -7
- data/gemfiles/jruby_1.7.27.gemfile +0 -16
- data/gemfiles/jruby_9.1.15.0.gemfile +0 -15
- data/gemfiles/jruby_head.gemfile +0 -15
- data/gemfiles/ruby_1.8.7_p371.gemfile +0 -16
- data/gemfiles/ruby_1.9.3_p551.gemfile +0 -16
- data/gemfiles/ruby_2.0.0_p648.gemfile +0 -16
- data/gemfiles/ruby_2.1.10.gemfile +0 -15
- data/gemfiles/ruby_2.2.9.gemfile +0 -15
- data/gemfiles/ruby_2.3.6.gemfile +0 -15
- data/gemfiles/ruby_2.4.3.gemfile +0 -15
- data/gemfiles/ruby_2.5.0.gemfile +0 -15
- data/gemfiles/ruby_head.gemfile +0 -15
- data/rspec-pending_for.gemspec +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a76788abf9a2f19a44ecd077e9caa18e12333fcf8d3d1adf44e712c8e4c225dd
|
4
|
+
data.tar.gz: 25815c5675690bf8c2fbd559f0145b3e4ba308d04ea7a3c94b4af05cb07b9e8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f33ad878f5c0128253e9331fdf59bf7e397d46dc3ec7a9f87c7997dc6cfae72f113968cfcba7945f57522d2b854665204c62723ad88f91e9a5cd22c546ac6f52
|
7
|
+
data.tar.gz: 88c8e8b84499187c9fd29396fb367a79734522ed90c0a38c22b9e6cfbb0922288d8c9a89c1820622aba87a0ebd9e653a7b9c05f0233c2fcada56656aa9746a03
|
data/README.md
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
Easiest to just show you:
|
4
4
|
|
5
5
|
```ruby
|
6
|
-
it(
|
7
|
-
pending_for(engine
|
8
|
-
pending_for(engine
|
9
|
-
pending_for(engine
|
10
|
-
pending_for(engine
|
11
|
-
expect(
|
6
|
+
it('blah is blah') do
|
7
|
+
pending_for(:engine => 'rbx')
|
8
|
+
pending_for(:engine => 'ruby', :versions => '2.1.5')
|
9
|
+
pending_for(:engine => 'jruby', :versions => '2.2.2', :reason => 'due to a bug in Ruby')
|
10
|
+
pending_for(:engine => 'ruby', :versions => '2.0.0', :reason => "because I don't have the time")
|
11
|
+
expect('blah').to eq 'blah'
|
12
12
|
end
|
13
13
|
```
|
14
14
|
|
@@ -20,14 +20,15 @@ Requires Ruby 1.9+ (any engine)
|
|
20
20
|
| license | [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT) |
|
21
21
|
| download rank | [![Downloads Today](https://img.shields.io/gem/rd/rspec-pending_for.svg)](https://github.com/pboling/rspec-pending_for) |
|
22
22
|
| version | [![Version](https://img.shields.io/gem/v/rspec-pending_for.svg)](https://rubygems.org/gems/rspec-pending_for) |
|
23
|
-
| dependencies | [![Depfu](https://badges.depfu.com/badges/
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
| dependencies | [![Depfu](https://badges.depfu.com/badges/79867e590f063376f40b031a1447c215/count.svg)](https://depfu.com/github/pboling/rspec-pending_for?project_id=5865) |
|
24
|
+
| CI >= ruby 2.0.0 | [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fpboling%2Frspec-pending_for%2Fbadge&style=flat)](https://actions-badge.atrox.dev/pboling/rspec-pending_for/goto) |
|
25
|
+
| CI <= ruby 2.0.0 | [![Build Status](https://travis-ci.com/pboling/rspec-pending_for.svg?branch=master)](https://travis-ci.com/pboling/rspec-pending_for) |
|
26
|
+
| test coverage | [![Test Coverage](https://api.codeclimate.com/v1/badges/266bc0935f185153cce4/test_coverage)](https://codeclimate.com/github/pboling/rspec-pending_for/test_coverage) |
|
27
|
+
| maintainability | [![Maintainability](https://api.codeclimate.com/v1/badges/266bc0935f185153cce4/maintainability)](https://codeclimate.com/github/pboling/rspec-pending_for/maintainability) |
|
27
28
|
| code triage | [![Open Source Helpers](https://www.codetriage.com/pboling/rspec-pending_for/badges/users.svg)](https://www.codetriage.com/pboling/rspec-pending_for) |
|
28
29
|
| homepage | [on Github.com][homepage], [on Railsbling.com][blogpage] |
|
29
30
|
| documentation | [on RDoc.info][documentation] |
|
30
|
-
| Spread ~♡ⓛⓞⓥⓔ♡~ | [
|
31
|
+
| Spread ~♡ⓛⓞⓥⓔ♡~ | [🌏](https://about.me/peter.boling), [👼](https://angel.co/peter-boling), [:shipit:](http://coderwall.com/pboling), [![Tweet Peter](https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow)](http://twitter.com/galtzo), [🌹](https://nationalprogressiveparty.org) |
|
31
32
|
|
32
33
|
## Installation
|
33
34
|
|
@@ -56,47 +57,47 @@ require 'rspec/pending_for'
|
|
56
57
|
To mark a spec pending for a specific ruby engine, and/or versions:
|
57
58
|
|
58
59
|
```ruby
|
59
|
-
it(
|
60
|
-
pending_for(engine
|
61
|
-
expect(
|
60
|
+
it('blah is blah') do
|
61
|
+
pending_for(:engine => 'ruby', :versions => '2.1.5')
|
62
|
+
expect('blah').to eq 'blah'
|
62
63
|
end
|
63
64
|
```
|
64
65
|
|
65
66
|
To skip a spec for a specific ruby engine, and/or versions:
|
66
67
|
|
67
68
|
```ruby
|
68
|
-
it(
|
69
|
-
skip_for(engine
|
70
|
-
expect(
|
69
|
+
it('blah is blah') do
|
70
|
+
skip_for(:engine => 'ruby', :versions => '2.1.5')
|
71
|
+
expect('blah').to eq 'blah'
|
71
72
|
end
|
72
73
|
```
|
73
74
|
|
74
75
|
To mark a spec pending for all versions of a given engine:
|
75
76
|
|
76
77
|
```ruby
|
77
|
-
it(
|
78
|
-
pending_for(engine
|
79
|
-
expect(
|
78
|
+
it('blah is blah') do
|
79
|
+
pending_for(:engine => 'jruby')
|
80
|
+
expect('blah').to eq 'blah'
|
80
81
|
end
|
81
82
|
```
|
82
83
|
|
83
84
|
To mark a spec pending for a custom reason (overriding the default message):
|
84
85
|
|
85
86
|
```ruby
|
86
|
-
it(
|
87
|
-
pending_for(engine
|
88
|
-
expect(
|
87
|
+
it('blah is blah') do
|
88
|
+
pending_for(:engine => 'jruby', :reason => 'This does not work on JRuby')
|
89
|
+
expect('blah').to eq 'blah'
|
89
90
|
end
|
90
91
|
```
|
91
92
|
|
92
93
|
To mark a spec pending or skipped for multiple engines and versions, just what you would expect:
|
93
94
|
|
94
95
|
```ruby
|
95
|
-
it(
|
96
|
-
skip_for(engine
|
97
|
-
pending_for(engine
|
98
|
-
pending_for(engine
|
99
|
-
expect(
|
96
|
+
it('blah is blah') do
|
97
|
+
skip_for(:engine => 'jruby', :reason => 'This does not work on JRuby so skipping for now') # All JRuby versions will be skipped
|
98
|
+
pending_for(:engine => 'rbx', :reason => 'This does not work on Rubinius so pending for now') # All rbx versions will be pending
|
99
|
+
pending_for(:engine => 'ruby', :versions => %w(1.9.3 2.0.0 2.1.0)) # uses the default message
|
100
|
+
expect('blah').to eq 'blah'
|
100
101
|
end
|
101
102
|
```
|
102
103
|
|
@@ -129,7 +130,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/pbolin
|
|
129
130
|
|
130
131
|
## Code of Conduct
|
131
132
|
|
132
|
-
Everyone interacting in the
|
133
|
+
Everyone interacting in the Rspec::PendingFor project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/pboling/rspec-pending_for/blob/master/CODE_OF_CONDUCT.md).
|
133
134
|
|
134
135
|
## Versioning
|
135
136
|
|
@@ -155,20 +156,20 @@ or in a `gemspec`
|
|
155
156
|
|
156
157
|
## Legal
|
157
158
|
|
158
|
-
* MIT License - See [LICENSE][license] file in this project [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
|
159
|
+
* MIT License - See [LICENSE][license] file in this project [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
|
159
160
|
* Copyright (c) 2015 - 2018 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
|
160
161
|
|
161
162
|
[semver]: http://semver.org/
|
162
163
|
[pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
163
164
|
[documentation]: http://rdoc.info/github/pboling/rspec-pending_for/frames
|
164
165
|
[homepage]: https://github.com/pboling/rspec-pending_for
|
166
|
+
[blogpage]: http://www.railsbling.com/tags/rspec-pending_for/
|
165
167
|
[license]: LICENSE
|
166
168
|
[railsbling]: http://www.railsbling.com
|
167
169
|
[peterboling]: https://about.me/peter.boling
|
168
170
|
[refugees]: https://www.crowdrise.com/helprefugeeswithhopefortomorrowliberia/fundraiser/peterboling
|
169
171
|
[gplus]: https://plus.google.com/+PeterBoling/posts
|
170
172
|
[topcoder]: https://www.topcoder.com/members/pboling/
|
171
|
-
[blogpage]: http://www.railsbling.com/tags/rspec-pending_for/
|
172
173
|
[angellist]: https://angel.co/peter-boling
|
173
174
|
[coderwall]: http://coderwall.com/pboling
|
174
175
|
[twitter]: http://twitter.com/galtzo
|
data/lib/rspec/pending_for.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Rspec
|
2
4
|
module PendingFor
|
3
5
|
# SRP: Describe the RubyEngine and/or RubyVersion(s) that will be pended or skipped and with what message
|
@@ -19,19 +21,19 @@ module Rspec
|
|
19
21
|
# Keys are the
|
20
22
|
INTERPRETER_MATRIX = {
|
21
23
|
'unknown' => 'MRI < 1.9 (probably)',
|
22
|
-
'ruby'
|
23
|
-
'ree'
|
24
|
-
'jruby'
|
25
|
-
'macruby'
|
26
|
-
'rbx'
|
27
|
-
'maglev'
|
28
|
-
'ironruby'
|
29
|
-
'cardinal'
|
24
|
+
'ruby' => 'MRI >= 1.9',
|
25
|
+
'ree' => 'Ruby Enterprise Edition',
|
26
|
+
'jruby' => 'JRuby',
|
27
|
+
'macruby' => 'MacRuby',
|
28
|
+
'rbx' => 'Rubinius',
|
29
|
+
'maglev' => 'MagLev',
|
30
|
+
'ironruby' => 'IronRuby',
|
31
|
+
'cardinal' => 'Cardinal'
|
30
32
|
}.freeze
|
31
|
-
BROKEN_STRING = 'Behavior is broken'
|
32
|
-
BUG_STRING = 'due to a bug in the Ruby engine'
|
33
|
-
VERSIONS_STRING = 'in Ruby versions'
|
34
|
-
ISSUES_LINK = 'https://github.com/pboling/rspec-pending_for/issues'
|
33
|
+
BROKEN_STRING = 'Behavior is broken'
|
34
|
+
BUG_STRING = 'due to a bug in the Ruby engine'
|
35
|
+
VERSIONS_STRING = 'in Ruby versions'
|
36
|
+
ISSUES_LINK = 'https://github.com/pboling/rspec-pending_for/issues'
|
35
37
|
RELEVANT_VERSIONS_PROC = lambda { |rv| "#{BROKEN_STRING} #{VERSIONS_STRING} #{rv} #{BUG_STRING}" }
|
36
38
|
|
37
39
|
attr_reader :message, :relevant_versions, :relevant_engine, :reason
|
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.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-core
|
@@ -28,16 +28,22 @@ dependencies:
|
|
28
28
|
name: ruby_engine
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1
|
33
|
+
version: '1'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '3'
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - "
|
41
|
+
- - ">="
|
39
42
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1
|
43
|
+
version: '1'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '3'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: ruby_version
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,7 +59,7 @@ dependencies:
|
|
53
59
|
- !ruby/object:Gem::Version
|
54
60
|
version: '1.0'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
62
|
+
name: bundler
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
65
|
- - ">="
|
@@ -67,126 +73,84 @@ dependencies:
|
|
67
73
|
- !ruby/object:Gem::Version
|
68
74
|
version: '0'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
76
|
+
name: minitest
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
81
|
+
version: '5.3'
|
76
82
|
type: :development
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
88
|
+
version: '5.3'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: rake
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
93
|
- - ">="
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
90
|
-
- - "<="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: '13'
|
95
|
+
version: '0'
|
93
96
|
type: :development
|
94
97
|
prerelease: false
|
95
98
|
version_requirements: !ruby/object:Gem::Requirement
|
96
99
|
requirements:
|
97
100
|
- - ">="
|
98
101
|
- !ruby/object:Gem::Version
|
99
|
-
version: '
|
100
|
-
- - "<="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '13'
|
102
|
+
version: '0'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: rspec
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '3
|
109
|
+
version: '3'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '3
|
117
|
-
|
118
|
-
name: wwtd
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - ">="
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '0'
|
131
|
-
description:
|
116
|
+
version: '3'
|
117
|
+
description:
|
132
118
|
email:
|
133
119
|
- peter.boling@gmail.com
|
134
120
|
executables: []
|
135
121
|
extensions: []
|
136
122
|
extra_rdoc_files: []
|
137
123
|
files:
|
138
|
-
- ".gitignore"
|
139
|
-
- ".rspec"
|
140
|
-
- ".rubocop.yml"
|
141
|
-
- ".travis.yml"
|
142
|
-
- Appraisals
|
143
124
|
- CODE_OF_CONDUCT.md
|
144
|
-
- Gemfile
|
145
125
|
- LICENSE
|
146
126
|
- README.md
|
147
|
-
- Rakefile
|
148
|
-
- bin/console
|
149
|
-
- bin/setup
|
150
|
-
- gemfiles/jruby_1.7.27.gemfile
|
151
|
-
- gemfiles/jruby_9.1.15.0.gemfile
|
152
|
-
- gemfiles/jruby_head.gemfile
|
153
|
-
- gemfiles/ruby_1.8.7_p371.gemfile
|
154
|
-
- gemfiles/ruby_1.9.3_p551.gemfile
|
155
|
-
- gemfiles/ruby_2.0.0_p648.gemfile
|
156
|
-
- gemfiles/ruby_2.1.10.gemfile
|
157
|
-
- gemfiles/ruby_2.2.9.gemfile
|
158
|
-
- gemfiles/ruby_2.3.6.gemfile
|
159
|
-
- gemfiles/ruby_2.4.3.gemfile
|
160
|
-
- gemfiles/ruby_2.5.0.gemfile
|
161
|
-
- gemfiles/ruby_head.gemfile
|
162
127
|
- lib/rspec/pending_for.rb
|
163
128
|
- lib/rspec/pending_for/build.rb
|
164
129
|
- lib/rspec/pending_for/engine_or_versions_required.rb
|
165
130
|
- lib/rspec/pending_for/rspec.rb
|
166
131
|
- lib/rspec/pending_for/version.rb
|
167
|
-
- rspec-pending_for.gemspec
|
168
132
|
homepage: https://github.com/pboling/rspec-pending_for
|
169
133
|
licenses:
|
170
134
|
- MIT
|
171
135
|
metadata: {}
|
172
|
-
post_install_message:
|
173
|
-
rdoc_options:
|
136
|
+
post_install_message:
|
137
|
+
rdoc_options:
|
138
|
+
- "--charset=UTF-8"
|
174
139
|
require_paths:
|
175
140
|
- lib
|
176
141
|
required_ruby_version: !ruby/object:Gem::Requirement
|
177
142
|
requirements:
|
178
143
|
- - ">="
|
179
144
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
145
|
+
version: 1.8.7
|
181
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
147
|
requirements:
|
183
148
|
- - ">="
|
184
149
|
- !ruby/object:Gem::Version
|
185
150
|
version: '0'
|
186
151
|
requirements: []
|
187
|
-
|
188
|
-
|
189
|
-
signing_key:
|
152
|
+
rubygems_version: 3.2.3
|
153
|
+
signing_key:
|
190
154
|
specification_version: 4
|
191
155
|
summary: Mark specs pending or skipped for specific Ruby engine (e.g. MRI or JRuby)
|
192
156
|
/ version combinations
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
AllCops:
|
2
|
-
DisplayCopNames: true # Display the name of the failing cops
|
3
|
-
Exclude:
|
4
|
-
- 'gemfiles/vendor/**/*'
|
5
|
-
- 'vendor/**/*'
|
6
|
-
|
7
|
-
Metrics/BlockLength:
|
8
|
-
ExcludedMethods:
|
9
|
-
- context
|
10
|
-
- describe
|
11
|
-
- it
|
12
|
-
- shared_context
|
13
|
-
- shared_examples
|
14
|
-
- shared_examples_for
|
15
|
-
- namespace
|
16
|
-
- draw
|
17
|
-
|
18
|
-
Metrics/LineLength:
|
19
|
-
Enabled: false
|
20
|
-
|
21
|
-
Style/HashSyntax:
|
22
|
-
EnforcedStyle: hash_rockets
|
23
|
-
|
24
|
-
Style/Lambda:
|
25
|
-
Enabled: false
|
26
|
-
|
27
|
-
Style/PercentLiteralDelimiters:
|
28
|
-
Enabled: false
|
29
|
-
|
30
|
-
Style/SymbolArray:
|
31
|
-
Enabled: false
|
data/.travis.yml
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
before_install:
|
3
|
-
- gem update --system
|
4
|
-
- gem install bundler
|
5
|
-
cache: bundler
|
6
|
-
matrix:
|
7
|
-
allow_failures:
|
8
|
-
- rvm: jruby-head
|
9
|
-
- rvm: ruby-head
|
10
|
-
fast_finish: true
|
11
|
-
include:
|
12
|
-
- rvm: 1.8.7-p371
|
13
|
-
gemfile: gemfiles/ruby_1.8.7_p371.gemfile
|
14
|
-
- rvm: 1.9.3-p551
|
15
|
-
gemfile: gemfiles/ruby_1.9.3_p551.gemfile
|
16
|
-
- rvm: 2.0.0-p648
|
17
|
-
gemfile: gemfiles/ruby_2.0.0_p648.gemfile
|
18
|
-
- rvm: 2.1.10
|
19
|
-
gemfile: gemfiles/ruby_2.1.10.gemfile
|
20
|
-
- rvm: 2.2.9
|
21
|
-
gemfile: gemfiles/ruby_2.2.9.gemfile
|
22
|
-
- rvm: 2.3.6
|
23
|
-
gemfile: gemfiles/ruby_2.3.6.gemfile
|
24
|
-
- rvm: 2.4.3
|
25
|
-
gemfile: gemfiles/ruby_2.4.3.gemfile
|
26
|
-
- rvm: 2.5.0
|
27
|
-
gemfile: gemfiles/ruby_2.5.0.gemfile
|
28
|
-
- rvm: ruby-head
|
29
|
-
gemfile: gemfiles/ruby_head.gemfile
|
30
|
-
- rvm: jruby-1.7.27
|
31
|
-
gemfile: gemfiles/jruby_1.7.27.gemfile
|
32
|
-
- rvm: jruby-9.1.15.0
|
33
|
-
gemfile: gemfiles/jruby_9.1.15.0.gemfile
|
34
|
-
- rvm: jruby-head
|
35
|
-
gemfile: gemfiles/jruby_head.gemfile
|
data/Appraisals
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
appraise 'jruby-1.7.27' 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/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
require 'bundler/gem_tasks'
|
2
|
-
|
3
|
-
begin
|
4
|
-
require 'wwtd/tasks'
|
5
|
-
rescue LoadError
|
6
|
-
puts 'failed to load wwtd'
|
7
|
-
end
|
8
|
-
|
9
|
-
begin
|
10
|
-
require 'rspec/core/rake_task'
|
11
|
-
RSpec::Core::RakeTask.new(:spec)
|
12
|
-
rescue LoadError
|
13
|
-
# puts "failed to load wwtd or rspec, probably because bundled --without-development"
|
14
|
-
task :spec do
|
15
|
-
warn 'rspec is disabled'
|
16
|
-
end
|
17
|
-
end
|
18
|
-
task :test => :spec
|
19
|
-
|
20
|
-
begin
|
21
|
-
require 'rubocop/rake_task'
|
22
|
-
RuboCop::RakeTask.new
|
23
|
-
rescue LoadError
|
24
|
-
task :rubocop do
|
25
|
-
warn 'RuboCop is disabled'
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
task :default => [:test, :rubocop]
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'bundler/setup'
|
4
|
-
require 'rspec/pending_for'
|
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
|
data/bin/setup
DELETED
@@ -1,16 +0,0 @@
|
|
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 => '../'
|
data/gemfiles/jruby_head.gemfile
DELETED
@@ -1,16 +0,0 @@
|
|
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 => '../'
|
@@ -1,16 +0,0 @@
|
|
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 => '../'
|
@@ -1,16 +0,0 @@
|
|
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 => '../'
|
data/gemfiles/ruby_2.2.9.gemfile
DELETED
data/gemfiles/ruby_2.3.6.gemfile
DELETED
data/gemfiles/ruby_2.4.3.gemfile
DELETED
data/gemfiles/ruby_2.5.0.gemfile
DELETED
data/gemfiles/ruby_head.gemfile
DELETED
data/rspec-pending_for.gemspec
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
lib = File.expand_path('lib', __dir__)
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require 'rspec/pending_for/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = 'rspec-pending_for'
|
7
|
-
spec.version = Rspec::PendingFor::VERSION
|
8
|
-
spec.authors = ['Peter Boling']
|
9
|
-
spec.email = ['peter.boling@gmail.com']
|
10
|
-
|
11
|
-
spec.summary = 'Mark specs pending or skipped for specific Ruby engine (e.g. MRI or JRuby) / version combinations'
|
12
|
-
spec.homepage = 'https://github.com/pboling/rspec-pending_for'
|
13
|
-
spec.license = 'MIT'
|
14
|
-
|
15
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
16
|
-
spec.bindir = 'exe'
|
17
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
|
-
spec.require_paths = ['lib']
|
19
|
-
|
20
|
-
spec.add_dependency 'rspec-core'
|
21
|
-
spec.add_dependency 'ruby_engine', '~> 1.0'
|
22
|
-
spec.add_dependency 'ruby_version', '~> 1.0'
|
23
|
-
|
24
|
-
spec.add_development_dependency 'appraisal'
|
25
|
-
spec.add_development_dependency 'bundler', '~> 1.16'
|
26
|
-
spec.add_development_dependency 'rake', ['>= 10.0', '<= 13']
|
27
|
-
spec.add_development_dependency 'rspec', '~> 3.8'
|
28
|
-
spec.add_development_dependency 'wwtd'
|
29
|
-
end
|