app_builder 0.1.8 → 0.1.9

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
- SHA256:
3
- metadata.gz: b0e34710ab960c6c70eceb1e6b81803a0e87e4145c955dd70e7e8f230c9218b7
4
- data.tar.gz: 13218f2f1645731c40f329516e5374079c6436ed030267f5c9f1991a8c3b7ba4
2
+ SHA1:
3
+ metadata.gz: aab4122d7c25744d2d355ad9a126f848c8bad558
4
+ data.tar.gz: 9fc7e70371fd6f3f43dfc9fa9c8042e85f7acea4
5
5
  SHA512:
6
- metadata.gz: 2642b87c719e53a0c0d5d687939cdbfab2a840eada43362788a5d3c35d1fe0b773f5c08b52da71421716b13e4ffc08db1413e8ed30fa16256acdd8abb241fdd3
7
- data.tar.gz: b6fa552d40830e0e120ffb9629487249ecf372e582c5c8dc8b03e6b547fac46c8f3079cd5ba2f4590ee365337ead4cd013952155e58eee103f94d9775875f26d
6
+ metadata.gz: 47a9f282d4fe4a1aaff3c92468cd98285e0d605e9bebf7af3aaf012f14516370b863903c5e2f1054f29c78532c219ccae31714b76e9919720bf7dfb76f57b914
7
+ data.tar.gz: 1d2090713bf063dc03371a0c3178e931929bb8cafc0589fe39b52bdb41a572b134e6fd92da9fccb96f983665c18ea170c273fab534766d35d832a1aac6574213
@@ -35,6 +35,7 @@ module AppBuilder
35
35
  :resource_host,
36
36
  :resource_user,
37
37
  :resource_ssh_options,
38
+ :resource_document_root,
38
39
  ].freeze
39
40
 
40
41
  PARAMETERS = [
@@ -32,17 +32,17 @@ module AppBuilder
32
32
  end
33
33
 
34
34
  def upload_to_s3(local, remote)
35
- log(:info, "Upload #{local} to #{config.uploaded_url(remote)}")
36
35
  s3_client.put_object(
37
36
  bucket: upload_id,
38
37
  key: remote,
39
38
  body: File.open(local),
40
39
  )
40
+ log(:info, "Uploaded #{local} to #{config.uploaded_url(remote)}")
41
41
  end
42
42
 
43
43
  def upload_to_server(local, remote)
44
- log(:info, "Upload #{local} to #{src_url}")
45
- resource_server.upload(local, remote)
44
+ resource_server.upload(local, File.join(resource_document_root, remote))
45
+ log(:info, "Uploaded #{local} to #{config.uploaded_url(remote)}")
46
46
  end
47
47
 
48
48
  def generate_manifest
@@ -1,3 +1,3 @@
1
1
  module AppBuilder
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - i2bskn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-12 00:00:00.000000000 Z
11
+ date: 2018-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.7.6
157
+ rubygems_version: 2.6.11
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Application build utilities.