rspec-pending_for 0.1.9 → 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: 19de0db34b32b29ce8c7f4450a06a47d4f4a0f4653c2cbded3d7caf028ae4c60
4
- data.tar.gz: 691a908c677c64aee15f68705fcdcc3a3571e5d4e55c2e50512c0c378cf432b9
3
+ metadata.gz: 8e2ced8877790c2a151b6a24f12207a257158726ee30cfdfb43e6e758ff039d2
4
+ data.tar.gz: e656f51d4975e3baf946545b07b1b614e5bbae19e39716d4fbf9668e4baebeaf
5
5
  SHA512:
6
- metadata.gz: f637a6b360ecee224542122e1708159662ae2361ad4255265761c92c108d9a190d2c6186c131941a96780a15084e260c791be0ef6c0116a688e36daac5323359
7
- data.tar.gz: 5aae0d6162ec0cb6f75a74c9ffdad1f5156a367748c00a8f78f5de5e471015c4695b6eac12e31aae8a6f4f9f1278adc67fac4f3fb4e7b4bc2dc022b75818e9bf
6
+ metadata.gz: 06e645f40e7018d3813870a6c5bb6d4ae270982cd34a3bfc5402c6eb745529179e4cfec79aa2a9278f1b727c18e53ceb15f1adabced674585f8ca0c715911513
7
+ data.tar.gz: bce3c362cf082868576670990de15616bddb03d9c7ca3fe7f8f77b525ba55dba024f52d77db022c183623eba1f5ca9cd1c52e98e1c58ce6046cbffee664a7501
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015 Peter H. Boling of RailsBling.com
1
+ Copyright (c) 2015 - 2018 Peter H. Boling of RailsBling.com
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -3,43 +3,32 @@
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
15
  Requires Ruby 1.9+ (any engine)
16
16
 
