pingr 0.0.2 → 0.0.3

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.
@@ -46,7 +46,7 @@ module Pingr
46
46
  # Returns true if ping was a success
47
47
  # Returns false if ping was not successful
48
48
  def ping
49
- return true unless Pingr.mode == :test
49
+ return true unless Pingr.mode == :live
50
50
  uri = URI.parse("http://#{search_engine}.com/#{ping_path}")
51
51
  http = Net::HTTP.new(uri.host, uri.port)
52
52
  request = Net::HTTP::Get.new(uri.request_uri)
@@ -1,3 +1,3 @@
1
1
  module Pingr
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pingr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -57,7 +57,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
57
57
  version: '0'
58
58
  segments:
59
59
  - 0
60
- hash: 635815303127321939
60
+ hash: 4232574977062910475
61
61
  required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  version: '0'
67
67
  segments:
68
68
  - 0
69
- hash: 635815303127321939
69
+ hash: 4232574977062910475
70
70
  requirements: []
71
71
  rubyforge_project:
72
72
  rubygems_version: 1.8.24