bps-google-api 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bps-google-api.gemspec +1 -1
- data/spec/spec_helper.rb +7 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a02a6cdbdce3150bb4edb0518581510b3b0b344
|
4
|
+
data.tar.gz: a2ad092b4a76864c42c5312d9ca6fa2e80e931fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97b3213dd9dea815f737853cf47f686e14f317ac92de70284826b59e06f473e42f25ef0eacbae09f3ecf52d9333769c64d0d74bd2ca89a80cb9b75cf4c70dc98
|
7
|
+
data.tar.gz: 4caa40fb6f0451c0a9e7a06083608807f49f3052eb61fc62517c21b8e7f044c2d868a1556b059d9196ef9e788c8557ae8c0794e40144798565558331017b5da7
|
data/Gemfile.lock
CHANGED
data/bps-google-api.gemspec
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -13,15 +13,19 @@ require 'google_api'
|
|
13
13
|
|
14
14
|
def silently
|
15
15
|
original_stdout = $stdout
|
16
|
-
$stdout = File.new(GoogleAPI.configuration.local_path('
|
16
|
+
$stdout = File.new(GoogleAPI.configuration.local_path('null'), 'w')
|
17
17
|
yield
|
18
18
|
$stdout = original_stdout
|
19
19
|
end
|
20
20
|
|
21
21
|
RSpec.configure do |config|
|
22
22
|
config.before(:suite) do
|
23
|
-
|
24
|
-
|
23
|
+
GoogleAPI.configure do |config|
|
24
|
+
config.root = 'tmp/spec'
|
25
|
+
config.keys = 'tmp/spec/keys'
|
26
|
+
end
|
27
|
+
|
28
|
+
FileUtils.rm(Dir.glob(GoogleAPI.configuration.local_path('*', &:keys)))
|
25
29
|
|
26
30
|
ENV['GOOGLE_AUTHORIZATION_CODE'] = 'test-auth-code'
|
27
31
|
ENV['HIDE_PROGRESS_BARS'] = 'true'
|