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 +4 -4
- data/lib/app_builder/config.rb +2 -2
- data/lib/app_builder/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f59b375e8d29b326a246ab9be430e44e2fc8beb582de85528e7dac8c0119ee4c
|
4
|
+
data.tar.gz: 02ca80a5215768e3ef3a91146b1a1f9604f13dec29de66d6e4f5cd2aa333bd7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 637f5ee197d5fafd44fa9e832076fa3f30b344980016688dfc9bf0c249f579c04ecda0ef993b1ab38ce9593851d2437388c803e1571b067803842164e38e5b9e
|
7
|
+
data.tar.gz: ecd347d300ab78dd8f7af300eada99dbffa14ad10b89cbe70130e00528a7064d4b0c390e8b5113d0977e64e1a9b170178cd5ba94ffdb572089b0969640320c30
|
data/lib/app_builder/config.rb
CHANGED
@@ -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
|
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
|
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"
|
data/lib/app_builder/version.rb
CHANGED
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.
|
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-
|
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.
|
156
|
+
rubygems_version: 2.7.7
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: Application build utilities.
|