finest-builder 0.0.4 → 0.0.5

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: 6b0f3df268427f9e1a393a8caf84442dd9c928e6355fe6bcd8c6057e43dd35e6
4
- data.tar.gz: 45f85f5fe8938a51e58178032c2d0bc7f1ab1a02e0133370fe3ff3439bc420f1
3
+ metadata.gz: 2136b6f27d34551ee3104dc5d8a33d91ba2d8987a34fc702fc3e0a4d58f2647a
4
+ data.tar.gz: 0c83bd8e15c4583d19e5dddd070f65705b6f799bac2e10bb90db13596211e495
5
5
  SHA512:
6
- metadata.gz: 6598c52de94933ebcfecc67db8796ff957fc93e8c380f7355d3d0e7dfa441235993908211510aba32af0ec8d4fe504e095050b59fca0f0340779c193209bb1b5
7
- data.tar.gz: c6d48a2efc27b554c04bd282c45a54f113399669d2765b72212b64913db9f5efa47e1cf721849689dd0bfd1223cbe91be891de10bd8c2364d05795cf441e1ac0
6
+ metadata.gz: 9a5d9885b9f3669d14ddf8e30a2d81c68f890db213d2dc15783108b9dae5c553724207de5ed4734f33d32366bc499e785c647ea6ff93df05b16616304f445f23
7
+ data.tar.gz: 01c405f3ee506d4f2b11436c9c08dd9c1300005d0345f87e896e31a31c92447186515ffe8cc3f7418a6ad21b4ead8380d91c6c59d706b1a008b917f2634ee996
@@ -2,7 +2,7 @@ require "finest/builder/version"
2
2
 
3
3
  class String
4
4
  def snake_case
5
- length > 2 ? gsub(/(\w)[A-Z]/) { |e| "#{e[0]}_#{e[1].downcase}" }.downcase : downcase
5
+ length > 7 ? gsub(/(\w[A-Z])/) { |e| "#{e[0]}_#{e[1].downcase}" }.downcase : downcase
6
6
  end
7
7
  end
8
8
 
@@ -1,5 +1,5 @@
1
1
  module Finest
2
2
  module Builder
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finest-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduard Garcia Castello