Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 3 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
Showing with 5 additions and 4 deletions.
  1. +2 −2 Readme.md
  2. +1 −1 lib/unwind.rb
  3. +1 −1 lib/unwind/version.rb
  4. +1 −0 unwind.gemspec
View
4 Readme.md
@@ -4,7 +4,7 @@ Enables following a series of redirects (shortened urls)
# Prerequisites
-Only tested on Ruby 1.9.3
+Tested on Ruby 1.8.7 and 1.9.3
# Example Code
@@ -22,4 +22,4 @@ Most of the code is based on John Nunemaker's blog post [Following Redirects wit
# License
-Provided under the Do Whatever You Want With This Code License.
+Provided under the Do Whatever You Want With This Code License.
View
2 lib/unwind.rb
@@ -94,7 +94,7 @@ def add_cookies(value)
when Hash
merge!(value)
when String
- value = value.gsub(/expires=[\w,\s-:]+;/i, '')
+ value = value.gsub(/expires=[\w,\s\-\:]+;/i, '')
value = value.gsub(/httponly[\,\;]*/i, '')
value.split(/[;,]\s/).each do |cookie|
array = cookie.split('=')
View
2 lib/unwind/version.rb
@@ -1,3 +1,3 @@
module Unwind
- VERSION = "0.9.5"
+ VERSION = "0.9.6"
end
View
1 unwind.gemspec
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
# specify any dependencies here; for example:
s.add_development_dependency "rake"
+ s.add_development_dependency "minitest"
s.add_development_dependency "vcr"
s.add_development_dependency "fakeweb"
s.add_runtime_dependency "faraday", '~> 0.7'

No commit comments for this range

Something went wrong with that request. Please try again.