-
Notifications
You must be signed in to change notification settings - Fork 369
/
calabash-cucumber.gemspec
75 lines (58 loc) · 2.6 KB
/
calabash-cucumber.gemspec
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)
require 'calabash-cucumber/version'
# ruby files
ruby_files = Dir.glob('lib/**/*.rb') + Dir.glob('bin/**/*.rb')
# additional files in bin
additional_bin_files = %w(bin/cal.xcconfig bin/CalabashSetup bin/calabash-ios)
# bin help file
bin_help = %w(doc/calabash-ios-help.txt)
# the calabash framework
staticlib = %w(staticlib/calabash.framework.zip staticlib/libFrankCalabash.a)
# calabash dylibs
dylibs = %w(dylibs/libCalabashDyn.dylib dylibs/libCalabashDynSim.dylib)
# files in script
scripts = %w(scripts/.irbrc scripts/launch.rb scripts/calabash.xcconfig.erb)
# files in script/data
scripts_data = Dir.glob('scripts/data/*.plist')
# pre-defined Steps
features = Dir.glob('features/**/*.rb')
# resources for the skeleton project generated by calabash-ios gen
features_skeleton = Dir.glob('features-skeleton/**/*.*')
# playback base64 files
playback = Dir.glob('lib/calabash-cucumber/resources/**/*.base64')
license = %w(LICENSE)
gem_files = ruby_files + additional_bin_files + bin_help + staticlib + scripts + scripts_data + features + features_skeleton + license + playback + dylibs
Gem::Specification.new do |s|
s.name = 'calabash-cucumber'
s.version = Calabash::Cucumber::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Karl Krukow']
s.email = ['karl@lesspainful.com']
s.homepage = 'http://calaba.sh'
s.summary = %q{Client for calabash-ios-server for automated functional testing on iOS}
s.description = %q{calabash-cucumber drives tests for native iOS apps. You must link your app with calabash-ios-server framework to execute tests.}
s.files = gem_files
s.test_files = []
s.executables = %w(calabash-ios frank-calabash)
s.require_paths = %w(lib)
s.license = 'EPL-1.0'
s.required_ruby_version = '>= 1.9'
s.add_dependency('cucumber', '~> 1.3.0')
s.add_dependency('calabash-common', '~> 0.0.1')
s.add_dependency('json', '~> 1.8')
s.add_dependency('edn', '~> 1.0.6')
s.add_dependency('CFPropertyList','~> 2.2.8')
s.add_dependency('sim_launcher', '~> 0.4.11')
s.add_dependency('slowhandcuke', '~> 0.0.3')
s.add_dependency('geocoder', '~>1.1.8')
s.add_dependency('httpclient', '~> 2.3.3')
# match the xamarin-test-cloud dependency
s.add_dependency('bundler', '~> 1.3')
s.add_dependency('awesome_print', '~> 1.2.0')
s.add_dependency('run_loop', '~> 1.0.3')
s.add_development_dependency 'rake', '~> 10.3'
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'yard', '~> 0.8'
s.add_development_dependency 'redcarpet', '~> 3.1'
end