pwd 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -4
- data/VERSION +1 -1
- data/lib/pwd.rb +3 -1
- data/lib/pwd/core_ext.rb +9 -0
- data/lib/pwd/core_ext/dir.rb +7 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16de8f6d0fd8bb1cd9be3cd43ca4eb3ad1ffb756
|
4
|
+
data.tar.gz: a42c684883006e599ee4d6733a0aa73c70777490
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18d64a062049094f8535a3caccf6d0e6bd8989f296ac828e74b0d4ae31bb5fc18f17b34c5805c14c1fd8ebaaa83ecafc68c8d2b3d8ae531730ba1a64325711af
|
7
|
+
data.tar.gz: a3fcb76d346011f75d563b876e422a4a4f3d72185301b170cdc8d289dfcb2835435d6d8067479d18f0ac3a250157187882da17f70bfd4aa7d698420e6cd23382
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# Pwd
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Look up for project root folder based on conventions
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,7 +20,15 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
```ruby
|
24
|
+
|
25
|
+
require 'pwd'
|
26
|
+
|
27
|
+
PWD.pwd #> returns project root folder
|
28
|
+
|
29
|
+
Dir.root_folder #> the same but more readable in that form
|
30
|
+
|
31
|
+
```
|
26
32
|
|
27
33
|
## Development
|
28
34
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.1.0
|
data/lib/pwd.rb
CHANGED
data/lib/pwd/core_ext.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pwd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Luzsi
|
@@ -70,6 +70,8 @@ files:
|
|
70
70
|
- bin/console
|
71
71
|
- bin/setup
|
72
72
|
- lib/pwd.rb
|
73
|
+
- lib/pwd/core_ext.rb
|
74
|
+
- lib/pwd/core_ext/dir.rb
|
73
75
|
- lib/pwd/version.rb
|
74
76
|
- pwd.gemspec
|
75
77
|
homepage: https://github.com/adamluzsi/pwd.rb
|