diff --git a/RNFS.podspec b/RNFS.podspec index 3836027..3624a08 100644 --- a/RNFS.podspec +++ b/RNFS.podspec @@ -1,21 +1,14 @@ -require 'json' -pjson = JSON.parse(File.read('package.json')) - Pod::Spec.new do |s| - - s.name = "RNFS" - s.version = pjson["version"] - s.homepage = "https://github.com/itinance/react-native-fs" - s.summary = pjson["description"] - s.license = pjson["license"] - s.author = { "Johannes Lumpe" => "johannes@lum.pe" } - - s.ios.deployment_target = '7.0' - - s.source = { :git => "https://github.com/itinance/react-native-fs", :tag => "v#{s.version}" } - s.source_files = '*.{h,m}' + s.name = "react-native-fs" + s.version = "2.9.3" + s.summary = "Native filesystem access for react-native" + s.requires_arc = true + s.license = 'MIT' + s.homepage = 'n/a' + s.authors = { "Johannes Lumpe" => "johannes@lum.pe" } + s.source = { :git => "git@github.com:itinance/react-native-fs.git" } + s.source_files = '*.{h,m}' s.preserve_paths = "**/*.js" - - s.dependency 'React' - -end + s.platform = :ios, "7.0" + s.dependency 'React/Core' +end \ No newline at end of file diff --git a/package.json b/package.json index 2dede1e..303cb78 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-fs", - "version": "2.9.2", + "version": "2.9.3", "description": "Native filesystem access for react-native", "main": "FS.common.js", "scripts": { @@ -30,8 +30,8 @@ }, "devDependencies": { "flow-bin": "0.28.0", - "react": "^15.4.2", - "react-native": "^0.40.0" + "react": "^16.0.0", + "react-native": "^0.45.0" }, "peerDependencies": { "react-native": ">=0.40.0"