diff --git a/lib/ghx/project_item.rb b/lib/ghx/project_item.rb index 6e36736..e2b65e4 100644 --- a/lib/ghx/project_item.rb +++ b/lib/ghx/project_item.rb @@ -185,7 +185,7 @@ def _setup_field_configuration(field_configuration) end def normalized_field_value_name(name) - name.tr(" ", "_").downcase + name.tr(" ", "_").tr("-", "_").downcase end # Extracts the value from the field based on the field's data type. Thank you GraphQL for making this totally asinine. diff --git a/lib/version.rb b/lib/version.rb index 5995934..9e317d1 100644 --- a/lib/version.rb +++ b/lib/version.rb @@ -1,3 +1,3 @@ module GHX - VERSION = "0.4.0" + VERSION = "0.4.1" end