bfc-lint 0.0.7 → 0.0.8

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: 518b601a936e199bb3e7c6e7e3fcf19b85b90743
4
- data.tar.gz: 9a9202f9ea7302dfea8cd36f531522178395e243
3
+ metadata.gz: f7f2cdce03c455a613464c89d344fbea4fca62b6
4
+ data.tar.gz: c03a49c0490934a4bec070f24bb364e63eef3b26
5
5
  SHA512:
6
- metadata.gz: ac8f1b815c34a35954d851db36fada67380d9468d05bd36732e635b7e11b48389e87e067974970158710ea2fccded73ba635b29bdc247a8bc2c464c234f32af7
7
- data.tar.gz: 2ebed7c6feb30f65b33dbd55516edb0a1415fd0f6d62060c0d55e18ede1b4b4bd9aa43a337d9113a5bd929915a0bcfa9740369c7b178df25980f4c7b1db1acb0
6
+ metadata.gz: 94c5f32a06bb727cfe94e65c3f7057a3512b17f2cf244549b2a3f478b743919fb6cc80d4a715111a6363d7e4b804b49c61dfe1381fff2acab6c30966fb2ce765
7
+ data.tar.gz: f59566487e2a4410dd6130731863b180a1f109b3290603d138f6df8e7076df9abcc7d393821d8ff691482a03cc6c16e4a231042b474324963039f013b1c99679
@@ -30,7 +30,9 @@ module BFCLint
30
30
  file_name = file_parts.last
31
31
  end
32
32
  FileUtils.cp(file, "lintfiles/#{file_name}")
33
- FileUtils.ln_s("lintfiles/#{file_name}", file_name)
33
+ unless file_name == "README.md"
34
+ FileUtils.ln_s("lintfiles/#{file_name}", file_name)
35
+ end
34
36
  end
35
37
  end
36
38
 
@@ -43,6 +45,10 @@ module BFCLint
43
45
  else
44
46
  file_name = file_parts.last
45
47
  end
48
+ if file_name == "README.md"
49
+ file_name = "lintfiles/#{file_name}"
50
+ end
51
+
46
52
  FileUtils.rm_rf(file_name)
47
53
  end
48
54
  FileUtils.rm_rf("lintfiles/")
@@ -1,3 +1,3 @@
1
1
  module BFCLint
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Berlinsky