code_metric_fu 4.14.3 → 4.14.4

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: 8d7810e3d4d836a4fe4be5b4433f5b43075b6eb6
4
- data.tar.gz: a0cede3e9aee31a1a01aca32ccc8940f3399b79b
3
+ metadata.gz: ac246db5a4303cbb444fb392523a81ef159d7907
4
+ data.tar.gz: 24a22c1828dd1f6560551d96916d1ad4ea806d7a
5
5
  SHA512:
6
- metadata.gz: cb5ca2acb5f9f458c3b85ebe8ea7a135b327e7e6597ac7d8238859135aebf53448504aa7e59eb999da1ad270172020beb294df8507b0111cdce048128a20a0b4
7
- data.tar.gz: 847e7e863623cb9b83374891c5050361fdd5fd85f270c20ea30922d525dc42968562c55c801f83d324837c5e3dd6473cd396046e4f603523ab02e9881cda1cb9
6
+ metadata.gz: 8c39438e8fda31eef93878fd2d501fcd5fab1b84a650ecac23b5a99273fc97d0c4dc1d16f6be3aef30a9dc4a5b375fb21f8102758bb5c124e6d70b3180577556
7
+ data.tar.gz: c294f824db2e0f4f10574f4f187062cb76dee73f564676ce24cd628db2a817739a1e98df0879b55912bc2106e4c4dd6b6e91e45da2a536e36467d96aef93867e
@@ -2,7 +2,6 @@
2
2
  require "metric_fu/version"
3
3
  require "forwardable"
4
4
  require "pathname"
5
- require 'pry-byebug'
6
5
  module MetricFu
7
6
  APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), ".."))
8
7
  LIB_ROOT = File.join(APP_ROOT, "lib/metric_fu")
@@ -8,7 +8,7 @@
8
8
  # e.g.: https://github.com/troessner/reek/blob/master/docs/Irresponsible-Module.md
9
9
  def code_smell_type_url(type)
10
10
  doc_url = "https://github.com/troessner/reek/blob/master/docs/%{page}.md"
11
- page = type.titlecase.tr(" ", "-")
11
+ page = type.gsub(/([a-z\d])([A-Z])/, '\1-\2')
12
12
  doc_url % {page: page}
13
13
  end
14
14
  %>
@@ -2,7 +2,7 @@ module MetricFu
2
2
  class Version
3
3
  MAJOR = "4"
4
4
  MINOR = "14"
5
- PATCH = "3"
5
+ PATCH = "4"
6
6
  PRE = ""
7
7
  end
8
8
  VERSION = [Version::MAJOR, Version::MINOR, Version::PATCH].join(".")
@@ -62,7 +62,6 @@ Gem::Specification.new do |s|
62
62
  # open browser support
63
63
  s.add_runtime_dependency "launchy", "~> 2.0"
64
64
 
65
- s.add_development_dependency "pry-byebug", '~> 3.4'
66
65
  s.add_development_dependency "rspec", "~> 3.1"
67
66
  # temporary filesystem to act on
68
67
  s.add_development_dependency "test_construct"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code_metric_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.14.3
4
+ version: 4.14.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Scruggs
@@ -20,7 +20,7 @@ autorequire:
20
20
  bindir: bin
21
21
  cert_chain:
22
22
  - certs/bf4.pem
23
- date: 2017-12-27 00:00:00.000000000 Z
23
+ date: 2018-01-15 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: flay
@@ -240,20 +240,6 @@ dependencies:
240
240
  - - "~>"
241
241
  - !ruby/object:Gem::Version
242
242
  version: '2.0'
243
- - !ruby/object:Gem::Dependency
244
- name: pry-byebug
245
- requirement: !ruby/object:Gem::Requirement
246
- requirements:
247
- - - "~>"
248
- - !ruby/object:Gem::Version
249
- version: '3.4'
250
- type: :development
251
- prerelease: false
252
- version_requirements: !ruby/object:Gem::Requirement
253
- requirements:
254
- - - "~>"
255
- - !ruby/object:Gem::Version
256
- version: '3.4'
257
243
  - !ruby/object:Gem::Dependency
258
244
  name: rspec
259
245
  requirement: !ruby/object:Gem::Requirement
@@ -754,4 +740,3 @@ test_files:
754
740
  - spec/support/timeout.rb
755
741
  - spec/support/usage_test.rb
756
742
  - spec/usage_test_spec.rb
757
- has_rdoc: true