File tree Expand file tree Collapse file tree 1 file changed +16
-18
lines changed
Expand file tree Collapse file tree 1 file changed +16
-18
lines changed Original file line number Diff line number Diff line change 1+ require 'json'
2+
3+ package = JSON . parse ( File . read ( File . join ( __dir__ , '../package.json' ) ) )
14
25Pod ::Spec . new do |s |
3- s . name = "RNPdfScanner"
4- s . version = "1.0.0"
5- s . summary = "RNPdfScanner"
6- s . description = <<-DESC
7- RNPdfScanner
8- DESC
9- s . homepage = ""
10- s . license = "MIT"
11- # s.license = { :type => "MIT", :file => "FILE_LICENSE" }
12- s . author = { "author" => "[email protected] " } 13- s . platform = :ios , "7.0"
14- s . source = { :git => "https://github.com/author/RNPdfScanner.git" , :tag => "master" }
15- s . source_files = "RNPdfScanner/**/*.{h,m}"
16- s . requires_arc = true
6+ s . name = 'RNPdfScanner'
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/Michaelvilleneuve/react-native-document-scanner'
13+ s . source = { :git => 'https://github.com/Michaelvilleneuve/react-native-document-scanner.git' , :tag => s . version }
1714
15+ s . requires_arc = true
16+ s . platform = :ios , '7.0'
1817
19- s . dependency "React"
20- #s.dependency "others"
18+ s . preserve_paths = 'README.md' , 'package.json' , 'index.js'
19+ s . source_files = '*.{h,m}'
2120
21+ s . dependency 'React'
2222end
23-
24-
You can’t perform that action at this time.
0 commit comments