mirror of
https://github.com/status-im/react-native-image-crop-picker.git
synced 2026-08-31 03:41:11 +00:00
Why?
* Ruby uses `"` quotes when interpolation is required. Using `'` will mean `v#{version}`
is used directly rather than providing the version number.
Changes:
1. User Ruby string interpolation when setting the tag version for the source.
19 lines
655 B
Ruby
19 lines
655 B
Ruby
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = "RNImageCropPicker"
|
|
s.version = package['version']
|
|
s.summary = package["description"]
|
|
s.requires_arc = true
|
|
s.license = 'MIT'
|
|
s.homepage = 'n/a'
|
|
s.authors = { "ivpusic" => "" }
|
|
s.source = { :git => "https://github.com/ivpusic/react-native-image-crop-picker", :tag => "v#{s.version}"}
|
|
s.source_files = 'ios/src/*.{h,m}'
|
|
s.platform = :ios, "8.0"
|
|
s.dependency 'RSKImageCropper'
|
|
s.dependency 'QBImagePickerController'
|
|
s.dependency 'React-Core'
|
|
s.dependency 'React-RCTImage'
|
|
end
|