File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Expand file tree Collapse file tree 1 file changed +9
-13
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 |
36 s . name = "RNSpringScrollView"
4- s . version = "1.0.0"
5- s . summary = "RNSpringScrollView"
6- s . description = <<-DESC
7- React Native Spring ScrollView V2 is a high performance cross-platform native bounces ScrollView for React Native.(iOS & Android)
8- DESC
7+ s . version = package [ "version" ]
8+ s . summary = package [ "description" ]
99 s . homepage = "https://github.com/bolan9999/react-native-spring-scrollview"
10- s . license = "MIT"
11- s . license = { :type => "MIT" , :file => "LICENSE" }
12- s . author = { "bolan9999" => "shanshang130@gmail.com" }
10+ s . license = package [ "license" ]
11+ s . author = { "bolan9999" => "shanshang130@gmail.com" }
1312 s . platform = :ios , "7.0"
14- s . source = { :git => "https://github.com/bolan9999/react-native-spring-scrollview.git" , :tag => "master" }
15- s . source_files = "src/ios/ SpringScrollView/**/*.{h,m}"
13+ s . source = { :git => "https://github.com/bolan9999/react-native-spring-scrollview.git" , :tag => s . version }
14+ s . source_files = "SpringScrollView/**/*.{h,m}"
1615 s . requires_arc = true
1716
1817 s . dependency "React"
19-
2018end
21-
22-
You can’t perform that action at this time.
0 commit comments