busk-ruby-readability 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/readability.rb CHANGED
@@ -3,8 +3,8 @@ require 'nokogiri'
3
3
 
4
4
  # so to run with non-Rails projects
5
5
  class Object
6
- def try(method)
7
- send method if respond_to? method
6
+ def try(method, *arguments)
7
+ send(method, *arguments) if respond_to? method
8
8
  end
9
9
  end
10
10
 
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
2
2
  s.authors = ["Fabio Mont Alegre", "Rodrigo Flores"]
3
3
  s.email = "it-team@busk.com"
4
4
  s.homepage = "http://github.com/busk/ruby-readability"
5
- s.version = "1.1.0"
5
+ s.version = "1.1.1"
6
6
  s.name = "busk-ruby-readability"
7
7
  s.summary = "A rewrite of original ruby-readability"
8
8
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: busk-ruby-readability
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Fabio Mont Alegre
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-01-27 00:00:00 -02:00
19
+ date: 2011-01-28 00:00:00 -02:00
20
20
  default_executable:
21
21
  dependencies: []
22
22