blahblah 0.2 → 0.3
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 +4 -4
- data/README.md +13 -0
- data/blahblah.gemspec +1 -1
- data/lib/blahblah.rb +4 -0
- data/spec/blahblah_spec.rb +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb8d1a5fc4375020eb8b1041af778cd60d9f719c
|
4
|
+
data.tar.gz: 8be9c55ba7f6ce36abb987418a061c19525ee727
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 295187311bba008062fcdf7f4ab7558f11b801848e2857d6d350ef81934bd1da9e062cd030eb98c0975f3a50f4cd878f2ef862bdc8e9946223b2a2fcfe30511c
|
7
|
+
data.tar.gz: 7285c569963509032bf75a9a69fe64e69a67dd84e7cf167fd3baccf47b311553c74df96f1457748c12219d4cb98d756e79942ec2897cc1079a085a3a29b84b66
|
data/README.md
CHANGED
@@ -2,3 +2,16 @@ blahblah
|
|
2
2
|
========
|
3
3
|
|
4
4
|
Don't write 'test message', Use blahblah!
|
5
|
+
|
6
|
+
usage
|
7
|
+
-----
|
8
|
+
|
9
|
+
$ gem install blahblah
|
10
|
+
$ irb
|
11
|
+
irb(main):001:0> require 'blahblah'
|
12
|
+
=> true
|
13
|
+
irb(main):002:0> Blahblah.blah
|
14
|
+
=> "Pain past is pleasure."
|
15
|
+
irb(main):003:0> Blahblah.random
|
16
|
+
=> "We give advice, but we cannot give conduct."
|
17
|
+
irb(main):004:0>
|
data/blahblah.gemspec
CHANGED
data/lib/blahblah.rb
CHANGED
data/spec/blahblah_spec.rb
CHANGED
@@ -13,4 +13,12 @@ describe Blahblah do
|
|
13
13
|
it 'blah is same as random' do
|
14
14
|
assert Blahblah.blah
|
15
15
|
end
|
16
|
+
|
17
|
+
it 'Blahblah[1] always return same sentence' do
|
18
|
+
assert_equal Blahblah[1], Blahblah[1]
|
19
|
+
end
|
20
|
+
|
21
|
+
it 'Blahblah[100000] will return sentence' do
|
22
|
+
assert Blahblah[100000]
|
23
|
+
end
|
16
24
|
end
|