MuranoCLI 3.2.3.beta.2 → 3.2.3.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/Rakefile +2 -2
- data/lib/MrMurano/commands/init.rb +1 -1
- data/lib/MrMurano/commands/link.rb +2 -31
- data/lib/MrMurano/commands/sync.rb +6 -1
- data/lib/MrMurano/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abe4e79ef215b77dd72b65c6191956f81f2fc533dd96b9be9711ed2da3a89387
|
4
|
+
data.tar.gz: 4e569b7692e9e7d8b48657bf58aff35fa84780a53e52d76d17ab95f8dd74cb05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07ecabb788fb3a152c92fceb79074d3dbfe24bd4054da0a384ad371ebb6b0184a205b99833d6900605d43733d9fa46b66d5afc41358d00797e3657c699b96ccd
|
7
|
+
data.tar.gz: eb573fa3eb4d17b7c191c871243d7944c8111e0b9d7771ae6941b6366f472145b53949f0c564b3d3071049a4d87d01bdceee410913548923eb090769487ba7a7
|
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -306,7 +306,7 @@ namespace :bump do
|
|
306
306
|
4. Run `rake publish:develop` or `rake publish:master` to create and
|
307
307
|
upload a pre-release or production Gem.
|
308
308
|
).strip
|
309
|
-
Launchy.open(
|
309
|
+
Launchy.open(gh_pr_uri.to_s)
|
310
310
|
end
|
311
311
|
|
312
312
|
# ***
|
@@ -391,7 +391,7 @@ namespace :package do
|
|
391
391
|
2. Run `rake package:publish` to download the Jenkins CI-built Gem from
|
392
392
|
GitHub and upload it to rubygems.org.
|
393
393
|
).strip
|
394
|
-
Launchy.open(
|
394
|
+
Launchy.open(jenkins_job_uri.to_s)
|
395
395
|
end
|
396
396
|
|
397
397
|
def tag_version(tag_ver, branch)
|
@@ -207,40 +207,11 @@ def link_solutions(sol_a, sol_b, options)
|
|
207
207
|
puts '' if verbose
|
208
208
|
|
209
209
|
# Get event handlers for application, and look for product event handler.
|
210
|
+
# UPDATE: We no longer automatically create an eventhandlers (MUR-8297)
|
210
211
|
MrMurano::Verbose.whirly_msg 'Fetching handlers...'
|
211
212
|
evthlr = MrMurano::EventHandlerSolnApp.new(sol_a.api_id)
|
212
|
-
|
213
|
-
evt_hlr_exists = hdlrs.any?
|
213
|
+
evthlr.search(sol_b.api_id)
|
214
214
|
MrMurano::Verbose.whirly_stop
|
215
|
-
|
216
|
-
# Create the event handler, using a simple script,
|
217
|
-
# like the web UI does (yeti yeti spaghetti).
|
218
|
-
unless evt_hlr_exists
|
219
|
-
MrMurano::Verbose.whirly_msg 'Setting default event handler...'
|
220
|
-
# Call Murano.
|
221
|
-
evthlr.default_event_script(sol_b.api_id) do |request, http|
|
222
|
-
response = http.request(request)
|
223
|
-
MrMurano::Verbose.whirly_stop
|
224
|
-
if response.is_a?(Net::HTTPSuccess)
|
225
|
-
say('Created default event handler')
|
226
|
-
elsif response.is_a?(Net::HTTPConflict)
|
227
|
-
evt_hlr_exists = true
|
228
|
-
else
|
229
|
-
resp_msg = MrMurano::Verbose.fancy_ticks(Rainbow(response.message).underline)
|
230
|
-
MrMurano::Verbose.error("Failed to create default event handler: #{resp_msg}")
|
231
|
-
evthlr.showHttpError(request, response)
|
232
|
-
end
|
233
|
-
end
|
234
|
-
end
|
235
|
-
if evt_hlr_exists
|
236
|
-
msg = 'Event handler already created'
|
237
|
-
if warn_on_conflict
|
238
|
-
sercfg.warning msg
|
239
|
-
else
|
240
|
-
say(msg)
|
241
|
-
end
|
242
|
-
end
|
243
|
-
puts '' if verbose
|
244
215
|
end
|
245
216
|
|
246
217
|
def unlink_solutions(sol_a, sol_b)
|
@@ -78,7 +78,12 @@ alias_command 'product pull', 'syncdown', '--no-delete', '--type', 'product'
|
|
78
78
|
|
79
79
|
def syncup_files(options, args=[])
|
80
80
|
MrMurano::SyncRoot.instance.each_filtered(options) do |_name, _type, klass, desc|
|
81
|
-
|
81
|
+
if (args.empty?)
|
82
|
+
MrMurano::Verbose.whirly_msg "Syncing #{Inflecto.pluralize(desc)}..."
|
83
|
+
else
|
84
|
+
# We are syncing up specific files that were indicated as args
|
85
|
+
MrMurano::Verbose.whirly_msg args.length == 1 ? 'Syncing specified file...' : 'Syncing specified files...'
|
86
|
+
end
|
82
87
|
sol = klass.new
|
83
88
|
sol.syncup(options, args)
|
84
89
|
end
|
data/lib/MrMurano/version.rb
CHANGED
@@ -39,7 +39,7 @@ module MrMurano
|
|
39
39
|
version_notification += "----------------------------------------------------------\n\n\n\n\n\n"
|
40
40
|
version_notification
|
41
41
|
end
|
42
|
-
VERSION = '3.2.3.beta.
|
42
|
+
VERSION = '3.2.3.beta.3'
|
43
43
|
EXE_NAME = File.basename($PROGRAM_NAME)
|
44
44
|
SIGN_UP_URL = 'https://exosite.com/signup/'
|
45
45
|
end
|
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: 3.2.3.beta.
|
4
|
+
version: 3.2.3.beta.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Exosite LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: certified
|