zendesk_apps_tools 1.35.1 → 1.35.2

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c91f59351bd8a114349fde06bec08d83db20b40a
4
- data.tar.gz: 7a84ac9d38dadeb86ddc3c9d73e903442e92c3ff
3
+ metadata.gz: 35cc1aed2dc4672a92d4b2668727ebf8deca7b89
4
+ data.tar.gz: 96a2be40599ae9cfbd86c786c929bdf0c9edfa86
5
5
  SHA512:
6
- metadata.gz: 87bd5cfc7061a376a3b0eeb175bc9d2089afa521fae501791042ade4ed1ee3161b5a6e604520be5940f338ad3cc6a422329523faee1c26e40e5924c47f088c98
7
- data.tar.gz: 4fa675bb950d1a8cf08aa142b8e46259675731b8de537ce4e1e07dc5ee55dc3fec7aa504eaf431b82765a74f2b2405ec52977993cb7200c2f0322603e81cd2a3
6
+ metadata.gz: 2d033b5b7ae1bf7ed0ba68b0c4f12da4a4e307e5aa3e6ea7a254058c2e6b3f4fb20018f61c8fcea5347d50093f54741c7b4c9b8a81648f93a5ce1a2cd9a148c7
7
+ data.tar.gz: c207f8f3b3ef8be41fda1e85e49a519c075551c7f6337750337993b234b17b473ab7cccf6fec0bf109c3d4e2184396fd7df33f5a689bd72eab22a7fb231f9495
@@ -72,7 +72,7 @@ Then /^the fixture "(.*?)" is used for "(.*?)"$/ do |fixture, app_file|
72
72
  end
73
73
 
74
74
  Then /^the zip file should exist in directory "(.*?)"$/ do |path|
75
- Dir[path + '/app-*.zip'].size.should == 1
75
+ expect(Dir[path + '/app-*.zip'].size).to eq 1
76
76
  end
77
77
 
78
78
  Given /^I remove file "(.*?)"$/ do |file|
@@ -84,20 +84,20 @@ Then /^the zip file in "(.*?)" folder should not exist$/ do |path|
84
84
  end
85
85
 
86
86
  Then /^it should pass the validation$/ do
87
- @output.last.should =~ /OK/
88
- $CHILD_STATUS.should == 0
87
+ expect(@output.last).to match /OK/
88
+ expect($CHILD_STATUS).to eq 0
89
89
  end
90
90
 
91
91
  Then /^the command output should contain "(.*?)"$/ do |output|
92
- @output.join.should =~ /#{output}/
92
+ expect(@output.join).to match /#{output}/
93
93
  end
94
94
 
95
95
  Then /^"(.*?)" should be a symlink$/ do |path|
96
- File.symlink?(path).should be_truthy
96
+ expect(File.symlink?(path)).to be_truthy
97
97
  end
98
98
 
99
99
  Then /^the zip file in "(.*?)" should not contain any symlinks$/ do |path|
100
100
  Zip::File.foreach Dir[path + '/app-*.zip'][0] do |p|
101
- p.symlink?.should be_falsy
101
+ expect(p.symlink?).to be_falsy
102
102
  end
103
103
  end
@@ -31,8 +31,9 @@ module ZendeskAppsTools
31
31
  end
32
32
 
33
33
  def get_password_from_stdin(prompt)
34
- ask(prompt, echo: false)
34
+ password = ask(prompt, echo: false)
35
35
  say ''
36
+ password
36
37
  end
37
38
  end
38
39
  end
@@ -1,3 +1,3 @@
1
1
  module ZendeskAppsTools
2
- VERSION = "1.35.1"
2
+ VERSION = "1.35.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk_apps_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.35.1
4
+ version: 1.35.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James A. Rosen