manager 0.0.0 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/CHART.html +1270 -0
  3. data/MANUAL.html +1252 -0
  4. data/bin/manager +43 -0
  5. data/examples/array/CHART.html +1376 -0
  6. data/examples/array/MANUAL.html +1126 -0
  7. data/examples/array/spec +3438 -0
  8. data/lib/manager.rb +528 -0
  9. data/lib/manager/annotation +96 -0
  10. data/lib/manager/input +189 -0
  11. data/lib/manager/js +257 -0
  12. data/lib/manager/refine_module +142 -0
  13. data/lib/manager/refine_object_mapping +143 -0
  14. data/lib/manager/refine_test +97 -0
  15. data/lib/manager/render +1228 -0
  16. data/lib/manager/spell_check +49 -0
  17. data/lib/manager/test +404 -0
  18. data/lib/manager/test_helper +9 -0
  19. data/license +9 -0
  20. data/manager.gemspec +21 -0
  21. data/spec/alternatives_implemented.png +0 -0
  22. data/spec/alternatives_unimplemented.png +0 -0
  23. data/spec/annotations.png +0 -0
  24. data/spec/benchmark_test.png +0 -0
  25. data/spec/citation.png +0 -0
  26. data/spec/code_block.png +0 -0
  27. data/spec/context_module.png +0 -0
  28. data/spec/documentation +1289 -0
  29. data/spec/external_link.png +0 -0
  30. data/spec/image.png +0 -0
  31. data/spec/list.png +0 -0
  32. data/spec/long.png +0 -0
  33. data/spec/main_and_object.png +0 -0
  34. data/spec/markup.png +0 -0
  35. data/spec/module_diagram.png +0 -0
  36. data/spec/navigation.png +0 -0
  37. data/spec/nested_section_headers.png +0 -0
  38. data/spec/ruby.png +0 -0
  39. data/spec/setup_teardown.png +0 -0
  40. data/spec/short.png +0 -0
  41. data/spec/signature.png +0 -0
  42. data/spec/spec +76 -0
  43. data/spec/spec_example.png +0 -0
  44. data/spec/table.png +0 -0
  45. data/spec/test_header.png +0 -0
  46. data/spec/test_non_unit_spec +184 -0
  47. data/spec/test_program +71 -0
  48. data/spec/test_unit_spec +790 -0
  49. data/spec/tutorial_1.png +0 -0
  50. data/spec/tutorial_2.png +0 -0
  51. data/spec/tutorial_3.png +0 -0
  52. data/spec/tutorial_4.png +0 -0
  53. data/spec/tutorial_5.png +0 -0
  54. data/spec/tutorial_6.png +0 -0
  55. data/spec/tutorial_7.png +0 -0
  56. data/spec/tutorial_8.png +0 -0
  57. data/spec/unambiguous_links.png +0 -0
  58. data/spec/unit_test_failure.png +0 -0
  59. data/spec/unit_test_raise.png +0 -0
  60. data/spec/unit_test_receiver.png +0 -0
  61. data/spec/unit_test_succeed.png +0 -0
  62. data/spec/unit_test_success.png +0 -0
  63. data/spec/unit_test_throw.png +0 -0
  64. data/spec/valid_heading.png +0 -0
  65. data/spec/with_expr.png +0 -0
  66. data/spec/without_expr.png +0 -0
  67. data/theme/2016a.css +670 -0
  68. data/theme/coderay_github.css +132 -0
  69. metadata +140 -11
@@ -0,0 +1,132 @@
1
+ .CodeRay {
2
+ background-color: #FFF;
3
+ border: 1px solid #CCC;
4
+ font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
5
+ color: #000;
6
+ padding: 1em 0px 1em 1em;
7
+ }
8
+
9
+ .CodeRay pre {
10
+ margin: 0px;
11
+ }
12
+
13
+ div.CodeRay { }
14
+ span.CodeRay { white-space: pre; border: 0px; padding: 2px }
15
+
16
+ table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
17
+ table.CodeRay td {
18
+ padding: 1em 0.5em;
19
+ vertical-align: top;
20
+ }
21
+
22
+ .CodeRay .line-numbers, .CodeRay .no {
23
+ background-color: #ECECEC;
24
+ color: #AAA;
25
+ text-align: right;
26
+ }
27
+
28
+ .CodeRay .line-numbers a {
29
+ color: #AAA;
30
+ }
31
+
32
+ .CodeRay .line-numbers tt { font-weight: bold }
33
+ .CodeRay .line-numbers .highlighted { color: red }
34
+ .CodeRay .line { display: block; float: left; width: 100%; }
35
+ .CodeRay span.line-numbers { padding: 0px 4px }
36
+ .CodeRay .code { width: 100% }
37
+
38
+ ol.CodeRay { font-size: 10pt }
39
+ ol.CodeRay li { white-space: pre }
40
+
41
+ .CodeRay .code pre { overflow: auto }
42
+ .CodeRay .debug { color:white ! important; background:blue ! important; }
43
+
44
+ .CodeRay .annotation { color:#007 }
45
+ .CodeRay .attribute-name { color:#f08 }
46
+ .CodeRay .attribute-value { color:#700 }
47
+ .CodeRay .binary { color:#509; font-weight:bold }
48
+ .CodeRay .comment { color:#998; font-style: italic;}
49
+ .CodeRay .char { color:#04D }
50
+ .CodeRay .char .content { color:#04D }
51
+ .CodeRay .char .delimiter { color:#039 }
52
+ .CodeRay .class { color:#458; font-weight:bold }
53
+ .CodeRay .complex { color:#A08; font-weight:bold }
54
+ .CodeRay .constant { color:teal; }
55
+ .CodeRay .color { color:#0A0 }
56
+ .CodeRay .class-variable { color:#369 }
57
+ .CodeRay .decorator { color:#B0B; }
58
+ .CodeRay .definition { color:#099; font-weight:bold }
59
+ .CodeRay .directive { color:#088; font-weight:bold }
60
+ .CodeRay .delimiter { color:black }
61
+ .CodeRay .doc { color:#970 }
62
+ .CodeRay .doctype { color:#34b }
63
+ .CodeRay .doc-string { color:#D42; font-weight:bold }
64
+ .CodeRay .escape { color:#666; font-weight:bold }
65
+ .CodeRay .entity { color:#800; font-weight:bold }
66
+ .CodeRay .error { color:#F00; background-color:#FAA }
67
+ .CodeRay .exception { color:#C00; font-weight:bold }
68
+ .CodeRay .filename { color:#099; }
69
+ .CodeRay .function { color:#900; font-weight:bold }
70
+ .CodeRay .global-variable { color:teal; font-weight:bold }
71
+ .CodeRay .hex { color:#058; font-weight:bold }
72
+ .CodeRay .integer { color:#099; }
73
+ .CodeRay .include { color:#B44; font-weight:bold }
74
+ .CodeRay .inline { color: black }
75
+ .CodeRay .inline .inline { background: #ccc }
76
+ .CodeRay .inline .inline .inline { background: #bbb }
77
+ .CodeRay .inline .inline-delimiter { color: #D14; }
78
+ .CodeRay .inline-delimiter { color: #D14; }
79
+ .CodeRay .important { color:#f00; }
80
+ .CodeRay .interpreted { color:#B2B; font-weight:bold }
81
+ .CodeRay .instance-variable { color:teal }
82
+ .CodeRay .label { color:#970; font-weight:bold }
83
+ .CodeRay .local-variable { color:#963 }
84
+ .CodeRay .octal { color:#40E; font-weight:bold }
85
+ .CodeRay .operator { }
86
+ .CodeRay .predefined-constant { font-weight:bold }
87
+ .CodeRay .predefined { color:#369; font-weight:bold }
88
+ .CodeRay .preprocessor { color:#579; }
89
+ .CodeRay .pseudo-class { color:#00C; font-weight:bold }
90
+ .CodeRay .predefined-type { color:#074; font-weight:bold }
91
+ .CodeRay .reserved, .keyword { color:#000; font-weight:bold }
92
+
93
+ .CodeRay .key { color: #808; }
94
+ .CodeRay .key .delimiter { color: #606; }
95
+ .CodeRay .key .char { color: #80f; }
96
+ .CodeRay .value { color: #088; }
97
+
98
+ .CodeRay .regexp { background-color:#fff0ff }
99
+ .CodeRay .regexp .content { color:#808 }
100
+ .CodeRay .regexp .delimiter { color:#404 }
101
+ .CodeRay .regexp .modifier { color:#C2C }
102
+ .CodeRay .regexp .function { color:#404; font-weight: bold }
103
+
104
+ .CodeRay .string { color: #D20; }
105
+ .CodeRay .string .string { }
106
+ .CodeRay .string .string .string { background-color:#ffd0d0 }
107
+ .CodeRay .string .content { color: #D14; }
108
+ .CodeRay .string .char { color: #D14; }
109
+ .CodeRay .string .delimiter { color: #D14; }
110
+
111
+ .CodeRay .shell { color:#D14 }
112
+ .CodeRay .shell .content { }
113
+ .CodeRay .shell .delimiter { color:#D14 }
114
+
115
+ .CodeRay .symbol { color:#990073 }
116
+ .CodeRay .symbol .content { color:#A60 }
117
+ .CodeRay .symbol .delimiter { color:#630 }
118
+
119
+ .CodeRay .tag { color:#070 }
120
+ .CodeRay .tag-special { color:#D70; font-weight:bold }
121
+ .CodeRay .type { color:#339; font-weight:bold }
122
+ .CodeRay .variable { color:#036 }
123
+
124
+ .CodeRay .insert { background: #afa; }
125
+ .CodeRay .delete { background: #faa; }
126
+ .CodeRay .change { color: #aaf; background: #007; }
127
+ .CodeRay .head { color: #f8f; background: #505 }
128
+
129
+ .CodeRay .insert .insert { color: #080; font-weight:bold }
130
+ .CodeRay .delete .delete { color: #800; font-weight:bold }
131
+ .CodeRay .change .change { color: #66f; }
132
+ .CodeRay .head .head { color: #f4f; }
metadata CHANGED
@@ -1,24 +1,152 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-06 00:00:00.000000000 Z
12
- dependencies: []
13
- description: ''
11
+ date: 2016-04-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: benchmark-ips
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: dom
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: coderay
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: manager
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Manager generates a user's manual and a developer's chart simultaneously
70
+ from a single spec file that contains both kinds of information. More precisely,
71
+ it is a document generator, source code annotation extracter, source code analyzer,
72
+ class diagram generator, unit test framework, benchmark measurer for alternative
73
+ implementations of a feature, all in one.
14
74
  email: []
15
- executables: []
75
+ executables:
76
+ - manager
16
77
  extensions: []
17
78
  extra_rdoc_files: []
18
79
  files:
80
+ - CHART.html
81
+ - MANUAL.html
82
+ - bin/manager
83
+ - examples/array/CHART.html
84
+ - examples/array/MANUAL.html
85
+ - examples/array/spec
19
86
  - lib/manager.rb
20
- homepage: ''
21
- licenses: []
87
+ - lib/manager/annotation
88
+ - lib/manager/input
89
+ - lib/manager/js
90
+ - lib/manager/refine_module
91
+ - lib/manager/refine_object_mapping
92
+ - lib/manager/refine_test
93
+ - lib/manager/render
94
+ - lib/manager/spell_check
95
+ - lib/manager/test
96
+ - lib/manager/test_helper
97
+ - license
98
+ - manager.gemspec
99
+ - spec/alternatives_implemented.png
100
+ - spec/alternatives_unimplemented.png
101
+ - spec/annotations.png
102
+ - spec/benchmark_test.png
103
+ - spec/citation.png
104
+ - spec/code_block.png
105
+ - spec/context_module.png
106
+ - spec/documentation
107
+ - spec/external_link.png
108
+ - spec/image.png
109
+ - spec/list.png
110
+ - spec/long.png
111
+ - spec/main_and_object.png
112
+ - spec/markup.png
113
+ - spec/module_diagram.png
114
+ - spec/navigation.png
115
+ - spec/nested_section_headers.png
116
+ - spec/ruby.png
117
+ - spec/setup_teardown.png
118
+ - spec/short.png
119
+ - spec/signature.png
120
+ - spec/spec
121
+ - spec/spec_example.png
122
+ - spec/table.png
123
+ - spec/test_header.png
124
+ - spec/test_non_unit_spec
125
+ - spec/test_program
126
+ - spec/test_unit_spec
127
+ - spec/tutorial_1.png
128
+ - spec/tutorial_2.png
129
+ - spec/tutorial_3.png
130
+ - spec/tutorial_4.png
131
+ - spec/tutorial_5.png
132
+ - spec/tutorial_6.png
133
+ - spec/tutorial_7.png
134
+ - spec/tutorial_8.png
135
+ - spec/unambiguous_links.png
136
+ - spec/unit_test_failure.png
137
+ - spec/unit_test_raise.png
138
+ - spec/unit_test_receiver.png
139
+ - spec/unit_test_succeed.png
140
+ - spec/unit_test_success.png
141
+ - spec/unit_test_throw.png
142
+ - spec/valid_heading.png
143
+ - spec/with_expr.png
144
+ - spec/without_expr.png
145
+ - theme/2016a.css
146
+ - theme/coderay_github.css
147
+ homepage: http://sawa.github.io/manager
148
+ licenses:
149
+ - MIT
22
150
  metadata: {}
23
151
  post_install_message:
24
152
  rdoc_options: []
@@ -28,16 +156,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
28
156
  requirements:
29
157
  - - ">="
30
158
  - !ruby/object:Gem::Version
31
- version: '0'
159
+ version: 2.3.1
32
160
  required_rubygems_version: !ruby/object:Gem::Requirement
33
161
  requirements:
34
162
  - - ">="
35
163
  - !ruby/object:Gem::Version
36
164
  version: '0'
37
- requirements: []
165
+ requirements:
166
+ - ffi-aspell gem (optional), a web browser compatible with HTML5 and CSS3
38
167
  rubyforge_project:
39
- rubygems_version: 2.2.2
168
+ rubygems_version: 2.6.4
40
169
  signing_key:
41
170
  specification_version: 4
42
- summary: Coming soon
171
+ summary: Documentation and test framework for software written in Ruby
43
172
  test_files: []