appengine 0.4.4 → 0.4.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d298df52ab28ad90dbfa6b51f3bf960d2ba63793
4
- data.tar.gz: 1be692b4bd2c5099004e59e2e429d0d8092d35d8
3
+ metadata.gz: 240ab306ec532d4f566903ec8852ce7d94456b01
4
+ data.tar.gz: 61088978e8cc17bb0becd9a3f07008c93155eb15
5
5
  SHA512:
6
- metadata.gz: 8e0821d8d628018e27e4bafa2274f919a2bce599cc3feef9dea46192c12ca4efa6f4646e942183c37cd00338b9f6364d0d3d3293332138c258663a482ac27d0a
7
- data.tar.gz: 281b510a47e74e2faecd180552e7a5d4c22de52942b48dd0aec87f988b0ac1bcf01e83e2f9b364423f031ed1f96ae8cafc3e7d7ddfce59a1bfe8749e8a98e31a
6
+ metadata.gz: 20a3231c83824b542144da7796f7da9a68b630079eef71df2a043f919cdc89cfbd9eca9eaaf566d2b2a6527b23d689b585399ebfef899df68a9191e19ad89ac6
7
+ data.tar.gz: 71f3d45d95c96fb6b15a1d2717340ea18b086f487dd9efc3fb2485e14cbd2b08b1ae796ea3a20c676a16302efd50b26cfa771dff9153e4f69a2c671f56ed6862
@@ -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)
@@ -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 = nil
259
+ @wrapper_image = wrapper_image
258
260
 
259
261
  yield self if block_given?
260
262
  end
@@ -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
@@ -16,6 +16,6 @@
16
16
  module AppEngine
17
17
 
18
18
  # The current version of this gem, as a string.
19
- VERSION = '0.4.4'.freeze
19
+ VERSION = '0.4.5'.freeze
20
20
 
21
21
  end
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
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-10-03 00:00:00.000000000 Z
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.7'
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.7'
40
+ version: '0.11'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement