tarai 0.2 → 0.3

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/ext/tarai.c +4 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 078d10ed79acde832edad71996015df2cf7e9894
4
- data.tar.gz: d088134a4972fe178a956b5ff30d30509531231e
3
+ metadata.gz: 1ba30788be67c623a38bbadbd0b4d5e9df7c3f5f
4
+ data.tar.gz: d69a7b85636871e144abf4bcf27c8028427b21fe
5
5
  SHA512:
6
- metadata.gz: fd83ca9b7bb95d7fc08f2f4241655fc13d687f59777f59b7ecc1af1b8f478fd01fd27949349f7111be1a817aa2a7766f7bfa1d6aaed15306e3f19a92d255783a
7
- data.tar.gz: e39d7d1c809fc970efb37aea7d8ab488fc7d7a5f32824ddd45b06972006953041ff8f5426c77b10e77bd0cbb90c5c345df26c9302de5db63692586a9a4702aed
6
+ metadata.gz: 5c70ae30d293caa5640a7e975a63972028ac7dde80cb55c0c9771221e05cab976bb562e92bf6bf0181a09974b3ead526f6e9048d91ac166dbbed1140947233a4
7
+ data.tar.gz: ae3174b531af8a464df7d38c43ae99bb0b2c37275a76f79f1115c22cbc91306d1911391a3157b3311abbbc8afaf74fe4bc87a9fd66ba6c5a4465d33e2d2ad930
@@ -42,6 +42,10 @@ tarai(long x, long y, long z)
42
42
  * tarai(x,y,z) => integer
43
43
  *
44
44
  * computes the tarai function in recursive (naive) manner.
45
+ *
46
+ * p tarai(12, 6, 0)
47
+ * #=> 12
48
+ *
45
49
  */
46
50
 
47
51
  static VALUE
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tarai
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanaka Akira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-05 00:00:00.000000000 Z
11
+ date: 2015-01-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  tarai provides the tarai function.
@@ -34,7 +34,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
34
34
  requirements:
35
35
  - - ">="
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: 1.8.0
38
38
  required_rubygems_version: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - ">="