ocean-rails 7.0.1 → 7.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean/api.rb +0 -21
- data/lib/ocean/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8a66e2a136d72e0bafa09abdd0407853983cf8e
|
4
|
+
data.tar.gz: ce22aebe3003f330b67866d3ba0c1012c61b87bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ea14c9908f22b5406543ec72924f0f4deb9f210f5d0078a8c8066632f66900a6d7db74cc3f65955051b8c98c0d02a699b7b8340f751c3165d3442c6e7d3f6ee
|
7
|
+
data.tar.gz: 18b5fd5362ac0dc71a60f902e064f9852ae21b0a0e79d988da214289d0a9df19fb11049a25a0d1bef0b4521c087234d2c49aaa6085d92b0cd3693dd2a5d80d9d
|
data/lib/ocean/api.rb
CHANGED
@@ -602,25 +602,4 @@ class Api
|
|
602
602
|
end
|
603
603
|
|
604
604
|
|
605
|
-
#
|
606
|
-
# Raise a semaphore by making an internal request to the Cloud service.
|
607
|
-
# +level+ - Severity level. One of INFO, WARNING, ERROR, and ALERT. Must be in uppercase.
|
608
|
-
# +area+ - The area of functionality to which the semaphore belongs, such as "EC2" or "Login". The value is arbitrary.
|
609
|
-
# +name+ - The name or ID of the semaphore. The value is arbitrary.
|
610
|
-
# +description+ - An optional description.
|
611
|
-
#
|
612
|
-
def self.raise_semaphore(level, area, name, description: nil)
|
613
|
-
run_async_job "/v1/semaphores", :post,
|
614
|
-
body: {
|
615
|
-
level: level,
|
616
|
-
area: area,
|
617
|
-
name: name,
|
618
|
-
description: description
|
619
|
-
},
|
620
|
-
default_step_time: 65.seconds,
|
621
|
-
max_seconds_in_queue: 60.seconds
|
622
|
-
end
|
623
|
-
|
624
|
-
|
625
|
-
|
626
605
|
end
|
data/lib/ocean/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ocean-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Bengtson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -294,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
294
294
|
version: '0'
|
295
295
|
requirements: []
|
296
296
|
rubyforge_project:
|
297
|
-
rubygems_version: 2.
|
297
|
+
rubygems_version: 2.6.11
|
298
298
|
signing_key:
|
299
299
|
specification_version: 4
|
300
300
|
summary: This gem implements common Ocean behaviour for Ruby and Ruby on Rails.
|