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 +4 -4
- data/README.md +4 -3
- data/lib/sum_strings/version.rb +1 -1
- data/sum_strings.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27857a25e18868f9c2662aa799faabceb1edb585
|
4
|
+
data.tar.gz: 01a0f12b425407ba3977df4bc13cbae614c8c287
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
|
data/lib/sum_strings/version.rb
CHANGED
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:
|
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.
|
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:
|
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: []
|