brpm_module_brpm 0.1.28 → 0.1.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +2 -2
- data/config.yml +1 -1
- data/lib/brpm_rest_client.rb +2 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjcyMjNiYmZkM2E4Njk4ZGE4NGFiYzBkMzhmNzhhMDgwZmZmNjZkNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDRiYzMzOTBmZjBiZDNiMjc0NDdlYjEzMmRkNjFhY2ZhYzFmZTk2OA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWJjYmE1NGY5MDlkYjAxZDgyMjE3ZDgyZTZmNTM1M2RmODJmY2UzMzU0YzEx
|
10
|
+
YmVlODBjN2YyZDczOTQxNmRlOGY3MGNhYzNhOTM0NmU4ZWRmOGVjZDNmZGU3
|
11
|
+
OWM2YjgwOTFmNzUxZTdhNGEyMTY3NmJkZWExNTRlYjI1NDdkNzk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDkzNjQ4NzlmMzY1NThlZGJlMjVjYzZkMjM3ZjdmZjliY2QzYzJiMjg5MmRj
|
14
|
+
ZjVjMzMwZmY0M2EwM2M0Mzc2ZDNjNTJmNDNhMmU4NGVlNjM2ZmMyMzNiNDZl
|
15
|
+
ZjhlZmVkOThiZDQyMDExNjQ1NjM5NmE1MDRjODZkYTM5NWQ5YzM=
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
brpm_module_brpm (0.1.
|
4
|
+
brpm_module_brpm (0.1.29)
|
5
5
|
brpm_content (>= 0.1.11)
|
6
6
|
|
7
7
|
GEM
|
@@ -10,7 +10,7 @@ GEM
|
|
10
10
|
akami (1.2.2)
|
11
11
|
gyoku (>= 0.4.0)
|
12
12
|
nokogiri
|
13
|
-
brpm_content (0.1.
|
13
|
+
brpm_content (0.1.43)
|
14
14
|
capistrano (= 2.15.5)
|
15
15
|
json
|
16
16
|
rest-client
|
data/config.yml
CHANGED
data/lib/brpm_rest_client.rb
CHANGED
@@ -1695,7 +1695,6 @@ class BrpmRestClient
|
|
1695
1695
|
end
|
1696
1696
|
|
1697
1697
|
def create_or_update_script(script)
|
1698
|
-
|
1699
1698
|
BrpmAuto.log "Checking if the corresponding script already exists ..."
|
1700
1699
|
existing_script = get_script_by_name(script["name"])
|
1701
1700
|
|
@@ -1725,20 +1724,12 @@ class BrpmRestClient
|
|
1725
1724
|
script
|
1726
1725
|
end
|
1727
1726
|
|
1728
|
-
def
|
1729
|
-
|
1730
|
-
|
1731
|
-
if script.nil?
|
1732
|
-
BrpmAuto.log "This script doesn't exist. Continuing."
|
1733
|
-
return
|
1734
|
-
end
|
1735
|
-
|
1736
|
-
result = brpm_delete "v1/scripts/#{script["id"]}"
|
1727
|
+
def delete_script(script_id)
|
1728
|
+
result = brpm_delete "v1/scripts/#{script_id}"
|
1737
1729
|
|
1738
1730
|
unless result["status"] == "success"
|
1739
1731
|
raise "Could not delete script: #{result["error_message"]}"
|
1740
1732
|
end
|
1741
|
-
|
1742
1733
|
end
|
1743
1734
|
|
1744
1735
|
def get_work_task_by_name(name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brpm_module_brpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Niek Bartholomeus
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brpm_content
|