bin/minglr in schubert-minglr-1.0.6 vs bin/minglr in schubert-minglr-1.1.0
- old
+ new
@@ -17,10 +17,11 @@
end
end
if project
uri_options.merge! rc_config[project]
- uri_options[:url].gsub!(/^http\:\/\//, "")
+ uri_options[:protocol] = uri_options[:url].slice(/^.*\:/).chop
+ uri_options[:url].gsub!(/^(http|https)\:\/\//, "")
uri_options[:host_and_port], uri_options[:project] = uri_options[:url].split("/projects/")
MingleResource.configure uri_options
Attachment.configure
extra_options = MinglrOptionsParser.parse(original_arguments)
MinglrAction.execute(action, ARGV, extra_options, rc_config[project])
\ No newline at end of file