File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
require 'json'
2
-
2
+
3
3
package = JSON . parse ( File . read ( File . join ( __dir__ , 'package.json' ) ) )
4
4
5
5
Pod ::Spec . new do |s |
6
- s . name = "RNCViewpager "
6
+ s . name = "react-native-viewpager "
7
7
s . version = package [ 'version' ]
8
8
s . summary = package [ 'description' ]
9
9
s . license = package [ 'license' ]
@@ -12,11 +12,9 @@ Pod::Spec.new do |s|
12
12
s . homepage = package [ 'homepage' ]
13
13
14
14
s . platform = :ios , "7.0"
15
- s . source = { :git => "https://github.com/author/RNCViewpager .git" , :tag => "master " }
16
- s . source_files = "RNCViewpager /**/*.{h,m}"
15
+ s . source = { :git => "https://github.com/react-native-community/react-native-viewpager .git" , :tag => "v #{ s . version } " }
16
+ s . source_files = "ios /**/*.{h,m}"
17
17
s . requires_arc = true
18
18
19
19
s . dependency "React"
20
20
end
21
-
22
-
You can’t perform that action at this time.
0 commit comments