37 lines
1.2 KiB
Ruby
37 lines
1.2 KiB
Ruby
|
|
Pod::Spec.new do |s|
|
|
s.name = 'ReCaptcha'
|
|
s.version = '1.3'
|
|
s.summary = 'ReCaptcha for iOS'
|
|
|
|
s.description = <<-DESC
|
|
Add Google's [Invisible ReCaptcha](https://developers.google.com/recaptcha/docs/invisible) to your project. This library
|
|
automatically handles ReCaptcha's events and retrieves the validation token or notifies you to present the challenge if
|
|
invisibility is not possible.
|
|
DESC
|
|
|
|
s.homepage = 'https://github.com/fjcaetano/ReCaptcha'
|
|
s.license = { :type => 'MIT', :file => 'LICENSE' }
|
|
s.author = { 'Flávio Caetano' => 'flavio@vieiracaetano.com' }
|
|
s.source = { :git => 'https://github.com/fjcaetano/ReCaptcha.git', :tag => s.version.to_s }
|
|
s.social_media_url = 'https://twitter.com/flavio_caetano'
|
|
|
|
s.ios.deployment_target = '8.0'
|
|
s.default_subspecs = 'Core'
|
|
|
|
s.subspec 'Core' do |core|
|
|
core.source_files = 'ReCaptcha/Classes/*'
|
|
core.frameworks = 'WebKit'
|
|
|
|
core.resource_bundles = {
|
|
'ReCaptcha' => ['ReCaptcha/Assets/**/*']
|
|
}
|
|
end
|
|
|
|
s.subspec 'RxSwift' do |rx|
|
|
rx.source_files = 'ReCaptcha/Classes/Rx/**/*'
|
|
rx.dependency 'ReCaptcha/Core'
|
|
rx.dependency 'RxSwift', '~> 4.0'
|
|
end
|
|
end
|