rubypost 0.0.5 → 0.0.6

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.
@@ -0,0 +1,121 @@
1
+ % Written by metapost version 1.208
2
+ begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
3
+ string _n[];
4
+ vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
5
+ addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
6
+ _n0="cmr10";
7
+ _s("-3",_n0,1.00000,0.0000,0.0000,);
8
+ setbounds _p to (0,0.0000)--(8.3022,0.0000)--
9
+ (8.3022,6.4204)--(0,6.4204)--cycle;
10
+ _p endgroup
11
+ mpxbreak
12
+ begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
13
+ string _n[];
14
+ vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
15
+ addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
16
+ _n0="cmr10";
17
+ _s("-2",_n0,1.00000,0.0000,0.0000,);
18
+ setbounds _p to (0,0.0000)--(8.3022,0.0000)--
19
+ (8.3022,6.4204)--(0,6.4204)--cycle;
20
+ _p endgroup
21
+ mpxbreak
22
+ begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
23
+ string _n[];
24
+ vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
25
+ addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
26
+ _n0="cmr10";
27
+ _s("-1",_n0,1.00000,0.0000,0.0000,);
28
+ setbounds _p to (0,0.0000)--(8.3022,0.0000)--
29
+ (8.3022,6.4204)--(0,6.4204)--cycle;
30
+ _p endgroup
31
+ mpxbreak
32
+ begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
33
+ string _n[];
34
+ vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
35
+ addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
36
+ _n0="cmr10";
37
+ _s("0",_n0,1.00000,0.0000,0.0000,);
38
+ setbounds _p to (0,0.0000)--(4.9813,0.0000)--
39
+ (4.9813,6.4204)--(0,6.4204)--cycle;
40
+ _p endgroup
41
+ mpxbreak
42
+ begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
43
+ string _n[];
44
+ vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
45
+ addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
46
+ _n0="cmr10";
47
+ _s("1",_n0,1.00000,0.0000,0.0000,);
48
+ setbounds _p to (0,0.0000)--(4.9813,0.0000)--
49
+ (4.9813,6.4204)--(0,6.4204)--cycle;
50
+ _p endgroup
51
+ mpxbreak
52
+ begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
53
+ string _n[];
54
+ vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
55
+ addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
56
+ _n0="cmr10";
57
+ _s("2",_n0,1.00000,0.0000,0.0000,);
58
+ setbounds _p to (0,0.0000)--(4.9813,0.0000)--
59
+ (4.9813,6.4204)--(0,6.4204)--cycle;
60
+ _p endgroup
61
+ mpxbreak
62
+ begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
63
+ string _n[];
64
+ vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
65
+ addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
66
+ _n0="cmr10";
67
+ _s("3",_n0,1.00000,0.0000,0.0000,);
68
+ setbounds _p to (0,0.0000)--(4.9813,0.0000)--
69
+ (4.9813,6.4204)--(0,6.4204)--cycle;
70
+ _p endgroup
71
+ mpxbreak
72
+ begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
73
+ string _n[];
74
+ vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
75
+ addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
76
+ _n0="cmr10";
77
+ _s("3",_n0,1.00000,0.0000,0.0000,);
78
+ setbounds _p to (0,0.0000)--(4.9813,0.0000)--
79
+ (4.9813,6.4204)--(0,6.4204)--cycle;
80
+ _p endgroup
81
+ mpxbreak
82
+ begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
83
+ string _n[];
84
+ vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
85
+ addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
86
+ _n0="cmr10";
87
+ _s("6",_n0,1.00000,0.0000,0.0000,);
88
+ setbounds _p to (0,0.0000)--(4.9813,0.0000)--
89
+ (4.9813,6.4204)--(0,6.4204)--cycle;
90
+ _p endgroup
91
+ mpxbreak
92
+ begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
93
+ string _n[];
94
+ vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
95
+ addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
96
+ _n0="cmr10";
97
+ _s("9",_n0,1.00000,0.0000,0.0000,);
98
+ setbounds _p to (0,0.0000)--(4.9813,0.0000)--
99
+ (4.9813,6.4204)--(0,6.4204)--cycle;
100
+ _p endgroup
101
+ mpxbreak
102
+ begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
103
+ string _n[];
104
+ vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
105
+ addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
106
+ _n0="cmr10";
107
+ _s("t",_n0,1.00000,0.0000,0.0000,);
108
+ setbounds _p to (0,0.0000)--(3.8744,0.0000)--
109
+ (3.8744,6.1278)--(0,6.1278)--cycle;
110
+ _p endgroup
111
+ mpxbreak
112
+ begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
113
+ string _n[];
114
+ vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
115
+ addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
116
+ _n0="cmr10";
117
+ _s("X(t)",_n0,1.00000,0.0000,0.0000,);
118
+ setbounds _p to (0,-2.4907)--(19.0951,-2.4907)--
119
+ (19.0951,7.4720)--(0,7.4720)--cycle;
120
+ _p endgroup
121
+ mpxbreak
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubypost
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robby McKilliam
8
- autorequire: lib/rubypost
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-29 00:00:00 +10:00
12
+ date: 2010-08-03 00:00:00 +10:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description:
16
+ description: " rubypost is a wrapper for the metapost plotting language. It's primary \n focus is making graphs from ruby data that are suitable for inclusion in \n Latex documents.\n"
17
17
  email: harprobey@gmail.com
