Update RNFS.podspec

This commit is contained in:
Mike Grabowski 2016-05-14 21:19:29 +02:00
parent 01d43a011a
commit 202b4b19c3
1 changed files with 16 additions and 8 deletions

View File

@ -1,11 +1,19 @@
require 'json'
pjson = JSON.parse(File.read('package.json'))
Pod::Spec.new do |s|
s.name = "RNFS"
s.version = "1.3.0"
s.homepage = "https://github.com/johanneslumpe/react-native-fs"
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/johanneslumpe/react-native-fs.git" }
s.source_files = '*.{h,m}'
s.preserve_paths = "**/*.js"
s.dependency 'React/Core'
s.name = "RNFS"
s.version = pjson["version"]
s.homepage = "https://github.com/johanneslumpe/react-native-fs"
s.summary = pjson["description"]
s.license = pjson["license"]
s.author = { "Johannes Lumpe" => "johannes@lum.pe" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/johanneslumpe/react-native-fs", :tag => "#{s.version}" }
s.source_files = '*.{h,m}'
s.preserve_paths = "**/*.js"
s.dependency 'React/Core'
end