Skip to content

Commit

Permalink
Support ruby v3
Browse files Browse the repository at this point in the history
  • Loading branch information
jufemaiz committed Dec 22, 2021
1 parent 14087ea commit eab4d47
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 25 deletions.
2 changes: 2 additions & 0 deletions Gemfile
@@ -1,5 +1,7 @@
# frozen_string_literal: true

source 'https://rubygems.org'

source 'https://rubygems.org' do
# Specify your gem's dependencies in aemo.gemspec
gemspec
Expand Down
41 changes: 21 additions & 20 deletions Gemfile.lock
Expand Up @@ -2,26 +2,27 @@ PATH
remote: .
specs:
aemo (0.3.6)
activesupport (>= 4.2.6, < 6.1)
activesupport (>= 4.2.6, < 7.1)
httparty (~> 0.15, >= 0.15.6)
json (>= 1.7.5, < 3)
multi_xml (~> 0.6, >= 0.5.0)
nokogiri (~> 1.10, >= 1.10.4)
rexml

GEM
remote: https://rubygems.org/
specs:
activesupport (5.2.4.3)
activesupport (7.0.0)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
addressable (2.4.0)
ast (2.4.0)
awesome_print (1.8.0)
builder (3.2.3)
coderay (1.1.2)
concurrent-ruby (1.1.6)
concurrent-ruby (1.1.9)
coveralls (0.8.23)
json (>= 1.8, < 3)
simplecov (~> 0.16.1)
Expand All @@ -36,7 +37,7 @@ GEM
docile (1.3.2)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
ffi (1.11.1)
ffi (1.15.4)
formatador (0.2.5)
git (1.5.0)
github_api (0.16.0)
Expand All @@ -63,7 +64,7 @@ GEM
highline (2.0.2)
httparty (0.16.2)
multi_xml (>= 0.5.2)
i18n (1.8.2)
i18n (1.8.11)
concurrent-ruby (~> 1.0)
jeweler (2.3.9)
builder
Expand All @@ -78,15 +79,14 @@ GEM
semver2
json (2.3.1)
jwt (2.2.1)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
listen (3.7.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
lumberjack (1.0.13)
method_source (0.9.2)
mime-types (2.99.3)
mini_portile2 (2.4.0)
minitest (5.14.1)
minitest (5.15.0)
multi_json (1.13.1)
multi_xml (0.6.0)
multipart-post (2.1.1)
Expand All @@ -113,10 +113,11 @@ GEM
rack (2.2.3)
rainbow (3.0.0)
rake (12.3.3)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
rdoc (5.1.0)
rexml (3.2.5)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
Expand All @@ -138,7 +139,6 @@ GEM
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.10.1)
ruby_dep (1.5.0)
safe_yaml (1.0.5)
semver2 (3.4.2)
shellany (0.0.1)
Expand All @@ -153,8 +153,8 @@ GEM
thread_safe (0.3.6)
timecop (0.9.1)
tins (1.21.1)
tzinfo (1.2.7)
thread_safe (~> 0.1)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
unicode-display_width (1.6.0)
webmock (3.6.2)
addressable (>= 2.3.6)
Expand All @@ -172,7 +172,8 @@ DEPENDENCIES
ffi (~> 1, > 1.9.18)!
guard-yard (~> 2.2, >= 2.2.0)!
jeweler (~> 2.3, >= 2.3.7)!
listen (~> 3.1, = 3.1.5)!
listen (~> 3.1, >= 3.5.0)!
minitest (~> 5.14, >= 5.14.2)!
rack (~> 2, >= 2.0.4)!
rdoc (~> 5.1, >= 5.1.0)!
rspec (~> 3.7, >= 3.7.0)!
Expand All @@ -183,4 +184,4 @@ DEPENDENCIES
yard (~> 0.9, >= 0.9.11)!

BUNDLED WITH
2.1.4
2.2.33
12 changes: 7 additions & 5 deletions aemo.gemspec
Expand Up @@ -8,7 +8,7 @@ Gem::Specification.new do |s|
s.name = 'aemo'
s.version = AEMO::VERSION
s.platform = Gem::Platform::RUBY
s.date = '2018-11-17'
s.date = '2020-12-11'
s.summary = 'Gem providing functionality for the Australian Energy Market Operator data'
s.description = 'Gem providing functionality for the Australian Energy Market Operator data. Supports NMIs, NEM12, MSATS Web Services and more'
s.authors = ['Joel Courtney', 'Stuart Auld', 'Neil Parikh', 'Olivier Nsabimana']
Expand All @@ -20,22 +20,24 @@ Gem::Specification.new do |s|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ['lib']

s.required_ruby_version = '>= 2.3.0'
s.required_ruby_version = '>= 2.6.0'

# Production Dependencies
s.add_dependency 'activesupport', '>= 4.2.6', '< 6.1'
s.add_dependency 'activesupport', '>= 4.2.6', '< 7.1'
s.add_dependency 'httparty', '~> 0.15', '>= 0.15.6'
s.add_dependency 'json', '>= 1.7.5', '< 3'
s.add_dependency 'multi_xml', '~> 0.6', '>= 0.5.0'
s.add_dependency 'nokogiri', '~> 1.10', '>= 1.10.4'

s.add_dependency 'rexml'

# Development Dependencies
s.add_development_dependency 'awesome_print', '~> 1.8', '>= 1.8.0'
s.add_development_dependency 'coveralls', '~> 0.8', '>= 0.8.21'
s.add_development_dependency 'ffi', '~> 1', '> 1.9.18'
s.add_development_dependency 'guard-yard', '~> 2.2', '>= 2.2.0'
s.add_development_dependency 'jeweler', '~> 2.3', '>= 2.3.7'
s.add_development_dependency 'listen', '~> 3.1', '= 3.1.5'
s.add_development_dependency 'listen', '~> 3.1', '>= 3.5.0'
s.add_development_dependency 'minitest', '~> 5.14', '>= 5.14.2'
s.add_development_dependency 'rack', '~> 2', '>= 2.0.4'
s.add_development_dependency 'rdoc', '~> 5.1', '>= 5.1.0'
s.add_development_dependency 'rspec', '~> 3.7', '>= 3.7.0'
Expand Down

0 comments on commit eab4d47

Please sign in to comment.