deep-cover 0.7.1 → 0.7.2

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: f31d42c2a220b9de98c530372bf1990b2ac17080b58e1c8c22a68018b9e77c49
4
- data.tar.gz: 75959af396239daf95c3efd80e1f3b5fc75a0361baaa6fd0e66caea8eda6a768
3
+ metadata.gz: a752ba1603db83ca783f0fcde5a363ac3ab211362f135ca3b56ff6f5a73b6d6f
4
+ data.tar.gz: b6b181cf6a73eeaf787a46922a054b39c8e0ab496c887a596c76f96b88a795c3
5
5
  SHA512:
6
- metadata.gz: 15f6425a117f94fd89998e6977b1a7095775ffd7762b640620d8e82f1cca9f1a62c9370fe7bb93f96822653023f25a1e3e81782a0e9de6e12af1b9c28ce01513
7
- data.tar.gz: 64dc5b3714f9504817f8eb344cbdbf1cd46504655c2a4ee4f9d35ff29d191699ba64783d066236908fff1d3eb40b7a98b51eccaa68d36a29116267191aaeadaa
6
+ metadata.gz: debfacf88e4ceff42590e75201b202cf6a363a7d422a1fbaea06676ab11a5e71812204aab131c2c321ed8aac14efbb60da76e8e588aa29420f8851eca4afa0f2
7
+ data.tar.gz: d38e2e36fa8b41cf5c4698a52a938e18c7ab8442e711746014434aaf6c8b2640ac6c6a5a3a2fc51eba6a99049d78ea7e4402ebf7b45ba3ac0691e4b4881ea195
@@ -12,10 +12,17 @@ rvm:
12
12
  - jruby-9.1.9.0
13
13
 
14
14
  install:
15
- - gem install bundler
15
+ # The last bundler version that supports our older supported ruby versions is 1.17.3
16
+ # Uninstalling it sometimes gets refused because of default gems, so we ignore the error
17
+ # and hope for the best.
18
+ - gem uninstall bundler -a -x || true
19
+ - rvm @global do gem uninstall bundler -a -x || true
20
+ - gem install bundler -v 1.17.3
21
+ - bundle install
16
22
  - rake dev:install
17
23
  - npm install -g nyc
18
24
  script:
19
25
  - bundle exec rake test:all
20
26
  matrix:
21
27
  allow_failures:
28
+ - rvm: ruby-head
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
1
  [![Build Status](https://travis-ci.org/deep-cover/deep-cover.svg?branch=master)](https://travis-ci.org/deep-cover/deep-cover)
2
+ [![Backers on Open Collective](https://opencollective.com/deep-cover/backers/badge.svg)](#backers)
3
+ [![Sponsors on Open Collective](https://opencollective.com/deep-cover/sponsors/badge.svg)](#sponsors)
2
4
 
3
5
  # DeepCover
4
6
 
@@ -106,12 +108,12 @@ Note, this is a bit slower and may cause issues in your tests if your use relati
106
108
 
107
109
  2. Create a config file (optional)
108
110
 
109
- You may want to create a config file `.deep-cover.rb` at the root of your project, where you can set the config as you wish.
111
+ You may want to create a config file `.deep_cover.rb` at the root of your project, where you can set the config as you wish.
110
112
 
111
113
  ```
112
- # File .deep-cover.rb
113
- DeepCover.config do
114
- ignore :default_arguments
114
+ # File .deep_cover.rb
115
+ DeepCover.configure do
116
+ ignore_uncovered :default_argument
115
117
  # ...
116
118
  end
117
119
  ```
@@ -159,14 +161,14 @@ At the moment, those tools do not support deep-cover. It is however possible to
159
161
 
160
162
  ```
161
163
  DeepCover.configure do
162
- ignore_uncovered :raise, :default_arguments
164
+ ignore_uncovered :raise, :default_argument
163
165
  detect_uncovered :trivial_if
164
166
  # TODO
165
- cover_paths %w[app lib]
167
+ paths %w[app lib]
166
168
  end
167
169
  ```
168
170
 
169
- The file `.deep-cover.rb` is loaded automatically when requiring `deep-cover` and is the best place to put the configuration.
171
+ The file `.deep_cover.rb` is loaded automatically when requiring `deep-cover` and is the best place to put the configuration.
170
172
 
171
173
  #### Custom filters
172
174
 
@@ -210,6 +212,36 @@ Please ask questions on StackOverflow.com. Maintainers monitor the tag `deep-cov
210
212
 
211
213
  Bug reports and pull requests are welcome on GitHub at https://github.com/deep-cover/deep-cover. 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.
212
214
 
215
+ ## Contributors
216
+
217
+ This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
218
+ <a href="https://github.com/udeep-cover/deep-cover/graphs/contributors"><img src="https://opencollective.com/deep-cover/contributors.svg?width=890&button=false" /></a>
219
+
220
+
221
+ ## Backers
222
+
223
+ Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/deep-cover#backer)]
224
+
225
+ <a href="https://opencollective.com/deep-cover#backers" target="_blank"><img src="https://opencollective.com/deep-cover/backers.svg?width=890"></a>
226
+
227
+
228
+ ## Sponsors
229
+
230
+ Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/deep-cover#sponsor)]
231
+
232
+ <a href="https://opencollective.com/deep-cover/sponsor/0/website" target="_blank"><img src="https://opencollective.com/deep-cover/sponsor/0/avatar.svg"></a>
233
+ <a href="https://opencollective.com/deep-cover/sponsor/1/website" target="_blank"><img src="https://opencollective.com/deep-cover/sponsor/1/avatar.svg"></a>
234
+ <a href="https://opencollective.com/deep-cover/sponsor/2/website" target="_blank"><img src="https://opencollective.com/deep-cover/sponsor/2/avatar.svg"></a>
235
+ <a href="https://opencollective.com/deep-cover/sponsor/3/website" target="_blank"><img src="https://opencollective.com/deep-cover/sponsor/3/avatar.svg"></a>
236
+ <a href="https://opencollective.com/deep-cover/sponsor/4/website" target="_blank"><img src="https://opencollective.com/deep-cover/sponsor/4/avatar.svg"></a>
237
+ <a href="https://opencollective.com/deep-cover/sponsor/5/website" target="_blank"><img src="https://opencollective.com/deep-cover/sponsor/5/avatar.svg"></a>
238
+ <a href="https://opencollective.com/deep-cover/sponsor/6/website" target="_blank"><img src="https://opencollective.com/deep-cover/sponsor/6/avatar.svg"></a>
239
+ <a href="https://opencollective.com/deep-cover/sponsor/7/website" target="_blank"><img src="https://opencollective.com/deep-cover/sponsor/7/avatar.svg"></a>
240
+ <a href="https://opencollective.com/deep-cover/sponsor/8/website" target="_blank"><img src="https://opencollective.com/deep-cover/sponsor/8/avatar.svg"></a>
241
+ <a href="https://opencollective.com/deep-cover/sponsor/9/website" target="_blank"><img src="https://opencollective.com/deep-cover/sponsor/9/avatar.svg"></a>
242
+
243
+
244
+
213
245
  ## License
214
246
 
215
247
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_runtime_dependency 'with_progress'
33
33
 
34
34
  ### Dev dependencies
35
- spec.add_development_dependency 'bundler', '~> 1.15'
35
+ spec.add_development_dependency 'bundler'
36
36
  spec.add_development_dependency 'rake', '~> 12.0'
37
37
  spec.add_development_dependency 'rspec', '~> 3.0'
38
38
  spec.add_development_dependency 'sass'
@@ -6,7 +6,7 @@ module DeepCover
6
6
  option '--profile', desc: 'use profiler', type: :boolean if RUBY_PLATFORM != 'java'
7
7
  option '--debug', aliases: '-d', desc: 'opens an interactive console for debugging', type: :boolean
8
8
  def run_expression(expression)
9
- require_relative '../expression_debugger'
9
+ require_relative '../../expression_debugger'
10
10
  ExpressionDebugger.new(expression, **options.transform_keys(&:to_sym)).show
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deep-cover
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc-André Lafortune
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-12-25 00:00:00.000000000 Z
12
+ date: 2019-04-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: deep-cover-core
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 0.7.1
20
+ version: 0.7.2
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 0.7.1
27
+ version: 0.7.2
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: highline
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -71,16 +71,16 @@ dependencies:
71
71
  name: bundler
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: '1.15'
76
+ version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - "~>"
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: '1.15'
83
+ version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rake
86
86
  requirement: !ruby/object:Gem::Requirement
@@ -195,8 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0'
197
197
  requirements: []
198
- rubyforge_project:
199
- rubygems_version: 2.7.6
198
+ rubygems_version: 3.0.3
200
199
  signing_key:
201
200
  specification_version: 4
202
201
  summary: In depth coverage of your Ruby code.