highcharts-js-rails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2908,7 +2908,7 @@ if (CanvasRenderingContext2D) {
2908
2908
  });
2909
2909
  }
2910
2910
  }/**
2911
- * @license Highcharts JS v2.2.0 (2012-02-16)
2911
+ * @license Highcharts JS v2.2.1 (2012-03-15)
2912
2912
  * CanVGRenderer Extension module
2913
2913
  *
2914
2914
  * (c) 2011-2012 Torstein Hønsi, Erik Olsson
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v2.2.0 (2012-02-16)
2
+ * @license Highcharts JS v2.2.1 (2012-03-15)
3
3
  * Exporting module
4
4
  *
5
5
  * (c) 2010-2011 Torstein Hønsi
@@ -270,9 +270,8 @@ extend(Chart.prototype, {
270
270
  .replace(/jQuery[0-9]+="[^"]+"/g, '')
271
271
  .replace(/isTracker="[^"]+"/g, '')
272
272
  .replace(/url\([^#]+#/g, 'url(#')
273
- /*.replace(/<svg /, '<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')
274
- .replace(/ href=/, ' xlink:href=')
275
- .replace(/preserveAspectRatio="none">/g, 'preserveAspectRatio="none"/>')*/
273
+ .replace(/<svg /, '<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')
274
+ .replace(/ href=/g, ' xlink:href=')
276
275
  /* This fails in IE < 8
277
276
  .replace(/([0-9]+)\.([0-9]+)/g, function(s1, s2, s3) { // round off to save weight
278
277
  return s2 +'.'+ s3[0];
@@ -283,6 +282,10 @@ extend(Chart.prototype, {
283
282
  .replace(/&shy;/g, '\u00AD') // soft hyphen
284
283
 
285
284
  // IE specific
285
+ .replace(/<IMG /g, '<image ')
286
+ .replace(/height=([^" ]+)/g, 'height="$1"')
287
+ .replace(/width=([^" ]+)/g, 'width="$1"')
288
+ .replace(/hc-svg-href="([^"]+)">/g, 'xlink:href="$1"/>')
286
289
  .replace(/id=([^" >]+)/g, 'id="$1"')
287
290
  .replace(/class=([^" ]+)/g, 'class="$1"')
288
291
  .replace(/ transform /g, ' ')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highcharts-js-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &70364668687900 !ruby/object:Gem::Requirement
16
+ requirement: &70336886030940 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70364668687900
24
+ version_requirements: *70336886030940
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70364668687480 !ruby/object:Gem::Requirement
27
+ requirement: &70336886030520 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70364668687480
35
+ version_requirements: *70336886030520
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &70364668687020 !ruby/object:Gem::Requirement
38
+ requirement: &70336886030060 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70364668687020
46
+ version_requirements: *70336886030060
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70364668686600 !ruby/object:Gem::Requirement
49
+ requirement: &70336886029640 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70364668686600
57
+ version_requirements: *70336886029640
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: simplecov
60
- requirement: &70364668686180 !ruby/object:Gem::Requirement
60
+ requirement: &70336886029220 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70364668686180
68
+ version_requirements: *70336886029220
69
69
  description: Easily configure a Highcharts JS chart for use in a Rails application
70
70
  email:
71
71
  - agrobbin@gmail.com
@@ -112,8 +112,6 @@ files:
112
112
  - lib/highcharts/version.rb
113
113
  - spec/highcharts/base_spec.rb
114
114
  - spec/spec_helper.rb
115
- - vendor/.DS_Store
116
- - vendor/assets/javascripts/.DS_Store
117
115
  - vendor/assets/javascripts/adapters/mootools.js
118
116
  - vendor/assets/javascripts/adapters/prototype.js
119
117
  - vendor/assets/javascripts/highcharts.js
data/vendor/.DS_Store DELETED
Binary file
Binary file