vedeu_cli 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8c8109061e636bc504890350e62566771c229d1
4
- data.tar.gz: 40da9cbda276fc872dfca89dde9850cb159cb0fa
3
+ metadata.gz: 65e847c034c853bd502d292d4be66fb51fd59bf6
4
+ data.tar.gz: a625b67be3ed57c7a2473a9639e364d0b3417ec8
5
5
  SHA512:
6
- metadata.gz: 79f53e5b7e44ac7488adf63f11e6763ec3a36bb714eeeb07d6774922372965964bc0ff2b00bed51974e4f2d7450892d4747f68cad2922287d8ea3cccdb3638d2
7
- data.tar.gz: 49d6528befaad20f517d123a1806c4cb1febde10296f6e87e922d3d0d6f01d9ff200657ea421c445ce8c7f80816ce29cb4c0a03a1fe60168be94f1195e927392
6
+ metadata.gz: 136851501b61bd710c66b3d26ab07042221fc07b4a3c1c7ddb7fafbf1e0699c63b37c9d0e075711e6445749867d6760451133878b291b90dca92e1e2461dc83f
7
+ data.tar.gz: f823c42d7578fe23e3d4095ab86dde7eb601e7cdca7f011d8a222224acf623db1cbd1715f954ae47dcbad9034d89acdc098355485e209afc35b5fdbf134f232f
@@ -120,6 +120,7 @@ module Vedeu
120
120
  '/bin',
121
121
  '/config',
122
122
  '/lib',
123
+ '/log',
123
124
  '/test',
124
125
  '/vendor',
125
126
  ]
@@ -1,4 +1,6 @@
1
1
  Vedeu.configure do
2
+ # see http://rubydoc.info/gems/vedeu/file/docs/configuration.md
3
+
2
4
  # base_path
3
5
 
4
6
  # colour_mode 16_777_216 # Some terminals don't render colour at all when this
@@ -17,10 +19,12 @@ Vedeu.configure do
17
19
  # cooked!
18
20
  # raw!
19
21
 
20
- log "/tmp/<%= object.name %>.log"
22
+ log "log/<%= object.name %>.log"
21
23
 
22
24
  # renderers
23
25
 
26
+ # root :controller, :action, *args
27
+
24
28
  # run_once!
25
29
 
26
30
  # interactive!
@@ -3,7 +3,7 @@ module Vedeu
3
3
  module CLI
4
4
 
5
5
  # The current version of Vedeu CLI.
6
- VERSION = '0.0.4'
6
+ VERSION = '0.0.5'
7
7
 
8
8
  end # CLI
9
9
 
@@ -36,9 +36,12 @@ module Vedeu
36
36
  make_template_file
37
37
  make_view_class_file
38
38
 
39
- output("Please update the 'root' setting in 'config/configuration.rb'" \
40
- " to '#{app_name}::#{name_as_class}Controller.new' to start " \
41
- 'Vedeu at this controller.')
39
+ output("Please update the 'root' setting in " \
40
+ "'config/configuration.rb' to start Vedeu using this " \
41
+ "controller and action: (args are optional)\n\n" \
42
+ "Vedeu.configure do\n" \
43
+ " root :some_controller, :show, *args\n" \
44
+ "end\n\n")
42
45
  end
43
46
 
44
47
  private
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vedeu_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Laking
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-13 00:00:00.000000000 Z
11
+ date: 2015-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard