RuGPost 0.1.0 → 0.1.0.1.beta

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.
Files changed (43) hide show
  1. data/Gemfile +6 -6
  2. data/Gemfile.lock +5 -34
  3. data/README.rdoc +3 -37
  4. data/Rakefile +39 -13
  5. data/RuGPost.gemspec +12 -54
  6. data/VERSION +1 -1
  7. data/lib/RuGPost.rb +0 -25
  8. metadata +33 -100
  9. data/bin/rugpost +0 -7
  10. data/lib/rugpost/commands/post_commands.rb +0 -19
  11. data/lib/rugpost/commands/project_commands.rb +0 -24
  12. data/lib/rugpost/commands.rb +0 -4
  13. data/lib/rugpost/on_error.rb +0 -6
  14. data/lib/rugpost/post.rb +0 -92
  15. data/lib/rugpost/prepost.rb +0 -10
  16. data/lib/rugpost/project.rb +0 -37
  17. data/lib/rugpost/site.rb +0 -6
  18. data/lib/rugpost/utilis.rb +0 -20
  19. data/rdoc/classes/RuGPost/Post.html +0 -473
  20. data/rdoc/classes/RuGPost/Project.html +0 -212
  21. data/rdoc/classes/RuGPost/Site.html +0 -111
  22. data/rdoc/classes/RuGPost/Utilis.html +0 -169
  23. data/rdoc/classes/RuGPost.html +0 -200
  24. data/rdoc/created.rid +0 -1
  25. data/rdoc/files/README_rdoc.html +0 -194
  26. data/rdoc/files/lib/RuGPost_rb.html +0 -113
  27. data/rdoc/files/lib/rugpost/commands/post_commands_rb.html +0 -101
  28. data/rdoc/files/lib/rugpost/commands/project_commands_rb.html +0 -101
  29. data/rdoc/files/lib/rugpost/commands_rb.html +0 -108
  30. data/rdoc/files/lib/rugpost/on_error_rb.html +0 -101
  31. data/rdoc/files/lib/rugpost/post_rb.html +0 -101
  32. data/rdoc/files/lib/rugpost/prepost_rb.html +0 -101
  33. data/rdoc/files/lib/rugpost/project_rb.html +0 -101
  34. data/rdoc/files/lib/rugpost/site_rb.html +0 -101
  35. data/rdoc/files/lib/rugpost/utilis_rb.html +0 -101
  36. data/rdoc/fr_class_index.html +0 -31
  37. data/rdoc/fr_file_index.html +0 -37
  38. data/rdoc/fr_method_index.html +0 -43
  39. data/rdoc/index.html +0 -24
  40. data/rdoc/rdoc-style.css +0 -208
  41. data/spec/post_spec.rb +0 -77
  42. data/spec/project_spec.rb +0 -41
  43. data/spec/spec_helper.rb +0 -24
@@ -1,200 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: RuGPost</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">RuGPost</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/RuGPost_rb.html">
59
- lib/RuGPost.rb
60
- </a>
61
- <br />
62
- <a href="../files/lib/rugpost/project_rb.html">
63
- lib/rugpost/project.rb
64
- </a>
65
- <br />
66
- <a href="../files/lib/rugpost/site_rb.html">
67
- lib/rugpost/site.rb
68
- </a>
69
- <br />
70
- <a href="../files/lib/rugpost/post_rb.html">
71
- lib/rugpost/post.rb
72
- </a>
73
- <br />
74
- <a href="../files/lib/rugpost/utilis_rb.html">
75
- lib/rugpost/utilis.rb
76
- </a>
77
- <br />
78
- </td>
79
- </tr>
80
-
81
- </table>
82
- </div>
83
- <!-- banner header -->
84
-
85
- <div id="bodyContent">
86
-
87
-
88
-
89
- <div id="contextContent">
90
-
91
-
92
-
93
- </div>
94
-
95
-
96
- </div>
97
-
98
-
99
- <!-- if includes -->
100
- <div id="includes">
101
- <h3 class="section-bar">Included Modules</h3>
102
-
103
- <div id="includes-list">
104
- <span class="include-name"><a href="RuGPost/Utilis.html">RuGPost::Utilis</a></span>
105
- </div>
106
- </div>
107
-
108
- <div id="section">
109
-
110
- <div id="class-list">
111
- <h3 class="section-bar">Classes and Modules</h3>
112
-
113
- Module <a href="RuGPost/Utilis.html" class="link">RuGPost::Utilis</a><br />
114
- Class <a href="RuGPost/Post.html" class="link">RuGPost::Post</a><br />
115
- Class <a href="RuGPost/Project.html" class="link">RuGPost::Project</a><br />
116
- Class <a href="RuGPost/Site.html" class="link">RuGPost::Site</a><br />
117
-
118
- </div>
119
-
120
- <div id="constants-list">
121
- <h3 class="section-bar">Constants</h3>
122
-
123
- <div class="name-list">
124
- <table summary="Constants">
125
- <tr class="top-aligned-row context-row">
126
- <td class="context-item-name">LIB</td>
127
- <td>=</td>
128
- <td class="context-item-value">Pathname(__FILE__).dirname.expand_path/'rugpost'</td>
129
- <td width="3em">&nbsp;</td>
130
- <td class="context-item-desc">
131
- directory containing <a href="RuGPost.html">RuGPost</a> library files
132
-
133
- </td>
134
- </tr>
135
- <tr class="top-aligned-row context-row">
136
- <td class="context-item-name">CONFIG</td>
137
- <td>=</td>
138
- <td class="context-item-value">'config.yaml'</td>
139
- <td width="3em">&nbsp;</td>
140
- <td class="context-item-desc">
141
- project configuration file
142
-
143
- </td>
144
- </tr>
145
- <tr class="top-aligned-row context-row">
146
- <td class="context-item-name">TEMPLATE</td>
147
- <td>=</td>
148
- <td class="context-item-value">'template'</td>
149
- </tr>
150
- <tr class="top-aligned-row context-row">
151
- <td class="context-item-name">VERSION</td>
152
- <td>=</td>
153
- <td class="context-item-value">'0.1.0.beta'</td>
154
- </tr>
155
- <tr class="top-aligned-row context-row">
156
- <td class="context-item-name">META</td>
157
- <td>=</td>
158
- <td class="context-item-value">/--- \n.*\n---\n/m</td>
159
- </tr>
160
- <tr class="top-aligned-row context-row">
161
- <td class="context-item-name">DRAFTS</td>
162
- <td>=</td>
163
- <td class="context-item-value">'drafts'</td>
164
- </tr>
165
- <tr class="top-aligned-row context-row">
166
- <td class="context-item-name">PUBLISHED</td>
167
- <td>=</td>
168
- <td class="context-item-value">'published'</td>
169
- </tr>
170
- <tr class="top-aligned-row context-row">
171
- <td class="context-item-name">SOURCE</td>
172
- <td>=</td>
173
- <td class="context-item-value">PUBLISHED/'source'</td>
174
- </tr>
175
- <tr class="top-aligned-row context-row">
176
- <td class="context-item-name">OUTPUT</td>
177
- <td>=</td>
178
- <td class="context-item-value">PUBLISHED/'output'</td>
179
- </tr>
180
- </table>
181
- </div>
182
- </div>
183
-
184
-
185
-
186
-
187
-
188
-
189
- <!-- if method_list -->
190
-
191
-
192
- </div>
193
-
194
-
195
- <div id="validator-badges">
196
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
197
- </div>
198
-
199
- </body>
200
- </html>
data/rdoc/created.rid DELETED
@@ -1 +0,0 @@
1
- Tue, 10 May 2011 23:45:29 +0200
@@ -1,194 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: README.rdoc</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>README.rdoc</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>README.rdoc
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Tue May 10 23:44:44 +0200 2011</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <h1><a href="../classes/RuGPost.html">RuGPost</a></h1>
73
- <p>
74
- <a href="../classes/RuGPost.html">RuGPost</a> (RubyGmailPosterous) is a
75
- command line which allows to create posts on your own posterous sites using
76
- your GMail account. You start creating you repo (corresponding to a
77
- posterous site), and then adding your drafts using *<b>textile</b>*
78
- lightweight markup. When your draft is ready, you just use the
79
- <em>publish</em> feature to have you draft converted to *<b>html</b>* and
80
- posted to the posterous site.
81
- </p>
82
- <h1>Installation</h1>
83
- <pre>
84
- gem install RuGPost
85
- </pre>
86
- <h1>Usage</h1>
87
- <p>
88
- Create a <a href="../classes/RuGPost.html">RuGPost</a> project:
89
- </p>
90
- <pre>
91
- rugpost new RuGPost
92
- </pre>
93
- <p>
94
- Add a repository (must have same name of the posterous site):
95
- </p>
96
- <pre>
97
- rugpost repo RuGPost
98
- </pre>
99
- <p>
100
- Create your first draft:
101
- </p>
102
- <pre>
103
- rugpost draft helloworld --site RuGPost
104
- </pre>
105
- <p>
106
- Publish your draft:
107
- </p>
108
- <pre>
109
- rugpost publish helloworld --site RuGpost
110
- </pre>
111
- <p>
112
- That&#8216;s all. Note that if you follow the above steps as is, you should
113
- be able to post in a minute a nice &#8216;helloworld&#8217; on
114
- rugpost.posterous.com.
115
- </p>
116
- <h1>Help</h1>
117
- <p>
118
- For help about the available commands use:
119
- </p>
120
- <pre>
121
- rugpost --help
122
- </pre>
123
- <p>
124
- For help about a specific command use:
125
- </p>
126
- <pre>
127
- rugpost --help &lt;command&gt;
128
- </pre>
129
- <h2>Contributing to <a href="../classes/RuGPost.html">RuGPost</a></h2>
130
- <ul>
131
- <li>Check out the latest master to make sure the feature hasn&#8216;t been
132
- implemented or the bug hasn&#8216;t been fixed yet
133
-
134
- </li>
135
- <li>Check out the issue tracker to make sure someone already hasn&#8216;t
136
- requested it and/or contributed it
137
-
138
- </li>
139
- <li>Fork the project
140
-
141
- </li>
142
- <li>Start a feature/bugfix branch
143
-
144
- </li>
145
- <li>Commit and push until you are happy with your contribution
146
-
147
- </li>
148
- <li>Make sure to add tests for it. This is important so I don&#8216;t break it
149
- in a future version unintentionally.
150
-
151
- </li>
152
- <li>Please try not to mess with the Rakefile, version, or history. If you want
153
- to have your own version, or is otherwise necessary, that is fine, but
154
- please isolate to its own commit so I can cherry-pick around it.
155
-
156
- </li>
157
- </ul>
158
- <h2>Copyright</h2>
159
- <p>
160
- Copyright (c) 2011 empo. See LICENSE.txt for further details.
161
- </p>
162
-
163
- </div>
164
-
165
-
166
- </div>
167
-
168
-
169
- </div>
170
-
171
-
172
- <!-- if includes -->
173
-
174
- <div id="section">
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
- <!-- if method_list -->
184
-
185
-
186
- </div>
187
-
188
-
189
- <div id="validator-badges">
190
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
191
- </div>
192
-
193
- </body>
194
- </html>
@@ -1,113 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: RuGPost.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>RuGPost.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>lib/RuGPost.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Mon May 09 00:11:14 +0200 2011</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
-
72
- <div id="requires-list">
73
- <h3 class="section-bar">Required files</h3>
74
-
75
- <div class="name-list">
76
- rubygems&nbsp;&nbsp;
77
- gli&nbsp;&nbsp;
78
- redcloth&nbsp;&nbsp;
79
- gmail&nbsp;&nbsp;
80
- pathname&nbsp;&nbsp;
81
- extlib&nbsp;&nbsp;
82
- </div>
83
- </div>
84
-
85
- </div>
86
-
87
-
88
- </div>
89
-
90
-
91
- <!-- if includes -->
92
-
93
- <div id="section">
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
- <!-- if method_list -->
103
-
104
-
105
- </div>
106
-
107
-
108
- <div id="validator-badges">
109
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
110
- </div>
111
-
112
- </body>
113
- </html>
@@ -1,101 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: post_commands.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>post_commands.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>lib/rugpost/commands/post_commands.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Tue May 03 00:53:20 +0200 2011</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
-
72
-
73
- </div>
74
-
75
-
76
- </div>
77
-
78
-
79
- <!-- if includes -->
80
-
81
- <div id="section">
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
- <!-- if method_list -->
91
-
92
-
93
- </div>
94
-
95
-
96
- <div id="validator-badges">
97
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
98
- </div>
99
-
100
- </body>
101
- </html>