latias-string-commas 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/latias/string.rb +15 -8
  3. metadata +2 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27a0f1932f13671bdebfeaf7a2ceb1e61e6adb3d19b72045abbe63d410263ef6
4
- data.tar.gz: 5dac77ee3c1f0648efc5f61dc36e74fe52f3f517d8a4a79f940ba14d0323b713
3
+ metadata.gz: 9bfac8fbb274ea75048f62ba6c281a83b7e12639e73d28a8c81f3d65f37e3088
4
+ data.tar.gz: cd85688e0af1d4b6a3645dbf17505723864a300d0d2f030f1e7c72d4e3abb3ef
5
5
  SHA512:
6
- metadata.gz: cb920cd6c60bd0f1de606c795be11dbd3435051efb1ca6d3e1422a5e916de8567b84543ca3e769a4af028aee7754e6d32d8b54846f138b1ef6abf9f64b2d4df1
7
- data.tar.gz: badef41772a91193824d55fe76f46f2c3854b06ab0ba7bc345e789ad00b0c94bc001c1f21ecd571526d6f99c2504c61d819c2dca75b2f7903d30304f5adc1df2
6
+ metadata.gz: a27e8b280f4be53023f3b9e45c6e3f2cf9efb22d08a431e293b63b12ace2112bc1bdefc474f80b69c258851001c97e5f6a1be9e63c801112623e9f9e66a31432
7
+ data.tar.gz: a2e40f4abe066c302639abcdb57cad2dc9cf8c5f4cd449aa674d4e2674de3df7a06d49a3d23d6299132c7d42d45464f6097c6b04708648ab9c33b6346d858d36
@@ -1,11 +1,18 @@
1
- module Latias
2
- module String
3
- def add_commas(m_str)
4
- m_str.to_s.reverse.scan(/\d{3}|.+/).join(',').reverse
5
- rescue StandardError # optionally: `rescue Exception => ex`
6
- m_str
1
+ # module Latias
2
+ # module String
3
+ # def add_commas(m_str)
4
+ # m_str.to_s.reverse.scan(/\d{3}|.+/).join(',').reverse
5
+ # rescue StandardError # optionally: `rescue Exception => ex`
6
+ # m_str
7
+ # end
8
+ # end
9
+ # end
10
+
11
+ # extend Latias::String
12
+ module AwesomeGem
13
+ class WhoIs
14
+ def self.awesome?
15
+ puts 'YOU ARE AWESOME!!'
7
16
  end
8
17
  end
9
18
  end
10
-
11
- extend Latias::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: latias-string-commas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - nattanon
@@ -21,8 +21,7 @@ files:
21
21
  homepage: https://gitlab.opensource-technology.com/nattanon/latias-string-commas
22
22
  licenses:
23
23
  - MIT
24
- metadata:
25
- source_code_uri: https://gitlab.opensource-technology.com/nattanon/latias-string-commas
24
+ metadata: {}
26
25
  post_install_message:
27
26
  rdoc_options: []
28
27
  require_paths: