snoo 0.1.0.pre.4 → 0.1.0.pre.5

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.
@@ -77,7 +77,7 @@ module Snoo
77
77
  first: data[0]['data-fullname'],
78
78
  first_date: Time.parse(data[0].children[0].child['datetime']),
79
79
  last: data[-1]['data-fullname'],
80
- last_date: Time.parse(data[-1].children[0].child['datetime'])
80
+ last_date: Time.parse(data[-1].children[0].child['datetime']),
81
81
  }
82
82
  data.each do |tr|
83
83
 
@@ -86,7 +86,8 @@ module Snoo
86
86
  time: Time.parse(tr.children[0].child['datetime']),
87
87
  author: tr.children[1].child.content,
88
88
  action: tr.children[2].child['class'].split[1],
89
- description: tr.children[3].content
89
+ description: tr.children[3].content,
90
+ href: tr.children[3].css('a')[0]['href']
90
91
  }
91
92
  end
92
93
  return processed
data/lib/snoo/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Snoo
2
2
  # The version string (duh)
3
- VERSION = "0.1.0.pre.4"
3
+ VERSION = "0.1.0.pre.5"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snoo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.4
4
+ version: 0.1.0.pre.5
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: