gibber 0.1.0 → 0.1.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 +1 -0
- data/lib/gibber/version.rb +1 -1
- data/lib/gibber.rb +1 -1
- data/test/tests.rb +5 -0
- 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: 353e2679a904621390600a086baae467bc0f8663
|
4
|
+
data.tar.gz: f52b571b90afa94507fff63c08927546623060f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c363fe6eece656de6e6f8f38439e4a73603171cacf49e1f25cc47117fec16bddae83d31806ee9cadb9d35084facd114d61c51f9a90bcfcb94447c558b1fa947
|
7
|
+
data.tar.gz: 12cf7b78d43de7bccafc2cba2a02fab24811f5f42fab77ee82db963eeacbd9f83c2ba6d438a54454f55d16f42308ee0df74a1a8ade97c9cdf7b36b318676a9d7
|
data/README.md
CHANGED
@@ -28,6 +28,7 @@ Or install it yourself as:
|
|
28
28
|
gibber = Gibber.new
|
29
29
|
gibber.replace("I have a passion for crooked bananas")
|
30
30
|
# => A arcu a fringilla nisi tempus venenatis (maybe)
|
31
|
+
# Roughly translates to 'From the bow, poisoned from the ecological, unless time'
|
31
32
|
```
|
32
33
|
|
33
34
|
Gibber preserves any non wordy characters to give your text that texty feel.
|
data/lib/gibber/version.rb
CHANGED
data/lib/gibber.rb
CHANGED
data/test/tests.rb
CHANGED
@@ -74,6 +74,11 @@ class TestGibber < MiniTest::Test
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
def test_finite_recursion
|
78
|
+
result = Gibber.new.replace("dskafjlsdknfasljdjfl\nkadsjflkassf23sdvcxcvaefegasdfczcvsafd329857239852jdlkfjasdlfjalksdjflkadjaf")
|
79
|
+
assert(result != nil)
|
80
|
+
end
|
81
|
+
|
77
82
|
def test_preserve_non_wordy_characters
|
78
83
|
sentence = 'I really like playing "God", but I am not a fan'
|
79
84
|
result = Gibber.new.replace(sentence)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gibber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timon Vonk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01
|
11
|
+
date: 2015-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|