vedeu 0.8.21 → 0.8.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/bin/vedeu_drb_server +4 -4
  3. data/docs/configuration/log.md +3 -1
  4. data/docs/configuration/profile.md +2 -1
  5. data/examples/dsl_alignment.rb +2 -2
  6. data/examples/dsl_colours.rb +2 -2
  7. data/examples/dsl_demo_groups.rb +1 -1
  8. data/examples/dsl_editor.rb +2 -2
  9. data/examples/dsl_hello_worlds.rb +1 -1
  10. data/examples/dsl_horizontal_alignment.rb +2 -2
  11. data/examples/dsl_menus.rb +1 -1
  12. data/examples/dsl_vertical_alignment.rb +2 -2
  13. data/examples/views/empty_template.rb +5 -5
  14. data/examples/views/full_screen.rb +5 -5
  15. data/examples/views/misc_view.rb +3 -2
  16. data/examples/views/wordwrap.rb +1 -1
  17. data/integrations/342_streams.rb +2 -2
  18. data/integrations/dsl_app_001.rb +5 -5
  19. data/integrations/dsl_app_002.rb +5 -5
  20. data/integrations/dsl_app_003.rb +5 -5
  21. data/integrations/dsl_app_004.rb +5 -5
  22. data/integrations/dsl_app_005.rb +5 -5
  23. data/integrations/dsl_app_006.rb +5 -5
  24. data/integrations/dsl_app_007.rb +5 -5
  25. data/integrations/dsl_app_008.rb +5 -5
  26. data/integrations/dsl_app_009.rb +5 -5
  27. data/integrations/dsl_app_010.rb +5 -5
  28. data/integrations/dsl_app_011.rb +5 -5
  29. data/integrations/dsl_app_012.rb +5 -5
  30. data/integrations/dsl_app_013.rb +5 -5
  31. data/integrations/dsl_app_014.rb +5 -5
  32. data/integrations/dsl_app_015.rb +5 -5
  33. data/integrations/dsl_app_016.rb +5 -5
  34. data/integrations/dsl_app_017.rb +5 -5
  35. data/integrations/dsl_app_018.rb +5 -5
  36. data/integrations/dsl_app_019.rb +5 -5
  37. data/integrations/dsl_app_020.rb +5 -5
  38. data/integrations/dsl_app_021.rb +5 -5
  39. data/integrations/dsl_app_022.rb +5 -5
  40. data/integrations/dsl_app_border_001.rb +5 -5
  41. data/integrations/dsl_app_border_002.rb +5 -5
  42. data/integrations/dsl_app_border_003.rb +5 -5
  43. data/integrations/dsl_app_border_004.rb +5 -5
  44. data/integrations/dsl_app_border_005.rb +5 -5
  45. data/integrations/dsl_app_border_006.rb +5 -5
  46. data/integrations/dsl_app_border_007.rb +5 -5
  47. data/integrations/dsl_app_border_008.rb +5 -5
  48. data/integrations/dsl_app_border_009.rb +5 -5
  49. data/integrations/dsl_app_border_010.rb +5 -5
  50. data/integrations/dsl_app_border_011.rb +5 -5
  51. data/integrations/test_runner.rb +1 -1
  52. data/lib/vedeu/configuration/configuration.rb +1 -1
  53. data/lib/vedeu/distributed/subprocess.rb +2 -4
  54. data/lib/vedeu/distributed/templates/default_configuration.vedeu +2 -2
  55. data/lib/vedeu/editor/cropper.rb +4 -4
  56. data/lib/vedeu/editor/cursor.rb +13 -6
  57. data/lib/vedeu/editor/item.rb +12 -2
  58. data/lib/vedeu/logging/debug.rb +1 -1
  59. data/lib/vedeu/renderers/support/options.rb +1 -1
  60. data/lib/vedeu/runtime/bootstrap.rb +1 -1
  61. data/lib/vedeu/version.rb +1 -1
  62. data/lib/vedeu.rb +1 -0
  63. data/test/lib/vedeu/configuration/api_test.rb +2 -2
  64. data/test/lib/vedeu/configuration/configuration_test.rb +3 -3
  65. data/test/lib/vedeu/logging/debug_test.rb +1 -1
  66. data/test/lib/vedeu/renderers/support/file_test.rb +3 -3
  67. data/test/lib/vedeu/templating/template_test.rb +2 -2
  68. data/test/lib/vedeu/templating/view_template_test.rb +1 -1
  69. data/test/support/examples/drb_app.rb +2 -2
  70. data/test/support/examples/focus_app.rb +1 -1
  71. data/test/support/examples/hello_world.rb +1 -1
  72. data/test/support/examples/material_colours_app.rb +2 -2
  73. data/test/support/examples/view_templates_app/view_templates_app.rb +1 -1
  74. data/test/support/ttyrec.rb +2 -2
  75. data/test/test_helper.rb +3 -3
  76. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9c37e2d9c0249bbece735264a5f7286f40cfa93
4
- data.tar.gz: aa1f9db91906830b3e69d772b0222961aa287fec
3
+ metadata.gz: 317fd304eff7309a776c7520081310f4098f8d63
4
+ data.tar.gz: 7cb42ff7dbc8b4945d5951cfff3a4030829b0ffc
5
5
  SHA512:
6
- metadata.gz: 0fc85825feebec7d3cb9260e53ce9b4575a8674a6928d11c63add1e034e605786c0561cf75b1a14761625c7b40a7cfc09f4062774de00c99826daa308c17bd06
7
- data.tar.gz: fc22a0edebd4f31834b5211174e8ce52e85eb0319b208d7e4960903378e71d29c334689a1f7797611791fe1c63a617d85b041f5ad85021c01cfe637d8c151848
6
+ metadata.gz: 7e4b571d22b599bcd5c977684c3e75862d5faaf740de1fe56db3588f64ba29b7a4873da43f02d7d169b8a9471f6ef505842eb62e6a243ee5ce5b5db2412ae5e1
7
+ data.tar.gz: cdc5fbb14ae664528bd42214fd9e80c13418a20851b1a4aefc03937e67fa509275ea5c6c0f8559d931bc5c58cebd54ee567f10f35716002dba17f6ca3492d549
data/bin/vedeu_drb_server CHANGED
@@ -12,7 +12,7 @@ class VedeuTestApplication
12
12
 
13
13
  Vedeu.configure do
14
14
  colour_mode 16_777_216
15
- log '/tmp/vedeu_test_helper.log'
15
+ log Dir.tmpdir + '/vedeu_test_helper.log'
16
16
  debug!
17
17
  profile!
18
18
  drb!
@@ -38,9 +38,9 @@ class VedeuTestApplication
38
38
  # mode_switch_key :escape
39
39
 
40
40
  # Not used yet
41
- # stdin File.open("/dev/tty", "r")
42
- # stdout File.open("/dev/tty", "w")
43
- # stderr File.open("/tmp/vedeu_error.log", "w+")
41
+ # stdin File.open('/dev/tty', 'r')
42
+ # stdout File.open('/dev/tty', 'w')
43
+ # stderr File.open(Dir.tmpdir + '/vedeu_error.log', 'w+')
44
44
  end
45
45
 
46
46
  Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
@@ -1,5 +1,7 @@
1
1
  Sets the location of the log file, or disables the log. By default,
2
- the log file is set to '/tmp/vedeu_bootstrap.log'.
2
+ the log file is set to '/tmp/vedeu_bootstrap.log'. Note: On Windows
3
+ systems, the log directory is determined by the output from
4
+ `Dir.tmpdir`.
3
5
 
4
6
  # Log messages will be sent to the path given.
5
7
  Vedeu.configure do
@@ -5,7 +5,8 @@ true will enable profiling.
5
5
  Profile uses 'ruby-prof' to write a 'vedeu_profile' file to the /tmp
6
6
  directory which contains a call trace of the running application.
7
7
  Upon exit, this file can be examined to ascertain certain behaviours
8
- of Vedeu.
8
+ of Vedeu. Note: On Windows systems, the log directory is determined by
9
+ the output from `Dir.tmpdir`.
9
10
 
10
11
  Note:
11
12
  Be aware that running an application with profiling enabled will
@@ -11,11 +11,11 @@ class AlignmentApp
11
11
 
