status_cake 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.env +3 -0
- data/Gemfile +18 -0
- data/Gemfile.lock +141 -0
- data/Guardfile +5 -0
- data/LICENSE.txt +174 -0
- data/README.rdoc +42 -0
- data/Rakefile +50 -0
- data/VERSION +1 -0
- data/lib/status_cake/status_cake.rb +71 -0
- data/lib/status_cake/version.rb +8 -0
- data/lib/status_cake.rb +2 -0
- data/spec/fixtures/vcr/create_test.yml +44 -0
- data/spec/fixtures/vcr/delete_test.yml +88 -0
- data/spec/fixtures/vcr/pause_test.yml +88 -0
- data/spec/fixtures/vcr/retrieve_all.yml +46 -0
- data/spec/fixtures/vcr/retrieve_by_name.yml +46 -0
- data/spec/fixtures/vcr/unpause_test.yml +88 -0
- data/spec/spec_helper.rb +27 -0
- data/spec/status_cake/status_cake_spec.rb +65 -0
- data/status_cake.gemspec +94 -0
- metadata +234 -0
@@ -0,0 +1,88 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.statuscake.com/API/Tests?CUID=10395
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Username:
|
11
|
+
- <USER>
|
12
|
+
Api:
|
13
|
+
- <APIKEY>
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Date:
|
20
|
+
- Tue, 03 Jun 2014 20:34:36 GMT
|
21
|
+
Server:
|
22
|
+
- LiteSpeed
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.4.9
|
27
|
+
Set-Cookie:
|
28
|
+
- PHPSESSID=77a0e32ab1f7159d54cc5a5892912d49; path=/
|
29
|
+
Expires:
|
30
|
+
- Thu, 19 Nov 1981 08:52:00 GMT
|
31
|
+
Cache-Control:
|
32
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
33
|
+
Pragma:
|
34
|
+
- no-cache
|
35
|
+
Content-Type:
|
36
|
+
- application/json
|
37
|
+
Content-Length:
|
38
|
+
- '354'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '[{"TestID":169662,"Paused":false,"TestType":"HTTP","WebsiteName":"google.com","ContactGroup":"All
|
42
|
+
Sites","ContactID":10395,"Public":0,"Status":"Up","Uptime":100,"Performance":0.178},{"TestID":169665,"Paused":true,"TestType":"HTTP","WebsiteName":"google.com","ContactGroup":"All
|
43
|
+
Sites","ContactID":10395,"Public":0,"Status":"","Uptime":0,"Performance":0}]'
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 03 Jun 2014 20:34:38 GMT
|
46
|
+
- request:
|
47
|
+
method: put
|
48
|
+
uri: https://www.statuscake.com/API/Tests/Update
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: TestID=169662&Paused=1&TestType=HTTP&WebsiteName=google.com&ContactGroup=All%20Sites&ContactID=10395&Public=0&Status=Up&Uptime=100&Performance=0.178
|
52
|
+
headers:
|
53
|
+
Username:
|
54
|
+
- <USER>
|
55
|
+
Api:
|
56
|
+
- <APIKEY>
|
57
|
+
response:
|
58
|
+
status:
|
59
|
+
code: 200
|
60
|
+
message: OK
|
61
|
+
headers:
|
62
|
+
Date:
|
63
|
+
- Tue, 03 Jun 2014 20:34:37 GMT
|
64
|
+
Server:
|
65
|
+
- LiteSpeed
|
66
|
+
Connection:
|
67
|
+
- close
|
68
|
+
X-Powered-By:
|
69
|
+
- PHP/5.4.9
|
70
|
+
Set-Cookie:
|
71
|
+
- PHPSESSID=9e7e082a9666b82fe2444b5190bea6b7; path=/
|
72
|
+
Expires:
|
73
|
+
- Thu, 19 Nov 1981 08:52:00 GMT
|
74
|
+
Cache-Control:
|
75
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
76
|
+
Pragma:
|
77
|
+
- no-cache
|
78
|
+
Content-Type:
|
79
|
+
- application/json
|
80
|
+
Content-Length:
|
81
|
+
- '99'
|
82
|
+
body:
|
83
|
+
encoding: UTF-8
|
84
|
+
string: '{"Issues":{"ContactGroup":"Must be a int form."},"Success":true,"Message":"Test
|
85
|
+
has been updated!"}'
|
86
|
+
http_version:
|
87
|
+
recorded_at: Tue, 03 Jun 2014 20:34:39 GMT
|
88
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.statuscake.com/API/Tests?CUID=10395
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Username:
|
11
|
+
- <USER>
|
12
|
+
Api:
|
13
|
+
- <APIKEY>
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Date:
|
20
|
+
- Tue, 03 Jun 2014 20:34:31 GMT
|
21
|
+
Server:
|
22
|
+
- LiteSpeed
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.4.9
|
27
|
+
Set-Cookie:
|
28
|
+
- PHPSESSID=e2f536a09a70449ec0b0c3580cffdaaf; path=/
|
29
|
+
Expires:
|
30
|
+
- Thu, 19 Nov 1981 08:52:00 GMT
|
31
|
+
Cache-Control:
|
32
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
33
|
+
Pragma:
|
34
|
+
- no-cache
|
35
|
+
Content-Type:
|
36
|
+
- application/json
|
37
|
+
Content-Length:
|
38
|
+
- '353'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '[{"TestID":169662,"Paused":true,"TestType":"HTTP","WebsiteName":"google.com","ContactGroup":"All
|
42
|
+
Sites","ContactID":10395,"Public":0,"Status":"Up","Uptime":100,"Performance":0.178},{"TestID":169665,"Paused":true,"TestType":"HTTP","WebsiteName":"google.com","ContactGroup":"All
|
43
|
+
Sites","ContactID":10395,"Public":0,"Status":"","Uptime":0,"Performance":0}]'
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 03 Jun 2014 20:34:34 GMT
|
46
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.statuscake.com/API/Tests?CUID=10395
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Username:
|
11
|
+
- <USER>
|
12
|
+
Api:
|
13
|
+
- <APIKEY>
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Date:
|
20
|
+
- Tue, 03 Jun 2014 20:34:32 GMT
|
21
|
+
Server:
|
22
|
+
- LiteSpeed
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.4.9
|
27
|
+
Set-Cookie:
|
28
|
+
- PHPSESSID=2ce06ea7e11c570976495be996ca2b73; path=/
|
29
|
+
Expires:
|
30
|
+
- Thu, 19 Nov 1981 08:52:00 GMT
|
31
|
+
Cache-Control:
|
32
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
33
|
+
Pragma:
|
34
|
+
- no-cache
|
35
|
+
Content-Type:
|
36
|
+
- application/json
|
37
|
+
Content-Length:
|
38
|
+
- '353'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '[{"TestID":169662,"Paused":true,"TestType":"HTTP","WebsiteName":"google.com","ContactGroup":"All
|
42
|
+
Sites","ContactID":10395,"Public":0,"Status":"Up","Uptime":100,"Performance":0.178},{"TestID":169665,"Paused":true,"TestType":"HTTP","WebsiteName":"google.com","ContactGroup":"All
|
43
|
+
Sites","ContactID":10395,"Public":0,"Status":"","Uptime":0,"Performance":0}]'
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 03 Jun 2014 20:34:35 GMT
|
46
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,88 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.statuscake.com/API/Tests?CUID=10395
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Username:
|
11
|
+
- <USER>
|
12
|
+
Api:
|
13
|
+
- <APIKEY>
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Date:
|
20
|
+
- Tue, 03 Jun 2014 20:34:34 GMT
|
21
|
+
Server:
|
22
|
+
- LiteSpeed
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.4.9
|
27
|
+
Set-Cookie:
|
28
|
+
- PHPSESSID=93d4da7b678e56acea0dd006fcddbc27; path=/
|
29
|
+
Expires:
|
30
|
+
- Thu, 19 Nov 1981 08:52:00 GMT
|
31
|
+
Cache-Control:
|
32
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
33
|
+
Pragma:
|
34
|
+
- no-cache
|
35
|
+
Content-Type:
|
36
|
+
- application/json
|
37
|
+
Content-Length:
|
38
|
+
- '353'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '[{"TestID":169662,"Paused":true,"TestType":"HTTP","WebsiteName":"google.com","ContactGroup":"All
|
42
|
+
Sites","ContactID":10395,"Public":0,"Status":"Up","Uptime":100,"Performance":0.178},{"TestID":169665,"Paused":true,"TestType":"HTTP","WebsiteName":"google.com","ContactGroup":"All
|
43
|
+
Sites","ContactID":10395,"Public":0,"Status":"","Uptime":0,"Performance":0}]'
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 03 Jun 2014 20:34:36 GMT
|
46
|
+
- request:
|
47
|
+
method: put
|
48
|
+
uri: https://www.statuscake.com/API/Tests/Update
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: TestID=169662&Paused=0&TestType=HTTP&WebsiteName=google.com&ContactGroup=All%20Sites&ContactID=10395&Public=0&Status=Up&Uptime=100&Performance=0.178
|
52
|
+
headers:
|
53
|
+
Username:
|
54
|
+
- <USER>
|
55
|
+
Api:
|
56
|
+
- <APIKEY>
|
57
|
+
response:
|
58
|
+
status:
|
59
|
+
code: 200
|
60
|
+
message: OK
|
61
|
+
headers:
|
62
|
+
Date:
|
63
|
+
- Tue, 03 Jun 2014 20:34:35 GMT
|
64
|
+
Server:
|
65
|
+
- LiteSpeed
|
66
|
+
Connection:
|
67
|
+
- close
|
68
|
+
X-Powered-By:
|
69
|
+
- PHP/5.4.9
|
70
|
+
Set-Cookie:
|
71
|
+
- PHPSESSID=17eba84027945c63273a7acd0ed4d203; path=/
|
72
|
+
Expires:
|
73
|
+
- Thu, 19 Nov 1981 08:52:00 GMT
|
74
|
+
Cache-Control:
|
75
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
76
|
+
Pragma:
|
77
|
+
- no-cache
|
78
|
+
Content-Type:
|
79
|
+
- application/json
|
80
|
+
Content-Length:
|
81
|
+
- '99'
|
82
|
+
body:
|
83
|
+
encoding: UTF-8
|
84
|
+
string: '{"Issues":{"ContactGroup":"Must be a int form."},"Success":true,"Message":"Test
|
85
|
+
has been updated!"}'
|
86
|
+
http_version:
|
87
|
+
recorded_at: Tue, 03 Jun 2014 20:34:37 GMT
|
88
|
+
recorded_with: VCR 2.9.2
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'dotenv'
|
2
|
+
Dotenv.load
|
3
|
+
|
4
|
+
require 'bundler/setup'
|
5
|
+
Bundler.setup
|
6
|
+
|
7
|
+
require 'status_cake'
|
8
|
+
require 'vcr'
|
9
|
+
|
10
|
+
ENV["RAILS_ENV"] ||= 'test'
|
11
|
+
|
12
|
+
# set in .env
|
13
|
+
ENV['STATUSCAKE_USER'] ||= 'FAKEUSER'
|
14
|
+
ENV['STATUSCAKE_APIKEY'] ||= 'APIKEY'
|
15
|
+
ENV['STATUSCAKE_VERBOSE'] ||= 'true'
|
16
|
+
|
17
|
+
VCR.configure do |c|
|
18
|
+
c.cassette_library_dir = 'spec/fixtures/vcr'
|
19
|
+
c.filter_sensitive_data('<APIKEY>') { ENV['STATUSCAKE_APIKEY'] }
|
20
|
+
c.filter_sensitive_data('<USER>') { ENV['STATUSCAKE_USER'] }
|
21
|
+
c.hook_into :webmock
|
22
|
+
end
|
23
|
+
|
24
|
+
RSpec.configure do |config|
|
25
|
+
config.mock_with :rspec
|
26
|
+
config.filter_run_excluding :disabled => true
|
27
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
if ENV['STATUSCAKE_VERBOSE'] == 'true'
|
4
|
+
class StatusCake
|
5
|
+
debug_output $stdout
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
describe StatusCake do
|
10
|
+
|
11
|
+
context "simple operations" do
|
12
|
+
subject do
|
13
|
+
StatusCake.new(username: ENV['STATUSCAKE_USER'], api_key: ENV['STATUSCAKE_APIKEY'])
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'should be able to create a test' do
|
17
|
+
VCR.use_cassette('create_test') do
|
18
|
+
response = subject.update_test({
|
19
|
+
'WebsiteName' => 'google.com',
|
20
|
+
'WebsiteURL' => 'https://google.com',
|
21
|
+
'CheckRate' => '300',
|
22
|
+
'ContactGroup' => '10395',
|
23
|
+
'TestType' => 'HTTP',
|
24
|
+
'Paused' => 1
|
25
|
+
})
|
26
|
+
expect(response['Success'] == 'true')
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'should be able to retrieve tests' do
|
31
|
+
VCR.use_cassette('retrieve_all') do
|
32
|
+
expect(subject.tests('CUID' => '10395').size).to eq(2)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'should be able to retrieve a test by name' do
|
37
|
+
VCR.use_cassette('retrieve_by_name') do
|
38
|
+
test = subject.tests('WebsiteName' => 'google.com', 'CUID' => '10395').first
|
39
|
+
expect(test).not_to be_nil
|
40
|
+
expect(test['WebsiteName']).to eq('google.com')
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'should be able to unpause a test' do
|
45
|
+
VCR.use_cassette('unpause_test') do
|
46
|
+
response = subject.unpause_test(subject.tests('WebsiteName' => 'google.com', 'CUID' => '10395').first)
|
47
|
+
expect(response['Success']).to be true
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
it 'should be able to pause a test' do
|
52
|
+
VCR.use_cassette('pause_test') do
|
53
|
+
response = subject.pause_test(subject.tests('WebsiteName' => 'google.com', 'CUID' => '10395').first)
|
54
|
+
expect(response['Success']).to be true
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
it 'should be able to delete a test' do
|
59
|
+
VCR.use_cassette('delete_test') do
|
60
|
+
response = subject.delete_test(subject.tests('WebsiteName' => 'google.com', 'CUID' => '10395').first)
|
61
|
+
expect(response['Success']).to be true
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
data/status_cake.gemspec
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: status_cake 0.1.0 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "status_cake"
|
9
|
+
s.version = "0.1.0"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
13
|
+
s.authors = ["Charles Cooke"]
|
14
|
+
s.date = "2014-06-04"
|
15
|
+
s.description = "Ruby gem for StatusCake API - supports basic functions on tests"
|
16
|
+
s.email = "charles@coupa.com"
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE.txt",
|
19
|
+
"README.rdoc"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
".document",
|
23
|
+
".env",
|
24
|
+
"Gemfile",
|
25
|
+
"Gemfile.lock",
|
26
|
+
"Guardfile",
|
27
|
+
"LICENSE.txt",
|
28
|
+
"README.rdoc",
|
29
|
+
"Rakefile",
|
30
|
+
"VERSION",
|
31
|
+
"lib/status_cake.rb",
|
32
|
+
"lib/status_cake/status_cake.rb",
|
33
|
+
"lib/status_cake/version.rb",
|
34
|
+
"spec/fixtures/vcr/create_test.yml",
|
35
|
+
"spec/fixtures/vcr/delete_test.yml",
|
36
|
+
"spec/fixtures/vcr/pause_test.yml",
|
37
|
+
"spec/fixtures/vcr/retrieve_all.yml",
|
38
|
+
"spec/fixtures/vcr/retrieve_by_name.yml",
|
39
|
+
"spec/fixtures/vcr/unpause_test.yml",
|
40
|
+
"spec/spec_helper.rb",
|
41
|
+
"spec/status_cake/status_cake_spec.rb",
|
42
|
+
"status_cake.gemspec"
|
43
|
+
]
|
44
|
+
s.homepage = "http://github.com/coupacooke/status_cake"
|
45
|
+
s.licenses = ["MIT"]
|
46
|
+
s.rubygems_version = "2.2.2"
|
47
|
+
s.summary = "Ruby gem for StatusCake API"
|
48
|
+
|
49
|
+
if s.respond_to? :specification_version then
|
50
|
+
s.specification_version = 4
|
51
|
+
|
52
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
53
|
+
s.add_runtime_dependency(%q<httparty>, ["~> 0.13"])
|
54
|
+
s.add_development_dependency(%q<shoulda>, ["~> 3.5"])
|
55
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
56
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
57
|
+
s.add_development_dependency(%q<jeweler>, ["~> 2.0"])
|
58
|
+
s.add_development_dependency(%q<simplecov>, ["~> 0.8"])
|
59
|
+
s.add_development_dependency(%q<dotenv>, ["~> 0.10"])
|
60
|
+
s.add_development_dependency(%q<webmock>, ["~> 1.18"])
|
61
|
+
s.add_development_dependency(%q<rspec>, ["~> 3.0"])
|
62
|
+
s.add_development_dependency(%q<guard>, ["~> 2.6"])
|
63
|
+
s.add_development_dependency(%q<guard-rspec>, ["~> 4.2"])
|
64
|
+
s.add_development_dependency(%q<vcr>, ["~> 2.9"])
|
65
|
+
else
|
66
|
+
s.add_dependency(%q<httparty>, ["~> 0.13"])
|
67
|
+
s.add_dependency(%q<shoulda>, ["~> 3.5"])
|
68
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
69
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
70
|
+
s.add_dependency(%q<jeweler>, ["~> 2.0"])
|
71
|
+
s.add_dependency(%q<simplecov>, ["~> 0.8"])
|
72
|
+
s.add_dependency(%q<dotenv>, ["~> 0.10"])
|
73
|
+
s.add_dependency(%q<webmock>, ["~> 1.18"])
|
74
|
+
s.add_dependency(%q<rspec>, ["~> 3.0"])
|
75
|
+
s.add_dependency(%q<guard>, ["~> 2.6"])
|
76
|
+
s.add_dependency(%q<guard-rspec>, ["~> 4.2"])
|
77
|
+
s.add_dependency(%q<vcr>, ["~> 2.9"])
|
78
|
+
end
|
79
|
+
else
|
80
|
+
s.add_dependency(%q<httparty>, ["~> 0.13"])
|
81
|
+
s.add_dependency(%q<shoulda>, ["~> 3.5"])
|
82
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
83
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
84
|
+
s.add_dependency(%q<jeweler>, ["~> 2.0"])
|
85
|
+
s.add_dependency(%q<simplecov>, ["~> 0.8"])
|
86
|
+
s.add_dependency(%q<dotenv>, ["~> 0.10"])
|
87
|
+
s.add_dependency(%q<webmock>, ["~> 1.18"])
|
88
|
+
s.add_dependency(%q<rspec>, ["~> 3.0"])
|
89
|
+
s.add_dependency(%q<guard>, ["~> 2.6"])
|
90
|
+
s.add_dependency(%q<guard-rspec>, ["~> 4.2"])
|
91
|
+
s.add_dependency(%q<vcr>, ["~> 2.9"])
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
metadata
ADDED
@@ -0,0 +1,234 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: status_cake
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Charles Cooke
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-06-04 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: httparty
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.13'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.13'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: shoulda
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.5'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.5'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rdoc
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.12'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.12'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jeweler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '2.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.8'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.8'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: dotenv
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.10'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.10'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: webmock
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.18'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.18'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ~>
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '3.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ~>
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: guard
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ~>
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '2.6'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '2.6'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: guard-rspec
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ~>
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '4.2'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ~>
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '4.2'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: vcr
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ~>
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '2.9'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ~>
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '2.9'
|
181
|
+
description: Ruby gem for StatusCake API - supports basic functions on tests
|
182
|
+
email: charles@coupa.com
|
183
|
+
executables: []
|
184
|
+
extensions: []
|
185
|
+
extra_rdoc_files:
|
186
|
+
- LICENSE.txt
|
187
|
+
- README.rdoc
|
188
|
+
files:
|
189
|
+
- .document
|
190
|
+
- .env
|
191
|
+
- Gemfile
|
192
|
+
- Gemfile.lock
|
193
|
+
- Guardfile
|
194
|
+
- LICENSE.txt
|
195
|
+
- README.rdoc
|
196
|
+
- Rakefile
|
197
|
+
- VERSION
|
198
|
+
- lib/status_cake.rb
|
199
|
+
- lib/status_cake/status_cake.rb
|
200
|
+
- lib/status_cake/version.rb
|
201
|
+
- spec/fixtures/vcr/create_test.yml
|
202
|
+
- spec/fixtures/vcr/delete_test.yml
|
203
|
+
- spec/fixtures/vcr/pause_test.yml
|
204
|
+
- spec/fixtures/vcr/retrieve_all.yml
|
205
|
+
- spec/fixtures/vcr/retrieve_by_name.yml
|
206
|
+
- spec/fixtures/vcr/unpause_test.yml
|
207
|
+
- spec/spec_helper.rb
|
208
|
+
- spec/status_cake/status_cake_spec.rb
|
209
|
+
- status_cake.gemspec
|
210
|
+
homepage: http://github.com/coupacooke/status_cake
|
211
|
+
licenses:
|
212
|
+
- MIT
|
213
|
+
metadata: {}
|
214
|
+
post_install_message:
|
215
|
+
rdoc_options: []
|
216
|
+
require_paths:
|
217
|
+
- lib
|
218
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - '>='
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - '>='
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '0'
|
228
|
+
requirements: []
|
229
|
+
rubyforge_project:
|
230
|
+
rubygems_version: 2.2.2
|
231
|
+
signing_key:
|
232
|
+
specification_version: 4
|
233
|
+
summary: Ruby gem for StatusCake API
|
234
|
+
test_files: []
|