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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed390ae261172fe0fa6e4f9c06874b2abc739ec0
4
- data.tar.gz: 16351f776fc6672ab7c66e811dd68cc954be354c
3
+ metadata.gz: 1a14257c04ba74b89dfcd0629daf8fc840cc2f9c
4
+ data.tar.gz: c272e9552fc7ba3a0af12fcd81d6de8c57f60741
5
5
  SHA512:
6
- metadata.gz: 2a630ea6a0dd69d7419d70795f8f23011971db012b9c9982d38a36d0dd5c9128012bfa53d09b31dbdca4eaee34486b869343214532da67411badeb00f8616d79
7
- data.tar.gz: dd32ee6a3221a91901987d3d83ec4b22eb10597858b46ccd4ae8de38dddf0862c5dbdedeb5cdc32767b2ff88e58bd3915f5ce767f91835abaa833e74bc2c5031
6
+ metadata.gz: 0aaf617c8ce969ac470d52e7de026352036d6a62a1b1305a854e7f86e6e1712ee6ff249ed72c6118c16d1388d222443e6720391f35b9761b27d8e6d5f63888bb
7
+ data.tar.gz: bbfbd2bcee46b7d19199b419fb24e81f8619eb2c9d486cc9976dc8b20a1e37ed4f3d913479a45edfe4e6196c394243ca43300de36d8db0f39b3242f78b96e564
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Aem
2
2
  module Deploy
3
- VERSION = "0.1.24"
3
+ VERSION = "0.1.25"
4
4
  end
5
5
  end
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.24
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-30 00:00:00.000000000 Z
11
+ date: 2016-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler