ruby_aem 2.5.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/conf/app.yaml +1 -0
- data/lib/ruby_aem/client.rb +2 -2
- data/lib/ruby_aem/resources/aem.rb +9 -9
- metadata +24 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad39db69fe2af43f30457e2cb77bda360e23c681
|
4
|
+
data.tar.gz: ed20117bacbe4fdf4d6b22b7c725ed58cb609230
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1bddd288141f8cd2b04c0292a6a8e886950226d18d1e3c1d6b9ea92d0cae961959c6cb3539ddcba75377e01566fca2ffb26558e16cdb6b332f064aaec596b51
|
7
|
+
data.tar.gz: 074b7eb604f7bc1c75deb5b14304aa4084cba64e5faf2a29d8a1a665e98cb5179b88238aa853b6ef7b7e84461db50cdebe3f17ceeb6063ee35671cfd56c23bcd
|
data/conf/app.yaml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
version: 3.0.0
|
data/lib/ruby_aem/client.rb
CHANGED
@@ -73,8 +73,8 @@ module RubyAem
|
|
73
73
|
method = RubyAem::Swagger.operation_to_method(operation)
|
74
74
|
data, status_code, headers = api.send("#{method}_with_http_info", *params)
|
75
75
|
response = RubyAem::Response.new(status_code, data, headers)
|
76
|
-
rescue SwaggerAemClient::ApiError =>
|
77
|
-
response = RubyAem::Response.new(
|
76
|
+
rescue SwaggerAemClient::ApiError => e
|
77
|
+
response = RubyAem::Response.new(e.code, e.response_body, e.response_headers)
|
78
78
|
end
|
79
79
|
handle(response, responses_spec, call_params)
|
80
80
|
end
|
@@ -101,9 +101,9 @@ module RubyAem
|
|
101
101
|
else
|
102
102
|
puts format('Retrieve login page attempt #%<retries_count>d: %<message>s and ready', retries_count: retries_count, message: result.message)
|
103
103
|
end
|
104
|
-
rescue RubyAem::Error =>
|
105
|
-
puts format('Retrieve login page attempt #%<retries_count>d: %<message>s', retries_count: retries_count, message:
|
106
|
-
raise StandardError.new(
|
104
|
+
rescue RubyAem::Error => e
|
105
|
+
puts format('Retrieve login page attempt #%<retries_count>d: %<message>s', retries_count: retries_count, message: e.message)
|
106
|
+
raise StandardError.new(e.message)
|
107
107
|
end
|
108
108
|
}
|
109
109
|
result
|
@@ -150,9 +150,9 @@ module RubyAem
|
|
150
150
|
else
|
151
151
|
puts format('Retrieve AEM Health Check attempt #%<retries_count>d: %<message>s and ok', retries_count: retries_count, message: result.message)
|
152
152
|
end
|
153
|
-
rescue RubyAem::Error =>
|
154
|
-
puts format('Retrieve AEM Health Check attempt #%<retries_count>d: %<message>s', retries_count: retries_count, message:
|
155
|
-
raise StandardError.new(
|
153
|
+
rescue RubyAem::Error => e
|
154
|
+
puts format('Retrieve AEM Health Check attempt #%<retries_count>d: %<message>s', retries_count: retries_count, message: e.message)
|
155
|
+
raise StandardError.new(e.message)
|
156
156
|
end
|
157
157
|
}
|
158
158
|
result
|
@@ -242,9 +242,9 @@ module RubyAem
|
|
242
242
|
puts format('Retrieve AEM install status attempt #%<retries_count>d: %<message>s but not finished yet, still installing %<item_count>d package(s)', retries_count: retries_count, message: result.message, item_count: item_count)
|
243
243
|
raise StandardError.new(result.message)
|
244
244
|
end
|
245
|
-
rescue RubyAem::Error =>
|
246
|
-
puts format('Retrieve AEM install status attempt #%<retries_count>d: %<message>s', retries_count: retries_count, message:
|
247
|
-
raise StandardError.new(
|
245
|
+
rescue RubyAem::Error => e
|
246
|
+
puts format('Retrieve AEM install status attempt #%<retries_count>d: %<message>s', retries_count: retries_count, message: e.message)
|
247
|
+
raise StandardError.new(e.message)
|
248
248
|
end
|
249
249
|
}
|
250
250
|
result
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_aem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shine Solutions
|
@@ -9,92 +9,92 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-05-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.
|
20
|
+
version: 1.10.3
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.
|
27
|
+
version: 1.10.3
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: nori
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - '='
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 2.6.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: 2.6.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: retries
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: 0.0.5
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 0.0.5
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: swagger_aem
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: 3.0.0
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: 3.0.0
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: rspec
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
76
|
+
version: 3.8.0
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - '='
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
83
|
+
version: 3.8.0
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: yard
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - '='
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.9.
|
90
|
+
version: 0.9.19
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- -
|
95
|
+
- - '='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.9.
|
97
|
+
version: 0.9.19
|
98
98
|
description: ruby_aem is a Ruby client for Adobe Experience Manager (AEM) API, written
|
99
99
|
on top of swagger_aem
|
100
100
|
email:
|
@@ -104,6 +104,7 @@ executables: []
|
|
104
104
|
extensions: []
|
105
105
|
extra_rdoc_files: []
|
106
106
|
files:
|
107
|
+
- conf/app.yaml
|
107
108
|
- conf/spec.yaml
|
108
109
|
- lib/ruby_aem.rb
|
109
110
|
- lib/ruby_aem/client.rb
|
@@ -154,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
155
|
version: '0'
|
155
156
|
requirements: []
|
156
157
|
rubyforge_project:
|
157
|
-
rubygems_version: 2.6.14.
|
158
|
+
rubygems_version: 2.6.14.4
|
158
159
|
signing_key:
|
159
160
|
specification_version: 4
|
160
161
|
summary: AEM API Ruby client
|