dpl-npm 1.9.1.travis.2710.5 → 1.9.1.travis.2711.5

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
  SHA256:
3
- metadata.gz: 201a67c177a1a455ab32ca91f482bd1f6e6b5c0f9f65ab057a1b6c74ef96de38
4
- data.tar.gz: 851c431ffe381d71c2d89ede152bb939e6ea33518dfa0e5b6550609ef2481eb9
3
+ metadata.gz: 40523e5fe1bdb332613b9b292243dc05ab4a08722e4cbeeed0c3c4a00f3e5bc6
4
+ data.tar.gz: 6f4fbcf126eb2c8bfa30d322597949c2ccc51ea7beb8478c047d058ea6fc17af
5
5
  SHA512:
6
- metadata.gz: b1973e52f9b5a3c7dfb853ecb2018246967af00fc904f96d96c28da85c46074fcf01289e3642a8d5860a653fea95c2450c638812ffac2e255f4328d256ace957
7
- data.tar.gz: 2cf2b0fa720afc27fa4a4f26c8018822847bce12073c8f494dddf725bdbdada7779596695c4315f0adf5fcad15b0589ed6600d3030fa84ed9132edb091ce2270
6
+ metadata.gz: 5a7ce8e5d291412427e70bfe4b53b713f1373904718e75b12717ae037a2070b4b04bbf5cb4c9a3dc834669c0aa7f2687290655f6fde97ba0c5778518e5848210
7
+ data.tar.gz: 8b5dd665369a09a3d031125d739ab82801f5f4069eff5e5705718c2397e6a2fd8d0b51c70c1d0b639a895b1ac059b108c3819e62faf8664407d71832db9bcac7
@@ -22,7 +22,7 @@ module DPL
22
22
 
23
23
  def check_auth
24
24
  setup_auth
25
- log "Authenticated with email #{option(:email)}"
25
+ log "Authenticated with email #{option(:email)} and API key #{option(:api_key)[-4..-1].rjust(20, '*')}"
26
26
  end
27
27
 
28
28
  def push_app
@@ -13,7 +13,7 @@ describe DPL::Provider::NPM do
13
13
  describe "#check_auth" do
14
14
  example do
15
15
  expect(provider).to receive(:setup_auth)
16
- expect(provider).to receive(:log).with("Authenticated with email foo@blah.com")
16
+ expect(provider).to receive(:log).with("Authenticated with email foo@blah.com and API key #{'test'.rjust(20, '*')}");
17
17
  provider.check_auth
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl-npm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1.travis.2710.5
4
+ version: 1.9.1.travis.2711.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.9.1.travis.2710.5
19
+ version: 1.9.1.travis.2711.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.9.1.travis.2710.5
26
+ version: 1.9.1.travis.2711.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement