cuesmash 0.1.9 → 0.1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/cuesmash.gemspec +3 -3
- data/lib/cuesmash/start.rb +2 -2
- data/spec/ioscompiler_spec.rb +1 -1
- metadata +3 -2
- data/lib/cuesmash/ioscompiler.rb +0 -49
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2b47e7d99c09c87fae09895d6dc64ee0ca88728
|
4
|
+
data.tar.gz: 1d4050333e39f5f0f9bf3079f8e6a2492a0ef295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6776e38e1f0471330ad923e7306ef750eadff1537b48cb1843a53468ea5f4658c997e50245cc6a612ed4ae473109451be635335da2cc040ff1eb9e5a15fa0254
|
7
|
+
data.tar.gz: e046867537746ec3b83fea9e5b69ef0dc15b9c73fad6d3a3e29eb5c108e72323cca7071e5bb1970f823938ccb4f5cea622a1b9943edacae44b7cd729e54c5b9a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cuesmash (0.1.9)
|
4
|
+
cuesmash (0.1.9.1)
|
5
5
|
CFPropertyList (>= 2.2.8)
|
6
6
|
rest-client (~> 1.7.2)
|
7
7
|
thor (>= 0.19.1)
|
@@ -40,9 +40,9 @@ GEM
|
|
40
40
|
rb-inotify (>= 0.9)
|
41
41
|
lumberjack (1.0.9)
|
42
42
|
method_source (0.8.2)
|
43
|
-
mime-types (2.3)
|
43
|
+
mime-types (2.4.3)
|
44
44
|
multi_json (1.10.1)
|
45
|
-
netrc (0.
|
45
|
+
netrc (0.10.2)
|
46
46
|
pry (0.10.1)
|
47
47
|
coderay (~> 1.1.0)
|
48
48
|
method_source (~> 0.8.1)
|
data/cuesmash.gemspec
CHANGED
@@ -4,9 +4,9 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "cuesmash"
|
7
|
-
spec.version = "0.1.9"
|
8
|
-
spec.authors = ["Alex Fish", "Jarod McBride"]
|
9
|
-
spec.email = ["fish@ustwo.co.uk", "jarod@ustwo.com"]
|
7
|
+
spec.version = "0.1.9.1"
|
8
|
+
spec.authors = ["Alex Fish", "Jarod McBride", "Tiago Castro"]
|
9
|
+
spec.email = ["fish@ustwo.co.uk", "jarod@ustwo.com", "castro@ustwo.com"]
|
10
10
|
spec.description = "A gift for Juan"
|
11
11
|
spec.summary = "Compile an app, point the app at sinatra, run cucumber with appium"
|
12
12
|
spec.homepage = "https://github.com/ustwo/cuesmash"
|
data/lib/cuesmash/start.rb
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
|
4
4
|
require 'thor'
|
5
5
|
require 'cuesmash'
|
6
|
-
require 'cuesmash/
|
6
|
+
require 'cuesmash/ios_compiler'
|
7
7
|
require 'cuesmash/androidapp'
|
8
|
-
require 'cuesmash/
|
8
|
+
require 'cuesmash/android_compiler'
|
9
9
|
require 'cuesmash/android_command'
|
10
10
|
require 'byebug'
|
11
11
|
|
data/spec/ioscompiler_spec.rb
CHANGED
metadata
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cuesmash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.9
|
4
|
+
version: 0.1.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Fish
|
8
8
|
- Jarod McBride
|
9
|
+
- Tiago Castro
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
@@ -169,6 +170,7 @@ description: A gift for Juan
|
|
169
170
|
email:
|
170
171
|
- fish@ustwo.co.uk
|
171
172
|
- jarod@ustwo.com
|
173
|
+
- castro@ustwo.com
|
172
174
|
executables:
|
173
175
|
- cuesmash
|
174
176
|
extensions: []
|
@@ -201,7 +203,6 @@ files:
|
|
201
203
|
- lib/cuesmash/ios_app.rb
|
202
204
|
- lib/cuesmash/ios_compiler.rb
|
203
205
|
- lib/cuesmash/iosapp.rb
|
204
|
-
- lib/cuesmash/ioscompiler.rb
|
205
206
|
- lib/cuesmash/plist.rb
|
206
207
|
- lib/cuesmash/setup.rb
|
207
208
|
- lib/cuesmash/start.rb
|
data/lib/cuesmash/ioscompiler.rb
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
module Cuesmash
|
4
|
-
|
5
|
-
#
|
6
|
-
# iOS Specific compiler
|
7
|
-
#
|
8
|
-
class IosCompiler < Compiler
|
9
|
-
|
10
|
-
attr_accessor :scheme
|
11
|
-
attr_accessor :tmp_dir
|
12
|
-
attr_accessor :build_configuration
|
13
|
-
|
14
|
-
def initialize(scheme, tmp_dir, build_configuration)
|
15
|
-
@scheme = scheme
|
16
|
-
@tmp_dir = tmp_dir
|
17
|
-
@build_configuration = build_configuration
|
18
|
-
end
|
19
|
-
|
20
|
-
#
|
21
|
-
# Generate the string to be used as the xcode build command
|
22
|
-
# using the scheme ivar
|
23
|
-
#
|
24
|
-
# @return [String] The full xcode build command with args
|
25
|
-
def command
|
26
|
-
xcode_command = "set -o pipefail && xcodebuild #{workspace} -scheme #{@scheme} -derivedDataPath #{@tmp_dir} -configuration #{@build_configuration} OBJROOT=#{@tmp_dir} SYMROOT=#{@tmp_dir} -sdk iphonesimulator build | bundle exec xcpretty -c"
|
27
|
-
|
28
|
-
Logger.info "xcode_command == #{xcode_command}"
|
29
|
-
xcode_command
|
30
|
-
end # command
|
31
|
-
|
32
|
-
#
|
33
|
-
# Looks in the current directory for the workspace file and
|
34
|
-
# gets it's name if there is one
|
35
|
-
#
|
36
|
-
# @return [String] The name of the workspace file that was found along with the -workspace flag
|
37
|
-
def workspace
|
38
|
-
wp = Dir["*.xcworkspace"].first
|
39
|
-
if wp
|
40
|
-
flag = "-workspace #{wp}"
|
41
|
-
Logger.debug "workspace == #{wp}"
|
42
|
-
return flag
|
43
|
-
else
|
44
|
-
Logger.debug "no workspace found"
|
45
|
-
return wp
|
46
|
-
end
|
47
|
-
end # workspace
|
48
|
-
end # class IosCompiler
|
49
|
-
end # module Cuesmash
|