public
Description: Pack a folder (or selection) of files into a pastie; and then unpack it back into raw files
Homepage: http://pastiepacker.rubyforge.org
Clone URL: git://github.com/drnic/pastie-packer.git
Search Repo:
1.1.0 - Added objective-c++, java and actionscript formats
drnic (author)
Tue Jun 24 23:37:46 -0700 2008
commit  4ed8cee531dcb52bc7502ae8db85dc55f80ca9f3
tree    1ac12ae555790f72854b59abd6c43c0a1f4390d5
parent  fbfe71e7eb67eaf8dce4c368f6db6c74c73e979a
...
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
0
@@ -1,3 +1,7 @@
0
+== 1.1.0 2008-06-25
0
+
0
+* Added objective-c++, java and actionscript formats
0
+
0
 == 1.0.0 2008-04-03
0
 
0
 * 1 major enhancement:
...
1
2
3
 
 
4
 
5
6
7
...
22
23
24
25
 
26
27
28
...
1
2
 
3
4
5
6
7
8
9
...
24
25
26
 
27
28
29
30
0
@@ -1,7 +1,9 @@
0
 class PastiePacker
0
   AVAILABLE_PARSERS = %w(
0
- c++ css diff html_rails html javascript
0
+ actionscript c++ css diff html_rails html
0
+ java javascript
0
     php plain_text python
0
+ objective-c++
0
     ruby ruby_on_rails sql
0
     shell-unix-generic
0
   )
0
@@ -22,7 +24,7 @@ class PastiePacker
0
       http = Net::HTTP.new(PASTIE_URI)
0
       query_string = { :paste => {
0
         :body => CGI.escape(body),
0
- :parser => format,
0
+ :parser => CGI.escape(format),
0
         :restricted => is_private,
0
         :authorization => 'burger'
0
       }}.to_query_string
...
1
2
3
4
 
5
6
7
...
1
2
3
 
4
5
6
7
0
@@ -1,7 +1,7 @@
0
 module PastiePacker #:nodoc:
0
   module VERSION #:nodoc:
0
     MAJOR = 1
0
- MINOR = 0
0
+ MINOR = 1
0
     TINY = 0
0
 
0
     STRING = [MAJOR, MINOR, TINY].join('.')

Comments

    No one has commented yet.