array_op_custom 0.1.6 → 0.1.7

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: 1f59e3cc47a40c3fa6d9c83a846cf59fcef08721d7526dc4d84b57091a7b1b6b
4
- data.tar.gz: 5085aed34736ae893c2f92fe4c1a65d13052ccc4c9ec75350d25965e0833bb29
3
+ metadata.gz: 32014c62cf164c033eb5d8cecffdc38fb8156e7628fe70272c5cbded88fc7fed
4
+ data.tar.gz: 0d7f41f3de324c5a7c72e2adaa5c8bb2057c7b8a2c01a06118b955c0c7f90593
5
5
  SHA512:
6
- metadata.gz: 20210e3b1ebb981780f760d3c664a1cdd887e4d8df0b4b433dd172410d54f6044308bd26e9170b9cca5740929f28fc3bde9441f6e6bb9134997f3549f5b8d205
7
- data.tar.gz: fe8944f236f6cb593c561428ae8b844a9ea99f3c6371751e754659eecca87df14d536d4ca1af954353fc6f1250055f816e3bc2dd15effea8a35677bff015af00
6
+ metadata.gz: 495a34f0327e0684598f25cfed72701eb057651530aca3d451ef4b75eb5d1a49f0df0af3546bae95f16df96334bae9ec94e75f1997f30f087cec0c1469b27988
7
+ data.tar.gz: ae0920b11648bfd1a142ad0c114c273d8494cf2e484ba0b6ef0ddde47b5fb077bae2307e68ff0c22d3f683fa5f521e073c57d7082365c6e98c934fa5a102f2ab
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- array_op_custom (0.1.6)
4
+ array_op_custom (0.1.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # ArrayOpCustom
2
2
 
3
3
  This gem is change operator operation about Array.
4
- And add method to_s, to_i, to_h, and sum.
4
+ And add method to_s, to_i and to_h.
5
5
 
6
6
  ## Installation
7
7
 
@@ -52,9 +52,6 @@ require 'array_op_custom'
52
52
  [1, 2, 3].to_s
53
53
  #=> ["1", "2", "3"]
54
54
 
55
- [1, 2, 3, 4, 5, 6, 7, 8, 9, 10].sum
56
- #=> 55
57
-
58
55
  ["1", "2", "3"].to_i
59
56
  #=> [1, 2, 3]
60
57
 
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  Custom array's operator
14
14
  "+", "-" and "*".
15
15
  add method
16
- to_s, to_i, to_h, sum.
16
+ to_s, to_i, to_h
17
17
  DESC
18
18
  spec.homepage = "https://github.com/k-kyg/ruby_array_op_custom"
19
19
  spec.license = "MIT"
@@ -55,7 +55,4 @@ class Array
55
55
  end
56
56
  return h
57
57
  end
58
- def sum
59
- self.reduce{|a, b| a + b}
60
- end
61
58
  end
@@ -1,3 +1,3 @@
1
1
  module ArrayOpCustom
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: array_op_custom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - k-kyg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-17 00:00:00.000000000 Z
11
+ date: 2019-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -56,7 +56,7 @@ description: |
56
56
  Custom array's operator
57
57
  "+", "-" and "*".
58
58
  add method
59
- to_s, to_i, to_h, sum.
59
+ to_s, to_i, to_h
60
60
  email:
61
61
  - ''
62
62
  executables: []