forked from fjcaetano/ReCaptcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReCaptcha.podspec
38 lines (31 loc) · 1.32 KB
/
ReCaptcha.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Pod::Spec.new do |s|
s.name = 'ReCaptcha'
s.version = '1.6.0'
s.summary = 'ReCaptcha for iOS'
s.swift_version = '5.0'
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.documentation_url = 'http://fjcaetano.github.io/ReCaptcha'
s.ios.deployment_target = '9.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', '~> 6.0'
end
end