-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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-NativeOtpAssist" | ||
s.version = NATIVE_OTP_ASSIST_POD_VERSION | ||
s.version = "2.2.1" | ||
s.license = "MIT" | ||
s.homepage = "https://github.com/payu-intrepos/PayUNativeOtpAssist-iOS" | ||
s.author = { "PayUbiz" => "[email protected]" } | ||
|
@@ -36,11 +11,13 @@ s.description = "The OTP Assist SDK provides a complete authentication f | |
s.source = { :git => "https://github.com/payu-intrepos/PayUNativeOtpAssist-iOS.git", | ||
:tag => "#{s.version}" | ||
} | ||
s.documentation_url = "https://payumobile.gitbook.io/sdk-integration/ios/native-otp-assist" | ||
s.documentation_url = "https://devguide.payu.in/mobile-sdk-ios/native-otp-assist-ios/" | ||
s.platform = :ios , "11.0" | ||
s.vendored_frameworks = 'framework/PayUNativeOtpAssist.xcframework' | ||
NATIVE_OTP_ASSIST_PODSPEC_DEPENDENCIES.each do |dependency| | ||
dependency | ||
end | ||
s.dependency 'PayUIndia-PayUParams', '~>4.9' | ||
s.dependency 'PayUIndia-Analytics', '~>3.0' | ||
s.dependency 'PayUIndia-CrashReporter', '~>2.1' | ||
s.dependency 'PayUIndia-NetworkReachability', '~>1.0' | ||
s.dependency 'PayUIndia-CommonUI', '~>1.0' | ||
|
||
end |