forked from mikerhodes/MRDatabaseContentChecker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMRDatabaseContentChecker.podspec
More file actions
55 lines (44 loc) · 1.96 KB
/
MRDatabaseContentChecker.podspec
File metadata and controls
55 lines (44 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
license = <<EOT
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
EOT
Pod::Spec.new do |s|
s.name = "MRDatabaseContentChecker"
s.version = "0.4.0"
s.summary = "Check what's in your database during testing"
s.description = <<-DESC
MRDatabaseContentChecker will check the content of
database tables and queries against arrays containing
the expected rows. It'll intelligently figure out the
types of the expected values and use appropriate checks
for equality (e.g., regex matching).
DESC
s.homepage = "https://github.com/mikerhodes/MRDatabaseContentChecker"
s.license = {:type => 'Apache', :text => license}
s.author = { "Michael Rhodes" => "mike.rhodes@gmail.com" }
s.source = { :git => "https://github.com/mikerhodes/MRDatabaseContentChecker.git", :tag => s.version.to_s }
s.platform = :ios, '6.0'
s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.8'
s.requires_arc = true
s.default_subspec = 'standard'
['standard', 'SQLCipher'].each do |subspec_label|
s.subspec subspec_label do |sp|
sp.source_files = 'Classes'
sp.ios.exclude_files = 'Classes/osx'
sp.osx.exclude_files = 'Classes/ios'
if subspec_label == 'standard'
sp.dependency 'FMDB', '~> 2.0'
else
sp.dependency 'FMDB/SQLCipher', '~> 2.0'
end
end
end
end