lib/miam/client.rb in miam-0.2.1 vs lib/miam/client.rb in miam-0.2.2.beta

- old
+ new

@@ -131,11 +131,11 @@ updated = true elsif not expected_login_profile and actual_login_profile @driver.delete_login_profile(user_name) updated = true elsif expected_login_profile != actual_login_profile - @driver.update_login_profile(user_name, expected_login_profile) + @driver.update_login_profile(user_name, expected_login_profile, actual_login_profile) updated = true end updated end @@ -255,11 +255,11 @@ def walk_assume_role_policy(role_name, expected_assume_role_policy, actual_assume_role_policy) updated = false if expected_assume_role_policy != actual_assume_role_policy - @driver.update_assume_role_policy(role_name, expected_assume_role_policy) + @driver.update_assume_role_policy(role_name, expected_assume_role_policy, actual_assume_role_policy) updated = true end updated end @@ -365,11 +365,11 @@ def walk_path(type, user_or_group_name, expected_path, actual_path) updated = false if expected_path != actual_path - @driver.update_path(type, user_or_group_name, expected_path) + @driver.update_path(type, user_or_group_name, expected_path, actual_path) updated = true end updated end @@ -398,10 +398,10 @@ def walk_policy(type, user_or_group_name, policy_name, expected_document, actual_document) updated = false if expected_document != actual_document - @driver.update_policy(type, user_or_group_name, policy_name, expected_document) + @driver.update_policy(type, user_or_group_name, policy_name, expected_document, actual_document) updated = true end updated end