Skip to content

Commit

Permalink
Merge pull request #77 from jlambert121/deprication_warning
Browse files Browse the repository at this point in the history
Remove deprecation warning
  • Loading branch information
jamtur01 committed May 17, 2013
2 parents 2790163 + 69985fa commit 1409d20
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_api_config/json.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.features.rubygems?
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.version < '3'
require 'json' if Puppet.features.json?

Puppet::Type.type(:sensu_api_config).provide(:json) do
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_check/json.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.features.rubygems?
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.version < '3'
require 'json' if Puppet.features.json?

Puppet::Type.type(:sensu_check).provide(:json) do
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_check_config/json.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.features.rubygems?
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.version < '3'
require 'json' if Puppet.features.json?

Puppet::Type.type(:sensu_check_config).provide(:json) do
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_client_config/json.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.features.rubygems?
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.version < '3'
require 'json' if Puppet.features.json?

Puppet::Type.type(:sensu_client_config).provide(:json) do
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_client_subscription/json.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.features.rubygems?
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.version < '3'
require 'json' if Puppet.features.json?

Puppet::Type.type(:sensu_client_subscription).provide(:json) do
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_dashboard_config/json.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.features.rubygems?
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.version < '3'
require 'json' if Puppet.features.json?

Puppet::Type.type(:sensu_dashboard_config).provide(:json) do
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_handler/json.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.features.rubygems?
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.version < '3'
require 'json' if Puppet.features.json?

Puppet::Type.type(:sensu_handler).provide(:json) do
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_rabbitmq_config/json.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.features.rubygems?
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.version < '3'
require 'json' if Puppet.features.json?

Puppet::Type.type(:sensu_rabbitmq_config).provide(:json) do
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_redis_config/json.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.features.rubygems?
require 'rubygems' if RUBY_VERSION < '1.9.0' && Puppet.version < '3'
require 'json' if Puppet.features.json?

Puppet::Type.type(:sensu_redis_config).provide(:json) do
Expand Down

0 comments on commit 1409d20

Please sign in to comment.