point 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/point.rb +1 -0
  2. data/lib/point/zone.rb +6 -1
  3. metadata +20 -9
data/lib/point.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  require 'json'
4
4
  require 'uri'
5
5
  require 'net/http'
6
+ require 'time'
6
7
 
7
8
  ## PointHQ Ruby API Client
8
9
  ## This is a ruby API client for the Point DNS hosting service.
data/lib/point/zone.rb CHANGED
@@ -2,7 +2,8 @@ module Point
2
2
  class Zone < Base
3
3
 
4
4
  def apply!
5
- post(:apply)
5
+ $stderr.puts "Zone information does not need to be applied manually. Point::Zone#apply! method will be deprecated soon."
6
+ true
6
7
  end
7
8
 
8
9
  def records
@@ -20,5 +21,9 @@ module Point
20
21
  z
21
22
  end
22
23
 
24
+ def requires_update?
25
+ $stderr.puts "Zone updated are applied immediately. Point::Zone#requires_update? will be deprecated soon."
26
+ false
27
+ end
23
28
  end
24
29
  end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: point
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 1
9
+ version: 1.0.1
5
10
  platform: ruby
6
11
  authors:
7
12
  - Adam Cooke
@@ -9,19 +14,23 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2009-10-29 00:00:00 +00:00
17
+ date: 2010-05-18 00:00:00 +01:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: json
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 1
30
+ - 5
23
31
  version: 1.1.5
24
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  description:
26
35
  email: adam@atechmedia.com
27
36
  executables: []
@@ -50,18 +59,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
50
59
  requirements:
51
60
  - - ">="
52
61
  - !ruby/object:Gem::Version
62
+ segments:
63
+ - 0
53
64
  version: "0"
54
- version:
55
65
  required_rubygems_version: !ruby/object:Gem::Requirement
56
66
  requirements:
57
67
  - - ">="
58
68
  - !ruby/object:Gem::Version
69
+ segments:
70
+ - 0
59
71
  version: "0"
60
- version:
61
72
  requirements: []
62
73
 
63
74
  rubyforge_project:
64
- rubygems_version: 1.3.5
75
+ rubygems_version: 1.3.6
65
76
  signing_key:
66
77
  specification_version: 3
67
78
  summary: API client for the PointHQ DNS Hosting System