epilicious 0.1.1 → 0.1.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: 63881005f3b3063e4ec1026eb4414f2eb9b7c7ca
4
- data.tar.gz: 72210cabb28747da50dca8f5d1ab6d317d4f6010
3
+ metadata.gz: 5f32ec56c09ad7d4c33ebb1c49fa1f8f5635642c
4
+ data.tar.gz: 65c4f1f86de92f72a89a73c5003352af56e23683
5
5
  SHA512:
6
- metadata.gz: 0f0d1581e2247b1df885107fe7de98cf9372d6aeaf156b5ccecdfa8486268348a1113e5d6f8e66d586b3d010c2f00e4300fee8f2b59ff5f752dad311755bfff0
7
- data.tar.gz: 1f5f29744a1fcf3e6ae5c0bd2ef277f5cc247079b7cf4f5cfab861ac16c9cd56bde1341eb66a58075a0f20c02b33b5ce0d1aff9e37c2bed74111ae4e5e42556d
6
+ metadata.gz: 3dc3a15792d183097116dbc83d13ff05ea9e0967f00e15b1c08a7b400f3e063c380f79364931e5f2f17fc7a7246fa5933b3eb86e7e9838f489534850953c4725
7
+ data.tar.gz: 1f5ebdadbadb9138df5d10c95585c6a142b10cb9ab48489298d1596ab6e6e05a4a6d152301e2dc6d6b8769742c2fdaa8deee5518a85c0cd0d1bd2235df2ba01c
@@ -31,7 +31,7 @@ module Epilicious
31
31
 
32
32
  def instructions(page)
33
33
  preparation = page.css("div#preparation.instructions p")
34
- preparation.map {|i| i.text}
34
+ preparation.map {|i| i.text.strip.gsub("\n", ' ').squeeze(' ')}
35
35
  end
36
36
  end
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module Epilicious
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epilicious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Hein Hoogstad