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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3fdf1dc00cb06bca57e8cec64ac829aa8c2b64d
4
- data.tar.gz: f3f93c405057358d4867556026a215f5eba56159
3
+ metadata.gz: 2a02a6cdbdce3150bb4edb0518581510b3b0b344
4
+ data.tar.gz: a2ad092b4a76864c42c5312d9ca6fa2e80e931fc
5
5
  SHA512:
6
- metadata.gz: 2dd2714fa3eb9d611b348e16a9a55fb02855991750ad8dccc58d33fa54506db8ead002e58725e36c5b456d75252689987007db78ed7c479b48a66deee7bb15a0
7
- data.tar.gz: c2d6b1d4b0356552565d214e741f1027d7256781ad923af1d0b636c61f386153cc2a4eab1277775fad920f1a14a4771c310078e0f56f43a869bd31a2b7dfe71e
6
+ metadata.gz: 97b3213dd9dea815f737853cf47f686e14f317ac92de70284826b59e06f473e42f25ef0eacbae09f3ecf52d9333769c64d0d74bd2ca89a80cb9b75cf4c70dc98
7
+ data.tar.gz: 4caa40fb6f0451c0a9e7a06083608807f49f3052eb61fc62517c21b8e7f044c2d868a1556b059d9196ef9e788c8557ae8c0794e40144798565558331017b5da7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bps-google-api (0.3.0)
4
+ bps-google-api (0.3.1)
5
5
  exp_retry (~> 0.0.11)
6
6
  fileutils (~> 1.2)
7
7
  google-api-client (~> 0.23.4)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'bps-google-api'
5
- s.version = '0.3.0'
5
+ s.version = '0.3.1'
6
6
  s.date = '2019-06-25'
7
7
  s.summary = 'Configured Google API'
8
8
  s.description = 'A configured Google API wrapper.'
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('tmp', 'null'), 'w')
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
- FileUtils.mkdir_p(GoogleAPI.configuration.local_path('tmp', 'run'))
24
- FileUtils.rm(Dir.glob(GoogleAPI.configuration.local_path('config', 'keys', '*')))
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bps-google-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander