mirror of
https://github.com/zhigang1992/tipsi-stripe.git
synced 2026-01-12 22:52:54 +08:00
24 lines
701 B
Ruby
24 lines
701 B
Ruby
require 'json'
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = package['name']
|
|
s.version = package['version']
|
|
s.summary = package['description']
|
|
s.description = package['description']
|
|
s.license = package['license']
|
|
s.author = package['author']
|
|
s.homepage = package['homepage']
|
|
s.source = { :git => 'https://github.com/tipsi/tipsi-stripe', :tag => s.version }
|
|
|
|
s.requires_arc = true
|
|
s.platform = :ios, '8.0'
|
|
|
|
s.preserve_paths = 'LICENSE', 'README.md'
|
|
s.source_files = 'ios/TPSStripe/**/*.{h,m}'
|
|
|
|
s.dependency 'React'
|
|
s.dependency 'Stripe', '~> 11.2.0'
|
|
end
|