ios_ci 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/model/params.rb +4 -3
  2. metadata +1 -1
data/lib/model/params.rb CHANGED
@@ -7,13 +7,13 @@ ACTION_CALABASH = "calabash"
7
7
 
8
8
  class Params
9
9
  # attributes
10
- attr_reader :action, :source_root, :target, :scheme, :workspace, :configuration,
10
+ attr_reader :action, :source_root, :target, :scheme, :workspace, :configuration,
11
11
  :architecture, :sdk, :family, :build_path, :log_file
12
12
 
13
13
  # public methods
14
14
  public
15
15
 
16
- def initialize
16
+ def initialize
17
17
  set_defaults
18
18
  begin
19
19
  parse_action
@@ -105,6 +105,7 @@ class Params
105
105
  def check_action
106
106
  @action == ACTION_BUILD || @action == ACTION_CEDAR || @action == ACTION_CALABASH
107
107
  end
108
+
108
109
  def check_options
109
110
  if self.action.nil?
110
111
  puts "You must specify action type"
@@ -123,6 +124,6 @@ class Params
123
124
  end
124
125
 
125
126
  def usage
126
- print_file("lib/usage.txt")
127
+ print_file("usage.txt")
127
128
  end
128
129
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ios_ci
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: