rgentpl 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/ChangeLog.md +6 -0
- data/README.md +51 -7
- data/ShortLog +5 -1
- data/lib/rgentpl/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDRmMGRmZWNmMDhhZGIyYTgxNzM0MjA3N2YzZWM3NDJjYTQ1ZGFhMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjVmNjQ0YmIxYTgwMTkwOTAwN2I1YzhiN2M5MTYxOTg2YmYzZmNiZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MGUwNmY0ZmJmMzAwNmQzMzg3ZmUwYmUxMDIwNjMwNjQzMWM2ZDVkNGUxNDhk
|
10
|
+
NzhiMGQ4NGViMGUyZmFiNDEzMmE2YTk3Y2VmYjQ2Y2FmOGIxNWVmNTZjMDQx
|
11
|
+
ODcxODMwYmE0MGY4YmU4YTgyOTg2MGU2ZTg4MzE3YmZmYjgyNjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Yjg5NzRkZThjNmVkZjU4Y2E2MWRmY2RjOWUxYTlmM2ZhYjAyOTQ2MTlkZDdk
|
14
|
+
NmZhZTllOTE1OTJiMjQ3NzMzOTNjZTM2NmRkYzg5OTEyNzUxZmQyZGQ4Nzk4
|
15
|
+
NjdkMWVmNzZlNTU4ZmIxYWE4MmQzY2Q2MDQxZDI0YTk0ZTRkNjE=
|
data/ChangeLog.md
CHANGED
data/README.md
CHANGED
@@ -3,9 +3,13 @@ Introduction
|
|
3
3
|
|
4
4
|
**rgentpl** is a Ruby library to generate a custom skeleton app.
|
5
5
|
|
6
|
+
It's based on a great toolkit for building powerful command-line interfaces, [Thor](https://github.com/erikhuda/thor), and main goal is cover some basic good practices.
|
7
|
+
|
6
8
|
Directories
|
7
9
|
===========
|
8
10
|
|
11
|
+
Application file structure (similar to generated).
|
12
|
+
|
9
13
|
bin/
|
10
14
|
rgentpl
|
11
15
|
|
@@ -24,12 +28,13 @@ Directories
|
|
24
28
|
command/
|
25
29
|
core/
|
26
30
|
core_ext/
|
27
|
-
|
31
|
+
exception/
|
28
32
|
|
29
33
|
log/
|
30
34
|
development.log
|
31
35
|
test.log
|
32
36
|
production.log
|
37
|
+
yard.log
|
33
38
|
|
34
39
|
spec/
|
35
40
|
|
@@ -41,11 +46,11 @@ Directories
|
|
41
46
|
Installation
|
42
47
|
============
|
43
48
|
|
44
|
-
As a command line application
|
49
|
+
As a command line application.
|
45
50
|
|
46
51
|
$ git clone https://github.com/jatap/rgentpl.git
|
47
52
|
|
48
|
-
As a library/gem
|
53
|
+
As a library/gem.
|
49
54
|
|
50
55
|
// Install on current gemset
|
51
56
|
$ gem install 'rgentpl'
|
@@ -55,13 +60,52 @@ As a library/gem:
|
|
55
60
|
$ bundle install
|
56
61
|
|
57
62
|
|
58
|
-
Usage
|
59
|
-
|
63
|
+
Usage as a command line application
|
64
|
+
===================================
|
60
65
|
|
61
|
-
|
66
|
+
Getting help.
|
62
67
|
|
63
68
|
$ rgentpl
|
69
|
+
$ rgentpl --help
|
70
|
+
|
71
|
+
Generate app with default values.
|
72
|
+
|
73
|
+
$ rgentpl generate my_app
|
74
|
+
|
75
|
+
Generate app updating root path.
|
76
|
+
|
77
|
+
$ rgentpl generate my_app -p /root/path/to/app
|
78
|
+
|
79
|
+
Generate app updating root path and ctags binary path.
|
80
|
+
|
81
|
+
> $ which ctags
|
82
|
+
|
83
|
+
$ rgentpl generate my_app -p /root/path/to/app -t /path/to/ctags
|
84
|
+
|
85
|
+
### Options:
|
86
|
+
|
87
|
+
* **-p** _root path_
|
88
|
+
|
89
|
+
> Default value: /tmp
|
90
|
+
|
91
|
+
* **-t** _ctags binary path_
|
92
|
+
|
93
|
+
> Default value: /usr/local/bin/ctags
|
94
|
+
|
95
|
+
### Environments:
|
96
|
+
|
97
|
+
> **development**: default environment.
|
98
|
+
|
99
|
+
Setting production
|
100
|
+
|
101
|
+
$ TEMPLATE_ENV = production rgentpl
|
102
|
+
|
103
|
+
or test environment.
|
104
|
+
|
105
|
+
$ TEMPLATE_ENV = test rgentpl
|
106
|
+
|
64
107
|
|
65
|
-
|
108
|
+
Usage as a library
|
109
|
+
==================
|
66
110
|
|
67
111
|
require 'rgentpl'
|
data/ShortLog
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Julio Antúnez Tarín (
|
1
|
+
Julio Antúnez Tarín (16):
|
2
2
|
First sending.
|
3
3
|
Update README and LICENSE files.
|
4
4
|
Bumped to version 1.0.0.
|
@@ -11,4 +11,8 @@ Julio Antúnez Tarín (12):
|
|
11
11
|
Bumped to version 1.0.0.
|
12
12
|
Merge branch 'release-1.0.1' into develop
|
13
13
|
Update gitignore file and dependencies.
|
14
|
+
Bumped to version 1.0.1.
|
15
|
+
Bumped to version 1.0.2.
|
16
|
+
Merge branch 'release-1.0.2' into develop
|
17
|
+
Update README file.
|
14
18
|
|
data/lib/rgentpl/version.rb
CHANGED