|
@@ -3,26 +3,20 @@ require 'json'
|
3
|
3
|
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
4
|
4
|
|
5
|
5
|
Pod::Spec.new do |s|
|
6
|
|
- s.name = "RNThumbnail"
|
7
|
|
- s.version = package['version']
|
8
|
|
- s.summary = "RNThumbnail"
|
9
|
|
- s.description = <<-DESC
|
10
|
|
- RNThumbnail
|
11
|
|
- DESC
|
12
|
|
- s.homepage = ""
|
13
|
|
- s.license = "MIT"
|
14
|
|
- # s.license = { :type => "MIT", :file => "FILE_LICENSE" }
|
15
|
|
- s.author = { "author" => "author@domain.cn" }
|
16
|
|
- s.homepage = "https://github.com/author/RNThumbnail"
|
17
|
|
- s.platform = :ios, "7.0"
|
18
|
|
- s.source = { :git => "https://github.com/author/RNThumbnail.git", :tag => "master" }
|
19
|
|
- s.source_files = "ios/**/*.{h,m}"
|
20
|
|
- s.requires_arc = true
|
|
6
|
+ s.name = "RNThumbnail"
|
|
7
|
+ s.version = package['version']
|
|
8
|
+ s.summary = package['description']
|
|
9
|
+ s.description = package['description']
|
|
10
|
+ s.license = package['license']
|
|
11
|
+ s.author = package['author']
|
|
12
|
+ s.homepage = "https://github.com/phuochau/react-native-thumbnail/#readme"
|
|
13
|
+ s.source = { :git => 'https://github.com/phuochau/react-native-thumbnail.git' }
|
21
|
14
|
|
|
15
|
+ s.requires_arc = true
|
|
16
|
+ s.platform = :ios, '7.0'
|
22
|
17
|
|
23
|
|
- s.dependency "React"
|
24
|
|
- #s.dependency "others"
|
|
18
|
+ s.preserve_paths = 'README.md', 'package.json', 'index.js'
|
|
19
|
+ s.source_files = 'ios/**/*.{h,m}'
|
25
|
20
|
|
|
21
|
+ s.dependency 'React'
|
26
|
22
|
end
|
27
|
|
-
|
28
|
|
-
|