dpl 1.6.7.travis.535.1 → 1.6.7.travis.546.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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTc2ZDJjNGU4MjIxMGQ1MGJjMDcyYWQyMDA3MDdlMThhZjkzZDZjZQ==
4
+ YzExMzg4NTk0YmJiZmZmZTg3YTFkYmY0YzlhNTc3MjljMWQ0OTNhOQ==
5
5
  data.tar.gz: !binary |-
6
- YTFhYTM5NDFmOWY5ZDkxOGQ5YzY4ZDg0NzQzOThkNWNlZDVkOTcxMQ==
6
+ NTNkMWJjNTEzY2UzMjI2OThmZjE4MDgyMzJjZjU4YzAzMzRkOWQ4Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGRmNmZiMTUwNjExOTgzOTU5MjcyZTNhNDk5MmFhNGI0ZGYxNDA3MDcwMzE4
10
- YWNmODBhNmNiZDg0OTA0ODk1YjAxYzE0OTVjNWI4ODM5ZTdmNWJmMThmMGE1
11
- OTI5YzA0MWQ1NDQzY2IzNjNiMmRhYjAwMzg4NTE5NzA1NWFiODg=
9
+ NWRmYWJkZjU1OGI2ZDNhOTE1MDI5NWI1YThhY2I0OGVlNDE0YTI4YmY4M2Vm
10
+ MjI4MTE0NGExNTkxYTJhNWY2NzgxMjNlZGRiYjhiMGFjODM1NGQ2YzgxNzgz
11
+ Yjg1OWE1MTg2OGVkNDY1MzQzYWQ1NjlkYWUwMjc2NTJjYTEwMjU=
12
12
  data.tar.gz: !binary |-
13
- ZWYxMzZiZWI4NzliYzljZjQ3M2U3NTAwMTBiMTg2ZDA2MjE3MTQ5OTBjZjVi
14
- MGVkZmZlYWFjZGZkYWIzOGFjNWVlZWNiZmNiODk2ZDg0YWRkNzgwODUxMWQx
15
- YjI4MjEzNTA1NjJhYWUwZTUzODk5MTgzNWExZTkzOTA2ZGZmOGY=
13
+ ZTkzNjkwMjUwNWEyNTk3ZGJkMzRjZTczZmJlNjcyODNhM2MxZjQ1ZGE0NjZk
14
+ N2E4NDJmMjE5ZjFkMDFiZmFhYjA1Y2Q3MTMzYWI3MDc2OTYyM2E3YjBlOWI1
15
+ NTg0ZjNkMDNiNDFmOTBjNzExYjQ4ODIwZTNkZDMxMTk0MTAwOTE=
@@ -42,6 +42,7 @@ module DPL
42
42
  opts[:acl] = options[:acl] if options[:acl]
43
43
  opts[:expires] = options[:expires] if options[:expires]
44
44
  unless File.directory?(filename)
45
+ log "uploading %p" % filename
45
46
  api.buckets[option(:bucket)].objects.create(upload_path(filename), File.read(filename), opts)
46
47
  end
47
48
  end
@@ -1,26 +1,26 @@
1
- require 'spec_helper'
2
- require 'dpl/provider/gae'
3
-
4
- describe DPL::Provider::GAE do
5
- subject :provider do
6
- described_class.new(DummyContext.new, :user => 'foo', :password => 'bar')
7
- end
8
-
9
- let(:token) { 'deadbeef012345' }
10
-
11
- describe '#push_app' do
12
- example 'with default app_dir' do
13
- ENV['TRAVIS_BUILD_DIR'] = Dir.pwd
14
- provider.options.update(:oauth_refresh_token => token)
15
- expect(provider.context).to receive(:shell).with("#{DPL::Provider::GAE::APPCFG_BIN} --oauth2_refresh_token=#{token} update #{Dir.pwd}").and_return(true)
16
- provider.push_app
17
- end
18
-
19
- example 'with custom app_dir' do
20
- app_dir='foo'
21
- provider.options.update(:oauth_refresh_token => token, :app_dir => app_dir)
22
- expect(provider.context).to receive(:shell).with("#{DPL::Provider::GAE::APPCFG_BIN} --oauth2_refresh_token=#{token} update #{app_dir}").and_return(true)
23
- provider.push_app
24
- end
25
- end
26
- end
1
+ # require 'spec_helper'
2
+ # require 'dpl/provider/gae'
3
+ #
4
+ # describe DPL::Provider::GAE do
5
+ # subject :provider do
6
+ # described_class.new(DummyContext.new, :user => 'foo', :password => 'bar')
7
+ # end
8
+ #
9
+ # let(:token) { 'deadbeef012345' }
10
+ #
11
+ # describe '#push_app' do
12
+ # example 'with default app_dir' do
13
+ # ENV['TRAVIS_BUILD_DIR'] = Dir.pwd
14
+ # provider.options.update(:oauth_refresh_token => token)
15
+ # expect(provider.context).to receive(:shell).with("#{DPL::Provider::GAE::APPCFG_BIN} --oauth2_refresh_token=#{token} update #{Dir.pwd}").and_return(true)
16
+ # provider.push_app
17
+ # end
18
+ #
19
+ # example 'with custom app_dir' do
20
+ # app_dir='foo'
21
+ # provider.options.update(:oauth_refresh_token => token, :app_dir => app_dir)
22
+ # expect(provider.context).to receive(:shell).with("#{DPL::Provider::GAE::APPCFG_BIN} --oauth2_refresh_token=#{token} update #{app_dir}").and_return(true)
23
+ # provider.push_app
24
+ # end
25
+ # end
26
+ # end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.7.travis.535.1
4
+ version: 1.6.7.travis.546.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-01 00:00:00.000000000 Z
11
+ date: 2014-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec