We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccc4ce1 commit 4c565a7Copy full SHA for 4c565a7
RNImageRotate.podspec
@@ -1,13 +1,15 @@
1
require 'json'
2
-version = JSON.parse(File.read('package.json'))["version"]
+
3
+package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
5
Pod::Spec.new do |s|
6
7
s.name = "RNImageRotate"
- s.version = version
8
+ s.version = package['version']
9
+ s.summary = package['description']
10
+ s.description = package['description']
11
s.homepage = "https://github.com/dgladkov/react-native-image-rotate"
- s.summary = "Rotate images from your react-native JavaScript code"
- s.license = "MIT"
12
+ s.license = package['license']
13
s.author = { "Dmitry Gladkov" => "[email protected]" }
14
s.platform = :ios, "7.0"
15
s.source = { :git => "https://github.com/dgladkov/react-native-image-rotate.git", :tag => s.version.to_s }
0 commit comments