monkey-lib 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -89,7 +89,7 @@ module Monkey
89
89
  end
90
90
 
91
91
  def file_join(other)
92
- Pathname(self).join(other).to_s
92
+ Pathname(self).join(other.to_s).to_s
93
93
  end
94
94
 
95
95
  alias / file_join
@@ -82,6 +82,7 @@ describe Monkey::Ext::String do
82
82
  it "imports Pathname's file_join to String" do
83
83
  @strings.each do |s|
84
84
  s.file_join("foo").should == Pathname(s).join("foo").to_s
85
+ s.file_join(:foo).should == Pathname(s).join("foo").to_s
85
86
  end
86
87
  end
87
88
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monkey-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-20 00:00:00 +01:00
12
+ date: 2009-12-28 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15