Skip to content

Commit

Permalink
fix license in iOS podspec (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
brodycj authored Feb 26, 2020
1 parent 0fce2f4 commit d1ef8a7
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions templates/ios.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = platform => [{
name: ({ moduleName }) => `${moduleName}.podspec`,
content: ({ moduleName, tvosEnabled, githubAccount, authorName, authorEmail, useAppleNetworking }) => `require "json"
content: ({ moduleName, tvosEnabled, githubAccount, authorName, authorEmail, license, useAppleNetworking }) => `require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Expand All @@ -12,8 +12,8 @@ Pod::Spec.new do |s|
${moduleName}
DESC
s.homepage = "https://github.com/${githubAccount}/${moduleName}"
s.license = "MIT"
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
s.license = "${license}"
# s.license = { :type => "${license}", :file => "FILE_LICENSE" }
s.authors = { "${authorName}" => "${authorEmail}" }
s.platforms = { :ios => "9.0"${tvosEnabled ? `, :tvos => "10.0"` : ``} }
s.source = { :git => "https://github.com/${githubAccount}/${moduleName}.git", :tag => "#{s.version}" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ Pod::Spec.new do |s|
react-native-alice-bobbi
DESC
s.homepage = \\"https://github.com/alicebits/react-native-alice-bobbi\\"
s.license = \\"MIT\\"
# s.license = { :type => \\"MIT\\", :file => \\"FILE_LICENSE\\" }
s.license = \\"ISC\\"
# s.license = { :type => \\"ISC\\", :file => \\"FILE_LICENSE\\" }
s.authors = { \\"Alice\\" => \\"contact@alice.me\\" }
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ Pod::Spec.new do |s|
react-native-alice-bobbi
DESC
s.homepage = \\"https://github.com/alicebits/react-native-alice-bobbi\\"
s.license = \\"MIT\\"
# s.license = { :type => \\"MIT\\", :file => \\"FILE_LICENSE\\" }
s.license = \\"ISC\\"
# s.license = { :type => \\"ISC\\", :file => \\"FILE_LICENSE\\" }
s.authors = { \\"Alice\\" => \\"contact@alice.me\\" }
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ Pod::Spec.new do |s|
react-native-alice-bobbi
DESC
s.homepage = \\"https://github.com/alicebits/react-native-alice-bobbi\\"
s.license = \\"MIT\\"
# s.license = { :type => \\"MIT\\", :file => \\"FILE_LICENSE\\" }
s.license = \\"ISC\\"
# s.license = { :type => \\"ISC\\", :file => \\"FILE_LICENSE\\" }
s.authors = { \\"Alice\\" => \\"contact@alice.me\\" }
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ Pod::Spec.new do |s|
react-native-alice-bobbi
DESC
s.homepage = \\"https://github.com/alicebits/react-native-alice-bobbi\\"
s.license = \\"MIT\\"
# s.license = { :type => \\"MIT\\", :file => \\"FILE_LICENSE\\" }
s.license = \\"ISC\\"
# s.license = { :type => \\"ISC\\", :file => \\"FILE_LICENSE\\" }
s.authors = { \\"Alice\\" => \\"contact@alice.me\\" }
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ Pod::Spec.new do |s|
react-native-alice-bobbi
DESC
s.homepage = \\"https://github.com/alicebits/react-native-alice-bobbi\\"
s.license = \\"MIT\\"
# s.license = { :type => \\"MIT\\", :file => \\"FILE_LICENSE\\" }
s.license = \\"ISC\\"
# s.license = { :type => \\"ISC\\", :file => \\"FILE_LICENSE\\" }
s.authors = { \\"Alice\\" => \\"contact@alice.me\\" }
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ Pod::Spec.new do |s|
react-native-alice-bobbi
DESC
s.homepage = \\"https://github.com/alicebits/react-native-alice-bobbi\\"
s.license = \\"MIT\\"
# s.license = { :type => \\"MIT\\", :file => \\"FILE_LICENSE\\" }
s.license = \\"ISC\\"
# s.license = { :type => \\"ISC\\", :file => \\"FILE_LICENSE\\" }
s.authors = { \\"Alice\\" => \\"contact@alice.me\\" }
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@ Pod::Spec.new do |s|
react-native-alice-bobbi
DESC
s.homepage = \\"https://github.com/alicebits/react-native-alice-bobbi\\"
s.license = \\"MIT\\"
# s.license = { :type => \\"MIT\\", :file => \\"FILE_LICENSE\\" }
s.license = \\"ISC\\"
# s.license = { :type => \\"ISC\\", :file => \\"FILE_LICENSE\\" }
s.authors = { \\"Alice\\" => \\"contact@alice.me\\" }
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ Pod::Spec.new do |s|
react-native-alice-bobbi
DESC
s.homepage = \\"https://github.com/alicebits/react-native-alice-bobbi\\"
s.license = \\"MIT\\"
# s.license = { :type => \\"MIT\\", :file => \\"FILE_LICENSE\\" }
s.license = \\"ISC\\"
# s.license = { :type => \\"ISC\\", :file => \\"FILE_LICENSE\\" }
s.authors = { \\"Alice\\" => \\"contact@alice.me\\" }
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
Expand Down

0 comments on commit d1ef8a7

Please sign in to comment.