2017-10-11 17:27:00 +01:00
|
|
|
require "json"
|
|
|
|
|
|
2019-06-03 22:30:47 +01:00
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
2017-10-11 17:27:00 +01:00
|
|
|
|
|
|
|
|
Pod::Spec.new do |s|
|
2017-10-11 19:33:26 +01:00
|
|
|
s.name = "RNSecureRandom"
|
2017-10-11 17:27:00 +01:00
|
|
|
s.version = package["version"]
|
2017-10-11 19:33:26 +01:00
|
|
|
s.summary = "RNSecureRandom"
|
2017-10-11 17:27:00 +01:00
|
|
|
s.description = package["description"]
|
|
|
|
|
s.homepage = package["homepage"]
|
2019-06-04 00:05:23 +01:00
|
|
|
s.license = package["license"]
|
|
|
|
|
s.author = { "Rob Hogan" => "npm@rhogan.net" }
|
2017-10-11 17:27:00 +01:00
|
|
|
s.platform = :ios, "7.0"
|
2019-06-04 00:05:23 +01:00
|
|
|
s.source = { :git => "https://github.com/rh389/react-native-securerandom.git", :tag => "master" }
|
|
|
|
|
s.source_files = "ios/RNSecureRandom.{h,m}"
|
2017-10-11 17:27:00 +01:00
|
|
|
s.requires_arc = true
|
|
|
|
|
s.dependency "React"
|
|
|
|
|
end
|