pathname_local 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  require 'pathname'
2
2
 
3
3
  Pathname.module_eval do
4
- def self.local(path)
4
+ def self.local(path = '.')
5
5
  new(File.expand_path(File.join('..', path), caller.first))
6
6
  end
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module PathnameLocal
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pathname_local
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sven Fuchs
@@ -19,7 +19,7 @@ date: 2010-07-17 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
22
- description: "[description]"
22
+ description: Super-tiny gem that adds Pathname.local(path).
23
23
  email: svenfuchs@artweb-design.de
24
24
  executables: []
25
25
 
@@ -65,6 +65,6 @@ rubyforge_project: "[none]"
65
65
  rubygems_version: 1.3.7
66
66
  signing_key:
67
67
  specification_version: 3
68
- summary: "[summary]"
68
+ summary: Super-tiny gem that adds Pathname.local(path)
69
69
  test_files: []
70
70