Skip to content

Commit

Permalink
fix: Fix podspec version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapsssito authored Feb 26, 2021
1 parent 203c134 commit e41bb0e
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions react-native-background-actions.podspec
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
require 'json'
require "json"

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
package = JSON.parse(File.read(File.join(__dir__, "package.json")))

Pod::Spec.new do |s|

s.name = package['name']
s.version = package["version"]
s.summary = package["description"]
s.description = <<-DESC
react-native-background-actions
DESC
s.version = package['version']
s.summary = package['description']
s.homepage = package['repository']['url']
s.license = "MIT"
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
s.authors = { "Rapsssito" => "contact@rodrigomartin.dev" }
s.license = package['license']
s.authors = package['author']
s.platforms = { :ios => "9.0", :tvos => "10.0" }
s.source = { :git => s.homepage, :tag => "#{s.version}" }
s.source = { :git => s.homepage, :tag => "#v{s.version}" }

s.source_files = "ios/**/*.{h,m,swift}"
s.requires_arc = true
Expand Down

0 comments on commit e41bb0e

Please sign in to comment.