lib/fushin/posts/post.rb in fushin-0.3.3 vs lib/fushin/posts/post.rb in fushin-0.3.4

- old
+ new

@@ -27,10 +27,10 @@ out << body end.first end def btcs - @btcs ||= main.text.scan(/[13][a-km-zA-HJ-NP-Z0-9]{26,33}/).uniq.map do |address| + @btcs ||= main.text.scan(/\b[13][a-km-zA-HJ-NP-Z0-9]{26,33}\b/).uniq.map do |address| Models::BTC.new(address) end end def urls