diff --git a/ReactNativeKeyboardManager.podspec b/ReactNativeKeyboardManager.podspec index 12b7756..e1fd66e 100644 --- a/ReactNativeKeyboardManager.podspec +++ b/ReactNativeKeyboardManager.podspec @@ -2,21 +2,17 @@ require 'json' packageJson = JSON.parse(File.read('package.json')) version = packageJson["version"] -description = packageJson["description"] -homepage = packageJson["homepage"] -license = packageJson["license"] -author = packageJson["author"] repository = packageJson["repository"]["url"] iqVersion = version.split('-').first Pod::Spec.new do |s| s.name = "ReactNativeKeyboardManager" s.version = version - s.description = description - s.homepage = homepage - s.summary = "A component for react-native" - s.license = license - s.authors = author + s.description = packageJson["description"] + s.homepage = packageJson["homepage"] + s.summary = packageJson["description"] + s.license = packageJson["license"] + s.authors = packageJson["author"] s.source = { :git => repository, :tag => version } s.platform = :ios, "9.0" s.preserve_paths = 'README.md', 'package.json', '*.js' diff --git a/package.json b/package.json index 68e383d..9a1ced8 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,11 @@ "keyboard", "IQKeyboardManager" ], - "author": "Douglas Nassif Roma Junior", + "author": { + "name": "Douglas Nassif Roma Junior", + "email": "nassifrroma@gmail.com", + "url": "http://douglasjunior.me" + }, "license": "MIT", "bugs": { "url": "https://github.com/douglasjunior/react-native-keyboard-manager/issues"