dynarex 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dynarex.rb +2 -0
  2. metadata +2 -2
data/lib/dynarex.rb CHANGED
@@ -23,6 +23,8 @@ class Dynarex
23
23
  def open(location)
24
24
  if location[/^https?:\/\//] then
25
25
  buffer = Kernel.open(location, 'UserAgent' => 'Dynarex-Reader').read
26
+ elsif location[/\</]
27
+ buffer = location
26
28
  else
27
29
  buffer = File.open(location,'r').read
28
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors: []
7
7
 
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-03-27 00:00:00 +00:00
12
+ date: 2010-03-29 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15