box-rb 1.0.2 → 1.0.3

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/box/reader.rb +1 -1
  2. metadata +1 -1
data/lib/box/reader.rb CHANGED
@@ -23,7 +23,7 @@ module Box
23
23
  end
24
24
 
25
25
  def read(path)
26
- fp = File.new(path, "w")
26
+ fp = File.new(path, "r")
27
27
  data = fp.read
28
28
  fp.close
29
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: box-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: