Skip to content

Commit 39c0290

Browse files
committed
Set ruby v2.3 as minimum ruby version
1 parent 85fcce8 commit 39c0290

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

apexcharts.gemspec

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@ $LOAD_PATH.push File.expand_path('lib', __dir__)
55
require_relative 'lib/apex_charts/version'
66

77
Gem::Specification.new do |spec|
8-
spec.name = 'apexcharts'
9-
spec.version = ApexCharts::VERSION
10-
spec.authors = ['Adrian Setyadi']
11-
spec.email = ['[email protected]']
12-
spec.homepage = 'https://github.com/styd/apexcharts.rb'
13-
spec.summary = 'Awesome charts for your ruby app'
14-
spec.description =
8+
spec.name = 'apexcharts'
9+
spec.version = ApexCharts::VERSION
10+
spec.required_ruby_version = ApexCharts::REQUIRED_RUBY_VERSION
11+
spec.authors = ['Adrian Setyadi']
12+
spec.email = ['[email protected]']
13+
spec.homepage = 'https://github.com/styd/apexcharts.rb'
14+
spec.summary = 'Awesome charts for your ruby app'
15+
spec.description =
1516
'Create beautiful, interactive, and responsive web charts in ' \
1617
'ruby app powered by apexcharts.js.'
17-
spec.license = 'MIT'
18+
spec.license = 'MIT'
1819

1920
spec.files = `git ls-files -z`.split("\x0").reject do |f|
2021
f.match(%r{^(docs|images|spec|\.github)/})

lib/apex_charts/version.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
module ApexCharts
44
VERSION = '0.2.0'
55
RELEASE = '0.2.0'
6+
REQUIRED_RUBY_VERSION = '>= 2.3.0'
67
end

0 commit comments

Comments
 (0)