deployment-tracker-client 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee3443749ac5fc7299f335f7bae763b9b836fb6c
4
- data.tar.gz: ed9d05c3273fa078bf64cf9e4cf0d1de776f947a
3
+ metadata.gz: 702eafc1b0fffc29d6fdb80e94cb9b380d1fe72e
4
+ data.tar.gz: 6a927c88844333f69b1f90a099264f55cc9405d3
5
5
  SHA512:
6
- metadata.gz: 1f095e9beb7dbfbce8a4d60e19e2f6e7170b8d520391e0a778eac6e3cf5588202e6e05eab57bfa9399493411f56ed2aa678fa0f1c2601a38f51929bdb731b989
7
- data.tar.gz: d0a215625f27768d47ac861269d01d2a89ff9b86001d7e65c324acf7124fd0d2334c0e14f6bcf2f599793da9441364ba7965bbd2a9a703bb75327133803bf154
6
+ metadata.gz: d2de810406a54150c195d035a5c379c5b8611e75ef4000987666b634d75f438a55e21eb9f7484829613f6f806690a97f194a3c0db23dfadb1eb3b63e0b651007
7
+ data.tar.gz: 3aaf5fc39b1e6afd9b7a2dd5ddaab4dc4407cb3903e037bed75148da69970d17cb1ef1d0f2148b33c3e095e3d51fd04839e0e832e1868b689b582532b6fcb7ab
data/Rakefile CHANGED
@@ -18,7 +18,10 @@ Build it from https://github.com/swagger-api/swagger-codegen and set the SWAGGER
18
18
 
19
19
  %w(api models).each do |dir|
20
20
  # Copy folder into the deployment-tracker-client directory
21
- FileUtils.mv("./lib/swagger_client/#{dir}", "./lib/deployment-tracker-client/#{dir}", force: true)
21
+ src = "./lib/swagger_client/#{dir}"
22
+ dest = "./lib/deployment-tracker-client/"
23
+ FileUtils.cp_r(src, dest)
24
+ FileUtils.rm_rf(src)
22
25
  Dir.foreach("./lib/deployment-tracker-client/#{dir}") do |file|
23
26
  file = File.join("./lib/deployment-tracker-client/#{dir}", file)
24
27
  next unless File.file?(file)
@@ -1,7 +1,7 @@
1
1
  module DeploymentTrackerClient
2
2
  #
3
3
  class Deployment < BaseObject
4
- attr_accessor :deployment_id, :engine, :engine_version, :host, :user, :environment, :package, :version, :result, :elapsed_seconds, :servers
4
+ attr_accessor :deployment_id, :engine, :engine_version, :host, :user, :environment, :package, :package_url, :version, :arguments, :result, :elapsed_seconds, :assert_empty_server_result, :servers
5
5
  # attribute mapping from ruby-style variable name to JSON key
6
6
  def self.attribute_map
7
7
  {
@@ -27,15 +27,24 @@ module DeploymentTrackerClient
27
27
  # The name of the software application or service being deployed
28
28
  :'package' => :'package',
29
29
 
30
+ # A URL that points to more information about the package
31
+ :'package_url' => :'package_url',
32
+
30
33
  # The version of the package being deployed
31
34
  :'version' => :'version',
32
35
 
36
+ # Any arguments used for the deployment
37
+ :'arguments' => :'arguments',
38
+
33
39
  # The result of running the deployment
34
40
  :'result' => :'result',
35
41
 
36
42
  # The elapsed time of the deployment, in seconds
37
43
  :'elapsed_seconds' => :'elapsed_seconds',
38
44
 
45
+ # Whether or not to assert the result of a deployment to any server that doesn&#39;t have a result at the time the deployment is marked complete
46
+ :'assert_empty_server_result' => :'assert_empty_server_result',
47
+
39
48
  # The servers that participated in the deployment
40
49
  :'servers' => :'servers'
41
50
 
@@ -52,9 +61,12 @@ module DeploymentTrackerClient
52
61
  :'user' => :'string',
53
62
  :'environment' => :'string',
54
63
  :'package' => :'string',
64
+ :'package_url' => :'string',
55
65
  :'version' => :'string',
66
+ :'arguments' => :'string',
56
67
  :'result' => :'string',
57
68
  :'elapsed_seconds' => :'int',
69
+ :'assert_empty_server_result' => :'boolean',
58
70
  :'servers' => :'array[Server]'
59
71
 
60
72
  }
@@ -95,10 +107,18 @@ module DeploymentTrackerClient
95
107
  @package = attributes[:'package']
96
108
  end
97
109
 
110
+ if attributes[:'package_url']
111
+ @package_url = attributes[:'package_url']
112
+ end
113
+
98
114
  if attributes[:'version']
99
115
  @version = attributes[:'version']
100
116
  end
101
117
 
118
+ if attributes[:'arguments']
119
+ @arguments = attributes[:'arguments']
120
+ end
121
+
102
122
  if attributes[:'result']
103
123
  @result = attributes[:'result']
104
124
  end
@@ -107,6 +127,10 @@ module DeploymentTrackerClient
107
127
  @elapsed_seconds = attributes[:'elapsed_seconds']
108
128
  end
109
129
 
130
+ if attributes[:'assert_empty_server_result']
131
+ @assert_empty_server_result = attributes[:'assert_empty_server_result']
132
+ end
133
+
110
134
  if attributes[:'servers']
111
135
  if (value = attributes[:'servers']).is_a?(Array)
112
136
  @servers = value
@@ -1,3 +1,3 @@
1
1
  module DeploymentTrackerClient
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deployment-tracker-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cimpress MCP Infrastructure
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-29 00:00:00.000000000 Z
11
+ date: 2015-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus