box-rb 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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: