rubiojr-iorb 0.5.3 → 0.5.90

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Manifest.txt +1 -0
  2. data/iorb.gemspec +1 -1
  3. data/lib/iorb.rb +18 -1
  4. metadata +1 -1
@@ -15,6 +15,7 @@ lib/iorb.rb
15
15
  lib/iorb/commands/add.rb
16
16
  lib/iorb/commands/create.rb
17
17
  lib/iorb/commands/destroy.rb
18
+ lib/iorb/commands/download.rb
18
19
  lib/iorb/commands/info.rb
19
20
  lib/iorb/commands/list.rb
20
21
  lib/iorb/commands/mail.rb
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{iorb}
3
- s.version = "0.5.3"
3
+ s.version = "0.5.90"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Sergio RubioSergio Rubio"]
@@ -15,7 +15,7 @@ class Dropio::Asset
15
15
  end
16
16
  end
17
17
  module IORB
18
- VERSION = "0.5.3"
18
+ VERSION = "0.5.90"
19
19
  module Util
20
20
  # Code stolen from:
21
21
  # http://evan.tiggerpalace.com/2008/04/26/pastie-from-the-mac-clipboard/
@@ -149,3 +149,20 @@ module IORB
149
149
  end
150
150
 
151
151
  end
152
+
153
+ #
154
+ # inject each_file to Dropio::Drop class
155
+ #
156
+ module Dropio
157
+ class Drop
158
+ def each_file
159
+ open(rss) do |f|
160
+ f.readlines.each do |l|
161
+ if l =~ /<enclosure .*url="(.*)"\/>/
162
+ yield $1
163
+ end
164
+ end
165
+ end
166
+ end
167
+ end
168
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubiojr-iorb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.90
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio RubioSergio Rubio