1bf3e8710SEric Samelsonrequire 'json'
2bf3e8710SEric Samelson
3bf3e8710SEric Samelsonpackage = JSON.parse(File.read(File.join(__dir__, '..', 'package.json')))
4bf3e8710SEric Samelson
5bf3e8710SEric SamelsonPod::Spec.new do |s|
6bf3e8710SEric Samelson  s.name           = 'EXUpdates'
7bf3e8710SEric Samelson  s.version        = package['version']
8bf3e8710SEric Samelson  s.summary        = package['description']
9bf3e8710SEric Samelson  s.description    = package['description']
10bf3e8710SEric Samelson  s.license        = package['license']
11bf3e8710SEric Samelson  s.author         = package['author']
12bf3e8710SEric Samelson  s.homepage       = package['homepage']
13bf3e8710SEric Samelson  s.platform       = :ios, '10.0'
14bf3e8710SEric Samelson  s.source         = { git: 'https://github.com/expo/expo.git' }
15bf3e8710SEric Samelson  s.source_files   = 'EXUpdates/**/*.{h,m}'
16bf3e8710SEric Samelson  s.preserve_paths = 'EXUpdates/**/*.{h,m}'
17bf3e8710SEric Samelson  s.requires_arc   = true
18bf3e8710SEric Samelson
19bf3e8710SEric Samelson  s.dependency 'UMCore'
209b1f5005SEric Samelson  s.dependency 'React'
21*ed7bf842SEric Samelson
22*ed7bf842SEric Samelson  s.test_spec 'Tests' do |test_spec|
23*ed7bf842SEric Samelson    test_spec.source_files = 'Tests/*.{h,m}'
24*ed7bf842SEric Samelson  end
25bf3e8710SEric Samelsonend
26