fastlane 0.9.0 → 0.10.0
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.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/assets/FastfileTemplate +1 -0
- data/lib/fastlane/actions/increment_version_number.rb +3 -3
- data/lib/fastlane/actions/pem.rb +60 -0
- data/lib/fastlane/docs_generator.rb +13 -2
- data/lib/fastlane/version.rb +1 -1
- metadata +8 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d46e552444f395539b40e3b201837134fde1ac5
|
4
|
+
data.tar.gz: 14a55931aaca6b1150256edbee47dba17d7af856
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c37d42dac1b8b79e94fa299074fc57330a83eb251c750af26cb078cc3af7e5fcc8a7ae39c26cbb9e61b325f99db6d0630ff1d0dd7c8850fbdb177cbc8e84abba
|
7
|
+
data.tar.gz: d2e610df45533d281f3852528cf709314e45a7373593458e4244d1e289e867a31f9d798ab613b43a614b7b036c3c7364f284392a0e13f7f4395d24d47abc832d
|
data/README.md
CHANGED
@@ -125,7 +125,7 @@ Usually you'll use fastlane by triggering individual lanes:
|
|
125
125
|
- `fastlane lanes`: Lists all available lanes
|
126
126
|
- `fastlane docs`: Generates a markdown based documentation of all your lanes
|
127
127
|
- `fastlane actions`: List all available `fastlane` actions
|
128
|
-
- `fastlane action [action_name]`: Shows a more detailed description of an action
|
128
|
+
- `fastlane action [action_name]`: Shows a more detailed description of an action
|
129
129
|
- `fastlane new_action`: Create a new action (integration) for fastlane
|
130
130
|
|
131
131
|
## [`fastlane`](https://fastlane.tools) Toolchain
|
@@ -151,6 +151,8 @@ A detailed description about how ```fastlane``` stores your credentials is avail
|
|
151
151
|
## Special Thanks
|
152
152
|
|
153
153
|
Thanks to all contributors for extending and improving the `fastlane` suite:
|
154
|
+
|
155
|
+
- [Product Hunt](http://producthunt.com)
|
154
156
|
- [Detroit Labs](http://www.detroitlabs.com/)
|
155
157
|
- Josh Holtz ([@joshdholtz](https://twitter.com/joshdholtz))
|
156
158
|
- Ash Furrow ([@ashfurrow](https://twitter.com/ashfurrow))
|
data/lib/assets/FastfileTemplate
CHANGED
@@ -49,8 +49,8 @@ module Fastlane
|
|
49
49
|
if Helper.test?
|
50
50
|
version_array = [1,0,0]
|
51
51
|
else
|
52
|
-
current_version= `#{command_prefix} agvtool what-marketing-version -terse1`.split("\n").last
|
53
|
-
raise 'Your current version does not respect the format A.B.C' unless current_version.match(/\d.\d.\d/)
|
52
|
+
current_version = `#{command_prefix} agvtool what-marketing-version -terse1`.split("\n").last
|
53
|
+
raise 'Your current version (#{current_version}) does not respect the format A.B.C' unless current_version.match(/\d.\d.\d/)
|
54
54
|
#Check if CFBundleShortVersionString is the same for each occurrence
|
55
55
|
allBundles = `#{command_prefix} agvtool what-marketing-version -terse`.split("\n")
|
56
56
|
allBundles.each do |bundle|
|
@@ -124,4 +124,4 @@ module Fastlane
|
|
124
124
|
end
|
125
125
|
end
|
126
126
|
end
|
127
|
-
end
|
127
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
module SharedValues
|
4
|
+
|
5
|
+
end
|
6
|
+
|
7
|
+
class PemAction < Action
|
8
|
+
def self.run(params)
|
9
|
+
require 'pem'
|
10
|
+
require 'pem/options'
|
11
|
+
require 'pem/manager'
|
12
|
+
|
13
|
+
values = params.first
|
14
|
+
|
15
|
+
begin
|
16
|
+
FastlaneCore::UpdateChecker.start_looking_for_update('pem')
|
17
|
+
|
18
|
+
success_block = values[:new_profile]
|
19
|
+
values.delete(:new_profile) # as it's not in the configs
|
20
|
+
|
21
|
+
PEM.config = FastlaneCore::Configuration.create(PEM::Options.available_options, (values || {}))
|
22
|
+
profile_path = PEM::Manager.start
|
23
|
+
|
24
|
+
if profile_path
|
25
|
+
success_block.call(File.expand_path(profile_path))
|
26
|
+
end
|
27
|
+
ensure
|
28
|
+
FastlaneCore::UpdateChecker.show_update_status('pem', PEM::VERSION)
|
29
|
+
end
|
30
|
+
rescue => ex
|
31
|
+
require 'pry'
|
32
|
+
binding.pry
|
33
|
+
puts ex
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.description
|
37
|
+
"Makes sure a valid push profile is active and creates a new one if needed"
|
38
|
+
end
|
39
|
+
|
40
|
+
def self.details
|
41
|
+
[
|
42
|
+
"Additionally to the available options, you can also specify a block that only gets executed if a new",
|
43
|
+
"profile was created. You can use it to upload the new profile to your server.",
|
44
|
+
"Use it like this: ",
|
45
|
+
"pem(",
|
46
|
+
" new_profile: Proc.new do ",
|
47
|
+
" # your upload code",
|
48
|
+
" end",
|
49
|
+
")"
|
50
|
+
].join("\n")
|
51
|
+
end
|
52
|
+
|
53
|
+
def self.available_options
|
54
|
+
require 'pem'
|
55
|
+
require 'pem/options'
|
56
|
+
PEM::Options.available_options
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -1,8 +1,15 @@
|
|
1
1
|
module Fastlane
|
2
2
|
class DocsGenerator
|
3
3
|
def self.run(output_path, ff)
|
4
|
-
output = "fastlane
|
4
|
+
output = "fastlane documentation\n"
|
5
5
|
output += "================\n"
|
6
|
+
|
7
|
+
output += "# Installation\n"
|
8
|
+
output += "```\n"
|
9
|
+
output += "sudo gem install fastlane\n"
|
10
|
+
output += "```\n\n"
|
11
|
+
|
12
|
+
output += "# Available Actions\n"
|
6
13
|
|
7
14
|
ff.runner.description_blocks.each do |lane, description|
|
8
15
|
output += "## #{lane}\n\n"
|
@@ -11,7 +18,11 @@ module Fastlane
|
|
11
18
|
output += "```\n\n"
|
12
19
|
output += description + "\n"
|
13
20
|
end
|
14
|
-
|
21
|
+
|
22
|
+
output += "\n\n----\n"
|
23
|
+
output += "More information about fastlane can be found on [https://fastlane.tools](https://fastlane.tools).\n\n"
|
24
|
+
output += "The documentation of fastlane can be found on [GitHub](https://github.com/KrauseFx/fastlane)"
|
25
|
+
|
15
26
|
File.write(output_path, output)
|
16
27
|
Helper.log.info "Successfully generated documentation to path '#{File.expand_path(output_path)}'".green
|
17
28
|
end
|
data/lib/fastlane/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -100,20 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.3.
|
104
|
-
- - '>='
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: 1.3.1
|
103
|
+
version: 1.3.3
|
107
104
|
type: :runtime
|
108
105
|
prerelease: false
|
109
106
|
version_requirements: !ruby/object:Gem::Requirement
|
110
107
|
requirements:
|
111
108
|
- - '>='
|
112
109
|
- !ruby/object:Gem::Version
|
113
|
-
version: 1.3.
|
114
|
-
- - '>='
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: 1.3.1
|
110
|
+
version: 1.3.3
|
117
111
|
- !ruby/object:Gem::Dependency
|
118
112
|
name: terminal-notifier
|
119
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,14 +198,14 @@ dependencies:
|
|
204
198
|
requirements:
|
205
199
|
- - '>='
|
206
200
|
- !ruby/object:Gem::Version
|
207
|
-
version: 0.
|
201
|
+
version: 0.5.2
|
208
202
|
type: :runtime
|
209
203
|
prerelease: false
|
210
204
|
version_requirements: !ruby/object:Gem::Requirement
|
211
205
|
requirements:
|
212
206
|
- - '>='
|
213
207
|
- !ruby/object:Gem::Version
|
214
|
-
version: 0.
|
208
|
+
version: 0.5.2
|
215
209
|
- !ruby/object:Gem::Dependency
|
216
210
|
name: sigh
|
217
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -339,7 +333,7 @@ dependencies:
|
|
339
333
|
- !ruby/object:Gem::Version
|
340
334
|
version: 1.19.0
|
341
335
|
- !ruby/object:Gem::Dependency
|
342
|
-
name:
|
336
|
+
name: coveralls
|
343
337
|
requirement: !ruby/object:Gem::Requirement
|
344
338
|
requirements:
|
345
339
|
- - '>='
|
@@ -407,6 +401,7 @@ files:
|
|
407
401
|
- lib/fastlane/actions/ipa.rb
|
408
402
|
- lib/fastlane/actions/notify.rb
|
409
403
|
- lib/fastlane/actions/opt_out_usage.rb
|
404
|
+
- lib/fastlane/actions/pem.rb
|
410
405
|
- lib/fastlane/actions/produce.rb
|
411
406
|
- lib/fastlane/actions/push_to_git_remote.rb
|
412
407
|
- lib/fastlane/actions/register_devices.rb
|