lib/ruboto/util/build.rb in ruboto-0.10.1 vs lib/ruboto/util/build.rb in ruboto-0.10.2.rc.0

- old
+ new

@@ -54,10 +54,10 @@ min_api = verify_min_sdk.to_i target_api = verify_target_sdk.to_i # Remove methods changed outside of the scope of the sdk versions methods = methods.select{|i| !i.attribute('api_added') || (i.attribute('api_added').to_i <= target_api)} - methods = methods.select{|i| !i.attribute('deprecated') || (i.attribute('deprecated').to_i > min_api)} + # methods = methods.select{|i| !i.attribute('deprecated') || (i.attribute('deprecated').to_i > min_api)} methods = methods.select{|i| !i.attribute('api_removed') || (i.attribute('api_removed').to_i > min_api)} # Inform and remove methods that do not exist in one of the sdk versions methods = methods.select do |i| if i.attribute('api_removed') and i.attribute('api_removed').to_i <= target_api