18
18
  executables: []
19
19
 
@@ -22,33 +22,40 @@ extensions: []
22
22
  extra_rdoc_files:
23
23
  - README
24
24
  files:
25
- - tests/test_pair.rb
26
- - tests/test_path.rb
27
- - tests/test_square.rb
28
- - tests/test_graph.rb
29
- - tests/test_clip.rb
25
+ - tests/testsimpleplot-1.mps
26
+ - tests/testsimpleplot-2.mps
27
+ - tests/testsimpleplot.log
28
+ - tests/testsimpleplot.mp
29
+ - tests/testsimpleplot.mpx
30
30
  - tests/test_circle.rb
31
+ - tests/test_clip.rb
32
+ - tests/test_graph.rb
31
33
  - tests/test_label.rb
34
+ - tests/test_pair.rb
35
+ - tests/test_path.rb
32
36
  - tests/test_picture.rb
37
+ - tests/test_simpleplot.rb
38
+ - tests/test_square.rb
33
39
  - lib/draw.rb
40
+ - lib/drawable.rb
41
+ - lib/graph.rb
34
42
  - lib/label.rb
35
43
  - lib/objects.rb
36
- - lib/rubypost.rb
37
- - lib/revert_float_to_s.rb
38
- - lib/graph.rb
39
- - lib/drawable.rb
40
44
  - lib/options.rb
41
45
  - lib/redefine_float_to_s_for_metapost.rb
42
- - doc/index.html
43
- - doc/classes
46
+ - lib/revert_float_to_s.rb
47
+ - lib/rubypost.rb
48
+ - lib/simpleplot.rb
44
49
  - doc/created.rid
45
50
  - doc/fr_class_index.html
46
- - doc/fr_method_index.html
47
- - doc/files
48
51
  - doc/fr_file_index.html
52
+ - doc/fr_method_index.html
53
+ - doc/index.html
49
54
  - README
50
55
  has_rdoc: true
51
56
  homepage: http://rubyforge.org/projects/rubypost/
57
+ licenses: []
58
+
52
59
  post_install_message:
53
60
  rdoc_options: []
54
61
 
@@ -69,9 +76,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
76
  requirements: []
70
77
 
71
78
  rubyforge_project: rubypost
72
- rubygems_version: 1.2.0
79
+ rubygems_version: 1.3.5
73
80
  signing_key:
74
- specification_version: 2
81
+ specification_version: 3
75
82
  summary: Ruby wrapper for the MetaPost drawing language
76
83
  test_files:
77
84
  - tests/test_path.rb