pwd 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/pwd.rb +4 -0
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16de8f6d0fd8bb1cd9be3cd43ca4eb3ad1ffb756
4
- data.tar.gz: a42c684883006e599ee4d6733a0aa73c70777490
3
+ metadata.gz: 62df869ad442738496ded08215c83ca71a8a5073
4
+ data.tar.gz: c13ceebaf0acfa7db1b4617db8d9ffd0d022584e
5
5
  SHA512:
6
- metadata.gz: 18d64a062049094f8535a3caccf6d0e6bd8989f296ac828e74b0d4ae31bb5fc18f17b34c5805c14c1fd8ebaaa83ecafc68c8d2b3d8ae531730ba1a64325711af
7
- data.tar.gz: a3fcb76d346011f75d563b876e422a4a4f3d72185301b170cdc8d289dfcb2835435d6d8067479d18f0ac3a250157187882da17f70bfd4aa7d698420e6cd23382
6
+ metadata.gz: 2dcb6bef9c4ae6883fdbb2992ed099157633389cd46e97c18e2428c8e263cc7dda9bb4497c94c0a29c801845a8320131d1342f8163a35591265a863c08a240b2
7
+ data.tar.gz: d13ee2303dc80da92c618eb1e4fa5ca43103fb71b3ab6501880d3707f58441ea692de97342425025d1f9381fce5cea937b7f9cacdcd8ddc5e55f5b066d62de5e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.0
data/lib/pwd.rb CHANGED
@@ -17,6 +17,10 @@ module PWD
17
17
 
18
18
  end
19
19
 
20
+ def join(*path_parts)
21
+ File.join(pwd,*path_parts)
22
+ end
23
+
20
24
  def rails_present?
21
25
  !!(defined?(Rails) && !Rails.root.nil?)
22
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Luzsi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-18 00:00:00.000000000 Z
11
+ date: 2015-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project:
96
- rubygems_version: 2.2.2
96
+ rubygems_version: 2.4.8
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Look up for project root folder based on conventions