pa 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/pa.rb +1 -1
  2. data/lib/pa/version.rb +1 -1
  3. metadata +2 -2
data/lib/pa.rb CHANGED
@@ -217,7 +217,7 @@ class Pa
217
217
  def initialize(path, o={})
218
218
  @path2 = Pa.get(path)
219
219
  # convert ~ to ENV["HOME"]
220
- @path2.sub!(/^~/, ENV["HOME"]) if @path2 # nil
220
+ @path2.sub!(/^~/, ENV["HOME"].to_s) if @path2 # nil
221
221
  @options = o
222
222
 
223
223
  @rel = o[:rel] || ""
data/lib/pa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Pa
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-21 00:00:00.000000000 Z
12
+ date: 2012-02-23 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! 'a path library for Ruby
15
15