pastiepacker 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/pastiepacker/command.rb +1 -0
- data/lib/pastiepacker/fetch.rb +0 -1
- data/lib/pastiepacker/version.rb +1 -1
- data/website/index.html +1 -1
- metadata +12 -2
data/History.txt
CHANGED
data/lib/pastiepacker/command.rb
CHANGED
@@ -34,6 +34,7 @@ class PastiePacker
|
|
34
34
|
url = process_url(raw_url)
|
35
35
|
unique_subfolder = url.match(/[\/=]([^\/=]*)$/)[1]
|
36
36
|
self.contents = fetch_pastie(url)
|
37
|
+
self.contents = self.contents.read if self.contents.respond_to?(:read)
|
37
38
|
unpack(File.join(FileUtils.pwd, unique_subfolder))
|
38
39
|
end
|
39
40
|
nil # so nothing is printed as a result
|
data/lib/pastiepacker/fetch.rb
CHANGED
data/lib/pastiepacker/version.rb
CHANGED
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>Pastie Packer</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/pastiepacker"; return false'>
|
35
35
|
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/pastiepacker" class="numbers">1.1.
|
36
|
+
<a href="http://rubyforge.org/projects/pastiepacker" class="numbers">1.1.1</a>
|
37
37
|
</div>
|
38
38
|
<h1>→ ‘pastiepacker’</h1>
|
39
39
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pastiepacker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dr Nic Williams
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-06
|
12
|
+
date: 2008-08-06 00:00:00 +10:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -32,6 +32,16 @@ dependencies:
|
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: "0.6"
|
34
34
|
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: hoe
|
37
|
+
type: :development
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.7.0
|
44
|
+
version:
|
35
45
|
description: "Prepare to pack or unpack piles of files with the pastiepacker. To pack a folder: pastiepacker To pack some files ending with \"txt\": find * | grep \"txt$\" | pastiepacker - It outputs the url of the prepared pastie, so you can pipe it to xargs: - pastiepacker | xargs open To unpack a packed pastie: pastiepacker http://pastie.caboo.se/175886 - This unpacks the files into a subfolder 175886/"
|
36
46
|
email:
|
37
47
|
- drnicwilliams@gmail.com
|