librato_silverline_api 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- librato_silverline_api (1.0.2)
4
+ librato_silverline_api (1.0.3)
5
5
  json (= 1.4.6)
6
6
  rest-client (= 1.6.1)
7
7
 
@@ -206,4 +206,10 @@ module SilverlineAPI
206
206
  }.to_json
207
207
  end
208
208
  end
209
+
210
+ class Server
211
+ def self.delete_by_id(id)
212
+ RestClient.delete "#{SilverlineAPI.url}/servers/#{id}.json"
213
+ end
214
+ end
209
215
  end
@@ -1,3 +1,3 @@
1
1
  module SilverlineAPI
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librato_silverline_api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Blaettermann
@@ -15,11 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-04 00:00:00 -04:00
18
+ date: 2011-05-14 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- requirement: &id001 !ruby/object:Gem::Requirement
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
23
  none: false
24
24
  requirements:
25
25
  - - ">="
@@ -30,12 +30,12 @@ dependencies:
30
30
  - 0
31
31
  - 0
32
32
  version: 1.0.0
33
+ requirement: *id001
33
34
  prerelease: false
34
- version_requirements: *id001
35
35
  type: :development
36
36
  name: bundler
37
37
  - !ruby/object:Gem::Dependency
38
- requirement: &id002 !ruby/object:Gem::Requirement
38
+ version_requirements: &id002 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ">="
@@ -46,12 +46,12 @@ dependencies:
46
46
  - 8
47
47
  - 7
48
48
  version: 0.8.7
49
+ requirement: *id002
49
50
  prerelease: false
50
- version_requirements: *id002
51
51
  type: :development
52
52
  name: rake
53
53
  - !ruby/object:Gem::Dependency
54
- requirement: &id003 !ruby/object:Gem::Requirement
54
+ version_requirements: &id003 !ruby/object:Gem::Requirement
55
55
  none: false
56
56
  requirements:
57
57
  - - ">="
@@ -62,12 +62,12 @@ dependencies:
62
62
  - 9
63
63
  - 8
64
64
  version: 0.9.8
65
+ requirement: *id003
65
66
  prerelease: false
66
- version_requirements: *id003
67
67
  type: :development
68
68
  name: rcov
69
69
  - !ruby/object:Gem::Dependency
70
- requirement: &id004 !ruby/object:Gem::Requirement
70
+ version_requirements: &id004 !ruby/object:Gem::Requirement
71
71
  none: false
72
72
  requirements:
73
73
  - - "="
@@ -78,12 +78,12 @@ dependencies:
78
78
  - 6
79
79
  - 1
80
80
  version: 1.6.1
81
+ requirement: *id004
81
82
  prerelease: false
82
- version_requirements: *id004
83
83
  type: :runtime
84
84
  name: rest-client
85
85
  - !ruby/object:Gem::Dependency
86
- requirement: &id005 !ruby/object:Gem::Requirement
86
+ version_requirements: &id005 !ruby/object:Gem::Requirement
87
87
  none: false
88
88
  requirements:
89
89
  - - "="
@@ -94,8 +94,8 @@ dependencies:
94
94
  - 4
95
95
  - 6
96
96
  version: 1.4.6
97
+ requirement: *id005
97
98
  prerelease: false
98
- version_requirements: *id005
99
99
  type: :runtime
100
100
  name: json
101
101
  description: This Gem is a wrapper for the Librato Silverline API. It adapts the basic behavior of ActiveResource and represents API resources as objects in Ruby.
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  requirements: []
155
155
 
156
156
  rubyforge_project: librato_silverline_api
157
- rubygems_version: 1.4.2
157
+ rubygems_version: 1.6.2
158
158
  signing_key:
159
159
  specification_version: 3
160
160
  summary: Ruby Gem for connecting to the Librato Silverline API