Untoutiyaumahe 0.0.3 → 0.0.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/Untoutiyaumahe.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d2e4be4a12f642c46b58ca3cda24aaf7923f7dc
4
- data.tar.gz: f564239f06e5e4fc9baf2e4321dac549e6b171b4
3
+ metadata.gz: 9e7bd8e891aee99d3fa0fc66cab13c66933447c8
4
+ data.tar.gz: 88e060982acb6c86d11033a22894a5e29b1910e0
5
5
  SHA512:
6
- metadata.gz: 517645b48cf28d396cb093f0de9ee3a7113a57fb7fc59ee34674beeeaa9bf152eb13022220fbb1f66f833f1b288823e3d728a82bb695ebb48df6db55ddb7b2be
7
- data.tar.gz: 78863c23fd2920ff2528d118241b850eaa1e637f7d31d0ffbb962213916224a4bee0c0a622252e0105be89a12a65ae73abb4e4647e3a0f482c2b48253dc10919
6
+ metadata.gz: e559b9770ac31f3e261129cccdd87cb38000f99479b02df4068fe65c8c40c58e78ed61f4f9d0037342813450021bfc4acb5d23ce320900facb63dbcca8174b18
7
+ data.tar.gz: a154b5072a772ad888a3e4da66e509c7af8a72aad54d24252ba2cf84898af989270773381f209c83e48cda50396a514dbdbbf0cfb1a1a4e85ce5277e1f2c24c6
@@ -28,6 +28,6 @@ class Untoutiyaumahe
28
28
  toukentai = untoutiyaumahe[0]
29
29
  hisiri = untoutiyaumahe[1]
30
30
 
31
- num = array.take(toukentai).inject(:+) + hisiri
31
+ num = array.take(toukentai).to_i.inject(:+) + hisiri
32
32
  end
33
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Untoutiyaumahe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ieremius Inoue Daisuke