linode-incandescent 0.6.2.SNAPSHOT
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/CHANGELOG +2 -0
- data/MIT-LICENSE +20 -0
- data/README +140 -0
- data/Rakefile +31 -0
- data/VERSION +1 -0
- data/lib/linode.rb +102 -0
- data/lib/linode/avail.rb +3 -0
- data/lib/linode/domain.rb +4 -0
- data/lib/linode/domain/resource.rb +3 -0
- data/lib/linode/linode.rb +4 -0
- data/lib/linode/linode/config.rb +3 -0
- data/lib/linode/linode/disk.rb +3 -0
- data/lib/linode/linode/ip.rb +3 -0
- data/lib/linode/linode/job.rb +3 -0
- data/lib/linode/stackscript.rb +3 -0
- data/lib/linode/test.rb +3 -0
- data/lib/linode/user.rb +3 -0
- data/linode.gemspec +87 -0
- data/spec/linode/avail_spec.rb +45 -0
- data/spec/linode/domain/resource_spec.rb +44 -0
- data/spec/linode/domain_spec.rb +82 -0
- data/spec/linode/linode/config_spec.rb +44 -0
- data/spec/linode/linode/disk_spec.rb +44 -0
- data/spec/linode/linode/ip_spec.rb +44 -0
- data/spec/linode/linode/job_spec.rb +44 -0
- data/spec/linode/linode_spec.rb +196 -0
- data/spec/linode/stackscript_spec.rb +44 -0
- data/spec/linode/test_spec.rb +45 -0
- data/spec/linode/user_spec.rb +45 -0
- data/spec/linode_spec.rb +350 -0
- data/spec/spec.opts +6 -0
- data/spec/spec_helper.rb +22 -0
- metadata +129 -0
data/spec/spec.opts
ADDED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# this is my favorite way to require ever
|
2
|
+
begin
|
3
|
+
require 'spec'
|
4
|
+
rescue LoadError
|
5
|
+
require 'rubygems'
|
6
|
+
gem 'rspec'
|
7
|
+
require 'rspec'
|
8
|
+
end
|
9
|
+
|
10
|
+
begin
|
11
|
+
require 'mocha'
|
12
|
+
rescue LoadError
|
13
|
+
require 'rubygems'
|
14
|
+
gem 'mocha'
|
15
|
+
require 'mocha'
|
16
|
+
end
|
17
|
+
|
18
|
+
Spec::Runner.configure do |config|
|
19
|
+
config.mock_with :mocha
|
20
|
+
end
|
21
|
+
|
22
|
+
$:.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
|
metadata
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: linode-incandescent
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 907030934
|
5
|
+
prerelease: true
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 6
|
9
|
+
- 2
|
10
|
+
- SNAPSHOT
|
11
|
+
version: 0.6.2.SNAPSHOT
|
12
|
+
platform: ruby
|
13
|
+
authors:
|
14
|
+
- Rick Bradley
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2010-11-20 00:00:00 -05:00
|
20
|
+
default_executable:
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: httparty
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 7
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
- 4
|
34
|
+
- 4
|
35
|
+
version: 0.4.4
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id001
|
38
|
+
description: This is a wrapper around Linode's automation facilities.
|
39
|
+
email: rick@rickbradley.com
|
40
|
+
executables: []
|
41
|
+
|
42
|
+
extensions: []
|
43
|
+
|
44
|
+
extra_rdoc_files:
|
45
|
+
- README
|
46
|
+
files:
|
47
|
+
- .gitignore
|
48
|
+
- CHANGELOG
|
49
|
+
- MIT-LICENSE
|
50
|
+
- README
|
51
|
+
- Rakefile
|
52
|
+
- VERSION
|
53
|
+
- lib/linode.rb
|
54
|
+
- lib/linode/avail.rb
|
55
|
+
- lib/linode/domain.rb
|
56
|
+
- lib/linode/domain/resource.rb
|
57
|
+
- lib/linode/linode.rb
|
58
|
+
- lib/linode/linode/config.rb
|
59
|
+
- lib/linode/linode/disk.rb
|
60
|
+
- lib/linode/linode/ip.rb
|
61
|
+
- lib/linode/linode/job.rb
|
62
|
+
- lib/linode/stackscript.rb
|
63
|
+
- lib/linode/test.rb
|
64
|
+
- lib/linode/user.rb
|
65
|
+
- linode.gemspec
|
66
|
+
- spec/linode/avail_spec.rb
|
67
|
+
- spec/linode/domain/resource_spec.rb
|
68
|
+
- spec/linode/domain_spec.rb
|
69
|
+
- spec/linode/linode/config_spec.rb
|
70
|
+
- spec/linode/linode/disk_spec.rb
|
71
|
+
- spec/linode/linode/ip_spec.rb
|
72
|
+
- spec/linode/linode/job_spec.rb
|
73
|
+
- spec/linode/linode_spec.rb
|
74
|
+
- spec/linode/stackscript_spec.rb
|
75
|
+
- spec/linode/test_spec.rb
|
76
|
+
- spec/linode/user_spec.rb
|
77
|
+
- spec/linode_spec.rb
|
78
|
+
- spec/spec.opts
|
79
|
+
- spec/spec_helper.rb
|
80
|
+
has_rdoc: true
|
81
|
+
homepage: http://github.com/rick/linode
|
82
|
+
licenses: []
|
83
|
+
|
84
|
+
post_install_message:
|
85
|
+
rdoc_options:
|
86
|
+
- --charset=UTF-8
|
87
|
+
require_paths:
|
88
|
+
- lib
|
89
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
91
|
+
requirements:
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
hash: 3
|
95
|
+
segments:
|
96
|
+
- 0
|
97
|
+
version: "0"
|
98
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
100
|
+
requirements:
|
101
|
+
- - ">"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
hash: 25
|
104
|
+
segments:
|
105
|
+
- 1
|
106
|
+
- 3
|
107
|
+
- 1
|
108
|
+
version: 1.3.1
|
109
|
+
requirements: []
|
110
|
+
|
111
|
+
rubyforge_project:
|
112
|
+
rubygems_version: 1.3.7
|
113
|
+
signing_key:
|
114
|
+
specification_version: 3
|
115
|
+
summary: a Ruby wrapper for the Linode API
|
116
|
+
test_files:
|
117
|
+
- spec/spec_helper.rb
|
118
|
+
- spec/linode_spec.rb
|
119
|
+
- spec/linode/domain/resource_spec.rb
|
120
|
+
- spec/linode/user_spec.rb
|
121
|
+
- spec/linode/domain_spec.rb
|
122
|
+
- spec/linode/stackscript_spec.rb
|
123
|
+
- spec/linode/linode_spec.rb
|
124
|
+
- spec/linode/test_spec.rb
|
125
|
+
- spec/linode/avail_spec.rb
|
126
|
+
- spec/linode/linode/ip_spec.rb
|
127
|
+
- spec/linode/linode/disk_spec.rb
|
128
|
+
- spec/linode/linode/job_spec.rb
|
129
|
+
- spec/linode/linode/config_spec.rb
|