rspec-pending_for 0.1.11 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b09e063aec081dddd18111a3ad7ea50831ba3c94a8ccee44eeb540cbd66a20a3
4
- data.tar.gz: 59fc661c6f3aba299b87d1d2aa4ca912ffb8fafa2dcab4950dcc78fe2653c129
3
+ metadata.gz: 34becb064b4331e5f48d32d2b564204f77cd24fe31e3ddb29231faaba4558667
4
+ data.tar.gz: 9616270001f374e43f6545b1cf94348b2891c9fbac0871a36148b1116e85d1f6
5
5
  SHA512:
6
- metadata.gz: 878314863d36fdee936b9293201d9f3e61b9150192620845367297927084f610ce5d076e44a8122edd493d6e6f8609a87ed8d99d0880a2ded2f9ca9dc4b36787
7
- data.tar.gz: d757dd56679d61821b13355483d633c1d3f6979c4ce4aa7d94a2f0f62368d32bb98c4cfd9577e70ca39e08253f73c6eb002f5e742db8f27ddb6333a0563ec2e5
6
+ metadata.gz: 93a6d6845be5a34a04f33c708b510547ccfbd3d02c4dee599760c05cce9b504b8875d2017fec91a0f636806e62abe31abd0ca80ff1ae947a5f1d905443567108
7
+ data.tar.gz: 8fd5dc6a3b9c7aededd91252a88ff22eb143f0b3a4de256110b53c4f4eb90c2eccf679c5d70f95f6ac52194137b0cb541854988e61a72a5f0bcd83f71c042023
data/CODE_OF_CONDUCT.md CHANGED
@@ -1,74 +1,133 @@
1
+
1
2
  # Contributor Covenant Code of Conduct
2
3
 
3
4
  ## Our Pledge
4
5
 
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.
6
+ We as members, contributors, and leaders pledge to make participation in our
7
+ community a harassment-free experience for everyone, regardless of age, body
8
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
9
+ identity and expression, level of experience, education, socio-economic status,
10
+ nationality, personal appearance, race, religion, or sexual identity
11
+ and orientation.
12
+
13
+ We pledge to act and interact in ways that contribute to an open, welcoming,
14
+ diverse, inclusive, and healthy community.
11
15
 
12
16
  ## Our Standards
13
17
 
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
18
+ Examples of behavior that contributes to a positive environment for our
19
+ community include:
16
20
 
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
21
+ * Demonstrating empathy and kindness toward other people
22
+ * Being respectful of differing opinions, viewpoints, and experiences
23
+ * Giving and gracefully accepting constructive feedback
24
+ * Accepting responsibility and apologizing to those affected by our mistakes,
25
+ and learning from the experience
26
+ * Focusing on what is best not just for us as individuals, but for the
27
+ overall community
22
28
 
23
- Examples of unacceptable behavior by participants include:
29
+ Examples of unacceptable behavior include:
24
30
 
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
31
+ * The use of sexualized language or imagery, and sexual attention or
32
+ advances of any kind
33
+ * Trolling, insulting or derogatory comments, and personal or political attacks
28
34
  * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
35
+ * Publishing others' private information, such as a physical or email
36
+ address, without their explicit permission
31
37
  * Other conduct which could reasonably be considered inappropriate in a
32
38
  professional setting
33
39
 
34
- ## Our Responsibilities
40
+ ## Enforcement Responsibilities
35
41
 
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.
42
+ Community leaders are responsible for clarifying and enforcing our standards of
43
+ acceptable behavior and will take appropriate and fair corrective action in
44
+ response to any behavior that they deem inappropriate, threatening, offensive,
45
+ or harmful.
39
46
 
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.
47
+ Community leaders have the right and responsibility to remove, edit, or reject
48
+ comments, commits, code, wiki edits, issues, and other contributions that are
49
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
50
+ decisions when appropriate.
45
51
 
46
52
  ## Scope
47
53
 
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
+ This Code of Conduct applies within all community spaces, and also applies when
55
+ an individual is officially representing the community in public spaces.
56
+ Examples of representing our community include using an official e-mail address,
57
+ posting via an official social media account, or acting as an appointed
58
+ representative at an online or offline event.
54
59
 
55
60
  ## Enforcement
56
61
 
57
62
  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
+ reported to the community leaders responsible for enforcement at
64
+ [INSERT CONTACT METHOD].
65
+ All complaints will be reviewed and investigated promptly and fairly.
66
+
67
+ All community leaders are obligated to respect the privacy and security of the
68
+ reporter of any incident.
69
+
70
+ ## Enforcement Guidelines
71
+
72
+ Community leaders will follow these Community Impact Guidelines in determining
73
+ the consequences for any action they deem in violation of this Code of Conduct:
74
+
75
+ ### 1. Correction
76
+
77
+ **Community Impact**: Use of inappropriate language or other behavior deemed
78
+ unprofessional or unwelcome in the community.
79
+
80
+ **Consequence**: A private, written warning from community leaders, providing
81
+ clarity around the nature of the violation and an explanation of why the
82
+ behavior was inappropriate. A public apology may be requested.
83
+
84
+ ### 2. Warning
63
85
 
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.
86
+ **Community Impact**: A violation through a single incident or series
87
+ of actions.
88
+
89
+ **Consequence**: A warning with consequences for continued behavior. No
90
+ interaction with the people involved, including unsolicited interaction with
91
+ those enforcing the Code of Conduct, for a specified period of time. This
92
+ includes avoiding interactions in community spaces as well as external channels
93
+ like social media. Violating these terms may lead to a temporary or
94
+ permanent ban.
95
+
96
+ ### 3. Temporary Ban
97
+
98
+ **Community Impact**: A serious violation of community standards, including
99
+ sustained inappropriate behavior.
100
+
101
+ **Consequence**: A temporary ban from any sort of interaction or public
102
+ communication with the community for a specified period of time. No public or
103
+ private interaction with the people involved, including unsolicited interaction
104
+ with those enforcing the Code of Conduct, is allowed during this period.
105
+ Violating these terms may lead to a permanent ban.
106
+
107
+ ### 4. Permanent Ban
108
+
109
+ **Community Impact**: Demonstrating a pattern of violation of community
110
+ standards, including sustained inappropriate behavior, harassment of an
111
+ individual, or aggression toward or disparagement of classes of individuals.
112
+
113
+ **Consequence**: A permanent ban from any sort of public interaction within
114
+ the community.
67
115
 
68
116
  ## Attribution
69
117
 
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]
118
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
119
+ version 2.0, available at
120
+ [https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
121
+
122
+ Community Impact Guidelines were inspired by
123
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
124
+
125
+ For answers to common questions about this code of conduct, see the FAQ at
126
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available
127
+ at [https://www.contributor-covenant.org/translations][translations].
72
128
 
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/
129
+ [homepage]: https://www.contributor-covenant.org
130
+ [v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
131
+ [Mozilla CoC]: https://github.com/mozilla/diversity
132
+ [FAQ]: https://www.contributor-covenant.org/faq
133
+ [translations]: https://www.contributor-covenant.org/translations
data/README.md CHANGED
@@ -3,16 +3,16 @@
3
3
  Easiest to just show you:
4
4
 
5
5
  ```ruby
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"
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
 
15
- Requires Ruby 1.9+ (any engine)
15
+ Requires Ruby 1.8.7+ (same as RSPec, any engine)
16
16
 
17
17
  | Project | Rspec::PendingFor |
18
18
  |------------------------ | ----------------------- |
@@ -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/272ce0df3bc6df5cbea9354e2c3b65af/count.svg)](https://depfu.com/github/pboling/rspec-pending_for?project_id=5614) |
24
- | continuous integration | [![Build Status](https://travis-ci.org/pboling/rspec-pending_for.svg?branch=master)](https://travis-ci.org/pboling/rspec-pending_for) |
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) |
25
26
  | test coverage | [![Test Coverage](https://api.codeclimate.com/v1/badges/266bc0935f185153cce4/test_coverage)](https://codeclimate.com/github/pboling/rspec-pending_for/test_coverage) |
26
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 ~♡ⓛⓞⓥⓔ♡~ | [🌍 🌎 🌏][peterboling], [🍚][refugees], [➕][gplus], [👼][angellist], [🐛][topcoder], [:shipit:][coderwall], [![Tweet Peter](https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow)][twitter] |
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("blah is blah") do
60
- pending_for(engine: "ruby", versions: "2.1.5")
61
- expect("blah").to eq "blah"
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("blah is blah") do
69
- skip_for(engine: "ruby", versions: "2.1.5")
70
- expect("blah").to eq "blah"
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("blah is blah") do
78
- pending_for(engine: "jruby")
79
- expect("blah").to eq "blah"
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("blah is blah") do
87
- pending_for(engine: "jruby", reason: "This does not work on JRuby")
88
- expect("blah").to eq "blah"
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("blah is blah") do
96
- skip_for(engine: "jruby", reason: "This does not work on JRuby so skipping for now") # All JRuby versions will be skipped
97
- pending_for(engine: "rbx", reason: "This does not work on Rubinius so pending for now") # All rbx versions will be pending
98
- pending_for(engine: "ruby", versions:%w(1.9.3 2.0.0 2.1.0)) # uses the default message
99
- expect("blah").to eq "blah"
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 [![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/
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'ruby_version'
2
4
  require 'ruby_engine'
3
5
  require 'rspec/pending_for/version'
@@ -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' => 'MRI >= 1.9',
23
- 'ree' => 'Ruby Enterprise Edition',
24
- 'jruby' => 'JRuby',
25
- 'macruby' => 'MacRuby',
26
- 'rbx' => 'Rubinius',
27
- 'maglev' => 'MagLev',
28
- 'ironruby' => 'IronRuby',
29
- 'cardinal' => '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'.freeze
32
- BUG_STRING = 'due to a bug in the Ruby engine'.freeze
33
- VERSIONS_STRING = 'in Ruby versions'.freeze
34
- ISSUES_LINK = 'https://github.com/pboling/rspec-pending_for/issues'.freeze
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
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Rspec
2
4
  module PendingFor
3
5
  # Error class raised when pending_for is used but no engine or version is specified.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rspec/core'
2
4
  RSpec.configure do |c|
3
5
  c.include Rspec::PendingFor
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Rspec
2
4
  module PendingFor
3
- VERSION = '0.1.11'.freeze
5
+ VERSION = '0.1.16'
4
6
  end
5
7
  end
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.11
4
+ version: 0.1.16
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: 2018-10-01 00:00:00.000000000 Z
11
+ date: 2021-02-14 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.0'
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.0'
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: appraisal
62
+ name: bundler
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - ">="
@@ -67,111 +73,55 @@ dependencies:
67
73
  - !ruby/object:Gem::Version
68
74
  version: '0'
69
75
  - !ruby/object:Gem::Dependency
70
- name: bundler
76
+ name: minitest
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '1.16'
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: '1.16'
83
- - !ruby/object:Gem::Dependency
84
- name: rake
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '10.0'
90
- - - "<="
91
- - !ruby/object:Gem::Version
92
- version: '13'
93
- type: :development
94
- prerelease: false
95
- version_requirements: !ruby/object:Gem::Requirement
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- version: '10.0'
100
- - - "<="
101
- - !ruby/object:Gem::Version
102
- version: '13'
88
+ version: '5.3'
103
89
  - !ruby/object:Gem::Dependency
104
90
  name: rspec
105
91
  requirement: !ruby/object:Gem::Requirement
106
92
  requirements:
107
93
  - - "~>"
108
94
  - !ruby/object:Gem::Version
109
- version: '3.8'
95
+ version: '3'
110
96
  type: :development
111
97
  prerelease: false
112
98
  version_requirements: !ruby/object:Gem::Requirement
113
99
  requirements:
114
100
  - - "~>"
115
101
  - !ruby/object:Gem::Version
116
- version: '3.8'
117
- - !ruby/object:Gem::Dependency
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:
102
+ version: '3'
103
+ description:
132
104
  email:
133
105
  - peter.boling@gmail.com
134
106
  executables: []
135
107
  extensions: []
136
108
  extra_rdoc_files: []
137
109
  files:
138
- - ".gitignore"
139
- - ".rspec"
140
- - ".rubocop.yml"
141
- - ".travis.yml"
142
- - Appraisals
143
110
  - CODE_OF_CONDUCT.md
144
- - Gemfile
145
111
  - LICENSE
146
112
  - 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
113
  - lib/rspec/pending_for.rb
164
114
  - lib/rspec/pending_for/build.rb
165
115
  - lib/rspec/pending_for/engine_or_versions_required.rb
166
116
  - lib/rspec/pending_for/rspec.rb
167
117
  - lib/rspec/pending_for/version.rb
168
- - rspec-pending_for.gemspec
169
118
  homepage: https://github.com/pboling/rspec-pending_for
170
119
  licenses:
171
120
  - MIT
172
121
  metadata: {}
173
- post_install_message:
174
- rdoc_options: []
122
+ post_install_message:
123
+ rdoc_options:
124
+ - "--charset=UTF-8"
175
125
  require_paths:
176
126
  - lib
177
127
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -185,9 +135,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
135
  - !ruby/object:Gem::Version
186
136
  version: '0'
187
137
  requirements: []
188
- rubyforge_project:
189
- rubygems_version: 2.7.7
190
- signing_key:
138
+ rubygems_version: 3.2.3
139
+ signing_key:
191
140
  specification_version: 4
192
141
  summary: Mark specs pending or skipped for specific Ruby engine (e.g. MRI or JRuby)
193
142
  / version combinations
data/.gitignore DELETED
@@ -1,13 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- *.gem
11
- /vendor/
12
- /gemfiles/*.lock
13
- /gemfiles/.bundle/
data/.rspec DELETED
@@ -1,4 +0,0 @@
1
- --format documentation
2
- --require spec_helper
3
- --color
4
- --order random
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,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/Gemfile DELETED
@@ -1,9 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- group :test do
4
- ruby_version = Gem::Version.new(RUBY_VERSION)
5
- gem 'rubocop', '~> 0.59.0' if ruby_version >= Gem::Version.new('2.1')
6
- end
7
-
8
- # Specify your gem's dependencies in rspec-pending_for.gemspec
9
- 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,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here
@@ -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,15 +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
- end
14
-
15
- gemspec :path => '../'
@@ -1,15 +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
- end
14
-
15
- gemspec :path => '../'
@@ -1,15 +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
- end
14
-
15
- 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
- # 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,15 +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
- end
14
-
15
- gemspec :path => '../'
@@ -1,15 +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
- end
14
-
15
- gemspec :path => '../'
@@ -1,15 +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
- end
14
-
15
- gemspec :path => '../'
@@ -1,15 +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
- end
14
-
15
- gemspec :path => '../'
@@ -1,15 +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
- end
14
-
15
- gemspec :path => '../'
@@ -1,15 +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
- end
14
-
15
- gemspec :path => '../'
@@ -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