rgentpl 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/ChangeLog.md +5 -0
- data/ShortLog +4 -1
- data/lib/rgentpl/command/base.rb +1 -1
- data/lib/rgentpl/command/generate.rb +13 -10
- 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
|
+
ZGQxNjRhMmY0MDJhOWQzZDRkMjg1ZjliNTY1MDJiNjIzODhiNTA1Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjFjZjk5NTA4NDg4NzQxNDk2ZmI3ZWQ2ZDRmNzFkZmUzNTJlZDgxYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2RmNjIwOTA1ZGMyOTIwMzA2MzFmN2RjZWIxYzVkOWM5NjQyYWUxM2U1OWM4
|
10
|
+
ODI0ZTBiYzdlMGYyMzk2ZjQ3MzRmZWIyYzFkNzFiODM0YjRiN2JhMDJmZGY2
|
11
|
+
NTA0YzE4Y2Q4NDE2OGFlZTFmNDVlODAxOTJlYjQ5NTRiNmFmNGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODNlNzkwZWNlM2JiY2Y5M2QxZDVhYWEzZGE3ZDU4MjA4M2UwZThhYjA3Njk0
|
14
|
+
NTQ5NDRkYjYxMTA3OTRjMTExNDE5OTM3N2I3MjQzY2M2MTE5ZjQ0OGFhNTQ1
|
15
|
+
YmU4ZmJmZGM1ZjI3NjFmZmEzNjVmZWYzZGE4NDhmMDZiNGFjMDc=
|
data/ChangeLog.md
CHANGED
data/ShortLog
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Julio Antúnez Tarín (
|
1
|
+
Julio Antúnez Tarín (19):
|
2
2
|
First sending.
|
3
3
|
Update README and LICENSE files.
|
4
4
|
Bumped to version 1.0.0.
|
@@ -15,4 +15,7 @@ Julio Antúnez Tarín (16):
|
|
15
15
|
Bumped to version 1.0.2.
|
16
16
|
Merge branch 'release-1.0.2' into develop
|
17
17
|
Update README file.
|
18
|
+
Bumped to version 1.0.3.
|
19
|
+
Merge branch 'release-1.0.3' into develop
|
20
|
+
Fix commands.
|
18
21
|
|
data/lib/rgentpl/command/base.rb
CHANGED
@@ -25,12 +25,14 @@ module Rgentpl
|
|
25
25
|
|
26
26
|
class_option :app_path, type: :string,
|
27
27
|
required: true,
|
28
|
-
desc: 'Application path',
|
29
|
-
default: '
|
28
|
+
desc: 'Application path with current path as a default value',
|
29
|
+
default: File.expand_path('.'),
|
30
|
+
aliases: '-p'
|
30
31
|
class_option :ctags, type: :string,
|
31
32
|
required: false,
|
32
|
-
desc: 'Full CTags path command',
|
33
|
-
default: '/usr/local/bin/ctags'
|
33
|
+
desc: 'Full CTags path command with /usr/local/bin/ctags as a default value',
|
34
|
+
default: '/usr/local/bin/ctags',
|
35
|
+
aliases: '-t'
|
34
36
|
# @return [void]
|
35
37
|
def create_app
|
36
38
|
@app_path = options['app_path']
|
@@ -45,12 +47,13 @@ module Rgentpl
|
|
45
47
|
|
46
48
|
# @return [void]
|
47
49
|
def git
|
48
|
-
|
49
|
-
git init
|
50
|
-
git
|
51
|
-
git
|
52
|
-
git checkout -b
|
53
|
-
|
50
|
+
inside("#{app_path}/#{app_name}") do
|
51
|
+
run('git init')
|
52
|
+
run('git add .')
|
53
|
+
run('git commit -am "First sending."')
|
54
|
+
run('git checkout -b develop')
|
55
|
+
run('git checkout -b feature-domain-logic')
|
56
|
+
end
|
54
57
|
end
|
55
58
|
end
|
56
59
|
end
|
data/lib/rgentpl/version.rb
CHANGED