gotascii-crags 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
- pkg/
1
+ pkg/
2
+ .DS_Store
data/crags.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{crags}
3
- s.version = "1.2.3"
3
+ s.version = "1.2.4"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Justin Marney"]
@@ -3,7 +3,7 @@ module Crags
3
3
  include Fetch
4
4
 
5
5
  def strip_http(url)
6
- url.gsub(/http\:\/\/(.*)\//,'\1')
6
+ url.gsub(/^http\:\/\/(.*)/,'\1')
7
7
  end
8
8
 
9
9
  def location_doc
data/lib/crags.rb CHANGED
@@ -3,7 +3,7 @@ require 'curb'
3
3
  require 'hpricot'
4
4
 
5
5
  module Crags
6
- VERSION = '1.2.3'
6
+ VERSION = '1.2.4'
7
7
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
8
8
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gotascii-crags
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Marney