ariete 0.1.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +7 -0
  5. data/Gemfile +4 -0
  6. data/Gemfile.lock +31 -0
  7. data/{LICENSE → LICENSE.txt} +1 -1
  8. data/README.md +56 -55
  9. data/Rakefile +4 -16
  10. data/ariete.gemspec +23 -0
  11. data/lib/ariete.rb +6 -26
  12. data/lib/ariete/version.rb +3 -0
  13. data/spec/ariete_spec.rb +37 -0
  14. data/spec/spec_helper.rb +2 -0
  15. metadata +70 -80
  16. data/CHANGELOG.md +0 -7
  17. data/CHANGELOG_jp.md +0 -7
  18. data/README_jp.md +0 -74
  19. data/doc/Ariete.html +0 -230
  20. data/doc/CaptureStdTest.html +0 -254
  21. data/doc/LICENSE.html +0 -105
  22. data/doc/Rakefile.html +0 -106
  23. data/doc/created.rid +0 -5
  24. data/doc/images/add.png +0 -0
  25. data/doc/images/brick.png +0 -0
  26. data/doc/images/brick_link.png +0 -0
  27. data/doc/images/bug.png +0 -0
  28. data/doc/images/bullet_black.png +0 -0
  29. data/doc/images/bullet_toggle_minus.png +0 -0
  30. data/doc/images/bullet_toggle_plus.png +0 -0
  31. data/doc/images/date.png +0 -0
  32. data/doc/images/delete.png +0 -0
  33. data/doc/images/find.png +0 -0
  34. data/doc/images/loadingAnimation.gif +0 -0
  35. data/doc/images/macFFBgHack.png +0 -0
  36. data/doc/images/package.png +0 -0
  37. data/doc/images/page_green.png +0 -0
  38. data/doc/images/page_white_text.png +0 -0
  39. data/doc/images/page_white_width.png +0 -0
  40. data/doc/images/plugin.png +0 -0
  41. data/doc/images/ruby.png +0 -0
  42. data/doc/images/tag_blue.png +0 -0
  43. data/doc/images/tag_green.png +0 -0
  44. data/doc/images/transparent.png +0 -0
  45. data/doc/images/wrench.png +0 -0
  46. data/doc/images/wrench_orange.png +0 -0
  47. data/doc/images/zoom.png +0 -0
  48. data/doc/index.html +0 -82
  49. data/doc/js/darkfish.js +0 -153
  50. data/doc/js/jquery.js +0 -18
  51. data/doc/js/navigation.js +0 -142
  52. data/doc/js/search.js +0 -94
  53. data/doc/js/search_index.js +0 -1
  54. data/doc/js/searcher.js +0 -228
  55. data/doc/rdoc.css +0 -543
  56. data/doc/table_of_contents.html +0 -69
  57. data/test/tb_capture_std.rb +0 -24
@@ -1,69 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
-
7
- <title>Table of Contents - RDoc Documentation</title>
8
-
9
- <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
-
11
- <script type="text/javascript">
12
- var rdoc_rel_prefix = "./";
13
- </script>
14
-
15
- <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
-
22
-
23
- <body class="indexpage">
24
- <h1>Table of Contents - RDoc Documentation</h1>
25
-
26
- <h2>Pages</h2>
27
- <ul>
28
- <li class="file">
29
- <a href="LICENSE.html">LICENSE</a>
30
- </li>
31
- <li class="file">
32
- <a href="Rakefile.html">Rakefile</a>
33
- </li>
34
-
35
- </ul>
36
-
37
- <h2 id="classes">Classes/Modules</h2>
38
- <ul>
39
- <li class="module">
40
- <a href="Ariete.html">Ariete</a>
41
- </li>
42
- <li class="class">
43
- <a href="CaptureStdTest.html">CaptureStdTest</a>
44
- </li>
45
-
46
- </ul>
47
-
48
- <h2 id="methods">Methods</h2>
49
- <ul>
50
-
51
- <li class="method"><a href="Ariete.html#method-i-capture_stderr">#capture_stderr &mdash; Ariete</a>
52
-
53
- <li class="method"><a href="Ariete.html#method-i-capture_stdout">#capture_stdout &mdash; Ariete</a>
54
-
55
- <li class="method"><a href="CaptureStdTest.html#method-i-output">#output &mdash; CaptureStdTest</a>
56
-
57
- <li class="method"><a href="CaptureStdTest.html#method-i-test_stderr">#test_stderr &mdash; CaptureStdTest</a>
58
-
59
- <li class="method"><a href="CaptureStdTest.html#method-i-test_stdout">#test_stdout &mdash; CaptureStdTest</a>
60
-
61
- </ul>
62
-
63
-
64
- <footer id="validator-badges">
65
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
66
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
67
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
68
- </footer>
69
-
@@ -1,24 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # encoding: utf-8
3
-
4
- require "test/unit"
5
- require_relative "../lib/ariete"
6
-
7
- class CaptureStdTest < Test::Unit::TestCase
8
- include Ariete
9
-
10
- def test_stdout
11
- result = capture_stdout {output("Ariete")}
12
- assert_equal("Ariete is a kind of rabbit.\n", result)
13
- end
14
-
15
- def test_stderr
16
- result = capture_stderr {output("Ariete")}
17
- assert_equal("Ariete means 'Lop' in Italian\n", result)
18
- end
19
-
20
- def output(str)
21
- puts "#{str} is a kind of rabbit."
22
- warn "#{str} means 'Lop' in Italian"
23
- end
24
- end