fastlane 1.40.0 → 1.41.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/lib/fastlane/actions/jazzy.rb +40 -0
- data/lib/fastlane/actions/mailgun.rb +5 -5
- data/lib/fastlane/actions/swiftlint.rb +40 -0
- data/lib/fastlane/version.rb +1 -1
- metadata +4 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53c442bd9ec8b5cbdf33ebea9a13b3e8246998f0
|
4
|
+
data.tar.gz: fb4efa569315d7552e28c77b4406ed8dd2a91e6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a15b443567c1887ebd3110342fa7e6e153584c5b16cfe462591623d1ea9c56c66d817d8be6bce9f9c21fea4d7b18965df20c05f86abd812608716f68f280af9
|
7
|
+
data.tar.gz: 7cf30ba310ef9567217a3c347aa0e9ec79dfb577b8d9c29064bad0c2f6aec10e6d00c5aa01d606b53316429793d5e079bb338f6ae203d61371db256a31aed3eb
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class JazzyAction < Action
|
4
|
+
def self.run(params)
|
5
|
+
Actions.verify_gem!('jazzy')
|
6
|
+
Actions.sh("jazzy")
|
7
|
+
end
|
8
|
+
|
9
|
+
#####################################################
|
10
|
+
# @!group Documentation
|
11
|
+
#####################################################
|
12
|
+
|
13
|
+
def self.description
|
14
|
+
"Generate docs using Jazzy"
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.details
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.available_options
|
21
|
+
[
|
22
|
+
]
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.output
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.return_value
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.authors
|
32
|
+
["KrauseFx"]
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.is_supported?(platform)
|
36
|
+
[:ios, :mac].include?(platform)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -9,7 +9,7 @@ module Fastlane
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def self.run(options)
|
12
|
-
|
12
|
+
Actions.verify_gem!('rest-client')
|
13
13
|
handle_params_transition(options)
|
14
14
|
mailgunit(options)
|
15
15
|
end
|
@@ -80,10 +80,10 @@ module Fastlane
|
|
80
80
|
|
81
81
|
def self.handle_params_transition(options)
|
82
82
|
options[:postmaster] = options[:mailgun_sandbox_postmaster] if options[:mailgun_sandbox_postmaster]
|
83
|
-
puts "\nUsing :mailgun_sandbox_postmaster is deprecated, please change to :postmaster".yellow
|
83
|
+
puts "\nUsing :mailgun_sandbox_postmaster is deprecated, please change to :postmaster".yellow if options[:mailgun_sandbox_postmaster]
|
84
84
|
|
85
85
|
options[:apikey] = options[:mailgun_apikey] if options[:mailgun_apikey]
|
86
|
-
puts "\nUsing :mailgun_apikey is deprecated, please change to :apikey".yellow
|
86
|
+
puts "\nUsing :mailgun_apikey is deprecated, please change to :apikey".yellow if options[:mailgun_apikey]
|
87
87
|
end
|
88
88
|
|
89
89
|
def self.mailgunit(options)
|
@@ -103,8 +103,8 @@ module Fastlane
|
|
103
103
|
message: options[:message],
|
104
104
|
app_link: options[:app_link]
|
105
105
|
}
|
106
|
-
hash[:success] = options[:success]
|
107
|
-
hash[:ci_build_link] = options[:
|
106
|
+
hash[:success] = options[:success]
|
107
|
+
hash[:ci_build_link] = options[:ci_build_link]
|
108
108
|
Fastlane::ErbTemplateHelper.render(
|
109
109
|
Fastlane::ErbTemplateHelper.load("mailgun_html_template"),
|
110
110
|
hash
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class SwiftlintAction < Action
|
4
|
+
def self.run(params)
|
5
|
+
raise "You have to install swiftlint using `brew install swiftlint`".red if `which swiftlint`.to_s.length == 0
|
6
|
+
Actions.sh("swiftlint")
|
7
|
+
end
|
8
|
+
|
9
|
+
#####################################################
|
10
|
+
# @!group Documentation
|
11
|
+
#####################################################
|
12
|
+
|
13
|
+
def self.description
|
14
|
+
"Run swift code validation using SwiftLint"
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.details
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.available_options
|
21
|
+
[
|
22
|
+
]
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.output
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.return_value
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.authors
|
32
|
+
["KrauseFx"]
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.is_supported?(platform)
|
36
|
+
[:ios, :mac].include?(platform)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
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: 1.
|
4
|
+
version: 1.41.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-11-
|
11
|
+
date: 2015-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: krausefx-shenzhen
|
@@ -100,34 +100,6 @@ dependencies:
|
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: 1.4.5
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: pbxplorer
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: 1.0.0
|
110
|
-
type: :runtime
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - "~>"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: 1.0.0
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rest-client
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: 1.8.0
|
124
|
-
type: :runtime
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: 1.8.0
|
131
103
|
- !ruby/object:Gem::Dependency
|
132
104
|
name: plist
|
133
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -645,6 +617,7 @@ files:
|
|
645
617
|
- lib/fastlane/actions/install_xcode_plugin.rb
|
646
618
|
- lib/fastlane/actions/ipa.rb
|
647
619
|
- lib/fastlane/actions/is_ci.rb
|
620
|
+
- lib/fastlane/actions/jazzy.rb
|
648
621
|
- lib/fastlane/actions/lane_context.rb
|
649
622
|
- lib/fastlane/actions/last_git_tag.rb
|
650
623
|
- lib/fastlane/actions/lcov.rb
|
@@ -681,6 +654,7 @@ files:
|
|
681
654
|
- lib/fastlane/actions/snapshot.rb
|
682
655
|
- lib/fastlane/actions/splunkmint.rb
|
683
656
|
- lib/fastlane/actions/supply.rb
|
657
|
+
- lib/fastlane/actions/swiftlint.rb
|
684
658
|
- lib/fastlane/actions/team_id.rb
|
685
659
|
- lib/fastlane/actions/team_name.rb
|
686
660
|
- lib/fastlane/actions/testflight.rb
|