quova 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -79,6 +79,13 @@ in to ensure valid data types. As a side-effect, you may access the properties
79
79
  either using a Hash (`[:key]`) syntax, or just like a regular method call.
80
80
  (`result.longitude`). If you want a plain Hash, call `result.attributes`.
81
81
 
82
+ ## Note
83
+
84
+ When using the standard (REST) API, it is important that the system time on
85
+ your server is correct (give or take 5 minutes), since the API signature is
86
+ generated by on the current time (see
87
+ http://developer.quova.com/docs#signing_api for more information).
88
+
82
89
  ## Resources
83
90
 
84
91
  - [Source](https://github.com/d11wtq/quova)
@@ -9,7 +9,11 @@ module Quova
9
9
 
10
10
  # Initialize the REST client with the Quova credentials.
11
11
  #
12
- # @example Quova::REST.new(:api_key => 'your-key', :secret => 'your-secret')
12
+ # @example
13
+ # Quova::REST.new(:api_key => 'your-key', :secret => 'your-secret')
14
+ #
15
+ # @param [Hash] options
16
+ # Hash containing :api_key and :secret for Quova
13
17
  #
14
18
  # @api public
15
19
  def initialize(options)
@@ -6,7 +6,7 @@ module Quova
6
6
  # Provides the result data from a Quova API call.
7
7
  # Acts both like a Hash and Plain Old Ruby Object.
8
8
  #
9
- # @api private
9
+ # @api public
10
10
  class Result
11
11
  include Virtus
12
12
  extend Forwardable
@@ -1,3 +1,3 @@
1
1
  module Quova
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.email = ["chris@w3style.co.uk"]
11
11
  s.homepage = "https://github.com/d11wtq/quova"
12
12
  s.summary = %q{Quova GeoIP Client for Ruby}
13
- s.description = %q{Provides a high-level client for Quova's On-Demand REST API}
13
+ s.description = %q{Provides a high-level client for the Quova API}
14
14
 
15
15
  s.rubyforge_project = "quova"
16
16
 
@@ -1,4 +1,2 @@
1
1
  require "bundler/setup"
2
- require 'pathname'
3
-
4
2
  require 'quova'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quova
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:
@@ -13,7 +13,7 @@ date: 2011-07-10 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
- requirement: &16674100 !ruby/object:Gem::Requirement
16
+ requirement: &15647240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.6.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16674100
24
+ version_requirements: *15647240
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: virtus
27
- requirement: &16673560 !ruby/object:Gem::Requirement
27
+ requirement: &15646680 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.0.5
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *16673560
35
+ version_requirements: *15646680
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: nokogiri
38
- requirement: &16673100 !ruby/object:Gem::Requirement
38
+ requirement: &15646140 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.5.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *16673100
46
+ version_requirements: *15646140
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &16672640 !ruby/object:Gem::Requirement
49
+ requirement: &15645680 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,8 +54,8 @@ dependencies:
54
54
  version: '2.6'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *16672640
58
- description: Provides a high-level client for Quova's On-Demand REST API
57
+ version_requirements: *15645680
58
+ description: Provides a high-level client for the Quova API
59
59
  email:
60
60
  - chris@w3style.co.uk
61
61
  executables: []