appengine 0.4.0 → 0.4.0.1
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
- data/.yardopts +9 -0
- data/lib/appengine/exec.rb +1 -0
- data/lib/appengine/version.rb +1 -1
- metadata +2 -2
- data/test/test_env.rb +0 -35
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b6371eb709465cbdcfc05483150106a81eb025fe
|
|
4
|
+
data.tar.gz: 9b62d7e12df518e49eb1f496e88f366084eae736
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea1f263530a48d762714b1cc2e0ec79bbd86223fd43a1b338fea14fa849aca93ba597f24ea2d38fb5a6a67f29fc2716aeb634f327050e8691cea690af23a8f39
|
|
7
|
+
data.tar.gz: 89de6f2e039c5e8a53d0f76d69ef37c296d923adf9d52b7d857d7a29a8a20e4dc3dfa072cb6ef743df4b97ebcc1714526672dbe3a603df9605c59e445276209b
|
data/.yardopts
ADDED
data/lib/appengine/exec.rb
CHANGED
|
@@ -39,6 +39,7 @@ module AppEngine
|
|
|
39
39
|
#
|
|
40
40
|
# When App Engine execution runs your command, it provides access to key
|
|
41
41
|
# elements of the App Engine environment, including:
|
|
42
|
+
#
|
|
42
43
|
# * The same runtime that runs your application in App Engine itself.
|
|
43
44
|
# * Any Cloud SQL connections requested by your application.
|
|
44
45
|
# * Any environment variables set by your application.
|
data/lib/appengine/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: appengine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.0
|
|
4
|
+
version: 0.4.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Azuma
|
|
@@ -120,6 +120,7 @@ executables: []
|
|
|
120
120
|
extensions: []
|
|
121
121
|
extra_rdoc_files: []
|
|
122
122
|
files:
|
|
123
|
+
- ".yardopts"
|
|
123
124
|
- CHANGELOG.md
|
|
124
125
|
- CONTRIBUTING.md
|
|
125
126
|
- LICENSE
|
|
@@ -132,7 +133,6 @@ files:
|
|
|
132
133
|
- lib/appengine/tasks.rb
|
|
133
134
|
- lib/appengine/util/gcloud.rb
|
|
134
135
|
- lib/appengine/version.rb
|
|
135
|
-
- test/test_env.rb
|
|
136
136
|
homepage: https://github.com/GoogleCloudPlatform/appengine-ruby
|
|
137
137
|
licenses:
|
|
138
138
|
- Apache 2.0
|
data/test/test_env.rb
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Copyright 2016 Google Inc. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
;
|
|
15
|
-
|
|
16
|
-
require 'minitest/autorun'
|
|
17
|
-
require 'appengine'
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
module AppEngine
|
|
21
|
-
module Tests # :nodoc:
|
|
22
|
-
|
|
23
|
-
class TestEnv < ::Minitest::Test # :nodoc:
|
|
24
|
-
|
|
25
|
-
def test_app_engine
|
|
26
|
-
::ENV["GAE_INSTANCE"] = "instance-123"
|
|
27
|
-
assert Env.app_engine?
|
|
28
|
-
::ENV.delete "GAE_INSTANCE"
|
|
29
|
-
refute Env.app_engine?
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
end
|
|
35
|
-
end
|