imagize 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.3
1
+ 0.3.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{imagize}
8
- s.version = "0.3.3"
8
+ s.version = "0.3.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Raymond van Dongelen"]
@@ -55,8 +55,13 @@ module Imagize
55
55
  },
56
56
  :twitter=>{
57
57
  :url=>"http://t.co/"
58
+ },
59
+ :lytsr=>{
60
+ :url=>"http://lyt.sr/"
61
+ },
62
+ :google=>{
63
+ :url=>"http://goo.gl/"
58
64
  }
59
-
60
65
  }
61
66
 
62
67
  IMAGE_URL = /http:\/\/[.\w]*\/[\/\w]*/
@@ -100,7 +100,10 @@ describe "Imagize" do
100
100
  @imagizer.extract_shortener("http://bit.ly/3EgFOY").should == "http://www.nu.nl"
101
101
  @imagizer.extract_shortener("http://bit.ly/cxGTkx").should == "http://www.facebook.com/XL1067/posts/116716535027115"
102
102
  @imagizer.extract_shortener("http://j.mp/3EgFOY").should == "http://www.nu.nl"
103
- @imagizer.extract_shortener("http://is.gd/bSCVo").should == "http://www.nu.nl"
103
+ @imagizer.extract_shortener("http://is.gd/bSCVo").should == "http://www.nu.nl"
104
+ @imagizer.extract_shortener("http://goo.gl/VdHct").should == "http://www.nu.nl/"
105
+ # @imagizer.extract_shortener("http://lyt.sr/k5aub").should == "http://www.nu.nl"
106
+
104
107
  end
105
108
 
106
109
  it "should extract image in shortened url" do
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 3
9
- version: 0.3.3
8
+ - 4
9
+ version: 0.3.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Raymond van Dongelen