hackedunit-maxmind 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.
- data/VERSION +1 -1
- data/hackedunit-maxmind.gemspec +2 -2
- data/lib/maxmind/response.rb +1 -1
- metadata +17 -7
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.1
|
data/hackedunit-maxmind.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{hackedunit-maxmind}
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Adam Daniels", "Tinu Cleatus"]
|
|
12
|
-
s.date = %q{
|
|
12
|
+
s.date = %q{2013-12-10}
|
|
13
13
|
s.email = %q{tinu@tinucleatus.com}
|
|
14
14
|
s.extra_rdoc_files = [
|
|
15
15
|
"LICENSE",
|
data/lib/maxmind/response.rb
CHANGED
|
@@ -19,7 +19,7 @@ module Maxmind
|
|
|
19
19
|
def attributes_from_response
|
|
20
20
|
hash_to_return = {}
|
|
21
21
|
self.instance_variables.each do |var|
|
|
22
|
-
hash_to_return[var.gsub("@","")] = self.instance_variable_get(var)
|
|
22
|
+
hash_to_return[var.to_s.gsub("@","")] = self.instance_variable_get(var)
|
|
23
23
|
end
|
|
24
24
|
return hash_to_return
|
|
25
25
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hackedunit-maxmind
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
hash: 17
|
|
5
|
+
prerelease:
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 3
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.3.1
|
|
5
11
|
platform: ruby
|
|
6
12
|
authors:
|
|
7
13
|
- Adam Daniels
|
|
@@ -10,8 +16,7 @@ autorequire:
|
|
|
10
16
|
bindir: bin
|
|
11
17
|
cert_chain: []
|
|
12
18
|
|
|
13
|
-
date:
|
|
14
|
-
default_executable:
|
|
19
|
+
date: 2013-12-10 00:00:00 Z
|
|
15
20
|
dependencies: []
|
|
16
21
|
|
|
17
22
|
description:
|
|
@@ -38,7 +43,6 @@ files:
|
|
|
38
43
|
- test/fixtures/response.txt
|
|
39
44
|
- test/maxmind_test.rb
|
|
40
45
|
- test/test_helper.rb
|
|
41
|
-
has_rdoc: true
|
|
42
46
|
homepage: http://github.com/hackedunit/maxmind
|
|
43
47
|
licenses: []
|
|
44
48
|
|
|
@@ -48,21 +52,27 @@ rdoc_options:
|
|
|
48
52
|
require_paths:
|
|
49
53
|
- lib
|
|
50
54
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
55
|
+
none: false
|
|
51
56
|
requirements:
|
|
52
57
|
- - ">="
|
|
53
58
|
- !ruby/object:Gem::Version
|
|
59
|
+
hash: 3
|
|
60
|
+
segments:
|
|
61
|
+
- 0
|
|
54
62
|
version: "0"
|
|
55
|
-
version:
|
|
56
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
|
+
none: false
|
|
57
65
|
requirements:
|
|
58
66
|
- - ">="
|
|
59
67
|
- !ruby/object:Gem::Version
|
|
68
|
+
hash: 3
|
|
69
|
+
segments:
|
|
70
|
+
- 0
|
|
60
71
|
version: "0"
|
|
61
|
-
version:
|
|
62
72
|
requirements: []
|
|
63
73
|
|
|
64
74
|
rubyforge_project:
|
|
65
|
-
rubygems_version: 1.
|
|
75
|
+
rubygems_version: 1.8.24
|
|
66
76
|
signing_key:
|
|
67
77
|
specification_version: 3
|
|
68
78
|
summary: MaxMind Minfraud using Net::HTTP
|