rspec-pending_for 0.1.13 → 0.1.14

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: 81c12dd58b46a7bc3884e8d349d0e3f1619af71ede2974c9cfd3ce8f5d3150fa
4
- data.tar.gz: 84212f2e1d75df62cbe1916913ef2f31e0f97e705bc273103582c41f62ab0ea5
3
+ metadata.gz: 8e2ced8877790c2a151b6a24f12207a257158726ee30cfdfb43e6e758ff039d2
4
+ data.tar.gz: e656f51d4975e3baf946545b07b1b614e5bbae19e39716d4fbf9668e4baebeaf
5
5
  SHA512:
6
- metadata.gz: 61d6082324370639bacadfc0eb3da68ffe40ba9ba16588df5a62918d1d5290fb7df39d9b3f116ff349cf80c62f4f346397c21dced8bd280e3ebdbe996e1478cf
7
- data.tar.gz: 26010992486060a067024c8262332d6072b9368daa96deaae9f7b65d4bf05dd9ea07fc900b946f1e9bc30f0e13ad4cee88ae12dcd3a70b8a49178afdd43ff594
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("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
 
@@ -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/79867e590f063376f40b031a1447c215/count.svg)](https://depfu.com/github/pboling/rspec-block_is_expected?project_id=5865) |
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.13'.freeze
5
+ VERSION = '0.1.14'
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.13
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: 2018-10-01 00:00:00.000000000 Z
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.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,110 +73,66 @@ 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'
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: '10.0'
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: '10.0'
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.8'
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.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:
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
- rubyforge_project:
189
- rubygems_version: 2.7.7
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
@@ -1,16 +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/
14
-
15
- # rspec failure tracking
16
- .rspec_status
data/.rspec DELETED
@@ -1,4 +0,0 @@
1
- --format documentation
2
- --require spec_helper
3
- --color
4
- --order random
@@ -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
@@ -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
@@ -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]
@@ -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,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 => '../'
@@ -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 => '../'
@@ -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 => '../'
@@ -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 => '../'
@@ -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 => '../'
@@ -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