highcharts-rails 3.0.1.5.pre1 → 3.0.1.5

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.tar.gz.asc ADDED
@@ -0,0 +1,18 @@
1
+ -----BEGIN PGP SIGNATURE-----
2
+ Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
3
+ Comment: GPGTools - http://gpgtools.org
4
+
5
+ iQIcBAABAgAGBQJRijrwAAoJEH1ncb0Txu7X4B0P/1BCK86rcxzHmFJRrx5B5PYd
6
+ mo341OI+YCiAmPCYVzh02uoYZ59vq8EkWSZ4CuN2fVEiNqgv/lbxiJjfnLChkex+
7
+ XBdHZ2GgwwFw6LRoqXz/KI2G0I6TBTnLwFjIW9qO7S8GGS4nC0XTYrJ0JneyKrRm
8
+ j90IS1XLILnHg5+5uV6D2+Yh47lmCri1e5dudFdnGW/gjgioZEcMFQsMPdB0e8Fn
9
+ 1AQDb7NtbDeq5H8F8FwIaXGvOU6YQVYwbyfjWebKJiFjWQdy0sSS/dpZzbnJbUl0
10
+ 9SDFFl9LsNFEZmvAFdfDEbv+gm9nceAkk0G0pep0bC+8uhPVGMSz8+gjV219Fk+i
11
+ zusTKcD7xF/4tHdMqUDRQaxFdYaB6XbT4SyS8h7AO8FWsjwOhB6YvPheRHYHZS6y
12
+ ffr1xYMP13SWR4NoZDTJUuDIIOQ7O68GEcMs+BF3HOs+5DTJNFcidQ8266rw8EQG
13
+ OiIhXwcP12y2uJpWZSB7eUG5vRcM2RIaTAUdTTnSVmJDtJwov4XBcKyqOJc9CMr+
14
+ tHLyFg0g4dZzvriPXaM5Qs+bSsqiTYtbIw0CFZeQ8c8vF7hCwVDtpc8EepS3mjUg
15
+ rDZsPf7Yy6G/GDVklskBnSNvXlWePyRvleRkjs7qxebmd2pYNR/nyzFqOjjLu3ko
16
+ C1/ClppvIekC/dr04rk9
17
+ =jNQk
18
+ -----END PGP SIGNATURE-----
data/README.markdown CHANGED
@@ -43,7 +43,7 @@ Or one of the themes
43
43
  //= require highcharts/themes/grid
44
44
  //= require highcharts/themes/skies
45
45
 
46
- Other than that, refer to the [Highcharts documentation](http://highcharts.com/documentation/how-to-use)
46
+ Other than that, refer to the [Highcharts documentation](http://docs.highcharts.com/#home)
47
47
 
48
48
  ## Export endpoint
49
49
 
@@ -95,7 +95,7 @@ but would also like to avoid `begin; require 'cocaine'; rescue LoadError; ...; e
95
95
 
96
96
  ## Licensing
97
97
 
98
- Highcharts, which makes up the majority of this gem, has [its own, separate licensing](http://highcharts.com/license).
98
+ Highcharts, which makes up the majority of this gem, has [its own, separate licensing](http://shop.highsoft.com/highcharts.html).
99
99
 
100
100
  The gem itself is released under the MIT license
101
101
 
@@ -88,7 +88,12 @@ module Highcharts
88
88
 
89
89
  def write_svg_to_file(contents)
90
90
  file = ::Tempfile.new(["highcharts-input", ".svg"], Dir.tmpdir, encoding: 'utf-8')
91
- file.puts contents
91
+
92
+ # Replace bad bytes in the input without transcoding,
93
+ # making sure the contents is actually valid UTF-8.
94
+ # https://bugs.ruby-lang.org/issues/6321#note-17
95
+ file.puts contents.force_encoding("utf-8").
96
+ encode("utf-8", "binary", undef: :replace)
92
97
  file.flush
93
98
  file
94
99
  end
@@ -1,3 +1,3 @@
1
1
  module Highcharts
2
- VERSION = "3.0.1.5.pre1"
2
+ VERSION = "3.0.1.5"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highcharts-rails
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: 8
5
- version: 3.0.1.5.pre1
4
+ prerelease:
5
+ version: 3.0.1.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Per Christian B. Viken
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-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: railties
@@ -125,9 +125,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
125
  required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  none: false
127
127
  requirements:
128
- - - ! '>'
128
+ - - ! '>='
129
129
  - !ruby/object:Gem::Version
130
- version: 1.3.1
130
+ version: '0'
131
131
  requirements: []
132
132
  rubyforge_project:
133
133
  rubygems_version: 1.8.24
metadata.gz.asc ADDED
@@ -0,0 +1,18 @@
1
+ -----BEGIN PGP SIGNATURE-----
2
+ Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
3
+ Comment: GPGTools - http://gpgtools.org
4
+
5
+ iQIcBAABAgAGBQJRijrwAAoJEH1ncb0Txu7XrZYP/3Jke+pBEv4fm09l8qunONEH
6
+ Rxjfz7z2ldfcZVwRj/WKGoeuBBoiU8q2E+n8784eYR2FNa23izbTEUyQaRVSg3EE
7
+ MJ7PTu7GgIl5mWQun8nkkrUTRcVBC60tZ1kDb09TQIGkAMsj6rTbwnuJjdbTbJ7Z
8
+ j0mhDuBJr5xV79L57rWFIHFYbB5+LCfVXMonA7i25mkx/SJRwbb2yu3V0XVSJJnP
9
+ /NjHzj2uZicvIteymOaxOqAMZaYoqygltOqIBgurgPXv3aPTAs9dAdFKZ/ogD6kO
10
+ t0uOK45cZZhcKR/oMjh0oTr+Ib7QrOw5x1FZjMSIRHUode5KgNKNAuxWN7pdRw9T
11
+ l997kB55yz1jzcQqy9guX8Uh2Qyc36QlvAmdn+xP8RvYzpwyhQORg5Q8CG+ARR8u
12
+ 7zH3G4gymnltlSMzy8OrLAUsCOI7PeIeE8bQ6qOVBkL5bWk2iQy7MZJtyiIWSk2C
13
+ 8a+l9dwF9T/14xdF/NWBrvlv7RlLRtEtGm1QnV7brym14g0srxpL0+j9Wo71vref
14
+ 9Ixm0j/8hNQCAOjrT5sboDfsrICWt+4mrLvuc0sXzHt4fnXh3oEyiGqEixeFIn2t
15
+ 7ROhyuC1va6L2Ik/n4i99ipuvfprc/GtmD9fTXcodwZ+dAPf6VXRFmGFrD0xbdbU
16
+ eVrqe9INHDRTcGXgsYXh
17
+ =AvO3
18
+ -----END PGP SIGNATURE-----