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.
@@ -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
@@ -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
@@ -7,7 +7,7 @@ require 'gliffy/account'
7
7
  require 'gliffy/config'
8
8
 
9
9
  module Gliffy
10
- VERSION = '0.1.5'
10
+ VERSION = '0.1.7'
11
11
 
12
12
 
13
13
  # A "handle" to access Gliffy on a per-user-session basis
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: davetron5000-gliffy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
- - David66666land
7
+ - David Copeland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []