coolify_gem 0.0.1 → 0.1.0
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 -3
- data/bin/cool +4 -0
- data/lib/coolify_gem/coolify.rb +11 -0
- data/lib/coolify_gem/version.rb +1 -1
- data/lib/coolify_gem.rb +7 -3
- data/test/coolify_gem_test.rb +13 -1
- metadata +6 -4
- data/lib/coolify_gem/string.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d223b1eb84eb8a10438c3094359d8b8f65bcc03
|
4
|
+
data.tar.gz: 8c76d053cc34a4d8c020bf18c339e4bcb7fc4c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e91283a770753cc847a844fee7e675c5afff37add36319a5ff9f2fa1646f8fe0de371eb7f0688ab88caaeecbe6e719065577658a016a5b6a30a8a22a67f05e98
|
7
|
+
data.tar.gz: d531690feb195379ca4971839a04bdf015e18da95f3e7e4300f126c2ad2e61bb7e7a0ba3be296352808216916f7f9aecd8d0db10c295c9cbe12f1ae10dfe30ae
|
data/README.md
CHANGED
@@ -20,9 +20,7 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
CoolifyGem will only work with strings. To use the gem, call the coolify method on a string in the following way:
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
Output: "This string is an example"
|
23
|
+
"Thiz iz my firzt gem called Coolify!" , "This is my first gem called Coolify!".coolify
|
26
24
|
|
27
25
|
## Contributing
|
28
26
|
|
data/bin/cool
ADDED
data/lib/coolify_gem/version.rb
CHANGED
data/lib/coolify_gem.rb
CHANGED
data/test/coolify_gem_test.rb
CHANGED
@@ -1,7 +1,19 @@
|
|
1
1
|
require "test_helper"
|
2
2
|
|
3
3
|
class CoolifyTest < Test::Unit::TestCase
|
4
|
+
def test_blank
|
5
|
+
assert_equal "", Cool.coolify("")
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_hi
|
9
|
+
assert_equal "hi", Cool.coolify("hi")
|
10
|
+
end
|
11
|
+
|
12
|
+
def test_switch_characters
|
13
|
+
assert_equal "z", Cool.coolify("s")
|
14
|
+
end
|
15
|
+
|
4
16
|
def test_coolify
|
5
|
-
assert_equal "Thiz iz my firzt gem called Coolify!" , "This is my first gem called Coolify!"
|
17
|
+
assert_equal "Thiz iz my firzt gem called Coolify!" , Cool.coolify("This is my first gem called Coolify!")
|
6
18
|
end
|
7
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coolify_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Zaragoza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -41,7 +41,8 @@ dependencies:
|
|
41
41
|
description: This gem was created thanks to a YouTube tutorial by user Lasse Bunk.
|
42
42
|
email:
|
43
43
|
- Carlos.Marx421@gmail.com
|
44
|
-
executables:
|
44
|
+
executables:
|
45
|
+
- cool
|
45
46
|
extensions: []
|
46
47
|
extra_rdoc_files: []
|
47
48
|
files:
|
@@ -50,9 +51,10 @@ files:
|
|
50
51
|
- LICENSE.txt
|
51
52
|
- README.md
|
52
53
|
- Rakefile
|
54
|
+
- bin/cool
|
53
55
|
- coolify_gem.gemspec
|
54
56
|
- lib/coolify_gem.rb
|
55
|
-
- lib/coolify_gem/
|
57
|
+
- lib/coolify_gem/coolify.rb
|
56
58
|
- lib/coolify_gem/version.rb
|
57
59
|
- test/coolify_gem_test.rb
|
58
60
|
- test/test_helper.rb
|