radiospieler 0.3.11 → 0.3.12

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -6,6 +6,7 @@ source "http://rubygems.org"
6
6
  gem "htmlentities"
7
7
  gem "simple_cache_rs"
8
8
  gem "nokogiri"
9
+ gem "addressable"
9
10
 
10
11
  # Add dependencies to develop your gem here.
11
12
  # Include everything needed to run rake, tests, features, etc.
data/Gemfile.lock CHANGED
@@ -48,6 +48,7 @@ PLATFORMS
48
48
  ruby
49
49
 
50
50
  DEPENDENCIES
51
+ addressable
51
52
  bundler
52
53
  htmlentities
53
54
  jeweler
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.11
1
+ 0.3.12
@@ -1,3 +1,4 @@
1
+ require 'addressable/uri'
1
2
  require 'net/http'
2
3
  require 'simple_cache'
3
4
  require 'nokogiri'
@@ -50,7 +51,7 @@ module Http
50
51
  def get_body_and_headers_(uri_str, limit = 10)
51
52
  raise 'too many redirections' if limit == 0
52
53
 
53
- uri = URI.parse(uri_str)
54
+ uri = Addressable::URI.parse(uri_str)
54
55
 
55
56
  http = Net::HTTP.new(uri.host, uri.port)
56
57
  if uri.scheme == "https"
data/radiospieler.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "radiospieler"
8
- s.version = "0.3.11"
8
+ s.version = "0.3.12"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["radiospiel"]
12
- s.date = "2012-05-08"
12
+ s.date = "2012-05-09"
13
13
  s.description = "Some basics that your application could benefit from."
14
14
  s.email = "eno@open-lab.org"
15
15
  s.extra_rdoc_files = [
@@ -64,7 +64,7 @@ Gem::Specification.new do |s|
64
64
  s.homepage = "http://github.com/radiospiel/radiospieler"
65
65
  s.licenses = ["MIT"]
66
66
  s.require_paths = ["lib"]
67
- s.rubygems_version = "1.8.17"
67
+ s.rubygems_version = "1.8.10"
68
68
  s.summary = "Application base code"
69
69
 
70
70
  if s.respond_to? :specification_version then
@@ -74,6 +74,7 @@ Gem::Specification.new do |s|
74
74
  s.add_runtime_dependency(%q<htmlentities>, [">= 0"])
75
75
  s.add_runtime_dependency(%q<simple_cache_rs>, [">= 0"])
76
76
  s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
77
+ s.add_runtime_dependency(%q<addressable>, [">= 0"])
77
78
  s.add_development_dependency(%q<bundler>, [">= 0"])
78
79
  s.add_development_dependency(%q<jeweler>, [">= 0"])
79
80
  s.add_development_dependency(%q<vcr>, [">= 0"])
@@ -86,6 +87,7 @@ Gem::Specification.new do |s|
86
87
  s.add_dependency(%q<htmlentities>, [">= 0"])
87
88
  s.add_dependency(%q<simple_cache_rs>, [">= 0"])
88
89
  s.add_dependency(%q<nokogiri>, [">= 0"])
90
+ s.add_dependency(%q<addressable>, [">= 0"])
89
91
  s.add_dependency(%q<bundler>, [">= 0"])
90
92
  s.add_dependency(%q<jeweler>, [">= 0"])
91
93
  s.add_dependency(%q<vcr>, [">= 0"])
@@ -99,6 +101,7 @@ Gem::Specification.new do |s|
99
101
  s.add_dependency(%q<htmlentities>, [">= 0"])
100
102
  s.add_dependency(%q<simple_cache_rs>, [">= 0"])
101
103
  s.add_dependency(%q<nokogiri>, [">= 0"])
104
+ s.add_dependency(%q<addressable>, [">= 0"])
102
105
  s.add_dependency(%q<bundler>, [">= 0"])
103
106
  s.add_dependency(%q<jeweler>, [">= 0"])
104
107
  s.add_dependency(%q<vcr>, [">= 0"])