aipp 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 279a7722a7ee0070603236b477cdd96bb1babfea88e8e70cce7088069683e783
4
- data.tar.gz: cb9453b4aca266eafc8aa7ae8d949d402c42f748d2193796b160fc17c9280068
3
+ metadata.gz: 49d074cd575fab6f3620f201d538c6a2d8accf1d375438b7cd4fd2e2d77aca56
4
+ data.tar.gz: 1e1ca6f26498e1033385c7b2dc8aeb558c19b28300df0a5521699956661dd026
5
5
  SHA512:
6
- metadata.gz: 4102f1a2c77ea39f2b3200c61d49c7dd194768944688f42d4cb0740707d431b2dc290e35a81215de0c646284a59b8ed9fee4dff15a6cb65616e70e3cf979868a
7
- data.tar.gz: c8087248c414c41e415c1361370f5ec84116e6a11d6aa23336eceb353f9af13f72de7b8459b7d4504a44ff4bb9206c042734e18da15a02010bd8f8074ff830d5
6
+ metadata.gz: 1212764315987bacfac6a5429742ef3e9faeff0249cb3bbb4e44554d8a74ef59407e66cf61c3c02475a0a9f316b445449c6adaff3f980a385ab829fbf6472a46
7
+ data.tar.gz: 503d02d65c4ce0e161e0aebafada72110095104a90910131c87d33e8a91196e9c98289db9b5e0e2b7013a1ed664cd5cb550b01f5ddf4ca074e1cee706c3ba782
@@ -1,3 +1,8 @@
1
+ ## 0.2.1
2
+
3
+ #### Changes
4
+ * Fix broken downloader
5
+
1
6
  ## 0.2.0
2
7
 
3
8
  #### Changes
@@ -42,12 +42,12 @@ module AIPP
42
42
  # @return [Nokogiri::HTML5] HTML document
43
43
  def load_html(aip_file: nil)
44
44
  aip_file ||= aip
45
- unless (storage_path = storage_path(aip_file)).exist?
46
- info("Downloading #{storage_file}", force: true)
45
+ unless (aip_path = storage_path(aip_file)).exist?
46
+ info("Downloading #{aip_file}", force: true)
47
47
  storage_path.mkpath
48
- IO.copy_stream(open(url_for(aip_file)), storage_path)
48
+ IO.copy_stream(open(url_for(aip_file)), aip_path)
49
49
  end
50
- Nokogiri::HTML5(storage_path)
50
+ Nokogiri::HTML5(aip_path)
51
51
  end
52
52
 
53
53
  private
@@ -1,3 +1,3 @@
1
1
  module AIPP
2
- VERSION = "0.2.0".freeze
2
+ VERSION = "0.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aipp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn