OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
linting
ulfertseba6a5856ea9
diff --git a/modules/bcf/app/contracts/bcf/viewpoints/create_contract.rb b/modules/bcf/app/contracts/bcf/viewpoints/create_contract.rbindex 55a57fad9c2..e8ecf64ff28 100644--- a/modules/bcf/app/contracts/bcf/viewpoints/create_contract.rb+++ b/modules/bcf/app/contracts/bcf/viewpoints/create_contract.rb@@ -77,7 +77,7 @@ module Bcf::Viewpointsspace_boundaries_visibleopenings_visible).freeze- COLOR_REGEXP = /#([0-9a-f]{2})?[0-9a-f]{6}/.freeze+ COLOR_REGEXP = /#([0-9a-f]{2})?[0-9a-f]{6}/WHITELISTED_DIMENSIONS = %w(x y z).freezediff --git a/modules/bcf/spec/contracts/bcf/viewpoints/create_contract_spec.rb b/modules/bcf/spec/contracts/bcf/viewpoints/create_contract_spec.rbindex dce25a2cf24..01fb4c36571 100644--- a/modules/bcf/spec/contracts/bcf/viewpoints/create_contract_spec.rb+++ b/modules/bcf/spec/contracts/bcf/viewpoints/create_contract_spec.rb@@ -246,8 +246,7 @@ describe Bcf::Viewpoints::CreateContract docontext 'with an additional property' dolet(:viewpoint_json_viewpoint) do- valid_json['orthogonal_camera']- .merge!("superfluous_property" => 123)+ valid_json['orthogonal_camera']['superfluous_property'] = 123valid_jsonend@@ -333,8 +332,7 @@ describe Bcf::Viewpoints::CreateContract docontext 'with an additional property' dolet(:viewpoint_json_viewpoint) do- valid_json['perspective_camera']- .merge!("superfluous_property" => 123)+ valid_json['perspective_camera']['superfluous_property'] = 123valid_jsonend@@ -440,8 +438,7 @@ describe Bcf::Viewpoints::CreateContract docontext 'with an additional property for one line' dolet(:viewpoint_json_viewpoint) do- valid_json['lines'][1]- .merge!("superfluous_property" => 123)+ valid_json['lines'][1]['superfluous_property'] = 123valid_jsonend@@ -536,8 +533,7 @@ describe Bcf::Viewpoints::CreateContract docontext 'with an additional property for one line' dolet(:viewpoint_json_viewpoint) do- valid_json['clipping_planes'][1]- .merge!("superfluous_property" => 123)+ valid_json['clipping_planes'][1]['superfluous_property'] = 123valid_jsonend@@ -672,8 +668,7 @@ describe Bcf::Viewpoints::CreateContract docontext 'with an additional property' dolet(:viewpoint_json_viewpoint) do- valid_json['components']- .merge!("superfluous_property" => 123)+ valid_json['components']['superfluous_property'] = 123valid_jsonend