aem-deploy 0.1.24 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aem/deploy/session.rb +2 -2
- data/lib/aem/deploy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a14257c04ba74b89dfcd0629daf8fc840cc2f9c
|
4
|
+
data.tar.gz: c272e9552fc7ba3a0af12fcd81d6de8c57f60741
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aaf617c8ce969ac470d52e7de026352036d6a62a1b1305a854e7f86e6e1712ee6ff249ed72c6118c16d1388d222443e6720391f35b9761b27d8e6d5f63888bb
|
7
|
+
data.tar.gz: bbfbd2bcee46b7d19199b419fb24e81f8619eb2c9d486cc9976dc8b20a1e37ed4f3d913479a45edfe4e6196c394243ca43300de36d8db0f39b3242f78b96e564
|
data/lib/aem/deploy/session.rb
CHANGED
@@ -40,7 +40,7 @@ module Aem::Deploy
|
|
40
40
|
# @return [Hash] installation message from crx.
|
41
41
|
# @raise [Error] if server returns anything but success.
|
42
42
|
def upload_package(package_path)
|
43
|
-
upload = RestClient::Request.execute(method: :post, url: "#{@protocol}://#{@user}:#{@pass}@#{@host}/crx/packmgr/service/.json", payload: {cmd: 'upload', package: File.new(package_path, 'rb'), force: true} )
|
43
|
+
upload = RestClient::Request.execute(method: :post, url: "#{@protocol}://#{@user}:#{@pass}@#{@host}/crx/packmgr/service/.json", :timeout => 300, payload: {cmd: 'upload', package: File.new(package_path, 'rb'), force: true} )
|
44
44
|
parse_response(upload)
|
45
45
|
@upload_path = URI.encode(JSON.parse(upload)["path"])
|
46
46
|
rescue => error
|
@@ -60,7 +60,7 @@ module Aem::Deploy
|
|
60
60
|
if options[:path]
|
61
61
|
@upload_path = options[:path]
|
62
62
|
end
|
63
|
-
install = RestClient::Request.execute(method: :post, url: "#{@protocol}://#{@user}:#{@pass}@#{@host}/crx/packmgr/service/.json#{@upload_path}", payload: {cmd: 'install'} )
|
63
|
+
install = RestClient::Request.execute(method: :post, url: "#{@protocol}://#{@user}:#{@pass}@#{@host}/crx/packmgr/service/.json#{@upload_path}", :timeout => 300, payload: {cmd: 'install'} )
|
64
64
|
parse_response(install)
|
65
65
|
rescue => error
|
66
66
|
{error: error.to_s}.to_json
|
data/lib/aem/deploy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aem-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mitch Eaton
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09
|
11
|
+
date: 2016-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|