cuesmash 0.1.9 → 0.1.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48e58bea94fd7f9c3530ae9d5e58b01c97be9fa8
4
- data.tar.gz: e9b0af7c1164eb3421559e980670669cd5621c21
3
+ metadata.gz: f2b47e7d99c09c87fae09895d6dc64ee0ca88728
4
+ data.tar.gz: 1d4050333e39f5f0f9bf3079f8e6a2492a0ef295
5
5
  SHA512:
6
- metadata.gz: 8b363d22b641435db75895ce121375df0c37741cbc3738c04cd1fa15b7ae400e69faf931d35a536ad02d41b49a7d02c826fb483bbd702ac84b392a01ce159e09
7
- data.tar.gz: e476b772402fe0daee97cdcd25b8ba61d6f1c4c180d7afe360e25a7e0371b79cf600fc8183930bb037aa27ad1f3213c009b6ff29a02520a269626aacc63e211b
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.7.7)
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"
@@ -3,9 +3,9 @@
3
3
 
4
4
  require 'thor'
5
5
  require 'cuesmash'
6
- require 'cuesmash/ioscompiler'
6
+ require 'cuesmash/ios_compiler'
7
7
  require 'cuesmash/androidapp'
8
- require 'cuesmash/androidcompiler'
8
+ require 'cuesmash/android_compiler'
9
9
  require 'cuesmash/android_command'
10
10
  require 'byebug'
11
11
 
@@ -1,5 +1,5 @@
1
1
  require 'spec_helper'
2
- require 'cuesmash/ioscompiler'
2
+ require 'cuesmash/ios_compiler'
3
3
 
4
4
  describe Cuesmash::IosCompiler do
5
5
 
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
@@ -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