17
- | Project | Rspec::PendingFor |
18
- |------------------------ | ----------------- |
19
- | gem name | rspec-pending_for |
20
- | license | MIT |
21
- | expert support | [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github) |
22
- | download rank | [![Total Downloads](https://img.shields.io/gem/rt/rspec-pending_for.svg)](https://rubygems.org/gems/rspec-pending_for) |
23
- | version | [![Gem Version](https://badge.fury.io/rb/rspec-pending_for.png)](http://badge.fury.io/rb/rspec-pending_for) |
24
- | dependencies | [![Dependency Status](https://gemnasium.com/pboling/rspec-pending_for.png)](https://gemnasium.com/pboling/rspec-pending_for) |
25
- | code quality | [![Code Climate](https://codeclimate.com/github/pboling/rspec-pending_for.png)](https://codeclimate.com/github/pboling/rspec-pending_for) |
26
- | inline documenation | [![Inline docs](http://inch-ci.org/github/pboling/rspec-pending_for.png)](http://inch-ci.org/github/pboling/rspec-pending_for) |
27
- | continuous integration | [![Build Status](https://secure.travis-ci.org/pboling/rspec-pending_for.png?branch=master)](https://travis-ci.org/pboling/rspec-pending_for) |
28
- | test coverage | [![Coverage Status](https://coveralls.io/repos/pboling/rspec-pending_for/badge.png)](https://coveralls.io/r/pboling/rspec-pending_for) |
29
- | homepage | [on Github.com][homepage] |
30
- | documentation | [on Rdoc.info][documentation] |
31
- | live chat | [![Join the chat at https://gitter.im/pboling/rspec-pending_for](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pboling/rspec-pending_for?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
32
- | author | Peter Boling ([Rubyish Blog](https://railsbling.com)) |
33
- | Spread ~♡ⓛⓞⓥⓔ♡~↝ | [on AngelList][angellist], [on Coderwall][coderwall] |
34
-
35
- [semver]: http://semver.org/
36
- [pvc]: http://docs.rubygems.org/read/chapter/16#page74
37
- [railsbling]: http://www.railsbling.com
38
- [peterboling]: http://www.peterboling.com
39
- [angellist]: https://angel.co/peter-boling
40
- [coderwall]: http://coderwall.com/pboling
41
- [documentation]: http://rdoc.info/github/pboling/rspec-pending_for/frames
42
- [homepage]: https://github.com/pboling/rspec-pending_for
17
+ | Project | Rspec::PendingFor |
18
+ |------------------------ | ----------------------- |
19
+ | gem name | [rspec-pending_for](https://rubygems.org/gems/rspec-pending_for) |
20
+ | license | [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT) |
21
+ | download rank | [![Downloads Today](https://img.shields.io/gem/rd/rspec-pending_for.svg)](https://github.com/pboling/rspec-pending_for) |
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-pending_for?project_id=5865) |
24
+ | CI >= ruby 2.0.0 | [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fpboling%2Frspec-pending_for%2Fbadge&style=flat)](https://actions-badge.atrox.dev/pboling/rspec-pending_for/goto) |
25
+ | CI <= ruby 2.0.0 | [![Build Status](https://travis-ci.com/pboling/rspec-pending_for.svg?branch=master)](https://travis-ci.com/pboling/rspec-pending_for) |
26
+ | test coverage | [![Test Coverage](https://api.codeclimate.com/v1/badges/266bc0935f185153cce4/test_coverage)](https://codeclimate.com/github/pboling/rspec-pending_for/test_coverage) |
27
+ | maintainability | [![Maintainability](https://api.codeclimate.com/v1/badges/266bc0935f185153cce4/maintainability)](https://codeclimate.com/github/pboling/rspec-pending_for/maintainability) |
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) |
29
+ | homepage | [on Github.com][homepage], [on Railsbling.com][blogpage] |
30
+ | documentation | [on RDoc.info][documentation] |
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) |
43
32
 
44
33
  ## Installation
45
34
 
@@ -68,47 +57,47 @@ require 'rspec/pending_for'
68
57
  To mark a spec pending for a specific ruby engine, and/or versions:
69
58
 
70
59
  ```ruby
71
- it("blah is blah") do
72
- pending_for(engine: "ruby", versions: "2.1.5")
73
- 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'
74
63
  end
75
64
  ```
76
65
 
77
66
  To skip a spec for a specific ruby engine, and/or versions:
78
67
 
79
68
  ```ruby
80
- it("blah is blah") do
81
- skip_for(engine: "ruby", versions: "2.1.5")
82
- 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'
83
72
  end
84
73
  ```
85
74
 
86
75
  To mark a spec pending for all versions of a given engine:
87
76
 
88
77
  ```ruby
89
- it("blah is blah") do
90
- pending_for(engine: "jruby")
91
- expect("blah").to eq "blah"
78
+ it('blah is blah') do
79
+ pending_for(:engine => 'jruby')
80
+ expect('blah').to eq 'blah'
92
81
  end
93
82
  ```
94
83
 
95
84
  To mark a spec pending for a custom reason (overriding the default message):
96
85
 
97
86
  ```ruby
98
- it("blah is blah") do
99
- pending_for(engine: "jruby", reason: "This does not work on JRuby")
100
- 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'
101
90
  end
102
91
  ```
103
92
 
104
93
  To mark a spec pending or skipped for multiple engines and versions, just what you would expect:
105
94
 
106
95
  ```ruby
107
- it("blah is blah") do
108
- skip_for(engine: "jruby", reason: "This does not work on JRuby so skipping for now") # All JRuby versions will be skipped
109
- pending_for(engine: "rbx", reason: "This does not work on Rubinius so pending for now") # All rbx versions will be pending
110
- pending_for(engine: "ruby", versions:%w(1.9.3 2.0.0 2.1.0)) # uses the default message
111
- 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'
112
101
  end
113
102
  ```
114
103
 
@@ -137,7 +126,11 @@ See the [Network View](https://github.com/pboling/rspec-pending_for/network) and
137
126
  5. Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
138
127
  6. Create new Pull Request
139
128
 
140
- Bug reports and pull requests are welcome on GitHub at https://github.com/pboling/rspec-pending_for.
129
+ Bug reports and pull requests are welcome on GitHub at https://github.com/pboling/rspec-pending_for. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
130
+
131
+ ## Code of Conduct
132
+
133
+ Everyone interacting in the Rspec::PendingFor project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/pboling/rspec-pending_for/blob/master/CODE_OF_CONDUCT.md).
141
134
 
142
135
  ## Versioning
143
136
 
@@ -153,16 +146,30 @@ dependency on this gem using the [Pessimistic Version Constraint][pvc] with two
153
146
 
154
147
  For example:
155
148
 
156
- spec.add_dependency 'rspec-pending_for', '~> 1.1'
149
+ For example in a `Gemfile`:
150
+
151
+ gem 'rspec-pending_for', '~> 0.1', group: :test
152
+
153
+ or in a `gemspec`
154
+
155
+ spec.add_dependency 'rspec-pending_for', '~> 0.1'
157
156
 
158
157
  ## Legal
159
158
 
160
- * MIT License - See LICENSE file in this project
161
- * Copyright (c) 2015 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
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)
160
+ * Copyright (c) 2015 - 2018 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
162
161
 
163
162
  [semver]: http://semver.org/
164
- [pvc]: http://docs.rubygems.org/read/chapter/16#page74
165
- [railsbling]: http://www.railsbling.com
166
- [peterboling]: https://about.me/peter.boling
163
+ [pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
167
164
  [documentation]: http://rdoc.info/github/pboling/rspec-pending_for/frames
168
165
  [homepage]: https://github.com/pboling/rspec-pending_for
166
+ [blogpage]: http://www.railsbling.com/tags/rspec-pending_for/
167
+ [license]: LICENSE
168
+ [railsbling]: http://www.railsbling.com
169
+ [peterboling]: https://about.me/peter.boling
170
+ [refugees]: https://www.crowdrise.com/helprefugeeswithhopefortomorrowliberia/fundraiser/peterboling
171
+ [gplus]: https://plus.google.com/+PeterBoling/posts
172
+ [topcoder]: https://www.topcoder.com/members/pboling/
173
+ [angellist]: https://angel.co/peter-boling
174
+ [coderwall]: http://coderwall.com/pboling
175
+ [twitter]: http://twitter.com/galtzo
@@ -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'
@@ -41,6 +43,7 @@ module Rspec
41
43
 
42
44
  def modify_example_with(message, options)
43
45
  raise(EngineOrVersionsRequired, :pending_for) unless options[:engine] || options[:versions]
46
+
44
47
  build = Build.new(options)
45
48
  send(message, build.message) if build.current_matches_specified?
46
49
  end
@@ -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
@@ -57,6 +59,7 @@ module Rspec
57
59
 
58
60
  def warn_about_unrecognized_engine
59
61
  return false if relevant_engine.nil? || !INTERPRETER_MATRIX[relevant_engine].nil?
62
+
60
63
  warn %[
61
64
  Engine specified (#{relevant_engine}) is not known to rspec-pending_for.
62
65
  If it is a real RUBY_ENGINE, please report as a bug to #{ISSUES_LINK}
@@ -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.9'.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.9
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-01-27 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,107 +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.10'
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.10'
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.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.3'
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
- - Gemfile
144
124
  - LICENSE
145
125
  - README.md
146
- - Rakefile
147
- - bin/console
148
- - bin/setup
149
- - gemfiles/jruby_1.7.27.gemfile
150
- - gemfiles/jruby_9.1.15.0.gemfile
151
- - gemfiles/jruby_head.gemfile
152
- - gemfiles/ruby_1.8.7_p371.gemfile
153
- - gemfiles/ruby_1.9.3_p551.gemfile
154
- - gemfiles/ruby_2.0.0_p648.gemfile
155
- - gemfiles/ruby_2.1.10.gemfile
156
- - gemfiles/ruby_2.2.9.gemfile
157
- - gemfiles/ruby_2.3.6.gemfile
158
- - gemfiles/ruby_2.4.3.gemfile
159
- - gemfiles/ruby_2.5.0.gemfile
160
- - gemfiles/ruby_head.gemfile
161
126
  - lib/rspec/pending_for.rb
162
127
  - lib/rspec/pending_for/build.rb
163
128
  - lib/rspec/pending_for/engine_or_versions_required.rb
164
129
  - lib/rspec/pending_for/rspec.rb
165
130
  - lib/rspec/pending_for/version.rb
166
- - rspec-pending_for.gemspec
167
131
  homepage: https://github.com/pboling/rspec-pending_for
168
- licenses: []
132
+ licenses:
133
+ - MIT
169
134
  metadata: {}
170
- post_install_message:
135
+ post_install_message:
171
136
  rdoc_options: []
172
137
  require_paths:
173
138
  - lib
@@ -182,9 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
147
  - !ruby/object:Gem::Version
183
148
  version: '0'
184
149
  requirements: []
185
- rubyforge_project:
186
- rubygems_version: 2.7.4
187
- signing_key:
150
+ rubygems_version: 3.2.3
151
+ signing_key:
188
152
  specification_version: 4
189
153
  summary: Mark specs pending or skipped for specific Ruby engine (e.g. MRI or JRuby)
190
154
  / 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
@@ -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
@@ -1,35 +0,0 @@
1
- language: ruby
2
- before_install:
3
- - gem update --system
4
- - gem install bundler
5
- cache: bundler
6
- matrix:
7
- allow_failures:
8
- - rvm: jruby-head
9
- - rvm: ruby-head
10
- fast_finish: true
11
- include:
12
- - rvm: 1.8.7-p371
13
- gemfile: gemfiles/ruby_1.8.7_p371.gemfile
14
- - rvm: 1.9.3-p551
15
- gemfile: gemfiles/ruby_1.9.3_p551.gemfile
16
- - rvm: 2.0.0-p648
17
- gemfile: gemfiles/ruby_2.0.0_p648.gemfile
18
- - rvm: 2.1.10
19
- gemfile: gemfiles/ruby_2.1.10.gemfile
20
- - rvm: 2.2.9
21
- gemfile: gemfiles/ruby_2.2.9.gemfile
22
- - rvm: 2.3.6
23
- gemfile: gemfiles/ruby_2.3.6.gemfile
24
- - rvm: 2.4.3
25
- gemfile: gemfiles/ruby_2.4.3.gemfile
26
- - rvm: 2.5.0
27
- gemfile: gemfiles/ruby_2.5.0.gemfile
28
- - rvm: ruby-head
29
- gemfile: gemfiles/ruby_head.gemfile
30
- - rvm: jruby-1.7.27
31
- gemfile: gemfiles/jruby_1.7.27.gemfile
32
- - rvm: jruby-9.1.15.0
33
- gemfile: gemfiles/jruby_9.1.15.0.gemfile
34
- - rvm: jruby-head
35
- gemfile: gemfiles/jruby_head.gemfile
data/Appraisals DELETED
@@ -1,26 +0,0 @@
1
- appraise 'jruby-1.7.27' do
2
- end
3
-
4
- appraise 'ruby-1.9.3-p551' do
5
- end
6
-
7
- appraise 'ruby-2.0.0-p648' do
8
- end
9
-
10
- appraise 'ruby-2.1.10' do
11
- end
12
-
13
- appraise 'ruby-2.2.9' do
14
- end
15
-
16
- appraise 'jruby-9.1.15.0' do
17
- end
18
-
19
- appraise 'ruby-2.3.6' do
20
- end
21
-
22
- appraise 'ruby-2.4.3' do
23
- end
24
-
25
- appraise 'ruby-2.5.0' do
26
- end
data/Gemfile DELETED
@@ -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.52.1' 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]
@@ -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 "rubocop", "~> 0.52.1"
11
- gem 'rake'
12
- gem 'rspec'
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 "rubocop", "~> 0.52.1"
11
- gem 'rake'
12
- gem 'rspec'
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 "rubocop", "~> 0.52.1"
11
- gem 'rake'
12
- gem 'rspec'
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 "rubocop", "~> 0.52.1"
11
- gem 'rake'
12
- gem 'rspec'
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 "rubocop", "~> 0.52.1"
11
- gem 'rake'
12
- gem 'rspec'
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 "rubocop", "~> 0.52.1"
11
- gem 'rake'
12
- gem 'rspec'
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 "rubocop", "~> 0.52.1"
11
- gem 'rake'
12
- gem 'rspec'
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 "rubocop", "~> 0.52.1"
11
- gem 'rake'
12
- gem 'rspec'
13
- end
14
-
15
- gemspec path: "../"
@@ -1,31 +0,0 @@
1
-
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 = <<-SUMMARY.strip
13
- Mark specs pending or skipped for specific Ruby engine (e.g. MRI or JRuby) / version combinations
14
- SUMMARY
15
- spec.homepage = 'https://github.com/pboling/rspec-pending_for'
16
-
17
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- spec.bindir = 'exe'
19
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
- spec.require_paths = ['lib']
21
-
22
- spec.add_dependency 'rspec-core'
23
- spec.add_dependency 'ruby_engine', '~> 1.0'
24
- spec.add_dependency 'ruby_version', '~> 1.0'
25
-
26
- spec.add_development_dependency 'appraisal'
27
- spec.add_development_dependency 'bundler', '~> 1.10'
28
- spec.add_development_dependency 'rake', ['>= 10.0', '<= 13']
29
- spec.add_development_dependency 'rspec', '~> 3.3'
30
- spec.add_development_dependency 'wwtd'
31
- end