app_builder 0.2.9 → 0.2.10

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
  SHA256:
3
- metadata.gz: 17548e7a9045b333ec79ef1e8f0abeb616d6c6ace73d3a306516f140906a4df3
4
- data.tar.gz: 19890dc60cbc42ea8b2656a8e8889c91642e59818ed4a761b26bebfef6dafb82
3
+ metadata.gz: f59b375e8d29b326a246ab9be430e44e2fc8beb582de85528e7dac8c0119ee4c
4
+ data.tar.gz: 02ca80a5215768e3ef3a91146b1a1f9604f13dec29de66d6e4f5cd2aa333bd7b
5
5
  SHA512:
6
- metadata.gz: 3b1ad7ed2325454f51eb6f1cfa7277f79469bfa01a67475fb7f92cc173abd8940a462f7648a52e739f5ba4b472371f4312f911dbb959368fa86c336bbad30775
7
- data.tar.gz: af54e1427a7e8c15c56901d78702c79b25403ba5d106cb4e95b3cb71233141135e506f098cd94a1be9f19d7bf70cb395711a2b4af3552978e8d7e9e2ff77984d
6
+ metadata.gz: 637f5ee197d5fafd44fa9e832076fa3f30b344980016688dfc9bf0c249f579c04ecda0ef993b1ab38ce9593851d2437388c803e1571b067803842164e38e5b9e
7
+ data.tar.gz: ecd347d300ab78dd8f7af300eada99dbffa14ad10b89cbe70130e00528a7064d4b0c390e8b5113d0977e64e1a9b170178cd5ba94ffdb572089b0969640320c30
@@ -4,7 +4,7 @@ module AppBuilder
4
4
  :build_id, # default: timestamp
5
5
  :project_name, # default: repository name
6
6
  :remote_repository, # default: remote origin
7
- :branch, # default: TARGET_BRANCH or master
7
+ :branch, # default: TARGET_BRANCH or current branch
8
8
  :revision, # default: commit hash
9
9
  :resource_type, # :s3 or :http or :https (default: :s3)
10
10
  :upload_id, # bucket name or remote host (default: none)
@@ -133,7 +133,7 @@ module AppBuilder
133
133
  @project_name = File.basename(`git rev-parse --show-toplevel`.chomp)
134
134
  @remote_repository = `git remote get-url origin`.chomp
135
135
  @branch = ENV.fetch("TARGET_BRANCH", `git symbolic-ref --short HEAD`.chomp)
136
- @revision = `git rev-parse #{branch}`.chomp
136
+ @revision = `git rev-parse origin/#{branch}`.chomp
137
137
  @remote_src_path = "assets"
138
138
  @manifest_template_path = File.expand_path("template/manifest.yml.erb", __dir__)
139
139
  @remote_manifest_path = "manifests"
@@ -1,3 +1,3 @@
1
1
  module AppBuilder
2
- VERSION = "0.2.9".freeze
2
+ VERSION = "0.2.10".freeze
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.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - i2bskn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-03 00:00:00.000000000 Z
11
+ date: 2018-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  version: '0'
154
154
  requirements: []
155
155
  rubyforge_project:
156
- rubygems_version: 2.7.6
156
+ rubygems_version: 2.7.7
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: Application build utilities.