Skip to content

Commit db87588

Browse files
author
gdgate
authored
Merge pull request #1715 from andrehjr/allow-rails-6-1
Allow gooddata-ruby to be used with Rails 6.1 Reviewed-by: https://github.com/sangtm
2 parents b4a9f48 + be1e509 commit db87588

File tree

10 files changed

+3
-13
lines changed

10 files changed

+3
-13
lines changed

gooddata.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Gem::Specification.new do |s|
5555
s.add_development_dependency 'sqlite3' if RUBY_PLATFORM != 'java'
5656

5757
if RUBY_VERSION >= '2.5'
58-
s.add_dependency 'activesupport', '>= 6.0.3.1', '< 6.1'
58+
s.add_dependency 'activesupport', '>= 6.0.3.1', '< 6.2'
5959
else
6060
s.add_dependency 'activesupport', '>= 5.2.4.3', '< 6.0'
6161
end

lib/gooddata.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ module GoodData
3737

3838
# Helpers
3939
require 'gooddata/helpers/global_helpers'
40+
41+
require 'active_support/core_ext/hash/compact' unless RUBY_VERSION >= '2.5'

lib/gooddata/lcm/actions/base_action.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
require 'gooddata/extensions/string'
99
require 'gooddata/extensions/nil'
1010

11-
require 'active_support/core_ext/hash/compact'
12-
1311
require_relative '../dsl/dsl'
1412
require_relative '../helpers/helpers'
1513
require_relative '../types/types'

lib/gooddata/lcm/lcm2.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
require 'gooddata/extensions/string'
1414
require 'gooddata/extensions/nil'
1515

16-
require 'active_support/core_ext/hash/compact'
17-
1816
require_relative 'actions/actions'
1917
require_relative 'dsl/dsl'
2018
require_relative 'helpers/helpers'

lib/gooddata/lcm/types/base_type.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
require_relative '../dsl/dsl'
99
require_relative '../helpers/helpers'
1010

11-
require 'active_support/core_ext/hash/compact'
12-
1311
require 'gooddata/extensions/class'
1412

1513
module GoodData

lib/gooddata/models/blueprint/project_blueprint.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# This source code is licensed under the BSD-style license found in the
33
# LICENSE file in the root directory of this source tree.
44

5-
require 'active_support/core_ext/hash/compact'
6-
75
module GoodData
86
module Model
97
class ProjectBlueprint

lib/gooddata/models/domain.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# LICENSE file in the root directory of this source tree.
66

77
require 'cgi'
8-
require 'active_support/core_ext/hash/compact'
98

109
require_relative 'profile'
1110
require_relative '../extensions/enumerable'

lib/gooddata/models/project.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
require 'net/smtp'
1414

1515
require 'active_support/core_ext/hash/except'
16-
require 'active_support/core_ext/hash/compact'
1716
require 'active_support/core_ext/hash/slice'
1817

1918
require_relative '../exceptions/no_project_error'

lib/gooddata/models/user_filters/user_filter_builder.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
require_relative '../project_log_formatter'
88

99
require 'active_support/core_ext/hash/indifferent_access'
10-
require 'active_support/core_ext/hash/compact'
1110

1211
require 'gooddata/extensions/true'
1312
require 'gooddata/extensions/false'

lib/gooddata/models/user_group.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
require_relative '../mixins/uri_getter'
1414

1515
require 'active_support/core_ext/hash/except'
16-
require 'active_support/core_ext/hash/compact'
1716

1817
module GoodData
1918
# Representation of User Group

0 commit comments

Comments
 (0)