array_op_custom 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +18 -23
- data/lib/array_op_custom/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9832901428c79dcc273234e400297439cab76c23d2073dd6771015d0c366817
|
4
|
+
data.tar.gz: 3c3ec600a924b0274eb3101492cd7e3a6a0f2be0e0b574bdc21e21b70873dd07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf4b3980f846cc0a65032053daa9a3dfd2b61c0674f5dd4c5c4b9941c8cc59c123369e19a00d6794e1879584db7afd77f5f61d02b2edcef68ffa551557502e53
|
7
|
+
data.tar.gz: be029eec0a0e945c5e3838638262511df2decd1ccd6b8839cf01cb2c7802b0b516dce9131a4a8a0be585a42c26682f821bc03114ffd89cc6b9b1bd3e6b557740
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
# ArrayOpCustom
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
This gem is change operator operation about Array.
|
4
|
+
And add method to_s, to_i, to_h, and sum.
|
6
5
|
|
7
6
|
## Installation
|
8
7
|
|
@@ -21,27 +20,11 @@ Or install it yourself as:
|
|
21
20
|
$ gem install array_op_custom
|
22
21
|
|
23
22
|
## Usage
|
24
|
-
|
25
|
-
TODO: Write usage instructions here
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/k-kyg/array_op_custom.
|
36
|
-
|
37
|
-
## License
|
38
|
-
|
39
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
40
|
-
|
41
|
-
## Sample
|
42
23
|
```ruby
|
43
24
|
require 'array_op_custom'
|
44
|
-
|
25
|
+
```
|
26
|
+
### Sample
|
27
|
+
```ruby
|
45
28
|
[1, 2, 3] + [4, 5, 6]
|
46
29
|
#=> [5, 7, 9]
|
47
30
|
|
@@ -77,5 +60,17 @@ require 'array_op_custom'
|
|
77
60
|
|
78
61
|
[1, 2, 3].to_h
|
79
62
|
#=> {:"0"=>1, :"1"=>2, :"2"=>3}
|
80
|
-
|
81
63
|
```
|
64
|
+
## Development
|
65
|
+
|
66
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
67
|
+
|
68
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
69
|
+
|
70
|
+
## Contributing
|
71
|
+
|
72
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/k-kyg/array_op_custom.
|
73
|
+
|
74
|
+
## License
|
75
|
+
|
76
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
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.
|
4
|
+
version: 0.1.4
|
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-
|
11
|
+
date: 2019-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|