combat 0.9.5 → 0.9.6

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.
Files changed (4) hide show
  1. data/Readme.md +3 -1
  2. data/lib/settings.rb +5 -1
  3. data/lib/version.rb +1 -1
  4. metadata +26 -30
data/Readme.md CHANGED
@@ -33,6 +33,8 @@ Create a <tt>~/.combatrc</tt> with default configuration for all combat projects
33
33
  :host: my.server.com
34
34
  :path: /var/www/myserver/mobile_apps/
35
35
  :url: http://my.server.com/mobile_apps
36
+ :filename: android_file.apk
37
+ :name: My application dev page
36
38
 
37
39
  # TODO
38
40
 
@@ -45,4 +47,4 @@ Todo stuff:
45
47
 
46
48
  # Author
47
49
 
48
- Copyright © 2011 Tomislav Car, [Infinum](http://www.infinumdigital.com)
50
+ Copyright © 2011 Tomislav Car, [Infinum](http://www.infinumdigital.com)
@@ -4,6 +4,7 @@ class Settings
4
4
 
5
5
  def initialize(options)
6
6
  @name = options[:name]
7
+ @filename = options[:filename]
7
8
  @url = options[:url]
8
9
  @url+= "/" unless @url.match(/\/$/)
9
10
  @host = options[:host]
@@ -11,7 +12,10 @@ class Settings
11
12
  @type = options[:type]
12
13
  @remote_user = options[:remote_user]
13
14
 
14
- @filename = @name.gsub(" ", "_")
15
+ if @filename.nil? || @filename.empty?
16
+ @filename = @name.gsub(" ", "_")
17
+ end
18
+
15
19
  @provision_file_name = "#{@filename}.mobileprovision"
16
20
  @plist_file = "#{@filename}.plist"
17
21
  @ipa_file = "#{@filename}.ipa"
@@ -1,3 +1,3 @@
1
1
  module Combat
2
- VERSION = '0.9.5'
2
+ VERSION = '0.9.6'
3
3
  end
metadata CHANGED
@@ -1,29 +1,27 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: combat
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.6
4
5
  prerelease:
5
- version: 0.9.5
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Tomislav Car
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-11-16 00:00:00 Z
12
+ date: 2012-01-05 00:00:00.000000000Z
14
13
  dependencies: []
15
-
16
- description: Deploy your iPhone and Android apps to clients with ease. It's like Capistrano, only for mobile apps.
17
- email:
14
+ description: Deploy your iPhone and Android apps to clients with ease. It's like Capistrano,
15
+ only for mobile apps.
16
+ email:
18
17
  - tomislav@infinum.hr
19
- executables:
18
+ executables:
20
19
  - combat
21
20
  extensions: []
22
-
23
- extra_rdoc_files:
21
+ extra_rdoc_files:
24
22
  - Readme.md
25
23
  - LICENSE
26
- files:
24
+ files:
27
25
  - Readme.md
28
26
  - LICENSE
29
27
  - Gemfile
@@ -35,33 +33,31 @@ files:
35
33
  - templates/template.erb
36
34
  homepage: http://github.com/infinum/combat
37
35
  licenses: []
38
-
39
36
  post_install_message:
40
- rdoc_options:
37
+ rdoc_options:
41
38
  - --main
42
39
  - Readme.md
43
40
  - --inline-source
44
41
  - --charset=UTF-8
45
- require_paths:
42
+ require_paths:
46
43
  - lib
47
- required_ruby_version: !ruby/object:Gem::Requirement
44
+ required_ruby_version: !ruby/object:Gem::Requirement
48
45
  none: false
49
- requirements:
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: "0"
53
- required_rubygems_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ! '>='
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
51
  none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
59
56
  requirements: []
60
-
61
57
  rubyforge_project:
62
- rubygems_version: 1.8.6
58
+ rubygems_version: 1.8.10
63
59
  signing_key:
64
60
  specification_version: 3
65
- summary: Deploy your iPhone and Android apps to clients with ease. It's like Capistrano, only for mobile apps.
61
+ summary: Deploy your iPhone and Android apps to clients with ease. It's like Capistrano,
62
+ only for mobile apps.
66
63
  test_files: []
67
-