finishing_moves 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -6
- data/lib/finishing_moves/array.rb +0 -1
- data/lib/finishing_moves/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddfa53a9f4220a6334ab8949533d87d4a63e52f4
|
4
|
+
data.tar.gz: fac82ddd74402c7e607dc8a53cf83141df008ae3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccae2fc1ca05fc5f4d25fe46fbd0b642b69a78fe47fdafbc69f0ba4180b9b86599bfc3db11bed729e4c1649ee41c834f2e2fa4f5041aeb6850d7ac85e87090a4
|
7
|
+
data.tar.gz: d35ce701e2729cd3ed48c2c93399bfd035db523b3ffb5d199f8c2ae9994a7b63beb98553a373216f29dc07a62bda91e35d0015cec9572abad6bfbe5bbe9ac976
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Finishing Moves
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/finishing_moves.svg)](http://badge.fury.io/rb/finishing_moves)
|
3
3
|
[![Build Status](https://travis-ci.org/forgecrafted/finishing_moves.svg?branch=master)](https://travis-ci.org/forgecrafted/finishing_moves.svg?branch=master)
|
4
|
-
[![Hire Us!](https://img.shields.io/badge/
|
4
|
+
[![Hire Us!](https://img.shields.io/badge/pros-for%20hire-F7931E.svg)](http://www.forgecrafted.com)
|
5
5
|
|
6
6
|
Ruby includes a huge amount of default awesomeness that tackles most common development challenges. But every now and then, you find yourself in a situation where an **elaborate-yet-precise** coding maneuver wins the day. Finishing Moves is a collection of methods designed to assist in those just-typical-enough-to-be-annoying scenarios.
|
7
7
|
|
@@ -18,24 +18,26 @@ Command line
|
|
18
18
|
```
|
19
19
|
gem install 'finishing_moves'
|
20
20
|
```
|
21
|
+
[Here's the gem link](https://rubygems.org/gems/finishing_moves), if you like looking at that stuff.
|
21
22
|
|
22
23
|
### Ruby Version
|
23
24
|
|
24
25
|
Tested against **`2.0.0` and above**. Probably works in `1.9.3`.
|
25
26
|
|
26
27
|
## List of Methods
|
27
|
-
##### (all documented in the [GitHub wiki](https://github.com/forgecrafted/finishing_moves/wiki))
|
28
28
|
|
29
|
-
|
29
|
+
**Not sure if this gem is for you?** Check out the methods marked with a :boom: first.
|
30
|
+
|
31
|
+
- [`Array#to_hash_values`](https://github.com/forgecrafted/finishing_moves/wiki/Array#arrayto_hash_values) :boom:
|
30
32
|
- [`Array#to_indexed_hash`](https://github.com/forgecrafted/finishing_moves/wiki/Array#arrayto_indexed_hash)
|
31
33
|
- [`Array#to_hash_keys`](https://github.com/forgecrafted/finishing_moves/wiki/Array#arrayto_hash_keys)
|
32
|
-
- [`Enumerable#key_map`](https://github.com/forgecrafted/finishing_moves/wiki/Enumerable#enumerablekey_map)
|
34
|
+
- [`Enumerable#key_map`](https://github.com/forgecrafted/finishing_moves/wiki/Enumerable#enumerablekey_map) :boom:
|
33
35
|
- [`Enumerable#key_map_reduce`](https://github.com/forgecrafted/finishing_moves/wiki/Enumerable#enumerablekey_map_reduce)
|
34
36
|
- [`Hash#delete!`](https://github.com/forgecrafted/finishing_moves/wiki/Hash#hashdelete)
|
35
37
|
- [`Hash#delete_each`](https://github.com/forgecrafted/finishing_moves/wiki/Hash#hashdelete_each)
|
36
38
|
- [`Hash#delete_each!`](https://github.com/forgecrafted/finishing_moves/wiki/Hash#hashdelete_each-1)
|
37
39
|
- [`Integer#length`](https://github.com/forgecrafted/finishing_moves/wiki/Integer#integerlength)
|
38
|
-
- [`Kernel#nil_chain`](https://github.com/forgecrafted/finishing_moves/wiki/Kernel#kernelnil_chain)
|
40
|
+
- [`Kernel#nil_chain`](https://github.com/forgecrafted/finishing_moves/wiki/Kernel#kernelnil_chain) :boom:
|
39
41
|
- [`Kernel#cascade`](https://github.com/forgecrafted/finishing_moves/wiki/Kernel#kernelcascade)
|
40
42
|
- [`Kernel#class_exists?`](https://github.com/forgecrafted/finishing_moves/wiki/Kernel#kernelclass_exists)
|
41
43
|
- [`Object#same_as`](https://github.com/forgecrafted/finishing_moves/wiki/Object#objectsame_as)
|
@@ -46,9 +48,11 @@ Tested against **`2.0.0` and above**. Probably works in `1.9.3`.
|
|
46
48
|
- [`String#match?`](https://github.com/forgecrafted/finishing_moves/wiki/String#stringmatch)
|
47
49
|
- [`String#nl2br`](https://github.com/forgecrafted/finishing_moves/wiki/String#stringnl2br)
|
48
50
|
- [`String#remove_whitespace`](https://github.com/forgecrafted/finishing_moves/wiki/String#stringremove_whitespace)
|
49
|
-
- [`String#strip_all`](https://github.com/forgecrafted/finishing_moves/wiki/String#stringstrip_all)
|
51
|
+
- [`String#strip_all`](https://github.com/forgecrafted/finishing_moves/wiki/String#stringstrip_all) :boom:
|
50
52
|
- [Boolean Typecasting](https://github.com/forgecrafted/finishing_moves/wiki/Boolean-Typecasting)
|
51
53
|
|
54
|
+
###### Complete documentation can be found in the [GitHub wiki](https://github.com/forgecrafted/finishing_moves/wiki)
|
55
|
+
|
52
56
|
## Development approach
|
53
57
|
|
54
58
|
- **Never** override default Ruby behavior, only add functionality.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: finishing_moves
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Koehl
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rb-readline
|