rails_charts 0.0.3 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  module RailsCharts
2
2
  class BaseChart
3
- CHART_JS_PATTERN = /"RAILS_CHART_JS:(.*):RAILS_CHART_JS_END"/
3
+ CHART_JS_PATTERN = /"RAILS_CHART_JS:((?!RAILS_CHART_JS:).*?):RAILS_CHART_JS_END"/
4
4
 
5
5
  using RubyExt
6
6
 
@@ -12,7 +12,7 @@ module RailsCharts
12
12
  def radar
13
13
  {
14
14
  radar: {
15
- indicator: data[:indicators].map{|(k, v)| {name: k, value: v} }
15
+ indicator: data[:indicators].map { |(k, v)| { name: k, max: v } }
16
16
  }
17
17
  }
18
18
  end
@@ -33,6 +33,6 @@ module RailsCharts
33
33
  },
34
34
  }
35
35
  end
36
-
37
- end
38
- end
36
+
37
+ end
38
+ end
@@ -1,3 +1,3 @@
1
1
  module RailsCharts
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_charts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Kasyanchuk
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-04-29 00:00:00.000000000 Z
12
+ date: 2023-04-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -185,6 +185,8 @@ files:
185
185
  - app/assets/javascripts/echarts/i18n/langSI.js
186
186
  - app/assets/javascripts/echarts/i18n/langTH-obj.js
187
187
  - app/assets/javascripts/echarts/i18n/langTH.js
188
+ - app/assets/javascripts/echarts/i18n/langUA-obj.js
189
+ - app/assets/javascripts/echarts/i18n/langUA.js
188
190
  - app/assets/javascripts/echarts/i18n/langZH-obj.js
189
191
  - app/assets/javascripts/echarts/i18n/langZH.js
190
192
  - app/assets/javascripts/echarts/theme/azul.js
@@ -267,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
269
  - !ruby/object:Gem::Version
268
270
  version: '0'
269
271
  requirements: []
270
- rubygems_version: 3.2.3
272
+ rubygems_version: 3.4.8
271
273
  signing_key:
272
274
  specification_version: 4
273
275
  summary: One more solution to create charts in Ruby on Rails application