hq-grapher-web 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. data/lib/hq/grapher-web/handler.rb +3 -3
  2. metadata +1 -1
@@ -49,7 +49,7 @@ class Handler
49
49
 
50
50
  graph_elem =
51
51
  @config_elem.find_first("
52
- graph [@name = #{xp graph_name}]
52
+ graph [@name = #{esc_xp graph_name}]
53
53
  ")
54
54
 
55
55
  template_name =
@@ -57,12 +57,12 @@ class Handler
57
57
 
58
58
  template_elem =
59
59
  @config_elem.find_first("
60
- template [@name = #{xp template_name}]
60
+ template [@name = #{esc_xp template_name}]
61
61
  ")
62
62
 
63
63
  scale_elem =
64
64
  @config_elem.find_first("
65
- scale [@name = #{xp scale_name}]
65
+ scale [@name = #{esc_xp scale_name}]
66
66
  ")
67
67
 
68
68
  scale_steps = scale_elem.attributes["steps"].to_i
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hq-grapher-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: