pronto-rails_best_practices 0.1.0 → 0.2.0

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
  SHA1:
3
- metadata.gz: 3440811c91e6bfd30091b7855face978bcbb7c8e
4
- data.tar.gz: 6aa44c7c02ccf13ec9c899cea7f3eb37874833ef
3
+ metadata.gz: 8e55884a16b86f77b65c21a5780af4037940cbec
4
+ data.tar.gz: 794b8ff1322f4f1694eeccc21516584e85ede0ca
5
5
  SHA512:
6
- metadata.gz: d23f37dc97d1dbbe24c5f86427cfd0da2ad8be01f6d610d15d649f7a2721421193966e92602241de626252b88c28fb431714c66dd8bb69dafb54135aa5d2fb70
7
- data.tar.gz: 81a7c7cab0057d15e3ff06ce00d8117c62ad1793dbb80afb79dcdc54d8c651b38eb48581508d6d50671f8a17b98e77cd38cd9b6adf93f86196cc686dc0a5e3f6
6
+ metadata.gz: 3218ba5dd5e2be50f2e2a20f0479bab337900c1d0f31ce28a501c6deccfa09ee327ed1d3d1ccd12535bcf5b26e855c23aff2755c86f0b4ef44a41644976e0a7e
7
+ data.tar.gz: fdd2747f75e714934d8b1c6cd6d2bfbfc48fd71173e3391b45a4a228b2767300d4af6be0161d859acd57bbcbe00f6fb9e24223d627650e318cdd826e4a77d71c
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![Code Climate](https://codeclimate.com/github/mmozuras/pronto-rails_best_practices.png)](https://codeclimate.com/github/mmozuras/pronto-rails_best_practices)
4
4
  [![Build Status](https://travis-ci.org/mmozuras/pronto-rails_best_practices.png)](https://travis-ci.org/mmozuras/pronto-rails_best_practices)
5
+ [![Gem Version](https://badge.fury.io/rb/pronto-rails_best_practices.png)](http://badge.fury.io/rb/pronto-rails_best_practices)
5
6
  [![Dependency Status](https://gemnasium.com/mmozuras/pronto-rails_best_practices.png)](https://gemnasium.com/mmozuras/pronto-rails_best_practices)
6
7
 
7
8
  Pronto runner for [Rails Best Practices](https://github.com/railsbp/rails_best_practices), code metric tool for Rails projects. [What is Pronto?](https://github.com/mmozuras/pronto)
@@ -3,7 +3,7 @@ require 'rails_best_practices'
3
3
 
4
4
  module Pronto
5
5
  class RailsBestPractices < Runner
6
- def run(patches)
6
+ def run(patches, _)
7
7
  return [] unless patches
8
8
 
9
9
  patches_with_additions = patches.select { |patch| patch.additions > 0 }
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module RailsBestPracticesVersion
3
- VERSION = '0.1.0'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-rails_best_practices
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mindaugas Mozūras
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-08 00:00:00.000000000 Z
11
+ date: 2013-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pronto
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.0
19
+ version: 0.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.0
26
+ version: 0.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails_best_practices
29
29
  requirement: !ruby/object:Gem::Requirement