12
12
  Vedeu.configure do
13
13
  debug!
14
- log '/tmp/alignment.log'
14
+ log Dir.tmpdir + '/alignment.log'
15
15
  renderers [
16
16
  Vedeu::Renderers::Terminal.new,
17
17
  # Vedeu::Renderers::Text.new(
18
- # filename: '/tmp/alignment.out'),
18
+ # filename: Dir.tmpdir + '/alignment.out'),
19
19
  ]
20
20
  run_once!
21
21
  standalone!
@@ -11,9 +11,9 @@ class ColoursApp
11
11
 
12
12
  Vedeu.configure do
13
13
  debug!
14
- log '/tmp/colours.log'
14
+ log Dir.tmpdir + '/colours.log'
15
15
  renderers(Vedeu::Renderers::Terminal.new,
16
- Vedeu::Renderers::Text.new(filename: '/tmp/colours.out'))
16
+ Vedeu::Renderers::Text.new(filename: Dir.tmpdir + '/colours.out'))
17
17
  end
18
18
 
19
19
  Vedeu.interface :interface_colours_view do
@@ -18,7 +18,7 @@ class DemoGroupsApp
18
18
 
19
19
  Vedeu.configure do
20
20
  debug!
21
- log '/tmp/demo_groups.log'
21
+ log Dir.tmpdir + '/demo_groups.log'
22
22
  end
23
23
 
24
24
  Vedeu.interface :apple do
@@ -11,9 +11,9 @@ class EditorApp
11
11
 
12
12
  Vedeu.configure do
13
13
  debug!
14
- log '/tmp/editor.log'
14
+ log Dir.tmpdir + '/editor.log'
15
15
  renderers(Vedeu::Renderers::Terminal.new,
16
- Vedeu::Renderers::Text.new(filename: '/tmp/editor.out'))
16
+ Vedeu::Renderers::Text.new(filename: Dir.tmpdir + '/editor.out'))
17
17
  fake!
18
18
  end
19
19
 
@@ -23,7 +23,7 @@ class HelloWorldsApp
23
23
  # Add specific configuration for the client application.
24
24
  #
25
25
  # Vedeu.configure do
26
- # log '/tmp/hello_worlds.log'
26
+ # log Dir.tmpdir + '/hello_worlds.log'
27
27
  # end
28
28
 
29
29
  Vedeu.interface :hello do
@@ -50,11 +50,11 @@ class HorizontalAlignmentApp
50
50
 
51
51
  Vedeu.configure do
52
52
  debug!
53
- log '/tmp/vedeu_horizontal.log'
53
+ log Dir.tmpdir + '/vedeu_horizontal.log'
54
54
  renderers [
55
55
  Vedeu::Renderers::Terminal.new,
56
56
  # Vedeu::Renderers::Text.new(
57
- # filename: '/tmp/vedeu_horizontal.out'),
57
+ # filename: Dir.tmpdir + '/vedeu_horizontal.out'),
58
58
  ]
59
59
  end
60
60
 
@@ -19,7 +19,7 @@ class DSLMenus
19
19
 
20
20
  Vedeu.configure do
21
21
  debug!
22
- log '/tmp/dsl_menus.log'
22
+ log Dir.tmpdir + '/dsl_menus.log'
23
23
  end
24
24
 
25
25
  Vedeu.interface :files do
@@ -50,11 +50,11 @@ class VerticalAlignmentApp
50
50
 
51
51
  Vedeu.configure do
52
52
  debug!
53
- log '/tmp/vedeu_vertical.log'
53
+ log Dir.tmpdir + '/vedeu_vertical.log'
54
54
  renderers [
55
55
  Vedeu::Renderers::Terminal.new,
56
56
  # Vedeu::Renderers::Text.new(
57
- # filename: '/tmp/vedeu_vertical.out'),
57
+ # filename: Dir.tmpdir + '/vedeu_vertical.out'),
58
58
  ]
59
59
  end
60
60
 
@@ -11,16 +11,16 @@ class DSLApp
11
11
 
12
12
  Vedeu.configure do
13
13
  debug!
