2016-07-27 13:08:07 +00:00
|
|
|
require 'json'
|
|
|
|
version = JSON.parse(File.read('package.json'))["version"]
|
|
|
|
|
|
|
|
Pod::Spec.new do |s|
|
2017-03-29 23:31:43 +00:00
|
|
|
s.name = "RNI18n"
|
|
|
|
s.version = version
|
2017-06-26 20:08:10 +00:00
|
|
|
s.description = "Provide I18n to your React Native application"
|
2017-06-26 10:01:10 +00:00
|
|
|
s.homepage = "https://github.com/AlexanderZaytsev/react-native-i18n"
|
2017-03-29 23:31:43 +00:00
|
|
|
s.summary = "React Native + i18n.js"
|
|
|
|
s.license = "MIT"
|
|
|
|
s.author = { "Alexander Zaytsev" => "alexander@say26.com" }
|
2017-06-09 09:45:38 +00:00
|
|
|
s.ios.deployment_target = '7.0'
|
|
|
|
s.tvos.deployment_target = '9.0'
|
2017-03-29 23:31:43 +00:00
|
|
|
s.source = { git: "https://github.com/AlexanderZaytsev/react-native-i18n.git", tag: s.version.to_s }
|
|
|
|
s.source_files = "ios/**/*.{h,m}"
|
|
|
|
s.requires_arc = true
|
2016-07-27 13:08:07 +00:00
|
|
|
|
2017-03-29 23:31:43 +00:00
|
|
|
s.dependency "React"
|
2016-07-27 13:08:07 +00:00
|
|
|
end
|