capitalize 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/capitalize.gemspec +1 -1
- data/lib/capitalize/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08c08bf0fda35cf67d4b1bf61c56015761febd03
|
4
|
+
data.tar.gz: 47bb10fee92820e998c9b50feed0fa2add39cc34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 241c8969fdabf301eb67bd24591580e14bb97734ef00f62661d99da081767d6b03cb7ae8b3e90e0a446c999e91dad1afc01dffe6443bd345e34aff3df06cf0db
|
7
|
+
data.tar.gz: a7dfae3ca1b0de37bb23f72d55a345a22061306f780b8f2c9dfb611835f0bf8e7dc515abba22e4427573a507cf628112b1ecd4da747c478b68d29aa148f57a23
|
data/README.md
CHANGED
@@ -24,11 +24,13 @@ In the controller or module where you need to print a capital city, simply requi
|
|
24
24
|
|
25
25
|
e.g.
|
26
26
|
|
27
|
-
|
27
|
+
|
28
|
+
```
|
29
|
+
require 'capitalize'
|
28
30
|
|
29
31
|
class GameController < ApplicationController
|
30
32
|
end
|
31
|
-
|
33
|
+
|
32
34
|
Then to capitalize a given country e.g. Ghana, run:
|
33
35
|
|
34
36
|
```my_capital = Capitalize.new.capitalize("Ghana")```
|
data/capitalize.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Ten Mutunhire"]
|
10
10
|
spec.email = ["tmutunhire@gmail.com"]
|
11
11
|
spec.summary = %q{Gem to give the capital of a specified nation}
|
12
|
-
spec.description = %q{First, require Capitalize. Then call like this: my_capital = Capitalize
|
12
|
+
spec.description = %q{https://github.com/tranc99/capitalize-gem First, require Capitalize. Then call like this: my_capital = Capitalize.new.capitalize("Ghana") , for instance}
|
13
13
|
spec.homepage = ""
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
data/lib/capitalize/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capitalize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ten Mutunhire
|
@@ -52,8 +52,8 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description: 'First, require Capitalize.
|
56
|
-
, for instance'
|
55
|
+
description: 'https://github.com/tranc99/capitalize-gem First, require Capitalize.
|
56
|
+
Then call like this: my_capital = Capitalize.new.capitalize("Ghana") , for instance'
|
57
57
|
email:
|
58
58
|
- tmutunhire@gmail.com
|
59
59
|
executables: []
|