troops 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/troops/configuration.rb +49 -49
- metadata +111 -74
data/Rakefile
CHANGED
data/lib/troops/configuration.rb
CHANGED
@@ -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
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
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
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
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
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
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
|
-
|
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
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
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
|
-
|
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
|
-
|
35
|
-
|
36
|
-
|
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
|
-
|
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
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
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
|
-
|
77
|
+
name: bundler
|
56
78
|
prerelease: false
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
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
|
-
|
93
|
+
name: jeweler
|
67
94
|
prerelease: false
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
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
|
-
|
77
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
111
|
-
segments:
|
139
|
+
requirements:
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
hash: 3
|
143
|
+
segments:
|
112
144
|
- 0
|
113
|
-
|
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
|
-
|
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.
|
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
|
+
|