pho 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/doc/rdoc/classes/Pho/CommandLine.html +1 -1
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/lib/pho/command_line_rb.html +1 -1
- data/lib/pho/command_line.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
@@ -468,7 +468,7 @@ Class that implements the command-line behaviour
|
|
468
468
|
<span class="ruby-keyword kw">elsif</span> <span class="ruby-ivar">@opts</span>[<span class="ruby-value str">"dir"</span>]
|
469
469
|
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Uploading contents of directory: #{@opts["dir"]}"</span>
|
470
470
|
<span class="ruby-identifier">collection</span> = <span class="ruby-constant">Pho</span><span class="ruby-operator">::</span><span class="ruby-constant">FileManagement</span><span class="ruby-operator">::</span><span class="ruby-constant">FileManager</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@store</span>, <span class="ruby-ivar">@opts</span>[<span class="ruby-value str">"dir"</span>], <span class="ruby-ivar">@opts</span>[<span class="ruby-value str">"base"</span>])
|
471
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-
|
471
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@opts</span>[<span class="ruby-value str">"traverse"</span>]
|
472
472
|
<span class="ruby-identifier">collection</span>.<span class="ruby-identifier">store</span>(<span class="ruby-identifier">:traverse</span>)
|
473
473
|
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">collection</span>.<span class="ruby-identifier">summary</span>(<span class="ruby-identifier">:traverse</span>)
|
474
474
|
<span class="ruby-keyword kw">else</span>
|
data/doc/rdoc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Wed, 02 Sep 2009 15:34:47 +0100
|
data/lib/pho/command_line.rb
CHANGED
@@ -140,7 +140,7 @@ module Pho
|
|
140
140
|
elsif @opts["dir"]
|
141
141
|
puts "Uploading contents of directory: #{@opts["dir"]}"
|
142
142
|
collection = Pho::FileManagement::FileManager.new(@store, @opts["dir"], @opts["base"])
|
143
|
-
if opts["traverse"]
|
143
|
+
if @opts["traverse"]
|
144
144
|
collection.store(:traverse)
|
145
145
|
puts collection.summary(:traverse)
|
146
146
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pho
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leigh Dodds
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-09-02 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|