14
- log '/tmp/vedeu_views_dsl.log'
14
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
15
15
  renderers(Vedeu::Renderers::Terminal.new(
16
- filename: '/tmp/vedeu_empty.out',
16
+ filename: Dir.tmpdir + '/vedeu_empty.out',
17
17
  write_file: true),
18
18
  Vedeu::Renderers::JSON.new(
19
- filename: '/tmp/vedeu_empty.json'),
19
+ filename: Dir.tmpdir + '/vedeu_empty.json'),
20
20
  Vedeu::Renderers::HTML.new(
21
- filename: '/tmp/vedeu_empty.html'),
21
+ filename: Dir.tmpdir + '/vedeu_empty.html'),
22
22
  Vedeu::Renderers::Text.new(
23
- filename: '/tmp/vedeu_empty.txt')
23
+ filename: Dir.tmpdir + '/vedeu_empty.txt')
24
24
  )
25
25
  run_once!
26
26
  standalone!
@@ -8,16 +8,16 @@ require 'vedeu'
8
8
  class DSLApp
9
9
 
10
10
  Vedeu.configure do
11
- log '/tmp/vedeu_views_dsl.log'
11
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
12
12
  renderers(Vedeu::Renderers::Terminal.new(
13
- filename: '/tmp/vedeu_full_screen.out',
13
+ filename: Dir.tmpdir + '/vedeu_full_screen.out',
14
14
  write_file: true),
15
15
  Vedeu::Renderers::JSON.new(
16
- filename: '/tmp/vedeu_full_screen.json'),
16
+ filename: Dir.tmpdir + '/vedeu_full_screen.json'),
17
17
  Vedeu::Renderers::HTML.new(
18
- filename: '/tmp/vedeu_full_screen.html'),
18
+ filename: Dir.tmpdir + '/vedeu_full_screen.html'),
19
19
  Vedeu::Renderers::Text.new(
20
- filename: '/tmp/vedeu_full_screen.txt')
20
+ filename: Dir.tmpdir + '/vedeu_full_screen.txt')
21
21
  )
22
22
  debug!
23
23
  run_once!
@@ -8,12 +8,13 @@ class DSLApp
8
8
  Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
9
9
 
10
10
  Vedeu.configure do
11
- log '/tmp/vedeu_views_dsl.log'
11
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
12
12
  debug!
13
13
  run_once!
14
14
  standalone!
15
15
  renderers(Vedeu::Renderers::Terminal.new,
16
- Vedeu::Renderers::Text.new(filename: '/tmp/misc_view.out'))
16
+ Vedeu::Renderers::Text.new(
17
+ filename: Dir.tmpdir + '/misc_view.out'))
17
18
  height 40
18
19
  end
19
20
 
@@ -11,7 +11,7 @@ class DSLApp
11
11
 
12
12
  Vedeu.configure do
13
13
  debug!
14
- log '/tmp/vedeu_views_dsl.log'
14
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
15
15
  run_once!
16
16
  standalone!
17
17
  end
@@ -14,9 +14,9 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  height 10
16
16
  debug!
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers(Vedeu::Renderers::Terminal.new(
19
- filename: "/tmp/#{TESTCASE}.out",
19
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
20
20
  write_file: true))
21
21
  run_once!
22
22
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!
@@ -14,14 +14,14 @@ class DSLApp
14
14
  Vedeu.configure do
15
15
  debug!
16
16
  height 10
17
- log '/tmp/vedeu_views_dsl.log'
17
+ log Dir.tmpdir + '/vedeu_views_dsl.log'
18
18
  renderers [
19
19
  Vedeu::Renderers::Terminal.new(
20
- filename: "/tmp/#{TESTCASE}.out",
20
+ filename: Dir.tmpdir + "/#{TESTCASE}.out",
21
21
  write_file: true),
22
- # Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
23
- # Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
24
- # Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
22
+ # Vedeu::Renderers::JSON.new(filename: Dir.tmpdir + "/#{TESTCASE}.json"),
23
+ # Vedeu::Renderers::HTML.new(filename: Dir.tmpdir + "/#{TESTCASE}.html"),
24
+ # Vedeu::Renderers::Text.new(filename: Dir.tmpdir + "/#{TESTCASE}.txt"),
25
25
  ]
26
26
  run_once!
27
27
  standalone!