jsus 0.1.15 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,11 +1,14 @@
1
1
  # A sample Gemfile
2
2
  source "http://rubygems.org"
3
3
 
4
- gem "bundler"
5
- gem "rspec"
6
- gem "jeweler"
7
4
  gem "activesupport"
8
5
  gem "json_pure"
9
6
  gem "rgl"
10
7
  gem "choice"
11
- gem "murdoc"
8
+
9
+ group :development do
10
+ gem "bundler"
11
+ gem "rspec"
12
+ gem "jeweler"
13
+ gem "murdoc"
14
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.15
1
+ 0.1.17
data/bin/jsus CHANGED
@@ -2,7 +2,6 @@
2
2
  require 'rubygems'
3
3
  require 'jsus'
4
4
  require "fileutils"
5
- require "murdoc"
6
5
  require 'choice'
7
6
  start_time = Time.now
8
7
 
@@ -92,6 +91,7 @@ end
92
91
 
93
92
  # Generate documentation
94
93
  unless Choice.choices[:docs_classes].empty?
94
+ require "murdoc"
95
95
  documented_sources = Jsus::Container.new
96
96
  sources = pool ? pool.sources : package.source_files
97
97
  Choice.choices[:docs_classes].each do |expr|
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{jsus}
8
- s.version = "0.1.15"
8
+ s.version = "0.1.17"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Mark Abramov"]
@@ -122,26 +122,26 @@ Gem::Specification.new do |s|
122
122
  s.specification_version = 3
123
123
 
124
124
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
125
- s.add_runtime_dependency(%q<bundler>, [">= 0"])
126
- s.add_runtime_dependency(%q<rspec>, [">= 0"])
127
- s.add_runtime_dependency(%q<jeweler>, [">= 0"])
128
125
  s.add_runtime_dependency(%q<activesupport>, [">= 0"])
129
126
  s.add_runtime_dependency(%q<json_pure>, [">= 0"])
130
127
  s.add_runtime_dependency(%q<rgl>, [">= 0"])
131
128
  s.add_runtime_dependency(%q<choice>, [">= 0"])
132
- s.add_runtime_dependency(%q<murdoc>, [">= 0"])
129
+ s.add_development_dependency(%q<bundler>, [">= 0"])
130
+ s.add_development_dependency(%q<rspec>, [">= 0"])
131
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
132
+ s.add_development_dependency(%q<murdoc>, [">= 0"])
133
133
  s.add_runtime_dependency(%q<activesupport>, [">= 0"])
134
134
  s.add_runtime_dependency(%q<json_pure>, [">= 0"])
135
135
  s.add_runtime_dependency(%q<rgl>, [">= 0"])
136
136
  s.add_runtime_dependency(%q<choice>, [">= 0"])
137
137
  else
138
- s.add_dependency(%q<bundler>, [">= 0"])
139
- s.add_dependency(%q<rspec>, [">= 0"])
140
- s.add_dependency(%q<jeweler>, [">= 0"])
141
138
  s.add_dependency(%q<activesupport>, [">= 0"])
142
139
  s.add_dependency(%q<json_pure>, [">= 0"])
143
140
  s.add_dependency(%q<rgl>, [">= 0"])
144
141
  s.add_dependency(%q<choice>, [">= 0"])
142
+ s.add_dependency(%q<bundler>, [">= 0"])
143
+ s.add_dependency(%q<rspec>, [">= 0"])
144
+ s.add_dependency(%q<jeweler>, [">= 0"])
145
145
  s.add_dependency(%q<murdoc>, [">= 0"])
146
146
  s.add_dependency(%q<activesupport>, [">= 0"])
147
147
  s.add_dependency(%q<json_pure>, [">= 0"])
@@ -149,13 +149,13 @@ Gem::Specification.new do |s|
149
149
  s.add_dependency(%q<choice>, [">= 0"])
150
150
  end
151
151
  else
152
- s.add_dependency(%q<bundler>, [">= 0"])
153
- s.add_dependency(%q<rspec>, [">= 0"])
154
- s.add_dependency(%q<jeweler>, [">= 0"])
155
152
  s.add_dependency(%q<activesupport>, [">= 0"])
156
153
  s.add_dependency(%q<json_pure>, [">= 0"])
157
154
  s.add_dependency(%q<rgl>, [">= 0"])
158
155
  s.add_dependency(%q<choice>, [">= 0"])
156
+ s.add_dependency(%q<bundler>, [">= 0"])
157
+ s.add_dependency(%q<rspec>, [">= 0"])
158
+ s.add_dependency(%q<jeweler>, [">= 0"])
159
159
  s.add_dependency(%q<murdoc>, [">= 0"])
160
160
  s.add_dependency(%q<activesupport>, [">= 0"])
161
161
  s.add_dependency(%q<json_pure>, [">= 0"])
@@ -1,15 +1,16 @@
1
1
  html, body {
2
- min-height: 100%; }
2
+ min-height: 100%;
3
+ line-height: 1.5; }
3
4
 
4
- p, h1, h2, h3, ol, li, ol, ul, dt, dd, dl, body, html {
5
+ p, h1, h2, h3, ol, li, ul, dt, dd, dl, body, html {
5
6
  padding: 0;
6
7
  margin: 0; }
7
8
 
8
9
  body {
9
- width: 45%;
10
+ width: 40%;
10
11
  padding-left: 2.5%;
11
12
  padding-right: 2.5%;
12
- background: #7ba32d;
13
+ background: #BFA730;
13
14
  font-family: Helvetica; }
14
15
  body:after {
15
16
  content: ".";
@@ -18,30 +19,43 @@ body {
18
19
  display: block;
19
20
  clear: both; }
20
21
 
22
+ figure#relations h2 ~ h2 {
23
+ margin-top: 1.5em; }
24
+
21
25
  body > * {
22
26
  padding-left: 6%;
23
27
  padding-right: 6%; }
24
28
 
25
29
  html {
26
- background: #094201; }
30
+ background: #FFD300; }
27
31
 
28
32
  header {
29
33
  background: rgba(255, 255, 255, 0.1);
30
- padding-top: 1em;
31
34
  display: block; }
32
35
  header dl {
33
- margin-top: 1.125em;
34
- font-size: 0.75em; }
36
+ margin-top: 2em;
37
+ font-size: 0.75em;
38
+ line-height: 2em;
39
+ overflow: hidden; }
35
40
  header dl dt {
36
41
  width: 5em;
37
42
  font-weight: bold; }
38
43
 
44
+ section, руфвук {
45
+ float: left;
46
+ clear: both;
47
+ width: 88%; }
48
+
39
49
  p, dl, li {
40
- color: #c4eeff;
50
+ color: #665504;
41
51
  font-weight: normal; }
42
52
 
43
53
  a {
44
- color: #a41717; }
54
+ color: #BF7330; }
55
+ a:hover {
56
+ color: #FF7800; }
57
+ a:visited {
58
+ color: #A64E00; }
45
59
 
46
60
  p {
47
61
  margin-top: 1.5em; }
@@ -50,26 +64,21 @@ h1 {
50
64
  font-size: 2em; }
51
65
 
52
66
  h2 {
53
- font-size: 1em;
54
- line-height: 2em; }
67
+ font-size: 1em; }
55
68
 
56
69
  h1, h2, h3 {
57
- color: #a41717; }
70
+ color: #A41717; }
58
71
 
59
72
  ol, li {
60
73
  margin-left: 1em; }
61
74
 
62
- body > div.paragraph, body > h1, body > h2 {
63
- clear: both; }
75
+ body > p, body > h1, body > h2 {
76
+ clear: left; }
64
77
 
65
78
  header {
66
79
  padding-bottom: 1em;
67
80
  overflow: hidden; }
68
81
 
69
- pre {
70
- margin-top: 0;
71
- }
72
-
73
82
  dl {
74
83
  clear: left; }
75
84
  dl dt, dl dd {
@@ -79,42 +88,33 @@ dl {
79
88
  dl dd {
80
89
  margin-left: 1em; }
81
90
 
82
- section {
83
- clear: both;
84
- }
85
-
86
91
  figure {
87
92
  display: block;
88
93
  float: right;
89
- margin-right: -112.5%;
90
- width: 95%;
94
+ margin-right: -140%;
95
+ width: 122.75%;
91
96
  clear: right;
92
- padding: 2.5em 5% 3em; }
97
+ padding: 1.5em 5% 3em; }
93
98
  figure > ol {
99
+ text-shadow: 0 1px 0 #FFDE40;
100
+ -moz-text-shadow: 0 1px 0 #FFDE40;
101
+ -webkit-text-shadow: 0 1px 0 #FFDE40;
94
102
  width: 7.5%;
95
103
  text-align: right;
96
104
  float: left;
97
105
  font-size: 0.8em;
98
- color: #7ba32d;
99
106
  -webkit-border-radius: 0.2em;
100
- background: rgba(255, 255, 255, 0.1);
107
+ background: rgba(166, 137, 0, 0.1);
101
108
  border: 1px solid rgba(0, 0, 0, 0.3);
102
109
  list-style: none;
103
- margin-left: -11.25%; }
110
+ margin-left: -9.25%; }
104
111
  figure > ol li {
105
112
  margin: 0; }
106
- figure pre {
107
- background: rgba(255, 255, 255, 0.5);
108
- border: 1px solid rgba(0, 0, 0, 0.3);
109
- border-left: none;
110
- margin-bottom: 0;
111
- padding-bottom: 0;
112
- }
113
113
  figure > code, figure > ol {
114
114
  font-size: 1em;
115
115
  font-family: monospace; }
116
- figure ~ figure {
117
- padding-top: 1.5em; }
116
+ figure > code {
117
+ white-space: pre; }
118
118
 
119
119
  body .hll {
120
120
  background-color: #ffffcc; }
@@ -122,7 +122,7 @@ body .c {
122
122
  color: #408080;
123
123
  font-style: italic; }
124
124
  body .err {
125
- border: 1px solid red; }
125
+ border: 1px solid #FF0000; }
126
126
  body .k {
127
127
  color: #954121; }
128
128
  body .o {
@@ -131,33 +131,33 @@ body .cm {
131
131
  color: #408080;
132
132
  font-style: italic; }
133
133
  body .cp {
134
- color: #bc7a00; }
134
+ color: #BC7A00; }
135
135
  body .c1, body .cs {
136
136
  color: #408080;
137
137
  font-style: italic; }
138
138
  body .gd {
139
- color: #a00000; }
139
+ color: #A00000; }
140
140
  body .ge {
141
141
  font-style: italic; }
142
142
  body .gr {
143
- color: red; }
143
+ color: #FF0000; }
144
144
  body .gh {
145
- color: navy;
145
+ color: #000080;
146
146
  font-weight: bold; }
147
147
  body .gi {
148
- color: #00a000; }
148
+ color: #00A000; }
149
149
  body .go {
150
- color: gray; }
150
+ color: #808080; }
151
151
  body .gp {
152
- color: navy;
152
+ color: #000080;
153
153
  font-weight: bold; }
154
154
  body .gs {
155
155
  font-weight: bold; }
156
156
  body .gu {
157
- color: purple;
157
+ color: #800080;
158
158
  font-weight: bold; }
159
159
  body .gt {
160
- color: #0040d0; }
160
+ color: #0040D0; }
161
161
  body .kc {
162
162
  color: #954121; }
163
163
  body .kd, body .kn {
@@ -169,42 +169,42 @@ body .kr {
169
169
  color: #954121;
170
170
  font-weight: bold; }
171
171
  body .kt {
172
- color: #b00040; }
172
+ color: #B00040; }
173
173
  body .m {
174
174
  color: #666666; }
175
175
  body .s {
176
176
  color: #219161; }
177
177
  body .na {
178
- color: #7d9029; }
178
+ color: #7D9029; }
179
179
  body .nb {
180
180
  color: #954121; }
181
181
  body .nc {
182
- color: blue;
182
+ color: #0000FF;
183
183
  font-weight: bold; }
184
184
  body .no {
185
185
  color: #880000; }
186
186
  body .nd {
187
- color: #aa22ff; }
187
+ color: #AA22FF; }
188
188
  body .ni {
189
189
  color: #999999;
190
190
  font-weight: bold; }
191
191
  body .ne {
192
- color: #d2413a;
192
+ color: #D2413A;
193
193
  font-weight: bold; }
194
194
  body .nf {
195
- color: blue; }
195
+ color: #0000FF; }
196
196
  body .nl {
197
- color: #a0a000; }
197
+ color: #A0A000; }
198
198
  body .nn {
199
- color: blue;
199
+ color: #0000FF;
200
200
  font-weight: bold; }
201
201
  body .nt {
202
202
  color: #954121;
203
203
  font-weight: bold; }
204
204
  body .nv {
205
- color: #19469d; }
205
+ color: #19469D; }
206
206
  body .ow {
207
- color: #aa22ff;
207
+ color: #AA22FF;
208
208
  font-weight: bold; }
209
209
  body .w {
210
210
  color: #bbbbbb; }
@@ -218,24 +218,24 @@ body .sd {
218
218
  body .s2 {
219
219
  color: #219161; }
220
220
  body .se {
221
- color: #bb6622;
221
+ color: #BB6622;
222
222
  font-weight: bold; }
223
223
  body .sh {
224
224
  color: #219161; }
225
225
  body .si {
226
- color: #bb6688;
226
+ color: #BB6688;
227
227
  font-weight: bold; }
228
228
  body .sx {
229
229
  color: #954121; }
230
230
  body .sr {
231
- color: #bb6688; }
231
+ color: #BB6688; }
232
232
  body .s1 {
233
233
  color: #219161; }
234
234
  body .ss {
235
- color: #19469d; }
235
+ color: #19469D; }
236
236
  body .bp {
237
237
  color: #954121; }
238
238
  body .vc, body .vg, body .vi {
239
- color: #19469d; }
239
+ color: #19469D; }
240
240
  body .il {
241
241
  color: #666666; }
@@ -4,7 +4,7 @@
4
4
  %title Documentaiton for #{header["script"]}
5
5
  %link{:rel => "stylesheet", :href => "stylesheet.css"}
6
6
  %body
7
- %figure
7
+ %figure#relations
8
8
  - if header["requires"]
9
9
  %h2 Requires
10
10
  %ul
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 15
9
- version: 0.1.15
8
+ - 17
9
+ version: 0.1.17
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mark Abramov
@@ -18,7 +18,7 @@ date: 2010-11-24 00:00:00 +03:00
18
18
  default_executable: jsus
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: bundler
21
+ name: activesupport
22
22
  requirement: &id001 !ruby/object:Gem::Requirement
23
23
  none: false
24
24
  requirements:
@@ -31,7 +31,7 @@ dependencies:
31
31
  prerelease: false
32
32
  version_requirements: *id001
33
33
  - !ruby/object:Gem::Dependency
34
- name: rspec
34
+ name: json_pure
35
35
  requirement: &id002 !ruby/object:Gem::Requirement
36
36
  none: false
37
37
  requirements:
@@ -44,7 +44,7 @@ dependencies:
44
44
  prerelease: false
45
45
  version_requirements: *id002
46
46
  - !ruby/object:Gem::Dependency
47
- name: jeweler
47
+ name: rgl
48
48
  requirement: &id003 !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
@@ -57,7 +57,7 @@ dependencies:
57
57
  prerelease: false
58
58
  version_requirements: *id003
59
59
  - !ruby/object:Gem::Dependency
60
- name: activesupport
60
+ name: choice
61
61
  requirement: &id004 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
@@ -70,7 +70,7 @@ dependencies:
70
70
  prerelease: false
71
71
  version_requirements: *id004
72
72
  - !ruby/object:Gem::Dependency
73
- name: json_pure
73
+ name: bundler
74
74
  requirement: &id005 !ruby/object:Gem::Requirement
75
75
  none: false
76
76
  requirements:
@@ -79,11 +79,11 @@ dependencies:
79
79
  segments:
80
80
  - 0
81
81
  version: "0"
82
- type: :runtime
82
+ type: :development
83
83
  prerelease: false
84
84
  version_requirements: *id005
85
85
  - !ruby/object:Gem::Dependency
86
- name: rgl
86
+ name: rspec
87
87
  requirement: &id006 !ruby/object:Gem::Requirement
88
88
  none: false
89
89
  requirements:
@@ -92,11 +92,11 @@ dependencies:
92
92
  segments:
93
93
  - 0
94
94
  version: "0"
95
- type: :runtime
95
+ type: :development
96
96
  prerelease: false
97
97
  version_requirements: *id006
98
98
  - !ruby/object:Gem::Dependency
99
- name: choice
99
+ name: jeweler
100
100
  requirement: &id007 !ruby/object:Gem::Requirement
101
101
  none: false
102
102
  requirements:
@@ -105,7 +105,7 @@ dependencies:
105
105
  segments:
106
106
  - 0
107
107
  version: "0"
108
- type: :runtime
108
+ type: :development
109
109
  prerelease: false
110
110
  version_requirements: *id007
111
111
  - !ruby/object:Gem::Dependency
@@ -118,7 +118,7 @@ dependencies:
118
118
  segments:
119
119
  - 0
120
120
  version: "0"
121
- type: :runtime
121
+ type: :development
122
122
  prerelease: false
123
123
  version_requirements: *id008
124
124
  - !ruby/object:Gem::Dependency
@@ -278,7 +278,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
278
278
  requirements:
279
279
  - - ">="
280
280
  - !ruby/object:Gem::Version
281
- hash: -4576287695756448822
281
+ hash: -666369529496465647
282
282
  segments:
283
283
  - 0
284
284
  version: "0"