sum_strings 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 435e019d9c2a764bb8c40da674f9f3ed5cc3661d
4
- data.tar.gz: 83f7be2a0bbf9705af6a0279366cc42774827320
3
+ metadata.gz: 27857a25e18868f9c2662aa799faabceb1edb585
4
+ data.tar.gz: 01a0f12b425407ba3977df4bc13cbae614c8c287
5
5
  SHA512:
6
- metadata.gz: be156e19cb51d7bd7423882517045b78e77ef14b8d40b90b4a0c27b9c3952b2fa816c42f75bcd94a222fe1194e168a17caeb87b5b8d3f05ce6a7d5c0d8d31f10
7
- data.tar.gz: 38ae6eec85be7ec9fa110fd76ff6afd688ea7d7d2927acd1394b566ca837730d05d99cf7bb1fa5a8bdf8d87371f92b411788a129de25cdced94e9f154f22dd23
6
+ metadata.gz: 8ece9e966f642cb48dca0e85f8baa6b87d0c0c3290eba5bab672a2fd9c0395c13517f0d53f82e3d8790b891b20cc48c2a91baa66c14a0fcf0f9eb15733117043
7
+ data.tar.gz: 46719cadaafc5592b9c00058e7566e2a0b57acfba1edd0eaddc55ad3d0e0a31b99f5806147be36a6532bef9298b12f2791d9b3523ae9eaedb083cdc4e3b51a5e
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # SumStrings
2
+
3
+ Simple gem which allows you to sum array of strings values. Primary ment for summing array of hours in format `["20:25","10:10"].strings_to_sum(':')`.
4
+ Which will result in a string `30:35`.
2
5
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/sum_strings`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
6
+ Code solution used by sample provided on stackoverflow by Cary Swoveland, thanks.
6
7
 
7
8
  ## Installation
8
9
 
@@ -1,3 +1,3 @@
1
1
  module SumStrings
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/sum_strings.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["nezir.zahirovic@gmail.com"]
11
11
 
12
12
  spec.summary = %q{Gem for summing string values from arrays.}
13
- spec.description = %q{With this gem you are able to sum array of strings values. Primary ment for summing array of hours in format ["20:20","10:10"].strings_to_sum(':'). }
13
+ spec.description = %q{With this gem you are able to sum array of strings values. Primary ment for summing array of hours in format ["20:25","10:10"].strings_to_sum(':') which will result as "30:35" hours/minutes. }
14
14
  spec.homepage = "https://github.com/nezirz/sum_strings"
15
15
  spec.license = "MIT"
16
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sum_strings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nezir
@@ -39,7 +39,8 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  description: 'With this gem you are able to sum array of strings values. Primary ment
42
- for summing array of hours in format ["20:20","10:10"].strings_to_sum('':''). '
42
+ for summing array of hours in format ["20:25","10:10"].strings_to_sum('':'') which
43
+ will result as "30:35" hours/minutes. '
43
44
  email:
44
45
  - nezir.zahirovic@gmail.com
45
46
  executables: []