ragios-client 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/ragios-client.rb +4 -0
- data/ragios-client.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 721a20c1195148e40d394bb4e0708cbc680af623
|
|
4
|
+
data.tar.gz: 7e86c5c96f0a23ae3d2c22373c2f0b0a8a701a0c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96eb1bf895bcdeadbc4f37c85fba4ff8e50858fcb2056c23cf6201301aec1bcc92d7f4b5ce7076fdb570187fddb06e6269db7530d2bc9bbc64452333e7120e1c
|
|
7
|
+
data.tar.gz: c867ab6d0ac84da17649e58c404bf1e3fd032c8d87722dcd289130a9d14269473b0a859c146d2ea42da1abd7f1f1631da29d1e6b2d9e5c94367dc0dbc35bb7b6
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.2.0
|
data/lib/ragios-client.rb
CHANGED
|
@@ -73,6 +73,10 @@ module Ragios
|
|
|
73
73
|
api_request { RestClient.post "#{address_port}/tests", {:id => monitor_id}, http_request_options }
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
+
def maestro_test(url, source_code)
|
|
77
|
+
api_request { RestClient.post "#{address_port}/maestro/test", {url: url, source_code: source_code}, http_request_options }
|
|
78
|
+
end
|
|
79
|
+
|
|
76
80
|
private
|
|
77
81
|
def options(startdate, enddate, limit = nil)
|
|
78
82
|
params = {}
|
data/ragios-client.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: ragios-client 0.
|
|
5
|
+
# stub: ragios-client 0.2.0 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "ragios-client"
|
|
9
|
-
s.version = "0.
|
|
9
|
+
s.version = "0.2.0"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
|
13
13
|
s.authors = ["obi-a"]
|
|
14
|
-
s.date = "2016-
|
|
14
|
+
s.date = "2016-06-01"
|
|
15
15
|
s.description = "ruby client for ragios"
|
|
16
16
|
s.email = "obioraakubue@yahoo.com"
|
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ragios-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- obi-a
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-06-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|