appengine 0.4.0.1 → 0.4.1

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
  SHA1:
3
- metadata.gz: b6371eb709465cbdcfc05483150106a81eb025fe
4
- data.tar.gz: 9b62d7e12df518e49eb1f496e88f366084eae736
3
+ metadata.gz: a4337b22e48cd0ff7e07eb2fc1b1d0d7e3321ef6
4
+ data.tar.gz: 996003ccd1f89e885d6e7bb822e7b5516aa84fe9
5
5
  SHA512:
6
- metadata.gz: ea1f263530a48d762714b1cc2e0ec79bbd86223fd43a1b338fea14fa849aca93ba597f24ea2d38fb5a6a67f29fc2716aeb634f327050e8691cea690af23a8f39
7
- data.tar.gz: 89de6f2e039c5e8a53d0f76d69ef37c296d923adf9d52b7d857d7a29a8a20e4dc3dfa072cb6ef743df4b97ebcc1714526672dbe3a603df9605c59e445276209b
6
+ metadata.gz: f99d967711881ad8f82d32bdaa123fd86f943b366f9ef3e63e070227b3aeb120809769a3f59b4851170b6d2832493f84027a963e7e7a1dbccc5b0faf31e06de8
7
+ data.tar.gz: c008671acdfc5e9939fe05843b2089e66812b6e7176bae5ddb9e95e45744a495d9ae56e78d4081978a0910ae88f3d0c11094f3bcaf9c4a0f8b45874f00fe0e93
@@ -2,6 +2,10 @@
2
2
 
3
3
  This is the change history for the appengine gem.
4
4
 
5
+ ## v0.4.1 (2017-08-10)
6
+
7
+ * Removed squiggly heredocs to regain compatibility with Ruby 2.2.
8
+
5
9
  ## v0.4.0 (2017-07-17)
6
10
 
7
11
  * Provided rake tasks to access App Engine remote execution.
@@ -129,7 +129,7 @@ module AppEngine
129
129
  else
130
130
  i = (::ARGV.index{ |a| a.to_s == "--" } || -1) + 1
131
131
  if i == 0
132
- report_error <<~MESSAGE
132
+ report_error <<-MESSAGE
133
133
  No command provided for appengine:exec.
134
134
  Did you remember to delimit it with two dashes? e.g.
135
135
  bundle exec rake appengine:exec -- bundle exec ruby myscript.rb
@@ -155,7 +155,7 @@ For detailed usage instructions, provide two dashes but no command:
155
155
  end
156
156
 
157
157
  def show_usage
158
- puts <<~USAGE
158
+ puts <<-USAGE
159
159
  rake appengine:exec
160
160
 
161
161
  This Rake task executes a given command in the context of an App Engine
@@ -226,20 +226,20 @@ https://github.com/GoogleCloudPlatform/appengine-ruby
226
226
  def verify_gcloud_and_report_errors
227
227
  Util::Gcloud.verify!
228
228
  rescue Gcloud::BinaryNotFound
229
- report_error <<~MESSAGE
229
+ report_error <<-MESSAGE
230
230
  Could not find the `gcloud` binary in your system path.
231
231
  This tool requires the Google Cloud SDK. To download and install it,
232
232
  visit https://cloud.google.com/sdk/downloads
233
233
  MESSAGE
234
234
  rescue Gcloud::GcloudNotAuthenticated
235
- report_error <<~MESSAGE
235
+ report_error <<-MESSAGE
236
236
  The gcloud authorization has not been completed. If you have not yet
237
237
  initialized the Google Cloud SDK, we recommend running the `gcloud init`
238
238
  command as described at https://cloud.google.com/sdk/docs/initializing
239
239
  Alternately, you may log in directly by running `gcloud auth login`.
240
240
  MESSAGE
241
241
  rescue Gcloud::ProjectNotSet
242
- report_error <<~MESSAGE
242
+ report_error <<-MESSAGE
243
243
  The gcloud project configuration has not been set. If you have not yet
244
244
  initialized the Google Cloud SDK, we recommend running the `gcloud init`
245
245
  command as described at https://cloud.google.com/sdk/docs/initializing
@@ -251,7 +251,7 @@ running `gcloud config set project <project-name>`.
251
251
  def start_and_report_errors app_exec
252
252
  app_exec.start
253
253
  rescue Exec::ConfigFileNotFound => ex
254
- report_error <<~MESSAGE
254
+ report_error <<-MESSAGE
255
255
  Could not determine which service should run this command because the App
256
256
  Engine config file "#{ex.config_path}" was not found.
257
257
  Specify the config file using the GAE_CONFIG argument. e.g.
@@ -260,7 +260,7 @@ Alternately, you may specify a service name directly with GAE_SERVICE. e.g.
260
260
  bundle exec rake appengine:exec GAE_SERVICE=myservice -- myscript.sh
261
261
  MESSAGE
262
262
  rescue Exec::BadConfigFileFormat => ex
263
- report_error <<~MESSAGE
263
+ report_error <<-MESSAGE
264
264
  Could not determine which service should run this command because the App
265
265
  Engine config file "#{ex.config_path}" was malformed.
266
266
  It must be a valid YAML file.
@@ -271,13 +271,13 @@ Alternately, you may specify a service name directly with GAE_SERVICE. e.g.
271
271
  MESSAGE
272
272
  rescue Exec::NoSuchVersion => ex
273
273
  if ex.version
274
- report_error <<~MESSAGE
274
+ report_error <<-MESSAGE
275
275
  Could not find version "#{ex.version}" of service "#{ex.service}".
276
276
  Please double-check the version exists. To use the most recent version by
277
277
  default, omit the GAE_VERSION argument.
278
278
  MESSAGE
279
279
  else
280
- report_error <<~MESSAGE
280
+ report_error <<-MESSAGE
281
281
  Could not find any versions of service "#{ex.service}".
282
282
  Please double-check that you have deployed this service. If you want to run
283
283
  a command against a different service, you may provide a GAE_CONFIG argument
@@ -286,7 +286,7 @@ a service directly.
286
286
  MESSAGE
287
287
  end
288
288
  rescue Exec::ServiceNameConflict => ex
289
- report_error <<~MESSAGE
289
+ report_error <<-MESSAGE
290
290
  The explicit service name "#{ex.service_name}" was requested
291
291
  but conflicts with the service "#{ex.config_name}" from the
292
292
  config file "#{ex.config_path}"
@@ -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.0.1'.freeze
19
+ VERSION = '0.4.1'.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.0.1
4
+ version: 0.4.1
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-07-17 00:00:00.000000000 Z
11
+ date: 2017-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-env