nishisuke_array 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: a8b88b52c0c8511c4e852b86b87742b7fe9aab5abb776340a4c8100caa7ca245
4
- data.tar.gz: df06ad6da40d7b8734303d9dc6b71c981fa8e29bc9631d1e6b8f0d16b7c57e44
3
+ metadata.gz: cf1f0e391711badf728933b3d3f3678408a7b1b7c07ddabbfec4fb8df442e513
4
+ data.tar.gz: c330066b982c9710749bfab92e256bca60ce2e005ecec447cfac850165acf3fd
5
5
  SHA512:
6
- metadata.gz: 6fec9c022c13cc049b2dacb5307d4fdae255270a3868d035031f18a64c586e9ab46db462a55d36f66f948e65589cbc2f820a28ffaf34b5d755266a298f304e32
7
- data.tar.gz: e2e8253261bc39b240c271652c2b619ab11057296d7602e765762cf3454f8fc02997c5708040b7c6707b2fce3a3e85728c489364d186ffff84e8494e687ffac3
6
+ metadata.gz: 62711888e5cf9d5f778873c2ecc5ff246687c98feeab7fe07781735f9fc77de3cdb41e69c9b31cab5751cf6abae192934230fe8d72853333a2caf3c7a2336684
7
+ data.tar.gz: dee1e2604fe0e548a9526425ea27745fb4a53eb63f25180faa12547efb25735f9a1e31cdd0bf20d308981fff8a5254f4c5dee3da7e85ec38dd10d8240a9c596f
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # NishisukeArray
2
2
 
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/nishisuke_array`. 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
3
+ Ruby array extension, like NumPy of python
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,7 +20,15 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
23
+ class Hoge
24
+ using NishisukeArray
25
+
26
+ p [1, 2, 3].cumsum #=> [1, 3, 6]
27
+ end
28
+
29
+ ### extension methods
30
+
31
+ - cumsum, cumsum!
26
32
 
27
33
  ## Development
28
34
 
@@ -1,3 +1,3 @@
1
1
  module NishisukeArray
2
- VERSION = "0.1.0"
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nishisuke_array
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nishisuke