MuranoCLI 2.0.0 → 2.1.0

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.
@@ -70,25 +70,27 @@ RSpec.describe 'murano status', :cmd, :needs_password do
70
70
  expect(status.exitstatus).to eq(0)
71
71
  end
72
72
 
73
- it "matches file path" do
73
+ it "matches file path", :broken_on_windows do
74
74
  out, err, status = Open3.capture3(capcmd('murano', 'status', '**/icon.png'))
75
75
  expect(err).to eq('')
76
- olines = out.lines
77
- expect(olines[0]).to eq("Adding:\n")
78
- expect(olines[1]).to a_string_matching(/ \+ S .*files\/icon\.png/)
79
- expect(olines[2]).to eq("Deleteing:\n")
80
- expect(olines[3]).to eq("Changing:\n")
76
+ expect(out.lines).to match([
77
+ "Adding:\n",
78
+ a_string_matching(/ \+ S .*files\/icon\.png/),
79
+ "Deleteing:\n",
80
+ "Changing:\n",
81
+ ])
81
82
  expect(status.exitstatus).to eq(0)
82
83
  end
83
84
 
84
- it "matches route" do
85
+ it "matches route", :broken_on_windows do
85
86
  out, err, status = Open3.capture3(capcmd('murano', 'status', '#put#'))
86
87
  expect(err).to eq('')
87
- olines = out.lines
88
- expect(olines[0]).to eq("Adding:\n")
89
- expect(olines[1]).to a_string_matching(/ \+ A .*routes\/manyRoutes\.lua:4/)
90
- expect(olines[2]).to eq("Deleteing:\n")
91
- expect(olines[3]).to eq("Changing:\n")
88
+ expect(out.lines).to match([
89
+ "Adding:\n",
90
+ a_string_matching(/ \+ A .*routes\/manyRoutes\.lua:4/),
91
+ "Deleteing:\n",
92
+ "Changing:\n",
93
+ ])
92
94
  expect(status.exitstatus).to eq(0)
93
95
  end
94
96
  end
data/spec/spec_helper.rb CHANGED
@@ -32,6 +32,9 @@ RSpec.configure do |config|
32
32
  if ENV['MURANO_PASSWORD'].nil? then
33
33
  config.filter_run_excluding :needs_password
34
34
  end
35
+ if Gem.win_platform? then
36
+ config.filter_run_excluding :broken_on_windows
37
+ end
35
38
 
36
39
  # rspec-expectations config goes here. You can use an alternate
37
40
  # assertion/expectation library such as wrong or the stdlib/minitest
@@ -76,7 +79,7 @@ RSpec.configure do |config|
76
79
  # Allows RSpec to persist some state between runs in order to support
77
80
  # the `--only-failures` and `--next-failure` CLI options. We recommend
78
81
  # you configure your source control system to ignore this file.
79
- #config.example_status_persistence_file_path = "spec/examples.txt"
82
+ config.example_status_persistence_file_path = ".rspec_examples.txt"
80
83
 
81
84
  # Limits the available syntax to the non-monkey patched syntax that is
82
85
  # recommended. For more details, see:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MuranoCLI
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Conrad Tadpol Tilstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-08 00:00:00.000000000 Z
11
+ date: 2017-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 4.4.0
19
+ version: 4.4.3
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: 4.4.0
26
+ version: 4.4.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: certified
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - ~>
144
144
  - !ruby/object:Gem::Version
145
- version: 1.4.5
145
+ version: 1.7.3
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - ~>
151
151
  - !ruby/object:Gem::Version
152
- version: 1.4.5
152
+ version: 1.7.3
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: bundler
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -288,6 +288,7 @@ files:
288
288
  - lib/MrMurano/commands/gb.rb
289
289
  - lib/MrMurano/commands/init.rb
290
290
  - lib/MrMurano/commands/keystore.rb
291
+ - lib/MrMurano/commands/login.rb
291
292
  - lib/MrMurano/commands/logs.rb
292
293
  - lib/MrMurano/commands/mock.rb
293
294
  - lib/MrMurano/commands/password.rb