tty-file 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24159965082063c18c0538a86d536db913ac05ee
4
- data.tar.gz: 4b751ed2950b3f4725333011ce9351dd3d1a1afe
3
+ metadata.gz: e756d23a6cc1a09d2b7ec95204a275393d5b623e
4
+ data.tar.gz: 94765c40b29937a0cf65913628e93aa0cf94ac00
5
5
  SHA512:
6
- metadata.gz: e08fc675ca19202aeaa3bbbba1c4236253e8f10355354889e384b41f63cc47e71160ecaa3945fcec062cad473fd9f401fcd7b8c71a2c406a5c28a2c625a2c8c0
7
- data.tar.gz: 79793d79c75630d2e81228fbbc78ee023d81ba2c425d1dcd4896ea2f72813c363c58b0c39f6b0947f83edcd7f156cb292209bb7ccfbebe294f294195e9aa715f
6
+ metadata.gz: 2df9c1ad0483d9911d3fd678aa7390cd84c78f07ec858468c36c5aa8ad6c6e50b6280440e69b100230d04bc621e3abedf4ca38c0cb0d392e925b42b9edbf4ba8
7
+ data.tar.gz: 5e0d3aa048f8616add4c5c4c9f48a9853b8510d839a1352beb30736e4af2c5450c4ce6b9661b8fb200e5545d33a1cf8ebd80da2be8b954b405b054aefffafda4
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /vendor/
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## [v0.2.1] - 2017-02-12
4
+
5
+ ### Fixed
6
+ * Fix File::create_file when :force is true by Edoardo Tenani(@endorama)
7
+
3
8
  ## [v0.2.0] - 2017-01-22
4
9
 
5
10
  ### Added
@@ -21,5 +26,6 @@
21
26
 
22
27
  * Initial implementation and release
23
28
 
29
+ [v0.2.1]: https://github.com/piotrmurach/tty-file/compare/v0.2.0...v0.2.1
24
30
  [v0.2.0]: https://github.com/piotrmurach/tty-file/compare/v0.1.0...v0.2.0
25
31
  [v0.1.0]: https://github.com/piotrmurach/tty-file/compare/v0.1.0
@@ -64,6 +64,7 @@ module TTY
64
64
  log_status(:identical, relative_path, options.fetch(:verbose, true), :blue)
65
65
  elsif options[:force]
66
66
  log_status(:force, relative_path, options.fetch(:verbose, true), :yellow)
67
+ yield unless options[:noop]
67
68
  elsif options[:skip]
68
69
  log_status(:skip, relative_path, options.fetch(:verbose, true), :yellow)
69
70
  else
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TTY
4
4
  module File
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end # File
7
7
  end # TTY
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty-file
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Murach
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-22 00:00:00.000000000 Z
11
+ date: 2017-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pastel