pinpoint 0.3.0 → 0.3.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.
@@ -63,6 +63,7 @@ module Pinpoint
63
63
  address_fields_and_values = field_pairs.map do |field_pair|
64
64
  [field_pair[0], send(field_pair[1])]
65
65
  end
66
+
66
67
  address_fields_and_values = Hash[address_fields_and_values]
67
68
 
68
69
  Pinpoint::Address.new(address_fields_and_values)
@@ -151,7 +152,7 @@ module Pinpoint
151
152
  # Returns an Array of common methods
152
153
  #
153
154
  def self.find_existing_methods(object, fields)
154
- fields & object.public_instance_methods
155
+ fields & object.new.public_methods
155
156
  end
156
157
  end
157
158
  end
@@ -1,3 +1,3 @@
1
1
  module Pinpoint
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pinpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: