davetron5000-gliffy 0.1.6 → 0.1.7
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.
- data/lib/gliffy/commands/edit.rb +2 -2
- data/lib/gliffy/commands/url.rb +2 -2
- data/lib/gliffy/handle.rb +1 -1
- metadata +2 -2
data/lib/gliffy/commands/edit.rb
CHANGED
@@ -8,8 +8,8 @@ command :edit do |c|
|
|
8
8
|
|
9
9
|
return_link = $gliffy.get_diagram_as_url(args[0])
|
10
10
|
link = $gliffy.get_edit_diagram_link(args[0],return_link,"Done")
|
11
|
-
if CLIConfig.instance.config[:open_url]
|
12
|
-
system(sprintf(CLIConfig.instance.config[:open_url],link.full_url))
|
11
|
+
if Gliffy::CLIConfig.instance.config[:open_url]
|
12
|
+
system(sprintf(Gliffy::CLIConfig.instance.config[:open_url],link.full_url))
|
13
13
|
else
|
14
14
|
puts "Nothing configured for #{:open_url.to_s} to open the url"
|
15
15
|
puts link.full_url
|
data/lib/gliffy/commands/url.rb
CHANGED
@@ -8,8 +8,8 @@ command :url do |c|
|
|
8
8
|
raise UnknownArgumentException,"Only one diagram id is supported" if args.length > 1
|
9
9
|
url = $gliffy.get_diagram_as_url(args[0])
|
10
10
|
if options[:o]
|
11
|
-
if CLIConfig.instance.config[:open_image]
|
12
|
-
system(sprintf(CLIConfig.instance.config[:open_image],url))
|
11
|
+
if Gliffy::CLIConfig.instance.config[:open_image]
|
12
|
+
system(sprintf(Gliffy::CLIConfig.instance.config[:open_image],url))
|
13
13
|
else
|
14
14
|
puts "Nothing configured for #{:open_image.to_s} to open the image"
|
15
15
|
puts url
|
data/lib/gliffy/handle.rb
CHANGED
metadata
CHANGED