puppet-ghostbuster 0.1.0 → 0.1.1

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: d56eb52cd4557da70d2d921969152ef7e8e49722
4
- data.tar.gz: d4c72dd1fda2b98c096c7eb533959c431adc1aa9
3
+ metadata.gz: 9db9033a95f0d6fd0a3b20f1ffa7899cf260a624
4
+ data.tar.gz: feb8ad24466b5a5dc07a491e1a76d1840d8bb3c0
5
5
  SHA512:
6
- metadata.gz: 005cacf8fe81037d81b292974a9d0a06bd7baf17063ee23e50bf1e7188e462e7481cd20ffe3510d49ae14e9acf6fc5359bbf74e8c3d017b95629a1bb6c95c21b
7
- data.tar.gz: 76beedef79101ed3cd1b270cffc756f8cdd9174ef281594cbf0cde2596d642326b7796fa85f68c30589147ebe28bbebcf006ebecf0c4cffc7bff26438009ca8c
6
+ metadata.gz: 65e70967774d0aeaf79b30f051ea12f9c0718e6d105785550b978e160fac6228878b66c7fcdbccba4fd935e5ff18860150d7d526d8c73972df7f492e6b5af299
7
+ data.tar.gz: 1730b95368293f4ce60c5dc332959073708386262e5aa631398735e95afbbc5d0e5fa05acd0628bbe348a247c7a1bb4b6cb34e5fdccecd4e0d580f2e88ab3454
data/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ # Change Log
2
+
3
+ ## [0.1.1](https://github.com/camptocamp/puppet-ghostbuster/releases/tag/0.1.1) (2015-04-23)
4
+
5
+ **Fixed bugs:**
6
+
7
+ - Skip file when symlink
8
+
9
+ ## [0.1.0](https://github.com/camptocamp/puppet-ghostbuster/releases/tag/0.1.0) (2015-04-22)
10
+
11
+ Initial release
@@ -1,3 +1,3 @@
1
1
  class PuppetGhostbuster
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -79,6 +79,7 @@ class PuppetGhostbuster
79
79
 
80
80
  def find_unused_classes
81
81
  manifests.each do |file|
82
+ next if File.symlink?(file)
82
83
  if c = File.readlines(file).grep(/^class\s+([^\s\(\{]+)/){$1}[0]
83
84
  class_name = c.split('::').map(&:capitalize).join('::')
84
85
  count = self.class.used_classes.select { |klass| klass == class_name }.size
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-ghostbuster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Camptocamp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-22 00:00:00.000000000 Z
11
+ date: 2015-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -60,6 +60,7 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - ".gitignore"
63
+ - CHANGELOG.md
63
64
  - Gemfile
64
65
  - LICENSE
65
66
  - README.md