rightmove 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/rightmove.rb +4 -4
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
data/lib/rightmove.rb CHANGED
@@ -5,13 +5,13 @@ module Rightmove
5
5
  class Archive
6
6
  attr_accessor :document, :zip_file, :branch_id, :timestamp
7
7
 
8
- def initialize(file = nil, options = {})
8
+ def initialize(file = nil)
9
9
  open(file) unless file.nil?
10
10
  end
11
11
 
12
- def open(file, arguments = {})
12
+ def open(file)
13
13
  self.zip_file = file
14
- read(arguments)
14
+ read
15
15
  end
16
16
 
17
17
  def zip_file=(file)
@@ -25,7 +25,7 @@ module Rightmove
25
25
  end
26
26
 
27
27
  private
28
- def read(arguments)
28
+ def read
29
29
  blm = self.zip_file.entries.select! {|v| v.to_s =~ /\.blm/i }.first
30
30
  @document = BLM::Document.new( self.zip_file.read(blm) )
31
31
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 2
9
- version: 0.2.2
8
+ - 3
9
+ version: 0.2.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Robert May
@@ -135,7 +135,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
- hash: -611782865
138
+ hash: 42952019
139
139
  segments:
140
140
  - 0
141
141
  version: "0"