faster_pathname 1.0.0 → 1.0.1

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: 0ccbc8073d0305e0b0884acb20129df0f8e26269
4
- data.tar.gz: 85a9c53a151c5700e0f05e16f819dfc244e98119
3
+ metadata.gz: 4f360a95336eb4995643b8fe14f5f4c3f1d03020
4
+ data.tar.gz: 570630f3a1a1930669577eefcaaf57d6bde82910
5
5
  SHA512:
6
- metadata.gz: 6a15c9cfae6cc12c8055b7483edd0dd6275b4ed4d4412d9703c1ff6a3af72220fd8fff51fc54afadf19077eb56dc22150cc47dc21b666202a3e0b9ceac57859b
7
- data.tar.gz: 17a611ee4b55a2aae84e7fab98beb3bed399ede70d5b20d29c33c282e36bec28f5b5e4a1b045defcb97e556be5f8c72435bf8280287efe53b714f470d66290bc
6
+ metadata.gz: fa9e3b352d32a36083ba884e8d842feb4bc59a17f31df982c82468ed531b695fd2ef45aff76499a2bc7730cf3196b0847efbb8949c351e1e773dc822fc7fcf69
7
+ data.tar.gz: 375166409b6ff1601759f0dd61e8063b4984038882cd183db69bd2f849315fe0a3fdd88cd5d5f73289c46596cf04103d2f4c70f1247f9f716706509fe9a287ca
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # FasterPathname
2
2
 
3
- ![Travis build status](https://travis-ci.org/cheald/faster_pathname.png)
3
+ [![Build Status](https://travis-ci.org/cheald/faster_pathname.png?branch=v1.0.0)](https://travis-ci.org/cheald/faster_pathname)
4
4
 
5
5
  Pathname is slow. This makes Sprockets slow. This gem patches some of the slowest methods in
6
6
  Pathname to make Sprockets fast.
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["cheald@gmail.com"]
11
11
  spec.summary = %q{Patches some parts of the Pathname Ruby stdlib class for improved performance}
12
12
  spec.description = %q{Patches some parts of the Pathname Ruby stdlib class for improved performance}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/cheald/faster_pathname"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -1,3 +1,3 @@
1
1
  module FasterPathname
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  class Pathname
2
2
  def relative?
3
- @path[0] != File::SEPARATOR && @path[0] != File::ALT_SEPARATOR
3
+ @path[0] != File::SEPARATOR && @path[0] != File::ALT_SEPARATOR && !@path.match(/^[a-z]:/i)
4
4
  end
5
5
 
6
6
  def join(*args)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faster_pathname
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Heald
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-09 00:00:00.000000000 Z
11
+ date: 2014-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -60,7 +60,7 @@ files:
60
60
  - test/envutil_19.rb
61
61
  - test/test_pathname.rb
62
62
  - test/test_pathname_19.rb
63
- homepage: ''
63
+ homepage: https://github.com/cheald/faster_pathname
64
64
  licenses:
65
65
  - MIT
66
66
  metadata: {}
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 2.0.3
83
+ rubygems_version: 2.2.2
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: Patches some parts of the Pathname Ruby stdlib class for improved performance
@@ -89,4 +89,3 @@ test_files:
89
89
  - test/envutil_19.rb
90
90
  - test/test_pathname.rb
91
91
  - test/test_pathname_19.rb
92
- has_rdoc: