teapot 3.4.1 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/teapot/command/fetch.rb +3 -3
- data/lib/teapot/definition.rb +4 -4
- data/lib/teapot/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d58b6f1be99cfff7bcaa495193453f704e8b01a5285f15c22fec6ea2e05aa918
|
|
4
|
+
data.tar.gz: 753c3a24cb73ab459af7b200914a58624c668eaa59bc343b10a3b0ac3a307535
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 607c931ec0e01cc6b5c79a14cda5bb99d7bef7710a61357ccaef1a9c73f6f26e5ada13654bff11c0c7335993b41dd998f3879ec881c2a45578ea3354a33d4469
|
|
7
|
+
data.tar.gz: e25dcade6d83f87e70ac24ee83c79857c9cb718f0d1a5c82334550be027cf1ab0fadb9ca07b25608899fe46e1481a472758bc73052f41bf3e7f535ee0ae74e8b
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/teapot/command/fetch.rb
CHANGED
|
@@ -135,7 +135,7 @@ module Teapot
|
|
|
135
135
|
base_uri = URI "file://" + File.expand_path(base_uri.path, context.root) + "/"
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
branch_name = package.options
|
|
138
|
+
branch_name = package.options[:branch]
|
|
139
139
|
|
|
140
140
|
if package_lock
|
|
141
141
|
logger.info "Package locked to commit: #{package_lock[:branch]}/#{package_lock[:commit]}"
|
|
@@ -145,7 +145,7 @@ module Teapot
|
|
|
145
145
|
end
|
|
146
146
|
|
|
147
147
|
if destination_path.exist?
|
|
148
|
-
logger.info "Updating package at path #{destination_path}..."
|
|
148
|
+
logger.info "Updating package at path #{destination_path}..."
|
|
149
149
|
|
|
150
150
|
repository = Rugged::Repository.new(destination_path.to_s)
|
|
151
151
|
|
|
@@ -155,7 +155,7 @@ module Teapot
|
|
|
155
155
|
end
|
|
156
156
|
|
|
157
157
|
repository.fetch('origin', credentials: self.method(:credentials))
|
|
158
|
-
repository.checkout(branch_name)
|
|
158
|
+
repository.checkout(branch_name) if branch_name
|
|
159
159
|
|
|
160
160
|
# Essentially implement git pull:
|
|
161
161
|
if commit_id
|
data/lib/teapot/definition.rb
CHANGED
data/lib/teapot/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: teapot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
|
36
36
|
RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
|
|
37
37
|
HiLJ8VOFx6w=
|
|
38
38
|
-----END CERTIFICATE-----
|
|
39
|
-
date: 2022-
|
|
39
|
+
date: 2022-07-25 00:00:00.000000000 Z
|
|
40
40
|
dependencies:
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: build
|
metadata.gz.sig
CHANGED
|
Binary file
|