hello_mako 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +47 -22
- data/lib/hello_mako.rb +1 -1
- data/lib/hello_mako/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e43c7f394ca2706a99c388b93221dffb1c02b61dd463973a8f291151136cd2c6
|
4
|
+
data.tar.gz: f2c3814f006537fc43574d34b4335e414274bd00c2d3e5135d33e6183b64fb7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45216225c2177463c76313c48a2437d987342f859fcc8e45df4bd85a5cc227e1ab8160956b30c8e440b546f044d4419826ad44b739afb6ae655bce9544cdb851
|
7
|
+
data.tar.gz: dc53caefdcf1ed8d31ddc0303dd7466adf8fc6346a610888ee85db2d7018c0cbf3226d2a6265e2562644bbcce870064e9e8b5ab197a9f352f329b02f708b5a23
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,43 +1,68 @@
|
|
1
|
-
#
|
1
|
+
# hola mako
|
2
2
|
|
3
|
-
|
3
|
+
My very first ruby gem.
|
4
4
|
|
5
|
-
|
5
|
+
## Description
|
6
6
|
|
7
|
-
|
7
|
+
An exercise on how to create a ruby gem and publish to [RubyGems](https://rubygems.org/).
|
8
|
+
This gem will also help me learn about `rails generate`.
|
8
9
|
|
9
|
-
|
10
|
+
This gem was creating using the command:
|
10
11
|
|
11
|
-
```
|
12
|
-
gem
|
12
|
+
```
|
13
|
+
$ bundle gem hello_mako
|
13
14
|
```
|
14
15
|
|
15
|
-
|
16
|
+
### Installing
|
16
17
|
|
17
|
-
|
18
|
+
Install gem
|
18
19
|
|
19
|
-
|
20
|
+
```
|
21
|
+
$ gem install hola_mako
|
22
|
+
```
|
20
23
|
|
21
|
-
|
24
|
+
### Updating the Gem
|
22
25
|
|
23
|
-
|
26
|
+
Clone repository
|
27
|
+
```
|
28
|
+
$ git clone https://github.com/mlsaito/hola_mako.git
|
29
|
+
```
|
24
30
|
|
25
|
-
|
31
|
+
Build and Test on Local
|
32
|
+
```
|
33
|
+
$ cd hola_mako
|
34
|
+
$ gem build hola_mako.gemspec
|
35
|
+
$ gem install ./hola_mako-0.0.0.gem
|
36
|
+
```
|
26
37
|
|
27
|
-
|
38
|
+
Test on IRB
|
39
|
+
```
|
40
|
+
$ irb
|
41
|
+
>> require 'hola_mako'
|
42
|
+
=> true
|
43
|
+
>> Hola.hi
|
44
|
+
Hello world!
|
45
|
+
```
|
28
46
|
|
29
|
-
|
47
|
+
Reference: [http://guides.rubygems.org/make-your-own-gem/](http://guides.rubygems.org/make-your-own-gem/)
|
30
48
|
|
31
|
-
|
49
|
+
### Deployment
|
32
50
|
|
33
|
-
|
51
|
+
Build the gem
|
34
52
|
|
35
|
-
|
53
|
+
```
|
54
|
+
$ gem build hola_mako.gemspec
|
55
|
+
```
|
36
56
|
|
37
|
-
|
57
|
+
Deploy to RubyGems
|
58
|
+
|
59
|
+
```
|
60
|
+
$ gem push hola_mako-0.0.0.gem
|
61
|
+
```
|
38
62
|
|
39
|
-
|
63
|
+
## Running the tests
|
40
64
|
|
41
|
-
## Code of Conduct
|
42
65
|
|
43
|
-
|
66
|
+
## License
|
67
|
+
|
68
|
+
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
|
data/lib/hello_mako.rb
CHANGED
data/lib/hello_mako/version.rb
CHANGED