megam_api 0.91 → 0.92
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/lib/megam/api/version.rb +1 -1
- data/lib/megam/mixins/common_deployable.rb +3 -1
- data/lib/megam/mixins/components.rb +13 -5
- 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: 071caa7bd474a339b47140544b4e0a8d91db1c35
|
4
|
+
data.tar.gz: fc7453b06ad55819e3c56effb9d7f87b04f277c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c8cdd71db440428818116497f3eb0e0fe4a9271a3a25e0f8978f1595d7274d26da043f1677d482efa1a1a9a51bdc38ea28df7193befc18f57143b5f142895fb
|
7
|
+
data.tar.gz: d9cc61b373ee547b96a23dc3d683eff055b25a4d670647bb359c4d219f0952b9092030015f5c610269418727ae25b71f3c0c0cdbb656c53650de8b52b298136a
|
data/lib/megam/api/version.rb
CHANGED
@@ -24,7 +24,8 @@ module Megam
|
|
24
24
|
@status = 'launching'
|
25
25
|
bld_toscatype(params)
|
26
26
|
set_attributes(params)
|
27
|
-
@inputs = InputGroupData.new(params)
|
27
|
+
@inputs = InputGroupData.new(params)
|
28
|
+
|
28
29
|
end
|
29
30
|
|
30
31
|
def to_hash
|
@@ -63,6 +64,7 @@ module Megam
|
|
63
64
|
def initialize(params)
|
64
65
|
set_attributes(params)
|
65
66
|
end
|
67
|
+
|
66
68
|
end
|
67
69
|
end
|
68
70
|
end
|
@@ -47,9 +47,10 @@ module Megam
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def add_operations(params)
|
50
|
-
|
51
|
-
|
52
|
-
|
50
|
+
operations = []
|
51
|
+
operations.push(create_operation(Operations::CI, Operations::CI_DESCRIPTON, params)) if params.key?(:scm_name) && params.key?(:scmtoken)
|
52
|
+
operations.push(create_operation(Operations::BIND, Operations::BIND_DESCRIPTON, params)) if params.key?(:bind_type)
|
53
|
+
operations
|
53
54
|
end
|
54
55
|
|
55
56
|
def create_operation(type, desc, params)
|
@@ -93,10 +94,17 @@ module Megam
|
|
93
94
|
|
94
95
|
class Operations
|
95
96
|
include Nilavu::MegamAttributes
|
96
|
-
attr_reader :type, :desc, :prop
|
97
|
+
attr_reader :type, :desc, :prop, :status
|
97
98
|
|
98
|
-
ATTRIBUTES = [
|
99
|
+
ATTRIBUTES = [
|
100
|
+
:type,
|
101
|
+
:desc,
|
102
|
+
:prop,
|
103
|
+
:status]
|
99
104
|
|
105
|
+
def attributes
|
106
|
+
ATTRIBUTES
|
107
|
+
end
|
100
108
|
CI = 'CI'.freeze
|
101
109
|
CI_DESCRIPTON = 'always up to date code. sweet.'
|
102
110
|
NOTBOUND = "notbound".freeze
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: megam_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.92'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rajthilak, Kishorekumar Neelamegam, Thomas Alrin, Yeshwanth Kumar, Subash Sethurajan,
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-01-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: excon
|
@@ -261,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
261
|
version: '0'
|
262
262
|
requirements: []
|
263
263
|
rubyforge_project:
|
264
|
-
rubygems_version: 2.4.
|
264
|
+
rubygems_version: 2.4.8
|
265
265
|
signing_key:
|
266
266
|
specification_version: 4
|
267
267
|
summary: Ruby Client for the Megam
|