rviz 0.0.10 → 0.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.
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
@@ -20,8 +20,8 @@ module Rviz
20
20
  if create_anchor
21
21
  anchor_id = @anchors.keys.size + 1
22
22
  @anchors[row_name] = anchor_id
23
- # row_name.gsub!(/([\/\|\\\<\>])/, '-') # escape special characters
24
- row_name = "<f#{anchor_id.to_s}>" + row_name.gsub(/([\/\|\\\<\>])/, '-')
23
+ row_name.gsub!(/([\/\|\\\<\>])/, '-') # escape special characters
24
+ row_name = "<f#{anchor_id.to_s}>" + row_name
25
25
  end
26
26
  if port_pos
27
27
  raise "unknown port_pos, should in l, r or n" unless %w[l r n].include? port_pos
@@ -42,7 +42,7 @@ module Rviz
42
42
  end
43
43
 
44
44
  def to_s
45
- @attrs['label'] = self.label_with_rows
45
+ self.set('label', self.label_with_rows) if self.label_with_rows and self.label_with_rows.size > 0
46
46
  super
47
47
  end
48
48
  end
@@ -1,4 +1,4 @@
1
1
  module Rviz
2
- VERSION = '0.0.10'
2
+ VERSION = '0.1.0'
3
3
  end
4
4
 
File without changes
data/tags CHANGED
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rviz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-19 00:00:00.000000000 Z
12
+ date: 2013-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  version: '0'
80
80
  requirements: []
81
81
  rubyforge_project:
82
- rubygems_version: 1.8.24
82
+ rubygems_version: 1.8.25
83
83
  signing_key:
84
84
  specification_version: 3
85
85
  summary: Graphviz ruby interface
@@ -89,3 +89,4 @@ test_files:
89
89
  - spec/node_spec.rb
90
90
  - spec/rviz_helper_spec.rb
91
91
  - spec/spec_helper.rb
92
+ has_rdoc: