troops 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/troops/configuration.rb +49 -49
  3. metadata +111 -74
data/Rakefile CHANGED
@@ -31,7 +31,7 @@ Jeweler::Tasks.new do |gem|
31
31
  "lib/troops.rb",
32
32
  "lib/troops/configuration.rb",
33
33
  ]
34
- gem.version = "0.2.0"
34
+ gem.version = "0.2.1"
35
35
  gem.extra_rdoc_files = [
36
36
  "README.md",
37
37
  "LICENSE"
@@ -17,57 +17,57 @@ module Troops
17
17
  def config(environment)
18
18
  config_hash = yamlize
19
19
  if config_hash["team_token"].nil?
20
- puts ""
21
- puts "======================================================================================="
22
- puts "================================== TROOPS ============================================="
23
- puts "======================================================================================="
24
- puts "=== You have to set your TestFlight 'team_token' in your ~/.troops file. ==="
25
- puts "=== Here is an example on how the .troop file should look: ==="
26
- puts "=== ==="
27
- puts "=== team_token: 'thisisyourawesometeamtoken' ==="
28
- puts "=== ==="
29
- puts "=== You can find your Team Token on your Team Info page on http://testflightapp.com ==="
30
- puts "======================================================================================="
31
- puts "======================================================================================="
32
- puts ""
20
+ warn ""
21
+ warn "======================================================================================="
22
+ warn "================================== TROOPS ============================================="
23
+ warn "======================================================================================="
24
+ warn "=== You have to set your TestFlight 'team_token' in your ~/.troops file. ==="
25
+ warn "=== Here is an example on how the .troop file should look: ==="
26
+ warn "=== ==="
27
+ warn "=== team_token: 'thisisyourawesometeamtoken' ==="
28
+ warn "=== ==="
29
+ warn "=== You can find your Team Token on your Team Info page on http://testflightapp.com ==="
30
+ warn "======================================================================================="
31
+ warn "======================================================================================="
32
+ warn ""
33
33
  elsif config_hash["api_token"].nil?
34
- puts ""
35
- puts "============================================================================================="
36
- puts "================================== TROOPS ==================================================="
37
- puts "============================================================================================="
38
- puts "=== You have to set your TestFlight 'api_token' in your .troops file inside this project. ==="
39
- puts "=== Here is an example on how the .troops file should look: ==="
40
- puts "=== ==="
41
- puts "=== api_token: 'thisisyourawesomeapitoken' ==="
42
- puts "=== production: ==="
43
- puts "=== configuration: 'Release' ==="
44
- puts "=== target: 'The Release iOS App Name' ==="
45
- puts "=== staging: ==="
46
- puts "=== configuration: 'Ad Hoc' ==="
47
- puts "=== target: 'The Ad Hoc iOS App Name' ==="
48
- puts "=== ==="
49
- puts "=== You can find your Team Token on Your Account page on http://testflightapp.com ==="
50
- puts "============================================================================================="
51
- puts "============================================================================================="
52
- puts ""
34
+ warn ""
35
+ warn "============================================================================================="
36
+ warn "================================== TROOPS ==================================================="
37
+ warn "============================================================================================="
38
+ warn "=== You have to set your TestFlight 'api_token' in your .troops file inside this project. ==="
39
+ warn "=== Here is an example on how the .troops file should look: ==="
40
+ warn "=== ==="
41
+ warn "=== api_token: 'thisisyourawesomeapitoken' ==="
42
+ warn "=== production: ==="
43
+ warn "=== configuration: 'Release' ==="
44
+ warn "=== target: 'The Release iOS App Name' ==="
45
+ warn "=== staging: ==="
46
+ warn "=== configuration: 'Ad Hoc' ==="
47
+ warn "=== target: 'The Ad Hoc iOS App Name' ==="
48
+ warn "=== ==="
49
+ warn "=== You can find your Team Token on Your Account page on http://testflightapp.com ==="
50
+ warn "============================================================================================="
51
+ warn "============================================================================================="
52
+ warn ""
53
53
  elsif config_hash[environment].nil?
54
- puts ""
55
- puts "============================================================================================="
56
- puts "================================== TROOPS ==================================================="
57
- puts "============================================================================================="
58
- puts "=== You have to set your environment variable in your .troops file. ==="
59
- puts "=== Here is an example on how the .troops file should look: ==="
60
- puts "=== ==="
61
- puts "=== api_token: 'thisisyourawesomeapitoken' ==="
62
- puts "=== production: ==="
63
- puts "=== configuration: 'Release' ==="
64
- puts "=== target: 'The Release iOS App Name' ==="
65
- puts "=== staging: ==="
66
- puts "=== configuration: 'Ad Hoc' ==="
67
- puts "=== target: 'The Ad Hoc iOS App Name' ==="
68
- puts "============================================================================================="
69
- puts "============================================================================================="
70
- puts ""
54
+ warn ""
55
+ warn "============================================================================================="
56
+ warn "================================== TROOPS ==================================================="
57
+ warn "============================================================================================="
58
+ warn "=== You have to set your environment variable in your .troops file. ==="
59
+ warn "=== Here is an example on how the .troops file should look: ==="
60
+ warn "=== ==="
61
+ warn "=== api_token: 'thisisyourawesomeapitoken' ==="
62
+ warn "=== production: ==="
63
+ warn "=== configuration: 'Release' ==="
64
+ warn "=== target: 'The Release iOS App Name' ==="
65
+ warn "=== staging: ==="
66
+ warn "=== configuration: 'Ad Hoc' ==="
67
+ warn "=== target: 'The Ad Hoc iOS App Name' ==="
68
+ warn "============================================================================================="
69
+ warn "============================================================================================="
70
+ warn ""
71
71
  else
72
72
  config_hash
73
73
  end
metadata CHANGED
@@ -1,91 +1,123 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: troops
3
- version: !ruby/object:Gem::Version
4
- version: 0.2.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 21
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 1
10
+ version: 0.2.1
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Jelle Vandebeeck
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-12-17 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: betabuilder
16
- requirement: &70227761277980 !ruby/object:Gem::Requirement
17
+
18
+ date: 2011-12-29 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
17
22
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ hash: 113
27
+ segments:
28
+ - 0
29
+ - 4
30
+ - 7
31
+ - 1
21
32
  version: 0.4.7.1
22
- type: :runtime
33
+ name: betabuilder
23
34
  prerelease: false
24
- version_requirements: *70227761277980
25
- - !ruby/object:Gem::Dependency
26
- name: thor
27
- requirement: &70227761275940 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
33
35
  type: :runtime
34
- prerelease: false
35
- version_requirements: *70227761275940
36
- - !ruby/object:Gem::Dependency
37
- name: rake
38
- requirement: &70227761255900 !ruby/object:Gem::Requirement
36
+ requirement: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ version_requirements: &id002 !ruby/object:Gem::Requirement
39
39
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
47
+ name: thor
48
+ prerelease: false
44
49
  type: :runtime
50
+ requirement: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ version_requirements: &id003 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ name: rake
45
62
  prerelease: false
46
- version_requirements: *70227761255900
47
- - !ruby/object:Gem::Dependency
48
- name: bundler
49
- requirement: &70227761245420 !ruby/object:Gem::Requirement
63
+ type: :runtime
64
+ requirement: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ version_requirements: &id004 !ruby/object:Gem::Requirement
50
67
  none: false
51
- requirements:
68
+ requirements:
52
69
  - - ~>
53
- - !ruby/object:Gem::Version
70
+ - !ruby/object:Gem::Version
71
+ hash: 23
72
+ segments:
73
+ - 1
74
+ - 0
75
+ - 0
54
76
  version: 1.0.0
55
- type: :development
77
+ name: bundler
56
78
  prerelease: false
57
- version_requirements: *70227761245420
58
- - !ruby/object:Gem::Dependency
59
- name: jeweler
60
- requirement: &70227761214800 !ruby/object:Gem::Requirement
79
+ type: :development
80
+ requirement: *id004
81
+ - !ruby/object:Gem::Dependency
82
+ version_requirements: &id005 !ruby/object:Gem::Requirement
61
83
  none: false
62
- requirements:
84
+ requirements:
63
85
  - - ~>
64
- - !ruby/object:Gem::Version
86
+ - !ruby/object:Gem::Version
87
+ hash: 7
88
+ segments:
89
+ - 1
90
+ - 6
91
+ - 4
65
92
  version: 1.6.4
66
- type: :development
93
+ name: jeweler
67
94
  prerelease: false
68
- version_requirements: *70227761214800
69
- - !ruby/object:Gem::Dependency
70
- name: betabuilder
71
- requirement: &70227761206420 !ruby/object:Gem::Requirement
95
+ type: :development
96
+ requirement: *id005
97
+ - !ruby/object:Gem::Dependency
98
+ version_requirements: &id006 !ruby/object:Gem::Requirement
72
99
  none: false
73
- requirements:
74
- - - ! '>='
75
- - !ruby/object:Gem::Version
76
- version: '0'
77
- type: :runtime
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ hash: 3
104
+ segments:
105
+ - 0
106
+ version: "0"
107
+ name: betabuilder
78
108
  prerelease: false
79
- version_requirements: *70227761206420
109
+ type: :runtime
110
+ requirement: *id006
80
111
  description: Deploy iOS apps with betabuilder
81
112
  email: jelle@fousa.be
82
- executables:
113
+ executables:
83
114
  - troops
84
115
  extensions: []
85
- extra_rdoc_files:
116
+
117
+ extra_rdoc_files:
86
118
  - LICENSE
87
119
  - README.md
88
- files:
120
+ files:
89
121
  - Gemfile
90
122
  - Rakefile
91
123
  - bin/troops
@@ -94,33 +126,38 @@ files:
94
126
  - LICENSE
95
127
  - README.md
96
128
  homepage: http://github.com/fousa/troops
97
- licenses:
129
+ licenses:
98
130
  - MIT
99
131
  post_install_message:
100
- rdoc_options:
132
+ rdoc_options:
101
133
  - --main
102
134
  - README.md
103
- require_paths:
135
+ require_paths:
104
136
  - lib
105
- required_ruby_version: !ruby/object:Gem::Requirement
137
+ required_ruby_version: !ruby/object:Gem::Requirement
106
138
  none: false
107
- requirements:
108
- - - ! '>='
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- segments:
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ hash: 3
143
+ segments:
112
144
  - 0
113
- hash: 913480742456072202
114
- required_rubygems_version: !ruby/object:Gem::Requirement
145
+ version: "0"
146
+ required_rubygems_version: !ruby/object:Gem::Requirement
115
147
  none: false
116
- requirements:
117
- - - ! '>='
118
- - !ruby/object:Gem::Version
119
- version: '0'
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ hash: 3
152
+ segments:
153
+ - 0
154
+ version: "0"
120
155
  requirements: []
156
+
121
157
  rubyforge_project:
122
- rubygems_version: 1.8.10
158
+ rubygems_version: 1.8.11
123
159
  signing_key:
124
160
  specification_version: 3
125
161
  summary: Deploy your iOS apps to TestFlight with betabuilder
126
162
  test_files: []
163
+