make_dirs_from_list 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -16
- data/lib/make_dirs_from_list/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 239f0a037c1e2fac2a8b533f5c7ddc837cc681d9
|
4
|
+
data.tar.gz: b80386bc99e6d4ef2f8e75fe3f4147636fe8fab0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a9eb9f7baa82017b4080946ca021a6506687ea8fa84457c78a8432b0b3b3df39e4b53cd6502ad887301653f06676c324192e9d499a67fe4f1780edead251aae
|
7
|
+
data.tar.gz: 1c8124d2cfa1261aed98b2d694710c33b1786a86c63d96e07f97031c7a9eb40dad2a4d52c7a07c970d167cc4c2ebe24c3179da5019cca4d5025387de955fb3ea
|
data/README.md
CHANGED
@@ -1,28 +1,18 @@
|
|
1
1
|
# MakeDirsFromList
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Create a directory structure from data in a spreadsheet given a directory name template as an argument.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
|
-
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'make_dirs_from_list'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
7
|
+
Open the terminal and run:
|
20
8
|
|
21
9
|
$ gem install make_dirs_from_list
|
22
10
|
|
23
11
|
## Usage
|
24
12
|
|
25
|
-
|
13
|
+
$ make_dirs_from_list path/to/sheet.xlsx /target/parent/dir "F3_F4"
|
14
|
+
|
15
|
+
The directory name template "F3_F4" denotes column placeholders i.e. for each row of the spreadsheet, get data in column 3 and 4 and join together with a "_".
|
26
16
|
|
27
17
|
## Development
|
28
18
|
|
@@ -32,5 +22,5 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
22
|
|
33
23
|
## Contributing
|
34
24
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[
|
25
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[DiegoSalazar]/make_dirs_from_list.
|
36
26
|
|