Skip to content

Commit 36db0b1

Browse files
committed
Remove Ruby 1.8.7 compat
1 parent 58e7f4b commit 36db0b1

10 files changed

+0
-10
lines changed

bin/check-postgres-alive.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
# Released under the same terms as Sensu (the MIT license); see LICENSE
1010
# for details.
1111

12-
require 'rubygems' if RUBY_VERSION < '1.9.0'
1312
require 'sensu-plugin/check/cli'
1413
require 'pg'
1514

bin/check-postgres-replication.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env ruby
22

3-
require 'rubygems' if RUBY_VERSION < '1.9.0'
43
require 'sensu-plugin/check/cli'
54
require 'pg'
65

bin/metric-postgres-connections.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# Released under the same terms as Sensu (the MIT license); see LICENSE
1515
# for details.
1616

17-
require 'rubygems' if RUBY_VERSION < '1.9.0'
1817
require 'sensu-plugin/metric/cli'
1918
require 'pg'
2019
require 'socket'

bin/metric-postgres-dbsize.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# Released under the same terms as Sensu (the MIT license); see LICENSE
1515
# for details.
1616

17-
require 'rubygems' if RUBY_VERSION < '1.9.0'
1817
require 'sensu-plugin/metric/cli'
1918
require 'pg'
2019
require 'socket'

bin/metric-postgres-graphite.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env ruby
22

3-
require 'rubygems' if RUBY_VERSION < '1.9.0'
43
require 'pg'
54
require 'sensu-plugin/metric/cli'
65
require 'socket'

bin/metric-postgres-locks.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# Released under the same terms as Sensu (the MIT license); see LICENSE
1515
# for details.
1616

17-
require 'rubygems' if RUBY_VERSION < '1.9.0'
1817
require 'sensu-plugin/metric/cli'
1918
require 'pg'
2019
require 'socket'

bin/metric-postgres-statsbgwriter.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# Released under the same terms as Sensu (the MIT license); see LICENSE
1515
# for details.
1616

17-
require 'rubygems' if RUBY_VERSION < '1.9.0'
1817
require 'sensu-plugin/metric/cli'
1918
require 'pg'
2019
require 'socket'

bin/metric-postgres-statsdb.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# Released under the same terms as Sensu (the MIT license); see LICENSE
1616
# for details.
1717

18-
require 'rubygems' if RUBY_VERSION < '1.9.0'
1918
require 'sensu-plugin/metric/cli'
2019
require 'pg'
2120
require 'socket'

bin/metric-postgres-statsio.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# Released under the same terms as Sensu (the MIT license); see LICENSE
1616
# for details.
1717

18-
require 'rubygems' if RUBY_VERSION < '1.9.0'
1918
require 'sensu-plugin/metric/cli'
2019
require 'pg'
2120
require 'socket'

bin/metric-postgres-statstable.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# Released under the same terms as Sensu (the MIT license); see LICENSE
1616
# for details.
1717

18-
require 'rubygems' if RUBY_VERSION < '1.9.0'
1918
require 'sensu-plugin/metric/cli'
2019
require 'pg'
2120
require 'socket'

0 commit comments

Comments
 (0)