minimum_viable_product 0.4.3 → 0.4.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: 1dfbddca5c9ad54d75f69a28686d0643b7e4ba42
4
- data.tar.gz: d8d6820cc94a4bf830e0f7da407a33f1be56b8b2
3
+ metadata.gz: cf30e12a316ec935722d1830bf5f3363075f01e7
4
+ data.tar.gz: 672a655dae60b3e8e840f570fd39056b1cc14129
5
5
  SHA512:
6
- metadata.gz: c2fcfdea466893a8b733c0a79443bd5ea0684d32dfd213ac28e4ddba71dbfd0b7069b285da1544195d2d92be80572604fbe322b19e4ad5362c08b0b28c80b553
7
- data.tar.gz: d063b421ebb3915ef6548608774871ff2515d71462a764147c1b443c8ee86c0858708bd5a772890a3aa3daf1a1e6474df32d344fbc8c89f63f2439e2b3bc73cd
6
+ metadata.gz: 524f02b36e70fd7015adfa5106f6d70095be9d23a675d52032a59315edaded6e645a5a822f1936a9a1706ff8c3cc531cbd934adf594ba5f7d125bba3cef94cba
7
+ data.tar.gz: 0511260e3f6847b8f989a91b6dbf5965343d003dc68135b1c99a263f83648f9c6cbef4acabf6f10eba12a6f37bfc719a774d46a659a8d322029d903ddcab8ceb
@@ -15,7 +15,9 @@ module MinimumViableProduct
15
15
  private
16
16
 
17
17
  def slugify(str)
18
- str.gsub(/[^a-zA-Z0-9]+/,'-').downcase
18
+ str.gsub(/[^a-zA-Z0-9]+/,'-')
19
+ .gsub(/^[-]+|[-]+$/,'')
20
+ .downcase
19
21
  end
20
22
  end
21
23
  end
@@ -1,3 +1,3 @@
1
1
  module MinimumViableProduct
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimum_viable_product
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Hunter