rubycritic 3.2.1 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61112a2ab4b0874d396e788776e9c7fb78cb2f1d
4
- data.tar.gz: eb4a83e2c42fe2b8e0e80beae87fd4848782c14e
3
+ metadata.gz: aaff67fb1f975709fd8897659a5e5c2dc5071a70
4
+ data.tar.gz: c3d9417d128810e7923006026170fd992ba22dc6
5
5
  SHA512:
6
- metadata.gz: 9940478bc6a654fb3d8dc84691f8af39acc3b8bb09c6d3c8cf6cfbfe335ad7f3c4e1985675852f4d4ae1b141f825658335aba6ad14db6f8784794b698e4170fe
7
- data.tar.gz: e87a9979ab682b815542030926535b2888aa264abc865bacb02c22487048d7b4264966a380bdb88109e6bcde103223acab43f76e2f0a018fc4a8b578c3165eef
6
+ metadata.gz: d91c3bff5e1615a8930fc8015a795ca1579337c58dc12a7f87947210e01907582331f5ec5a83f312f661874a4e777188772443618666b25aeb192b847920659e
7
+ data.tar.gz: ae70abb7b2d12bebc0929635a588489ff1afa5b094d8747fb01436367ca9cdba0003951aba1a00d43a78a22da9550458f7b634096ae77f1f992ab11752809a36
data/CHANGELOG.md CHANGED
@@ -1,8 +1,13 @@
1
1
  # master (unreleased)
2
2
 
3
+ # 3.2.2 / 2017-05-18 [(commits)](https://github.com/whitesmith/rubycritic/compare/v3.2.1...v3.2.2)
4
+
5
+ * [CHANGE] Relax dependency of parser gem (by [@yuku-t][])
6
+ * [BUGFIX] Only scroll Y axis when visiting page with anchor tag (by [@georgedrummond][])
7
+
3
8
  # 3.2.1 / 2017-05-13 [(commits)](https://github.com/whitesmith/rubycritic/compare/v3.2.0...v3.2.1)
4
9
 
5
- * [CHANGE] Update `rubocop` to 0.48.x from 0.47.1 (by [@koic]() and [@Onumis][])
10
+ * [CHANGE] Update `rubocop` to 0.48.x from 0.47.1 (by [@koic][] and [@Onumis][])
6
11
  * [BUGFIX] Nest ordered list so we don't render errors as line numbers (by [@georgedrummond][])
7
12
 
8
13
  # 3.2.0 / 2017-03-24
@@ -204,3 +209,4 @@
204
209
  [@jdickey]: https://github.com/jdickey
205
210
  [@koic]: https://github.com/koic
206
211
  [@georgedrummond]: https://github.com/georgedrummond
212
+ [@yuku-t]: https://github.com/yuku-t
data/README.md CHANGED
@@ -6,6 +6,7 @@ RubyCritic
6
6
  [![Code Climate](https://codeclimate.com/github/whitesmith/rubycritic/badges/gpa.svg)](https://codeclimate.com/github/whitesmith/rubycritic)
7
7
 
8
8
  <img src="https://github.com/whitesmith/rubycritic/raw/master/images/logo.png" alt="RubyCritic Icon" align="right" />
9
+
9
10
  RubyCritic is a gem that wraps around static analysis gems such as [Reek][1], [Flay][2] and [Flog][3] to provide a quality report of your Ruby code.
10
11
 
11
12
  **Table of Contents**
@@ -197,7 +197,8 @@ function scrollToTarget(lineReference) {
197
197
  $.scrollTo(lineReference, {
198
198
  duration: 300,
199
199
  easing: "linear",
200
- offset: {top: -87}
200
+ offset: {top: -87},
201
+ axis: 'y'
201
202
  });
202
203
  }
203
204
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyCritic
4
- VERSION = '3.2.1'.freeze
4
+ VERSION = '3.2.2'.freeze
5
5
  end
data/rubycritic.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_runtime_dependency 'flay', '~> 2.8'
26
26
  spec.add_runtime_dependency 'flog', '~> 4.4'
27
27
  spec.add_runtime_dependency 'launchy', '2.4.3'
28
- spec.add_runtime_dependency 'parser', '2.4.0'
28
+ spec.add_runtime_dependency 'parser', '~> 2.4.0'
29
29
  spec.add_runtime_dependency 'rainbow', '~> 2.1'
30
30
  spec.add_runtime_dependency 'reek', '~> 4.4'
31
31
  spec.add_runtime_dependency 'ruby_parser', '~> 3.8'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubycritic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Simoes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-13 00:00:00.000000000 Z
11
+ date: 2017-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flay
@@ -56,14 +56,14 @@ dependencies:
56
56
  name: parser
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 2.4.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '='
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 2.4.0
69
69
  - !ruby/object:Gem::Dependency