postrank-uri 1.0.21 → 1.0.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25f156e4f2a2df514cf537a05b359d510fedc5d7
4
- data.tar.gz: 2616681c902aa2b371c8d5e3a256ea15111ae0f8
3
+ metadata.gz: ec604fb110e9639bbbaf4ef4359ef8ff50f9ffe5
4
+ data.tar.gz: c274267fa47fb251cc0b2d815cbf951bf485eff6
5
5
  SHA512:
6
- metadata.gz: 47204dad9f8c06a70f477bf1dffcc27b50e2668702f400239034579d1190b5492ad5295823893753d6d28d57843f9786c3265125a1764aba8c3b9f1f55581832
7
- data.tar.gz: 6b6a5dd1c1360cdbb1ba32a3a5e34f087b74f5999264b94339c0f26cebfa614471de6c5ca9774532da5b88b12f32996c65068396cac5189f3f8509ddad9447ac
6
+ metadata.gz: 656ef997afbde52825c248fcc34660dc2b2f9178b33909b8f9e2daf644c300476b8d0a24619f7bb2d3563bde7dbc90a3f4d67b9da032c084a14cafcfbae30425
7
+ data.tar.gz: fa8fb77586a75f265b0bf3cc159cc65f2ccabb5c49c86903d1314687f90ac8e2b07017f45a328d74bc2ef181fa0977c8ccc44b9b51e96976f45260bed8f9120d
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/postrank-uri.svg)](https://rubygems.org/gems/postrank-uri) [![Build Status](https://travis-ci.org/postrank-labs/postrank-uri.svg?branch=master)](https://travis-ci.org/postrank-labs/postrank-uri)
4
4
 
5
- A collection of convenience methods (Ruby 1.8 & Ruby 1.9) for dealing with extracting, (un)escaping, normalization, and canonicalization of URIs. At PostRank we process over 20M URI associated activities each day, and we need to make sure that we can reliably extract the URIs from a variety of text formats, deal with all the numerous and creative ways users like to escape and unescape their URIs, normalize the resulting URIs, and finally apply a set of custom canonicalization rules to make sure that we can cross-reference when the users are talking about the same URL.
5
+ A collection of convenience methods (Ruby 2.0+) for dealing with extracting, (un)escaping, normalization, and canonicalization of URIs. At PostRank we process over 20M URI associated activities each day, and we need to make sure that we can reliably extract the URIs from a variety of text formats, deal with all the numerous and creative ways users like to escape and unescape their URIs, normalize the resulting URIs, and finally apply a set of custom canonicalization rules to make sure that we can cross-reference when the users are talking about the same URL.
6
6
 
7
7
  In a nutshell, we need to make sure that creative cases like the ones below all resolve to same URI:
8
8
 
@@ -1,5 +1,5 @@
1
1
  module PostRank
2
2
  module URI
3
- VERSION = "1.0.21"
3
+ VERSION = "1.0.22"
4
4
  end
5
5
  end
@@ -12,6 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.summary = "URI normalization, c14n, escaping, and extraction"
13
13
  s.description = s.summary
14
14
  s.license = 'MIT'
15
+ s.required_ruby_version = ">= 2.0.0"
15
16
 
16
17
  s.rubyforge_project = "postrank-uri"
17
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postrank-uri
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.21
4
+ version: 1.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Grigorik
@@ -152,7 +152,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
152
152
  requirements:
153
153
  - - ">="
154
154
  - !ruby/object:Gem::Version
155
- version: '0'
155
+ version: 2.0.0
156
156
  required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - ">="