diff --git a/PayUIndia-Custom-Browser.podspec b/PayUIndia-Custom-Browser.podspec index e124b58..c739ad6 100644 --- a/PayUIndia-Custom-Browser.podspec +++ b/PayUIndia-Custom-Browser.podspec @@ -1,31 +1,6 @@ -require 'httparty' -require 'colorize' - -# Supress warning messages. -original_verbose, $VERBOSE = $VERBOSE, nil - -# Make the API request -url = "https://api.github.com/repos/payu-intrepos/payu-params-iOS/contents/Version.txt" -response = HTTParty.get(url) - -# Check if the request was successful -if response.code == 200 - # Extract the content from the response - content = Base64.decode64(response['content']) - # Evaluate the content of the file - eval(content) -else - puts "\n==> Failed to retrieve Version.txt file. HTTP status code: #{response.code}".red -end - -# Activate warning messages again. -$VERBOSE = original_verbose - -#Pod - Pod::Spec.new do |s| s.name = "PayUIndia-Custom-Browser" - s.version = CUSTOM_BROWSER_POD_VERSION + s.version = "10.0.1" s.license = "MIT" s.homepage = "https://github.com/payu-intrepos/iOS-Custom-Browser" s.author = { "PayUbiz" => "contact@payu.in" } @@ -46,9 +21,6 @@ Pod::Spec.new do |s| s.library = "z" s.requires_arc = true s.dependency 'PayUIndia-Analytics', '3.0' - - CUSTOM_BROWSER_PODSPEC_DEPENDENCIES.each do |dependency| - dependency - end - + s.dependency 'PayUIndia-CommonUI', '~>1.0' + end