dpl 1.7.18.travis.890.4 → 1.7.18.travis.894.4
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 +8 -8
- data/lib/dpl/provider/pypi.rb +0 -1
- data/spec/provider/pypi_spec.rb +0 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YzJhNjU1MWQ0MThhYjU4ZWIwYzY4ODFhMzljNWMwNjU3MmExNDhlMw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YzNkYTIwMmVmMzk3N2E3NTk5MjIyNjUxMzhhYzI3NzlmZjczYTJlNA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NzA0OWFlNDE5YjM0ZGI3ZjE3ZTBkMTdmYTc1YTZkZWVlZDA4N2MzNjU0N2Jk
|
|
10
|
+
ZGJiMzY5NTZkMWM0MDI2MGMxN2Q2YmJlOTEwM2NjNjQ2N2ZmYjhlNjhlMjJm
|
|
11
|
+
NmI3NTg1MGY4YThiNzY5ZDVkZDczOGU3MGZhYjJjNzRmYTMyYzg=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NDQ4YWQ4YzRkNjM3OWRiN2VlY2JhNGM4NzBhYTY1Zjg0NjkyZThiZTQ0NTgw
|
|
14
|
+
NDQ3ZmYxNTUzYTk4ZGZjZGY0MDdhNjYzYmQ1OTBlMWJkMzBiNjgyNWRjNjk1
|
|
15
|
+
OTA1ZjAzOWRmZTk1MTQxNTljN2MzNjVkYzNkMmY0NWE3MGUyMzE=
|
data/lib/dpl/provider/pypi.rb
CHANGED
|
@@ -64,7 +64,6 @@ module DPL
|
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
def push_app
|
|
67
|
-
context.shell "python setup.py register -r #{options[:server] || 'pypi'}"
|
|
68
67
|
context.shell "python setup.py #{options[:distributions] || 'sdist'}"
|
|
69
68
|
context.shell "twine upload -r #{options[:server] || 'pypi'} dist/*"
|
|
70
69
|
context.shell "rm -rf dist/*"
|
data/spec/provider/pypi_spec.rb
CHANGED
|
@@ -30,7 +30,6 @@ describe DPL::Provider::PyPI do
|
|
|
30
30
|
|
|
31
31
|
describe "#push_app" do
|
|
32
32
|
example do
|
|
33
|
-
expect(provider.context).to receive(:shell).with("python setup.py register -r pypi")
|
|
34
33
|
expect(provider.context).to receive(:shell).with("python setup.py sdist")
|
|
35
34
|
expect(provider.context).to receive(:shell).with("twine upload -r pypi dist/*")
|
|
36
35
|
expect(provider.context).to receive(:shell).with("rm -rf dist/*")
|
|
@@ -40,7 +39,6 @@ describe DPL::Provider::PyPI do
|
|
|
40
39
|
|
|
41
40
|
example "with :distributions option" do
|
|
42
41
|
provider.options.update(:distributions => 'sdist bdist')
|
|
43
|
-
expect(provider.context).to receive(:shell).with("python setup.py register -r pypi")
|
|
44
42
|
expect(provider.context).to receive(:shell).with("python setup.py sdist bdist")
|
|
45
43
|
expect(provider.context).to receive(:shell).with("twine upload -r pypi dist/*")
|
|
46
44
|
expect(provider.context).to receive(:shell).with("rm -rf dist/*")
|
|
@@ -50,7 +48,6 @@ describe DPL::Provider::PyPI do
|
|
|
50
48
|
|
|
51
49
|
example "with :server option" do
|
|
52
50
|
provider.options.update(:server => 'http://blah.com')
|
|
53
|
-
expect(provider.context).to receive(:shell).with("python setup.py register -r http://blah.com")
|
|
54
51
|
expect(provider.context).to receive(:shell).with("python setup.py sdist")
|
|
55
52
|
expect(provider.context).to receive(:shell).with("twine upload -r http://blah.com dist/*")
|
|
56
53
|
expect(provider.context).to receive(:shell).with("rm -rf dist/*")
|
|
@@ -60,7 +57,6 @@ describe DPL::Provider::PyPI do
|
|
|
60
57
|
|
|
61
58
|
example "with :docs_dir option" do
|
|
62
59
|
provider.options.update(:docs_dir => 'some/dir')
|
|
63
|
-
expect(provider.context).to receive(:shell).with("python setup.py register -r pypi")
|
|
64
60
|
expect(provider.context).to receive(:shell).with("python setup.py sdist")
|
|
65
61
|
expect(provider.context).to receive(:shell).with("twine upload -r pypi dist/*")
|
|
66
62
|
expect(provider.context).to receive(:shell).with("rm -rf dist/*")
|