lib/kaname/cli.rb in kaname-0.7.0 vs lib/kaname/cli.rb in kaname-0.7.1

- old
+ new

@@ -27,10 +27,10 @@ else Kaname::Adapter::ReadAndWrite.new end if Kaname::Resource.yaml - diffs = HashDiff.diff(adapter.users_hash, Kaname::Resource.yaml) + diffs = Hashdiff.diff(adapter.users_hash, Kaname::Resource.yaml) diffs.each do |diff| resource = diff[1].split('.') if resource.size == 1 # "user" if diff[0] == "+" user = adapter.create_user(resource[0], diff[2]['email'])