rspec-pending_for 0.1.13 → 0.1.14
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.
- checksums.yaml +4 -4
- data/README.md +28 -27
- 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 +25 -64
- data/.gitignore +0 -16
- data/.rspec +0 -4
- data/.rubocop.yml +0 -35
- data/.travis.yml +0 -61
- data/Appraisals +0 -32
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -18
- data/Rakefile +0 -29
- data/bin/console +0 -14
- data/bin/setup +0 -7
- data/gemfiles/jruby_1.7.26.gemfile +0 -16
- data/gemfiles/jruby_9.1.9.0.gemfile +0 -15
- data/gemfiles/jruby_9.2.0.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.10.gemfile +0 -16
- data/gemfiles/ruby_2.3.7.gemfile +0 -16
- data/gemfiles/ruby_2.4.4.gemfile +0 -16
- data/gemfiles/ruby_2.5.1.gemfile +0 -16
- data/gemfiles/ruby_head.gemfile +0 -16
- data/rspec-pending_for.gemspec +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e2ced8877790c2a151b6a24f12207a257158726ee30cfdfb43e6e758ff039d2
|
4
|
+
data.tar.gz: e656f51d4975e3baf946545b07b1b614e5bbae19e39716d4fbf9668e4baebeaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06e645f40e7018d3813870a6c5bb6d4ae270982cd34a3bfc5402c6eb745529179e4cfec79aa2a9278f1b727c18e53ceb15f1adabced674585f8ca0c715911513
|
7
|
+
data.tar.gz: bce3c362cf082868576670990de15616bddb03d9c7ca3fe7f8f77b525ba55dba024f52d77db022c183623eba1f5ca9cd1c52e98e1c58ce6046cbffee664a7501
|
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 | [](https://opensource.org/licenses/MIT) |
|
21
21
|
| download rank | [](https://github.com/pboling/rspec-pending_for) |
|
22
22
|
| version | [](https://rubygems.org/gems/rspec-pending_for) |
|
23
|
-
| dependencies | [](https://depfu.com/github/pboling/rspec-
|
24
|
-
|
|
23
|
+
| dependencies | [](https://depfu.com/github/pboling/rspec-pending_for?project_id=5865) |
|
24
|
+
| CI >= ruby 2.0.0 | [](https://actions-badge.atrox.dev/pboling/rspec-pending_for/goto) |
|
25
|
+
| CI <= ruby 2.0.0 | [](https://travis-ci.com/pboling/rspec-pending_for) |
|
25
26
|
| test coverage | [](https://codeclimate.com/github/pboling/rspec-pending_for/test_coverage) |
|
26
27
|
| maintainability | [](https://codeclimate.com/github/pboling/rspec-pending_for/maintainability) |
|
27
28
|
| code triage | [](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), [](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
|
|
@@ -155,7 +156,7 @@ or in a `gemspec`
|
|
155
156
|
|
156
157
|
## Legal
|
157
158
|
|
158
|
-
* MIT License - See [LICENSE][license] file in this project [](https://opensource.org/licenses/MIT)
|
159
|
+
* MIT License - See [LICENSE][license] file in this project [](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/
|
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.14
|
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,110 +73,66 @@ 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
|
-
- CODE_OF_CONDUCT.md
|
144
|
-
- Gemfile
|
145
124
|
- LICENSE
|
146
125
|
- README.md
|
147
|
-
- Rakefile
|
148
|
-
- bin/console
|
149
|
-
- bin/setup
|
150
|
-
- gemfiles/jruby_1.7.26.gemfile
|
151
|
-
- gemfiles/jruby_9.1.9.0.gemfile
|
152
|
-
- gemfiles/jruby_9.2.0.0.gemfile
|
153
|
-
- gemfiles/jruby_head.gemfile
|
154
|
-
- gemfiles/ruby_1.8.7_p371.gemfile
|
155
|
-
- gemfiles/ruby_1.9.3_p551.gemfile
|
156
|
-
- gemfiles/ruby_2.0.0_p648.gemfile
|
157
|
-
- gemfiles/ruby_2.1.10.gemfile
|
158
|
-
- gemfiles/ruby_2.2.10.gemfile
|
159
|
-
- gemfiles/ruby_2.3.7.gemfile
|
160
|
-
- gemfiles/ruby_2.4.4.gemfile
|
161
|
-
- gemfiles/ruby_2.5.1.gemfile
|
162
|
-
- gemfiles/ruby_head.gemfile
|
163
126
|
- lib/rspec/pending_for.rb
|
164
127
|
- lib/rspec/pending_for/build.rb
|
165
128
|
- lib/rspec/pending_for/engine_or_versions_required.rb
|
166
129
|
- lib/rspec/pending_for/rspec.rb
|
167
130
|
- lib/rspec/pending_for/version.rb
|
168
|
-
- rspec-pending_for.gemspec
|
169
131
|
homepage: https://github.com/pboling/rspec-pending_for
|
170
132
|
licenses:
|
171
133
|
- MIT
|
172
134
|
metadata: {}
|
173
|
-
post_install_message:
|
135
|
+
post_install_message:
|
174
136
|
rdoc_options: []
|
175
137
|
require_paths:
|
176
138
|
- lib
|
@@ -185,9 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
147
|
- !ruby/object:Gem::Version
|
186
148
|
version: '0'
|
187
149
|
requirements: []
|
188
|
-
|
189
|
-
|
190
|
-
signing_key:
|
150
|
+
rubygems_version: 3.2.3
|
151
|
+
signing_key:
|
191
152
|
specification_version: 4
|
192
153
|
summary: Mark specs pending or skipped for specific Ruby engine (e.g. MRI or JRuby)
|
193
154
|
/ version combinations
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,35 +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
|
32
|
-
|
33
|
-
# Enable when drop support for Ruby < 2
|
34
|
-
Style/ExpandPathArguments:
|
35
|
-
Enabled: false
|
data/.travis.yml
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
env:
|
2
|
-
global:
|
3
|
-
- JRUBY_OPTS="-Xcli.debug=true --debug"
|
4
|
-
- CC_TEST_REPORTER_ID=b371af9d80b8b1f593e87d11c20137cf7573149a6296278715acd3fa48ddc280
|
5
|
-
|
6
|
-
before_script:
|
7
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
8
|
-
- chmod +x ./cc-test-reporter
|
9
|
-
- ./cc-test-reporter before-build
|
10
|
-
|
11
|
-
script:
|
12
|
-
- bundle exec rspec
|
13
|
-
|
14
|
-
after_script:
|
15
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
16
|
-
|
17
|
-
before_install:
|
18
|
-
- gem update --system
|
19
|
-
- gem install bundler
|
20
|
-
|
21
|
-
install:
|
22
|
-
- bundle install
|
23
|
-
|
24
|
-
bundler_args: --no-deployment --jobs 3 --retry 3
|
25
|
-
|
26
|
-
cache: bundler
|
27
|
-
|
28
|
-
language: ruby
|
29
|
-
sudo: false
|
30
|
-
matrix:
|
31
|
-
allow_failures:
|
32
|
-
- rvm: jruby-head
|
33
|
-
- rvm: ruby-head
|
34
|
-
fast_finish: true
|
35
|
-
include:
|
36
|
-
- rvm: 1.8.7-p371
|
37
|
-
gemfile: gemfiles/ruby_1.8.7_p371.gemfile
|
38
|
-
- rvm: 1.9.3-p551
|
39
|
-
gemfile: gemfiles/ruby_1.9.3_p551.gemfile
|
40
|
-
- rvm: 2.0.0-p648
|
41
|
-
gemfile: gemfiles/ruby_2.0.0_p648.gemfile
|
42
|
-
- rvm: 2.1.10
|
43
|
-
gemfile: gemfiles/ruby_2.1.10.gemfile
|
44
|
-
- rvm: 2.2.10
|
45
|
-
gemfile: gemfiles/ruby_2.2.10.gemfile
|
46
|
-
- rvm: 2.3.7
|
47
|
-
gemfile: gemfiles/ruby_2.3.7.gemfile
|
48
|
-
- rvm: 2.4.4
|
49
|
-
gemfile: gemfiles/ruby_2.4.4.gemfile
|
50
|
-
- rvm: 2.5.1
|
51
|
-
gemfile: gemfiles/ruby_2.5.1.gemfile
|
52
|
-
- rvm: ruby-head
|
53
|
-
gemfile: gemfiles/ruby_head.gemfile
|
54
|
-
- rvm: jruby-1.7.26
|
55
|
-
gemfile: gemfiles/jruby_1.7.26.gemfile
|
56
|
-
- rvm: jruby-9.1.9.0
|
57
|
-
gemfile: gemfiles/jruby_9.1.9.0.gemfile
|
58
|
-
- rvm: jruby-9.2.0.0
|
59
|
-
gemfile: gemfiles/jruby_9.2.0.0.gemfile
|
60
|
-
- rvm: jruby-head
|
61
|
-
gemfile: gemfiles/jruby_head.gemfile
|
data/Appraisals
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
appraise 'jruby-1.7.26' do
|
2
|
-
end
|
3
|
-
|
4
|
-
appraise 'ruby-1.8.7-p371' do
|
5
|
-
end
|
6
|
-
|
7
|
-
appraise 'ruby-1.9.3-p551' do
|
8
|
-
end
|
9
|
-
|
10
|
-
appraise 'ruby-2.0.0-p648' do
|
11
|
-
end
|
12
|
-
|
13
|
-
appraise 'ruby-2.1.10' do
|
14
|
-
end
|
15
|
-
|
16
|
-
appraise 'ruby-2.2.10' do
|
17
|
-
end
|
18
|
-
|
19
|
-
appraise 'jruby-9.1.9.0' do
|
20
|
-
end
|
21
|
-
|
22
|
-
appraise 'ruby-2.3.7' do
|
23
|
-
end
|
24
|
-
|
25
|
-
appraise 'ruby-2.4.4' do
|
26
|
-
end
|
27
|
-
|
28
|
-
appraise 'ruby-2.5.1' do
|
29
|
-
end
|
30
|
-
|
31
|
-
appraise 'jruby-9.2.0.0' do
|
32
|
-
end
|
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
2
|
-
|
3
|
-
## Our Pledge
|
4
|
-
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
-
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
-
orientation.
|
11
|
-
|
12
|
-
## Our Standards
|
13
|
-
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
15
|
-
include:
|
16
|
-
|
17
|
-
* Using welcoming and inclusive language
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
19
|
-
* Gracefully accepting constructive criticism
|
20
|
-
* Focusing on what is best for the community
|
21
|
-
* Showing empathy towards other community members
|
22
|
-
|
23
|
-
Examples of unacceptable behavior by participants include:
|
24
|
-
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
-
advances
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
-
* Public or private harassment
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
30
|
-
address, without explicit permission
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
-
professional setting
|
33
|
-
|
34
|
-
## Our Responsibilities
|
35
|
-
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
38
|
-
response to any instances of unacceptable behavior.
|
39
|
-
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
-
threatening, offensive, or harmful.
|
45
|
-
|
46
|
-
## Scope
|
47
|
-
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
-
when an individual is representing the project or its community. Examples of
|
50
|
-
representing a project or community include using an official project e-mail
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
53
|
-
further defined and clarified by project maintainers.
|
54
|
-
|
55
|
-
## Enforcement
|
56
|
-
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at peter.boling@gmail.com. All
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
63
|
-
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
66
|
-
members of the project's leadership.
|
67
|
-
|
68
|
-
## Attribution
|
69
|
-
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
-
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
-
|
73
|
-
[homepage]: http://contributor-covenant.org
|
74
|
-
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
group :test do
|
4
|
-
ruby_version = Gem::Version.new(RUBY_VERSION)
|
5
|
-
if ruby_version >= Gem::Version.new('2.1')
|
6
|
-
gem 'rubocop', '~> 0.59.0'
|
7
|
-
gem 'rubocop-rspec', '~> 1.24.0'
|
8
|
-
end
|
9
|
-
if ruby_version >= Gem::Version.new('2.0')
|
10
|
-
gem 'byebug', '~> 10', :platform => :mri, :require => false
|
11
|
-
gem 'pry', '~> 0', :platform => :mri, :require => false
|
12
|
-
gem 'pry-byebug', '~> 3', :platform => :mri, :require => false
|
13
|
-
end
|
14
|
-
gem 'simplecov', '~> 0', :require => false
|
15
|
-
end
|
16
|
-
|
17
|
-
# Specify your gem's dependencies in rspec-pending_for.gemspec
|
18
|
-
gemspec
|
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 => '../'
|
@@ -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
|
-
gem 'rake'
|
11
|
-
gem 'rspec'
|
12
|
-
gem 'rubocop', '~> 0.52.1'
|
13
|
-
gem 'simplecov', '~> 0', :require => false
|
14
|
-
end
|
15
|
-
|
16
|
-
gemspec :path => '../'
|
data/gemfiles/ruby_2.3.7.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
|
-
gem 'rake'
|
11
|
-
gem 'rspec'
|
12
|
-
gem 'rubocop', '~> 0.52.1'
|
13
|
-
gem 'simplecov', '~> 0', :require => false
|
14
|
-
end
|
15
|
-
|
16
|
-
gemspec :path => '../'
|
data/gemfiles/ruby_2.4.4.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
|
-
gem 'rake'
|
11
|
-
gem 'rspec'
|
12
|
-
gem 'rubocop', '~> 0.52.1'
|
13
|
-
gem 'simplecov', '~> 0', :require => false
|
14
|
-
end
|
15
|
-
|
16
|
-
gemspec :path => '../'
|
data/gemfiles/ruby_2.5.1.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
|
-
gem 'rake'
|
11
|
-
gem 'rspec'
|
12
|
-
gem 'rubocop', '~> 0.52.1'
|
13
|
-
gem 'simplecov', '~> 0', :require => false
|
14
|
-
end
|
15
|
-
|
16
|
-
gemspec :path => '../'
|
data/gemfiles/ruby_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
|
-
gem 'rake'
|
11
|
-
gem 'rspec'
|
12
|
-
gem 'rubocop', '~> 0.52.1'
|
13
|
-
gem 'simplecov', '~> 0', :require => false
|
14
|
-
end
|
15
|
-
|
16
|
-
gemspec :path => '../'
|
data/rspec-pending_for.gemspec
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# NOTE: Have to use __FILE__ until Ruby 1.x support is dropped
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'rspec/pending_for/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = 'rspec-pending_for'
|
8
|
-
spec.version = Rspec::PendingFor::VERSION
|
9
|
-
spec.authors = ['Peter Boling']
|
10
|
-
spec.email = ['peter.boling@gmail.com']
|
11
|
-
|
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
|
-
spec.license = 'MIT'
|
15
|
-
|
16
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
-
spec.bindir = 'exe'
|
18
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
-
spec.require_paths = ['lib']
|
20
|
-
|
21
|
-
spec.add_dependency 'rspec-core'
|
22
|
-
spec.add_dependency 'ruby_engine', '~> 1.0'
|
23
|
-
spec.add_dependency 'ruby_version', '~> 1.0'
|
24
|
-
|
25
|
-
spec.add_development_dependency 'appraisal'
|
26
|
-
spec.add_development_dependency 'bundler', '~> 1.16'
|
27
|
-
spec.add_development_dependency 'rake', ['>= 10.0', '<= 13']
|
28
|
-
spec.add_development_dependency 'rspec', '~> 3.8'
|
29
|
-
spec.add_development_dependency 'wwtd'
|
30
|
-
end
|