mkfiles 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eef742e980032fcd742971f1fabfcc4fb0cd15e4
4
- data.tar.gz: 17b8025c8f950e4d56f8e3e5e853563904096184
3
+ metadata.gz: 75d413d001b33f32d72ff9d6871256548644ee1f
4
+ data.tar.gz: 1568b8aff13cf617f4ae07895dc1fe5399af19f2
5
5
  SHA512:
6
- metadata.gz: 40cda40b16ba3167c0d590ac7bfddcbd016438020e1aa754cffb31f743566b8df7fbd967d6b56eeb4deefb3ba700d5fd2073a20a4bdc4f55bf2add959f8e784f
7
- data.tar.gz: 65fe32ea0f89bb8aae0c69ce41138398a4666ecc30806c1600c6c435cc3301097a75e6a25f41291f9fac9947fdc3a629164e1ff5aa6177c5461d539b02035293
6
+ metadata.gz: 12341e47add908f51da99f68a8d9cf0b90cc9dc49b6e481b860fd8112777083ad2d4d908a4d87a3b769c630294b38fae5ec7a521b6afe8094882903c7c2be91e
7
+ data.tar.gz: bc0bd836ad85812c0c04249733b7e44158762875fbc14e2841d51d637ee2f82bf2476ee3746a16f66f57e44e53d937f5f6e555a0f145e5a8295cb08d93cdcbe5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mkfiles (0.1.1)
4
+ mkfiles (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  A gem for generating directories, subdirectiories and empty files automaticaly based on paths from a yaml file.
4
4
 
5
+ For now it doesn't delete any file but it will overwrite if there are any conflicts.
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your application's Gemfile:
@@ -20,7 +22,19 @@ Or install it yourself as:
20
22
 
21
23
  ## Usage
22
24
 
23
- TODO: Write usage instructions here
25
+ Reqiure module and method.
26
+
27
+ ```ruby
28
+ "mkfiles/generate_from_file"
29
+ ```
30
+
31
+ Use it.
32
+
33
+ ```ruby
34
+ Mkfiles.generate_from_file("sample.yml")
35
+ ```
36
+
37
+ Put a path to your yml file. Pay attention for your current working directory if you are using relative start place in your yml file.
24
38
 
25
39
  ## The yaml file
26
40
 
@@ -45,6 +59,12 @@ sub_paths:
45
59
  - qewasdsdf/sd23e2fv/dwqqwdqwef/
46
60
  - New Folderr53453/New Folder44444574/new document63452.txt
47
61
  ```
62
+
63
+ ## To do features
64
+
65
+ - CLI commands
66
+ - Template yml file generator
67
+
48
68
  ## Development
49
69
 
50
70
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -1,3 +1,3 @@
1
1
  module Mkfiles
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mkfiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bartłomiej Sielski
@@ -56,8 +56,7 @@ description: A gem for generating directories, subdirectiories and empty files b
56
56
  on paths from a yaml file.
57
57
  email:
58
58
  - b.sielski@yandex.com
59
- executables:
60
- - mkfiles
59
+ executables: []
61
60
  extensions: []
62
61
  extra_rdoc_files: []
63
62
  files:
@@ -71,7 +70,6 @@ files:
71
70
  - Rakefile
72
71
  - bin/console
73
72
  - bin/setup
74
- - exe/mkfiles
75
73
  - lib/mkfiles.rb
76
74
  - lib/mkfiles/absolutize_paths.rb
77
75
  - lib/mkfiles/config.rb
data/exe/mkfiles DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "mkfiles/version"
4
- print "mkfiles #{Mkfiles::VERSION}"
5
-