puppet-syntax 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,6 +11,13 @@ module PuppetSyntax
11
11
  def check
12
12
  errors = []
13
13
 
14
+ # FIXME: We shouldn't need to do this. puppet/face should. See:
15
+ # - http://projects.puppetlabs.com/issues/15529
16
+ # - https://groups.google.com/forum/#!topic/puppet-dev/Yk0WC1JZCg8/discussion
17
+ if (Puppet::PUPPETVERSION.to_i >= 3 && !Puppet.settings.app_defaults_initialized?)
18
+ Puppet.initialize_settings
19
+ end
20
+
14
21
  # Catch syntax warnings.
15
22
  Puppet::Util::Log.newdestination(Puppet::Test::LogCollector.new(errors))
16
23
  Puppet::Util::Log.level = :warning
@@ -1,3 +1,3 @@
1
1
  module PuppetSyntax
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-syntax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-11 00:00:00.000000000 Z
12
+ date: 2013-06-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -129,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  segments:
131
131
  - 0
132
- hash: -906493839268766
132
+ hash: -2044382737602392428
133
133
  required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  none: false
135
135
  requirements:
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  segments:
140
140
  - 0
141
- hash: -906493839268766
141
+ hash: -2044382737602392428
142
142
  requirements: []
143
143
  rubyforge_project:
144
144
  rubygems_version: 1.8.23