fxpotato 1.0.0 → 1.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1fd9bbd3b50755b6dda523b4588e9bb97ad6814
4
- data.tar.gz: d3ffe9890aeeb6f849208538e5c093e5ff8cd83e
3
+ metadata.gz: a278537e428c0a081fdea812c7b4527b93a05e7e
4
+ data.tar.gz: 1d269f710aa9fe71fe662a0386a52900ba0a10b1
5
5
  SHA512:
6
- metadata.gz: c371b803b61128c1a9be2aba59153ed2037bab1fa622a6b64d6bf2447c30e9d3924011b2141d73628be0b611c12e64516e3ad5d98686915a17a85184ab210f3e
7
- data.tar.gz: 5c0c5f4a2368724b1d8c7157c5a4355da88378b4ae063f7c4f7e2b66d9826375034ce7ec11ef936992d48ab5905f02b5058307f9a817fce8ad3fcbce9d456907
6
+ metadata.gz: 9a0c0b63188de23d75b9f4d99e76b7a42af851b05076e9b43333b1a7234b4dbc9c8706e8cbfe9fbf5c55d9929d70d11a362b6185adca6a2881d98b33dd6125ba
7
+ data.tar.gz: 1a9352e7cc530fd5a6009426ba395b183064482ba008a700528ada9860bfb37d3db56c63a942497b49d3bdc5b94a4cd24aca08dc60f47d8a9451ecbcf90b74c5
@@ -1,3 +1,3 @@
1
1
  module FxPotato
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.2'
3
3
  end
@@ -2,7 +2,7 @@ require 'nokogiri'
2
2
 
3
3
  module FxPotato
4
4
  class XmlRepo
5
- def initialize(data)
5
+ def initialize(data = nil)
6
6
  @data = Nokogiri::XML(data || local_data)
7
7
  @data.remove_namespaces!
8
8
  end
data/lib/fxpotato.rb CHANGED
@@ -30,6 +30,6 @@ module FxPotato
30
30
  end
31
31
 
32
32
  module_function
33
- def repo; @repo ||= XmlRepo.new(nil) end
33
+ def repo; @repo ||= XmlRepo.new end
34
34
  def repo= v; @repo = v end
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fxpotato
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liam Stupid Name Humphreys