bfc-lint 0.0.6 → 0.0.7

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: ea54e097da2e6f421f11f8be690e807c77760961
4
- data.tar.gz: 0561c2728e872bd66822d9f694b98831988d5eb8
3
+ metadata.gz: 518b601a936e199bb3e7c6e7e3fcf19b85b90743
4
+ data.tar.gz: 9a9202f9ea7302dfea8cd36f531522178395e243
5
5
  SHA512:
6
- metadata.gz: 24fbd06b94cfeedfa0a23c422705f3772100426948f5af7e6e236b78d407469b46ede5002092cf12367232511db89121a72d1c523a0f2a6f562a66ee89a28fdd
7
- data.tar.gz: fa506b30f636b98947c754ad6cd18a33e24f33a17256b222b1ca5387b82fdbcfef0ff38849a5ff886c9498c3929fa5385f5cf22c4b96109200263bbac79365c2
6
+ metadata.gz: ac8f1b815c34a35954d851db36fada67380d9468d05bd36732e635b7e11b48389e87e067974970158710ea2fccded73ba635b29bdc247a8bc2c464c234f32af7
7
+ data.tar.gz: 2ebed7c6feb30f65b33dbd55516edb0a1415fd0f6d62060c0d55e18ede1b4b4bd9aa43a337d9113a5bd929915a0bcfa9740369c7b178df25980f4c7b1db1acb0
@@ -26,6 +26,8 @@ module BFCLint
26
26
  file_parts = file.split("/")
27
27
  unless file_parts.last == "README.md"
28
28
  file_name = '.' + file_parts.last
29
+ else
30
+ file_name = file_parts.last
29
31
  end
30
32
  FileUtils.cp(file, "lintfiles/#{file_name}")
31
33
  FileUtils.ln_s("lintfiles/#{file_name}", file_name)
@@ -38,6 +40,8 @@ module BFCLint
38
40
  file_parts = file.split("/")
39
41
  unless file_parts.last == "README.md"
40
42
  file_name = '.' + file_parts.last
43
+ else
44
+ file_name = file_parts.last
41
45
  end
42
46
  FileUtils.rm_rf(file_name)
43
47
  end
@@ -1,3 +1,3 @@
1
1
  module BFCLint
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bfc-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Berlinsky