finishing_moves 0.7 → 0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/finishing_moves/to_bool.rb +1 -1
- data/lib/finishing_moves/version.rb +1 -1
- data/spec/object_spec.rb +8 -8
- data/spec/symbol_spec.rb +0 -1
- data/spec/to_bool_spec.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: 663ea844d4ce703ad30d1b688a8db8bec1a14f1f
|
4
|
+
data.tar.gz: c04a4507343e7386f3c151c3a38771200ef125e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13fa03324b6935da4d7050cc617508950f41a7df961c61612aa98cf78362d8c5bbd295b2c5e1e08ee4622379c1f1e69f6f5f144a730b1f4a0ad43c421e993ff9
|
7
|
+
data.tar.gz: b9fc9b0b62ac7857f5007715cae814a7f6f03f2f492a25286e7a5d2d23993228b2e6f4dfe6417a981919bfb45eac2a9a6641490a00dbe8023f9ae4082810108c
|
data/README.md
CHANGED
@@ -47,9 +47,10 @@ Tested against **`2.0.0` and above**. Probably works in `1.9.3`.
|
|
47
47
|
- [`Object#same_as`](https://github.com/forgecrafted/finishing_moves/wiki/Object#objectsame_as)
|
48
48
|
- [`Object#not_nil?`](https://github.com/forgecrafted/finishing_moves/wiki/Object#objectnot_nil)
|
49
49
|
- [`Object#is_an?`](https://github.com/forgecrafted/finishing_moves/wiki/Object#objectis_an)
|
50
|
+
- [`Object#is_not_a?`](https://github.com/forgecrafted/finishing_moves/wiki/Object#objectis_not_a)
|
50
51
|
- [`String#dedupe`](https://github.com/forgecrafted/finishing_moves/wiki/String#stringdedupe)
|
51
52
|
- [`String#keyify`](https://github.com/forgecrafted/finishing_moves/wiki/String#stringkeyify)
|
52
|
-
- [`String#slugify`](https://github.com/forgecrafted/finishing_moves/wiki/String#stringslugify)
|
53
|
+
- [`String#slugify`](https://github.com/forgecrafted/finishing_moves/wiki/String#stringslugify)
|
53
54
|
- [`String#match?`](https://github.com/forgecrafted/finishing_moves/wiki/String#stringmatch)
|
54
55
|
- [`String#nl2br`](https://github.com/forgecrafted/finishing_moves/wiki/String#stringnl2br)
|
55
56
|
- [`String#remove_whitespace`](https://github.com/forgecrafted/finishing_moves/wiki/String#stringremove_whitespace)
|
data/spec/object_spec.rb
CHANGED
@@ -24,17 +24,17 @@ describe Object do
|
|
24
24
|
end
|
25
25
|
|
26
26
|
it "#is_an?" do
|
27
|
-
a =
|
28
|
-
expect(a.is_an?(Array)).to
|
29
|
-
expect(a.is_an?(Hash)).to
|
27
|
+
a = [1,2,3]
|
28
|
+
expect(a.is_an?(Array)).to eq true
|
29
|
+
expect(a.is_an?(Hash)).to eq false
|
30
30
|
end
|
31
31
|
|
32
32
|
it "#is_not_a?" do
|
33
|
-
a =
|
34
|
-
expect(a.is_not_a?(Array)).to
|
35
|
-
expect(a.is_not_a?(Hash)).to
|
36
|
-
expect(a.is_not_an?(Array)).to
|
37
|
-
expect(a.is_not_an?(Hash)).to
|
33
|
+
a = [1,2,3]
|
34
|
+
expect(a.is_not_a?(Array)).to eq false
|
35
|
+
expect(a.is_not_a?(Hash)).to eq true
|
36
|
+
expect(a.is_not_an?(Array)).to eq false
|
37
|
+
expect(a.is_not_an?(Hash)).to eq true
|
38
38
|
end
|
39
39
|
|
40
40
|
end
|
data/spec/symbol_spec.rb
CHANGED
data/spec/to_bool_spec.rb
CHANGED
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
|
+
version: '0.8'
|
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: 2016-
|
12
|
+
date: 2016-03-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rb-readline
|