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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZGE4M2E5ZjRmNzQxODNhZmRhZGYzM2FjZjg0YWQ5ZTVjY2RhNTVmZA==
4
+ MDRmMGRmZWNmMDhhZGIyYTgxNzM0MjA3N2YzZWM3NDJjYTQ1ZGFhMg==
5
5
  data.tar.gz: !binary |-
6
- MzNlMzllOTkwNDMwNWYyN2Y3ZjBiZDRhM2YyOWY3NDViYTZjMWMzZA==
6
+ NjVmNjQ0YmIxYTgwMTkwOTAwN2I1YzhiN2M5MTYxOTg2YmYzZmNiZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTBiMDFjYTY4ZDJhYjlmZWNjYzQ2NTBmNzQ0MGNlNjEzMmQ0ZjA1ZWM2OWUx
10
- YWRiOTE4OTI5OGJjMDVkNjJkOTM3MjZjZjM5NThlY2YzNjhiZjk4Y2Y0NDg5
11
- NmIxZTQyODdiMWNjNzRlZGJjNTI4MmM5MzcxOTk2YzRlMDBkODE=
9
+ MGUwNmY0ZmJmMzAwNmQzMzg3ZmUwYmUxMDIwNjMwNjQzMWM2ZDVkNGUxNDhk
10
+ NzhiMGQ4NGViMGUyZmFiNDEzMmE2YTk3Y2VmYjQ2Y2FmOGIxNWVmNTZjMDQx
11
+ ODcxODMwYmE0MGY4YmU4YTgyOTg2MGU2ZTg4MzE3YmZmYjgyNjQ=
12
12
  data.tar.gz: !binary |-
13
- OTQzYzRmMDUyM2IyYmRiNjlmNTk2ZmY5ZGIzNzdlNzI3ZTI5MmYzNzM2MTE1
14
- ZWY5MDVmNTU4ODk2YjBmZGJjM2FmZWNhOGZkN2IxY2EwZDc3Zjc4MzllMDhm
15
- YTU4NDAxMWMzZTQ3Y2FmZTBiNGMyOTllYTM4ODI3MjA3Y2FkNDI=
13
+ Yjg5NzRkZThjNmVkZjU4Y2E2MWRmY2RjOWUxYTlmM2ZhYjAyOTQ2MTlkZDdk
14
+ NmZhZTllOTE1OTJiMjQ3NzMzOTNjZTM2NmRkYzg5OTEyNzUxZmQyZGQ4Nzk4
15
+ NjdkMWVmNzZlNTU4ZmIxYWE4MmQzY2Q2MDQxZDI0YTk0ZTRkNjE=
@@ -1,3 +1,9 @@
1
+
2
+ 1.0.3 / 2014-02-06
3
+ ==================
4
+
5
+ * Update README file.
6
+
1
7
  1.0.2 / 2014-02-03
2
8
  ==================
3
9
 
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
- exceptions/
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
- As a command line application:
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
- As a library:
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 (12):
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
 
@@ -4,5 +4,5 @@
4
4
  #
5
5
  module Rgentpl
6
6
  # Version
7
- VERSION = '1.0.2'
7
+ VERSION = '1.0.3'
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgentpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julio Antúnez Tarín