spaceship/lib/spaceship/connect_api/model.rb in fastlane_hotfix-2.165.1 vs spaceship/lib/spaceship/connect_api/model.rb in fastlane_hotfix-2.187.0

- old
+ new

@@ -28,10 +28,10 @@ # # Creates attr_write and attr_reader for :min_os_version # Creates alias for :minOsVersion to :min_os_version # def attr_mapping(attr_map) - self.reverse_attr_map ||= attr_map.invert.each_with_object({}) { |(k, v), memo| memo[k.to_sym] = v; } + self.reverse_attr_map ||= attr_map.invert.transform_keys(&:to_sym) attr_map.each do |key, value| # Actual reader = value.to_sym writer = "#{value}=".to_sym