appengine 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/appengine/exec.rb +4 -2
- data/lib/appengine/tasks.rb +4 -1
- data/lib/appengine/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 240ab306ec532d4f566903ec8852ce7d94456b01
|
4
|
+
data.tar.gz: 61088978e8cc17bb0becd9a3f07008c93155eb15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20a3231c83824b542144da7796f7da9a68b630079eef71df2a043f919cdc89cfbd9eca9eaaf566d2b2a6527b23d689b585399ebfef899df68a9191e19ad89ac6
|
7
|
+
data.tar.gz: 71f3d45d95c96fb6b15a1d2717340ea18b086f487dd9efc3fb2485e14cbd2b08b1ae796ea3a20c676a16302efd50b26cfa771dff9153e4f69a2c671f56ed6862
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
3
|
This is the change history for the appengine gem.
|
4
4
|
|
5
|
+
## v0.4.5 (2017-12-04)
|
6
|
+
|
7
|
+
* Ensure tempfile is required when needed.
|
8
|
+
* Update stackdriver dependency to 0.11.
|
9
|
+
|
5
10
|
## v0.4.4 (2017-10-03)
|
6
11
|
|
7
12
|
* Windows compatibility for appengine:exec task. (gkaykck)
|
data/lib/appengine/exec.rb
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
require "yaml"
|
17
17
|
require "json"
|
18
18
|
require "shellwords"
|
19
|
+
require "tempfile"
|
19
20
|
|
20
21
|
require "appengine/util/gcloud"
|
21
22
|
|
@@ -248,13 +249,14 @@ module AppEngine
|
|
248
249
|
# `AppEngine::Exec.default_timeout`.
|
249
250
|
#
|
250
251
|
def initialize command,
|
251
|
-
service: nil, config_path: nil, version: nil, timeout: nil
|
252
|
+
service: nil, config_path: nil, version: nil, timeout: nil,
|
253
|
+
wrapper_image: nil
|
252
254
|
@command = command
|
253
255
|
@service = service
|
254
256
|
@config_path = config_path
|
255
257
|
@version = version
|
256
258
|
@timeout = timeout
|
257
|
-
@wrapper_image =
|
259
|
+
@wrapper_image = wrapper_image
|
258
260
|
|
259
261
|
yield self if block_given?
|
260
262
|
end
|
data/lib/appengine/tasks.rb
CHANGED
@@ -98,6 +98,8 @@ module AppEngine
|
|
98
98
|
VERSION_ENV = "GAE_VERSION"
|
99
99
|
## @private
|
100
100
|
TIMEOUT_ENV = "GAE_TIMEOUT"
|
101
|
+
## @private
|
102
|
+
WRAPPER_IMAGE_ENV = "GAE_EXEC_WRAPPER_IMAGE"
|
101
103
|
|
102
104
|
@defined = false
|
103
105
|
|
@@ -148,7 +150,8 @@ For detailed usage instructions, provide two dashes but no command:
|
|
148
150
|
service: ::ENV[SERVICE_ENV],
|
149
151
|
config_path: ::ENV[CONFIG_ENV],
|
150
152
|
version: ::ENV[VERSION_ENV],
|
151
|
-
timeout: ::ENV[TIMEOUT_ENV]
|
153
|
+
timeout: ::ENV[TIMEOUT_ENV],
|
154
|
+
wrapper_image: ::ENV[WRAPPER_IMAGE_ENV]
|
152
155
|
start_and_report_errors app_exec
|
153
156
|
exit
|
154
157
|
end
|
data/lib/appengine/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appengine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Azuma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-env
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.11'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.11'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|