2016-05-14 23:27:08 +02:00
|
|
|
require 'json'
|
|
|
|
|
pjson = JSON.parse(File.read('package.json'))
|
|
|
|
|
|
2016-02-22 10:48:02 +01:00
|
|
|
Pod::Spec.new do |s|
|
2016-05-14 23:27:08 +02:00
|
|
|
|
|
|
|
|
s.name = pjson["name"]
|
|
|
|
|
s.version = pjson["version"]
|
|
|
|
|
s.homepage = "https://github.com/chirag04/react-native-mail"
|
|
|
|
|
s.summary = pjson["description"]
|
|
|
|
|
s.license = pjson["license"]
|
2016-05-14 23:28:26 +02:00
|
|
|
s.author = { "Chirag Jain" => "jain_chirag04@yahoo.com" }
|
2016-05-14 23:27:08 +02:00
|
|
|
s.platform = :ios, "7.0"
|
2018-03-25 19:24:10 +03:00
|
|
|
s.source = { :git => "https://github.com/chirag04/react-native-mail", :tag => "v#{s.version}" }
|
2016-05-14 23:27:08 +02:00
|
|
|
s.source_files = 'RNMail/*.{h,m}'
|
|
|
|
|
|
2020-10-01 20:37:50 +02:00
|
|
|
s.dependency 'React-Core'
|
2016-02-22 10:48:02 +01:00
|
|
|
|
|
|
|
|
end
|