Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FFM-8725] - Target attributes need to be defined as a hash instead of an array #29

Merged
merged 1 commit into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/ff/ruby/server/sdk/api/evaluator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ def get_attr_value(target, attribute)
return target.send(attribute)
else

@logger.debug "target attrs: " + target.attributes.to_s

result = target.attributes[attribute.to_sym]

if result == nil
Expand Down
2 changes: 1 addition & 1 deletion lib/ff/ruby/server/sdk/dto/target.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def initialize(

name,
identifier = name,
attributes = [],
attributes = {},
is_private = false
)

Expand Down
2 changes: 1 addition & 1 deletion lib/ff/ruby/server/sdk/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Ruby
module Server
module Sdk

VERSION = "1.1.2"
VERSION = "1.1.3"
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion scripts/sdk_specs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

export ff_ruby_sdk="ff-ruby-server-sdk"
export ff_ruby_sdk_version="1.1.2"
export ff_ruby_sdk_version="1.1.3"