testin 0.1.0 → 0.1.1
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/.idea/testin.iml +0 -64
- data/Gemfile.lock +1 -148
- data/{fastlane-plugin-testintask → fastlane-plugin-testin}/.circleci/config.yml +0 -0
- data/{fastlane-plugin-testintask → fastlane-plugin-testin}/.gitignore +0 -0
- data/{fastlane-plugin-testintask → fastlane-plugin-testin}/.rspec +0 -0
- data/fastlane-plugin-testin/.rubocop.yml +161 -0
- data/{fastlane-plugin-testintask → fastlane-plugin-testin}/.travis.yml +0 -0
- data/{fastlane-plugin-testintask → fastlane-plugin-testin}/Gemfile +0 -0
- data/{fastlane-plugin-testintask → fastlane-plugin-testin}/LICENSE +0 -0
- data/{fastlane-plugin-testintask → fastlane-plugin-testin}/README.md +5 -5
- data/{fastlane-plugin-testintask → fastlane-plugin-testin}/Rakefile +0 -0
- data/fastlane-plugin-testin/fastlane/Fastfile +16 -0
- data/{fastlane-plugin-testintask → fastlane-plugin-testin}/fastlane/Pluginfile +0 -0
- data/{fastlane-plugin-testintask/fastlane-plugin-testintask.gemspec → fastlane-plugin-testin/fastlane-plugin-testin.gemspec} +4 -4
- data/fastlane-plugin-testin/lib/fastlane/plugin/testin/actions/testin_action.rb +100 -0
- data/{fastlane-plugin-testintask/lib/fastlane/plugin/testintask/helper/testintask_helper.rb → fastlane-plugin-testin/lib/fastlane/plugin/testin/helper/testin_helper.rb} +3 -3
- data/fastlane-plugin-testin/lib/fastlane/plugin/testin/version.rb +5 -0
- data/{fastlane-plugin-testintask/lib/fastlane/plugin/testintask.rb → fastlane-plugin-testin/lib/fastlane/plugin/testin.rb} +3 -3
- data/{fastlane-plugin-testintask → fastlane-plugin-testin}/spec/spec_helper.rb +1 -1
- data/{fastlane-plugin-testintask/spec/testintask_action_spec.rb → fastlane-plugin-testin/spec/testin_action_spec.rb} +3 -3
- data/lib/testin/version.rb +1 -1
- data/lib/testin.rb +2 -2
- metadata +20 -20
- data/fastlane-plugin-testintask/.rubocop.yml +0 -180
- data/fastlane-plugin-testintask/fastlane/Fastfile +0 -3
- data/fastlane-plugin-testintask/lib/fastlane/plugin/testintask/actions/testintask_action.rb +0 -67
- data/fastlane-plugin-testintask/lib/fastlane/plugin/testintask/version.rb +0 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 63ca81c7244105e4576464db6cd646eea25db5ea0a1182c2a09f2c16c7156245
|
|
4
|
+
data.tar.gz: 205f9afca0847f3ce715a7acfc35695d23075fef8a80283a68c35eccd9ec1af7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e40a3fa652008e18b7e3d5a37c79647aa089237e44f8c1f371e542245cd1f370b1a4b3287b0b0684aec53c107bb58534ee735bf5ab4d1b57ed9f6138a574e6b1
|
|
7
|
+
data.tar.gz: 0f546692165836353df57b6ecb7ca1cbda251b1da1be0275300f37d6fc7a5027729f33ea5f17aecb8d416f372ffc710b8cdbbc73f8745c45d01fa260bce611aa
|
data/.idea/testin.iml
CHANGED
|
@@ -7,77 +7,13 @@
|
|
|
7
7
|
<content url="file://$MODULE_DIR$" />
|
|
8
8
|
<orderEntry type="inheritedJdk" />
|
|
9
9
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
10
|
-
<orderEntry type="library" scope="PROVIDED" name="CFPropertyList (v3.0.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
11
|
-
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.5.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
12
|
-
<orderEntry type="library" scope="PROVIDED" name="atomos (v0.1.3, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
13
|
-
<orderEntry type="library" scope="PROVIDED" name="babosa (v1.0.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
14
10
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.17.1, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
15
|
-
<orderEntry type="library" scope="PROVIDED" name="claide (v1.0.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
16
|
-
<orderEntry type="library" scope="PROVIDED" name="colored (v1.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
17
|
-
<orderEntry type="library" scope="PROVIDED" name="colored2 (v3.1.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
18
|
-
<orderEntry type="library" scope="PROVIDED" name="commander-fastlane (v4.4.6, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
19
|
-
<orderEntry type="library" scope="PROVIDED" name="declarative (v0.0.10, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
20
|
-
<orderEntry type="library" scope="PROVIDED" name="declarative-option (v0.1.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
21
11
|
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
22
|
-
<orderEntry type="library" scope="PROVIDED" name="digest-crc (v0.4.1, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
23
|
-
<orderEntry type="library" scope="PROVIDED" name="domain_name (v0.5.20180417, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
24
|
-
<orderEntry type="library" scope="PROVIDED" name="dotenv (v2.5.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
25
|
-
<orderEntry type="library" scope="PROVIDED" name="emoji_regex (v0.1.1, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
26
|
-
<orderEntry type="library" scope="PROVIDED" name="excon (v0.62.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
27
|
-
<orderEntry type="library" scope="PROVIDED" name="faraday (v0.15.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
28
|
-
<orderEntry type="library" scope="PROVIDED" name="faraday-cookie_jar (v0.0.6, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
29
|
-
<orderEntry type="library" scope="PROVIDED" name="faraday_middleware (v0.12.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
30
|
-
<orderEntry type="library" scope="PROVIDED" name="fastimage (v2.1.3, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
31
|
-
<orderEntry type="library" scope="PROVIDED" name="fastlane (v2.122.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
32
|
-
<orderEntry type="library" scope="PROVIDED" name="gh_inspector (v1.1.3, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
33
|
-
<orderEntry type="library" scope="PROVIDED" name="google-api-client (v0.23.4, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
34
|
-
<orderEntry type="library" scope="PROVIDED" name="google-cloud-core (v1.2.7, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
35
|
-
<orderEntry type="library" scope="PROVIDED" name="google-cloud-env (v1.0.5, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
36
|
-
<orderEntry type="library" scope="PROVIDED" name="google-cloud-storage (v1.15.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
37
|
-
<orderEntry type="library" scope="PROVIDED" name="googleauth (v0.6.5, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
38
|
-
<orderEntry type="library" scope="PROVIDED" name="highline (v1.7.10, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
39
|
-
<orderEntry type="library" scope="PROVIDED" name="http-cookie (v1.0.3, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
40
|
-
<orderEntry type="library" scope="PROVIDED" name="httpclient (v2.8.3, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
41
|
-
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.3, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
42
|
-
<orderEntry type="library" scope="PROVIDED" name="jwt (v2.1.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
43
|
-
<orderEntry type="library" scope="PROVIDED" name="memoist (v0.16.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
44
|
-
<orderEntry type="library" scope="PROVIDED" name="mime-types (v3.2.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
45
|
-
<orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2018.0812, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
46
|
-
<orderEntry type="library" scope="PROVIDED" name="mini_magick (v4.5.1, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
47
|
-
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.13.1, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
48
|
-
<orderEntry type="library" scope="PROVIDED" name="multi_xml (v0.6.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
49
|
-
<orderEntry type="library" scope="PROVIDED" name="multipart-post (v2.0.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
50
|
-
<orderEntry type="library" scope="PROVIDED" name="nanaimo (v0.2.6, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
51
|
-
<orderEntry type="library" scope="PROVIDED" name="naturally (v2.2.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
52
|
-
<orderEntry type="library" scope="PROVIDED" name="os (v1.0.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
53
|
-
<orderEntry type="library" scope="PROVIDED" name="plist (v3.4.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
54
|
-
<orderEntry type="library" scope="PROVIDED" name="public_suffix (v2.0.5, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
55
12
|
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
56
|
-
<orderEntry type="library" scope="PROVIDED" name="representable (v3.0.4, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
57
|
-
<orderEntry type="library" scope="PROVIDED" name="retriable (v3.1.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
58
|
-
<orderEntry type="library" scope="PROVIDED" name="rouge (v2.0.7, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
59
13
|
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.8.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
60
14
|
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.8.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
61
15
|
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.8.3, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
62
16
|
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.8.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
63
17
|
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.8.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
64
|
-
<orderEntry type="library" scope="PROVIDED" name="rubyzip (v1.2.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
65
|
-
<orderEntry type="library" scope="PROVIDED" name="security (v0.1.3, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
66
|
-
<orderEntry type="library" scope="PROVIDED" name="signet (v0.9.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
67
|
-
<orderEntry type="library" scope="PROVIDED" name="simctl (v1.6.5, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
68
|
-
<orderEntry type="library" scope="PROVIDED" name="slack-notifier (v2.3.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
69
|
-
<orderEntry type="library" scope="PROVIDED" name="terminal-notifier (v2.0.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
70
|
-
<orderEntry type="library" scope="PROVIDED" name="terminal-table (v1.8.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
71
|
-
<orderEntry type="library" scope="PROVIDED" name="tty-cursor (v0.6.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
72
|
-
<orderEntry type="library" scope="PROVIDED" name="tty-screen (v0.6.5, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
73
|
-
<orderEntry type="library" scope="PROVIDED" name="tty-spinner (v0.8.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
74
|
-
<orderEntry type="library" scope="PROVIDED" name="uber (v0.1.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
75
|
-
<orderEntry type="library" scope="PROVIDED" name="unf (v0.1.4, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
76
|
-
<orderEntry type="library" scope="PROVIDED" name="unf_ext (v0.0.7.5, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
77
|
-
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v1.4.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
78
|
-
<orderEntry type="library" scope="PROVIDED" name="word_wrap (v1.0.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
79
|
-
<orderEntry type="library" scope="PROVIDED" name="xcodeproj (v1.9.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
80
|
-
<orderEntry type="library" scope="PROVIDED" name="xcpretty (v0.3.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
81
|
-
<orderEntry type="library" scope="PROVIDED" name="xcpretty-travis-formatter (v1.0.0, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
82
18
|
</component>
|
|
83
19
|
</module>
|
data/Gemfile.lock
CHANGED
|
@@ -1,125 +1,13 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
testin (0.1.
|
|
4
|
+
testin (0.1.1)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
CFPropertyList (3.0.0)
|
|
10
|
-
addressable (2.5.2)
|
|
11
|
-
public_suffix (>= 2.0.2, < 4.0)
|
|
12
|
-
atomos (0.1.3)
|
|
13
|
-
babosa (1.0.2)
|
|
14
|
-
claide (1.0.2)
|
|
15
|
-
colored (1.2)
|
|
16
|
-
colored2 (3.1.2)
|
|
17
|
-
commander-fastlane (4.4.6)
|
|
18
|
-
highline (~> 1.7.2)
|
|
19
|
-
declarative (0.0.10)
|
|
20
|
-
declarative-option (0.1.0)
|
|
21
9
|
diff-lcs (1.3)
|
|
22
|
-
digest-crc (0.4.1)
|
|
23
|
-
domain_name (0.5.20180417)
|
|
24
|
-
unf (>= 0.0.5, < 1.0.0)
|
|
25
|
-
dotenv (2.5.0)
|
|
26
|
-
emoji_regex (0.1.1)
|
|
27
|
-
excon (0.62.0)
|
|
28
|
-
faraday (0.15.2)
|
|
29
|
-
multipart-post (>= 1.2, < 3)
|
|
30
|
-
faraday-cookie_jar (0.0.6)
|
|
31
|
-
faraday (>= 0.7.4)
|
|
32
|
-
http-cookie (~> 1.0.0)
|
|
33
|
-
faraday_middleware (0.12.2)
|
|
34
|
-
faraday (>= 0.7.4, < 1.0)
|
|
35
|
-
fastimage (2.1.3)
|
|
36
|
-
fastlane (2.122.0)
|
|
37
|
-
CFPropertyList (>= 2.3, < 4.0.0)
|
|
38
|
-
addressable (>= 2.3, < 3.0.0)
|
|
39
|
-
babosa (>= 1.0.2, < 2.0.0)
|
|
40
|
-
bundler (>= 1.12.0, < 3.0.0)
|
|
41
|
-
colored
|
|
42
|
-
commander-fastlane (>= 4.4.6, < 5.0.0)
|
|
43
|
-
dotenv (>= 2.1.1, < 3.0.0)
|
|
44
|
-
emoji_regex (>= 0.1, < 2.0)
|
|
45
|
-
excon (>= 0.45.0, < 1.0.0)
|
|
46
|
-
faraday (~> 0.9)
|
|
47
|
-
faraday-cookie_jar (~> 0.0.6)
|
|
48
|
-
faraday_middleware (~> 0.9)
|
|
49
|
-
fastimage (>= 2.1.0, < 3.0.0)
|
|
50
|
-
gh_inspector (>= 1.1.2, < 2.0.0)
|
|
51
|
-
google-api-client (>= 0.21.2, < 0.24.0)
|
|
52
|
-
google-cloud-storage (>= 1.15.0, < 2.0.0)
|
|
53
|
-
highline (>= 1.7.2, < 2.0.0)
|
|
54
|
-
json (< 3.0.0)
|
|
55
|
-
mini_magick (~> 4.5.1)
|
|
56
|
-
multi_json
|
|
57
|
-
multi_xml (~> 0.5)
|
|
58
|
-
multipart-post (~> 2.0.0)
|
|
59
|
-
plist (>= 3.1.0, < 4.0.0)
|
|
60
|
-
public_suffix (~> 2.0.0)
|
|
61
|
-
rubyzip (>= 1.2.2, < 2.0.0)
|
|
62
|
-
security (= 0.1.3)
|
|
63
|
-
simctl (~> 1.6.3)
|
|
64
|
-
slack-notifier (>= 2.0.0, < 3.0.0)
|
|
65
|
-
terminal-notifier (>= 2.0.0, < 3.0.0)
|
|
66
|
-
terminal-table (>= 1.4.5, < 2.0.0)
|
|
67
|
-
tty-screen (>= 0.6.3, < 1.0.0)
|
|
68
|
-
tty-spinner (>= 0.8.0, < 1.0.0)
|
|
69
|
-
word_wrap (~> 1.0.0)
|
|
70
|
-
xcodeproj (>= 1.8.1, < 2.0.0)
|
|
71
|
-
xcpretty (~> 0.3.0)
|
|
72
|
-
xcpretty-travis-formatter (>= 0.0.3)
|
|
73
|
-
gh_inspector (1.1.3)
|
|
74
|
-
google-api-client (0.23.4)
|
|
75
|
-
addressable (~> 2.5, >= 2.5.1)
|
|
76
|
-
googleauth (>= 0.5, < 0.7.0)
|
|
77
|
-
httpclient (>= 2.8.1, < 3.0)
|
|
78
|
-
mime-types (~> 3.0)
|
|
79
|
-
representable (~> 3.0)
|
|
80
|
-
retriable (>= 2.0, < 4.0)
|
|
81
|
-
google-cloud-core (1.2.7)
|
|
82
|
-
google-cloud-env (~> 1.0)
|
|
83
|
-
google-cloud-env (1.0.5)
|
|
84
|
-
faraday (~> 0.11)
|
|
85
|
-
google-cloud-storage (1.15.0)
|
|
86
|
-
digest-crc (~> 0.4)
|
|
87
|
-
google-api-client (~> 0.23)
|
|
88
|
-
google-cloud-core (~> 1.2)
|
|
89
|
-
googleauth (~> 0.6.2)
|
|
90
|
-
googleauth (0.6.5)
|
|
91
|
-
faraday (~> 0.12)
|
|
92
|
-
jwt (>= 1.4, < 3.0)
|
|
93
|
-
memoist (~> 0.12)
|
|
94
|
-
multi_json (~> 1.11)
|
|
95
|
-
os (>= 0.9, < 2.0)
|
|
96
|
-
signet (~> 0.7)
|
|
97
|
-
highline (1.7.10)
|
|
98
|
-
http-cookie (1.0.3)
|
|
99
|
-
domain_name (~> 0.5)
|
|
100
|
-
httpclient (2.8.3)
|
|
101
|
-
json (1.8.3)
|
|
102
|
-
jwt (2.1.0)
|
|
103
|
-
memoist (0.16.0)
|
|
104
|
-
mime-types (3.2.2)
|
|
105
|
-
mime-types-data (~> 3.2015)
|
|
106
|
-
mime-types-data (3.2018.0812)
|
|
107
|
-
mini_magick (4.5.1)
|
|
108
|
-
multi_json (1.13.1)
|
|
109
|
-
multi_xml (0.6.0)
|
|
110
|
-
multipart-post (2.0.0)
|
|
111
|
-
nanaimo (0.2.6)
|
|
112
|
-
naturally (2.2.0)
|
|
113
|
-
os (1.0.0)
|
|
114
|
-
plist (3.4.0)
|
|
115
|
-
public_suffix (2.0.5)
|
|
116
10
|
rake (10.4.2)
|
|
117
|
-
representable (3.0.4)
|
|
118
|
-
declarative (< 0.1.0)
|
|
119
|
-
declarative-option (< 0.2.0)
|
|
120
|
-
uber (< 0.2.0)
|
|
121
|
-
retriable (3.1.2)
|
|
122
|
-
rouge (2.0.7)
|
|
123
11
|
rspec (3.8.0)
|
|
124
12
|
rspec-core (~> 3.8.0)
|
|
125
13
|
rspec-expectations (~> 3.8.0)
|
|
@@ -133,47 +21,12 @@ GEM
|
|
|
133
21
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
134
22
|
rspec-support (~> 3.8.0)
|
|
135
23
|
rspec-support (3.8.0)
|
|
136
|
-
rubyzip (1.2.2)
|
|
137
|
-
security (0.1.3)
|
|
138
|
-
signet (0.9.0)
|
|
139
|
-
addressable (~> 2.3)
|
|
140
|
-
faraday (~> 0.9)
|
|
141
|
-
jwt (>= 1.5, < 3.0)
|
|
142
|
-
multi_json (~> 1.10)
|
|
143
|
-
simctl (1.6.5)
|
|
144
|
-
CFPropertyList
|
|
145
|
-
naturally
|
|
146
|
-
slack-notifier (2.3.2)
|
|
147
|
-
terminal-notifier (2.0.0)
|
|
148
|
-
terminal-table (1.8.0)
|
|
149
|
-
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
150
|
-
tty-cursor (0.6.0)
|
|
151
|
-
tty-screen (0.6.5)
|
|
152
|
-
tty-spinner (0.8.0)
|
|
153
|
-
tty-cursor (>= 0.5.0)
|
|
154
|
-
uber (0.1.0)
|
|
155
|
-
unf (0.1.4)
|
|
156
|
-
unf_ext
|
|
157
|
-
unf_ext (0.0.7.5)
|
|
158
|
-
unicode-display_width (1.4.0)
|
|
159
|
-
word_wrap (1.0.0)
|
|
160
|
-
xcodeproj (1.9.0)
|
|
161
|
-
CFPropertyList (>= 2.3.3, < 4.0)
|
|
162
|
-
atomos (~> 0.1.3)
|
|
163
|
-
claide (>= 1.0.2, < 2.0)
|
|
164
|
-
colored2 (~> 3.1)
|
|
165
|
-
nanaimo (~> 0.2.6)
|
|
166
|
-
xcpretty (0.3.0)
|
|
167
|
-
rouge (~> 2.0.7)
|
|
168
|
-
xcpretty-travis-formatter (1.0.0)
|
|
169
|
-
xcpretty (~> 0.2, >= 0.0.7)
|
|
170
24
|
|
|
171
25
|
PLATFORMS
|
|
172
26
|
ruby
|
|
173
27
|
|
|
174
28
|
DEPENDENCIES
|
|
175
29
|
bundler (~> 1.17)
|
|
176
|
-
fastlane (>= 2.9.0)
|
|
177
30
|
rake (~> 10.0)
|
|
178
31
|
rspec (~> 3.0)
|
|
179
32
|
testin!
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# kind_of? is a good way to check a type
|
|
2
|
+
Style/ClassCheck:
|
|
3
|
+
EnforcedStyle: kind_of?
|
|
4
|
+
|
|
5
|
+
# It's better to be more explicit about the type
|
|
6
|
+
Style/BracesAroundHashParameters:
|
|
7
|
+
Enabled: false
|
|
8
|
+
|
|
9
|
+
# specs sometimes have useless assignments, which is fine
|
|
10
|
+
Lint/UselessAssignment:
|
|
11
|
+
Exclude:
|
|
12
|
+
- '**/spec/**/*'
|
|
13
|
+
|
|
14
|
+
# We could potentially enable the 2 below:
|
|
15
|
+
Style/IndentHash:
|
|
16
|
+
Enabled: false
|
|
17
|
+
|
|
18
|
+
Style/AlignHash:
|
|
19
|
+
Enabled: false
|
|
20
|
+
|
|
21
|
+
# HoundCI doesn't like this rule
|
|
22
|
+
Style/DotPosition:
|
|
23
|
+
Enabled: false
|
|
24
|
+
|
|
25
|
+
# We allow !! as it's an easy way to convert ot boolean
|
|
26
|
+
Style/DoubleNegation:
|
|
27
|
+
Enabled: false
|
|
28
|
+
|
|
29
|
+
# Sometimes we allow a rescue block that doesn't contain code
|
|
30
|
+
Lint/HandleExceptions:
|
|
31
|
+
Enabled: false
|
|
32
|
+
|
|
33
|
+
# Cop supports --auto-correct.
|
|
34
|
+
Lint/UnusedBlockArgument:
|
|
35
|
+
Enabled: false
|
|
36
|
+
|
|
37
|
+
# Needed for $verbose
|
|
38
|
+
Style/GlobalVars:
|
|
39
|
+
Enabled: false
|
|
40
|
+
|
|
41
|
+
# We want to allow class Fastlane::Class
|
|
42
|
+
Style/ClassAndModuleChildren:
|
|
43
|
+
Enabled: false
|
|
44
|
+
|
|
45
|
+
# $? Exit
|
|
46
|
+
Style/SpecialGlobalVars:
|
|
47
|
+
Enabled: false
|
|
48
|
+
|
|
49
|
+
Metrics/AbcSize:
|
|
50
|
+
Enabled: false
|
|
51
|
+
|
|
52
|
+
Metrics/MethodLength:
|
|
53
|
+
Enabled: false
|
|
54
|
+
|
|
55
|
+
Metrics/CyclomaticComplexity:
|
|
56
|
+
Enabled: false
|
|
57
|
+
|
|
58
|
+
# The %w might be confusing for new users
|
|
59
|
+
Style/WordArray:
|
|
60
|
+
MinSize: 19
|
|
61
|
+
|
|
62
|
+
# raise and fail are both okay
|
|
63
|
+
Style/SignalException:
|
|
64
|
+
Enabled: false
|
|
65
|
+
|
|
66
|
+
# Better too much 'return' than one missing
|
|
67
|
+
Style/RedundantReturn:
|
|
68
|
+
Enabled: false
|
|
69
|
+
|
|
70
|
+
# Having if in the same line might not always be good
|
|
71
|
+
Style/IfUnlessModifier:
|
|
72
|
+
Enabled: false
|
|
73
|
+
|
|
74
|
+
# and and or is okay
|
|
75
|
+
Style/AndOr:
|
|
76
|
+
Enabled: false
|
|
77
|
+
|
|
78
|
+
# Configuration parameters: CountComments.
|
|
79
|
+
Metrics/ClassLength:
|
|
80
|
+
Max: 320
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
# Configuration parameters: AllowURI, URISchemes.
|
|
84
|
+
Metrics/LineLength:
|
|
85
|
+
Max: 370
|
|
86
|
+
|
|
87
|
+
# Configuration parameters: CountKeywordArgs.
|
|
88
|
+
Metrics/ParameterLists:
|
|
89
|
+
Max: 17
|
|
90
|
+
|
|
91
|
+
Metrics/PerceivedComplexity:
|
|
92
|
+
Max: 18
|
|
93
|
+
|
|
94
|
+
# Sometimes it's easier to read without guards
|
|
95
|
+
Style/GuardClause:
|
|
96
|
+
Enabled: false
|
|
97
|
+
|
|
98
|
+
# We allow both " and '
|
|
99
|
+
Style/StringLiterals:
|
|
100
|
+
Enabled: false
|
|
101
|
+
|
|
102
|
+
# something = if something_else
|
|
103
|
+
# that's confusing
|
|
104
|
+
Style/ConditionalAssignment:
|
|
105
|
+
Enabled: false
|
|
106
|
+
|
|
107
|
+
# Better to have too much self than missing a self
|
|
108
|
+
Style/RedundantSelf:
|
|
109
|
+
Enabled: false
|
|
110
|
+
|
|
111
|
+
# e.g.
|
|
112
|
+
# def self.is_supported?(platform)
|
|
113
|
+
# we may never use `platform`
|
|
114
|
+
Lint/UnusedMethodArgument:
|
|
115
|
+
Enabled: false
|
|
116
|
+
|
|
117
|
+
# the let(:key) { ... }
|
|
118
|
+
Lint/ParenthesesAsGroupedExpression:
|
|
119
|
+
Exclude:
|
|
120
|
+
- '**/spec/**/*'
|
|
121
|
+
|
|
122
|
+
# This would reject is_ in front of methods
|
|
123
|
+
# We use `is_supported?` everywhere already
|
|
124
|
+
Style/PredicateName:
|
|
125
|
+
Enabled: false
|
|
126
|
+
|
|
127
|
+
# We allow the $
|
|
128
|
+
Style/PerlBackrefs:
|
|
129
|
+
Enabled: false
|
|
130
|
+
|
|
131
|
+
# Disable '+ should be surrounded with a single space' for xcodebuild_spec.rb
|
|
132
|
+
Style/SpaceAroundOperators:
|
|
133
|
+
Exclude:
|
|
134
|
+
- '**/spec/actions_specs/xcodebuild_spec.rb'
|
|
135
|
+
|
|
136
|
+
AllCops:
|
|
137
|
+
Include:
|
|
138
|
+
- '**/fastlane/Fastfile'
|
|
139
|
+
Exclude:
|
|
140
|
+
- '**/lib/assets/custom_action_template.rb'
|
|
141
|
+
- './vendor/**/*'
|
|
142
|
+
|
|
143
|
+
# We're not there yet
|
|
144
|
+
Style/Documentation:
|
|
145
|
+
Enabled: false
|
|
146
|
+
|
|
147
|
+
# Added after upgrade to 0.38.0
|
|
148
|
+
Style/MutableConstant:
|
|
149
|
+
Enabled: false
|
|
150
|
+
|
|
151
|
+
# length > 0 is good
|
|
152
|
+
Style/ZeroLengthPredicate:
|
|
153
|
+
Enabled: false
|
|
154
|
+
|
|
155
|
+
# Adds complexity
|
|
156
|
+
Style/IfInsideElse:
|
|
157
|
+
Enabled: false
|
|
158
|
+
|
|
159
|
+
# Sometimes we just want to 'collect'
|
|
160
|
+
Style/CollectionMethods:
|
|
161
|
+
Enabled: false
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
#
|
|
1
|
+
# testin plugin
|
|
2
2
|
|
|
3
|
-
[](https://rubygems.org/gems/fastlane-plugin-
|
|
3
|
+
[](https://rubygems.org/gems/fastlane-plugin-testin)
|
|
4
4
|
|
|
5
5
|
## Getting Started
|
|
6
6
|
|
|
7
|
-
This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-
|
|
7
|
+
This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-testin`, add it to your project by running:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
fastlane add_plugin
|
|
10
|
+
fastlane add_plugin testin
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
## About
|
|
13
|
+
## About testin
|
|
14
14
|
|
|
15
15
|
testin
|
|
16
16
|
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
lane :test do
|
|
2
|
+
p = {
|
|
3
|
+
:email => 'xxx@xx.com',
|
|
4
|
+
:pwd => 'xxxxxxxx',
|
|
5
|
+
:path => '/Users/xxx/Desktop/xxxx.ipa',
|
|
6
|
+
:devices => [
|
|
7
|
+
{
|
|
8
|
+
"deviceid":'xxxxxxxx'
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
:project_name => 'xxxxx',
|
|
12
|
+
:api_key => 'xxxxxx',
|
|
13
|
+
:app_version => '6.4.0'
|
|
14
|
+
}
|
|
15
|
+
testin(email:p[:email],pwd:p[:pwd],path:p[:path],devices:p[:devices],project_name:p[:project_name],api_key:p[:api_key],app_version:p[:app_version])
|
|
16
|
+
end
|
|
File without changes
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
lib = File.expand_path("../lib", __FILE__)
|
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
|
-
require 'fastlane/plugin/
|
|
5
|
+
require 'fastlane/plugin/testin/version'
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |spec|
|
|
8
|
-
spec.name = 'fastlane-plugin-
|
|
9
|
-
spec.version = Fastlane::
|
|
8
|
+
spec.name = 'fastlane-plugin-testin'
|
|
9
|
+
spec.version = Fastlane::Testin::VERSION
|
|
10
10
|
spec.author = 'rudy.li'
|
|
11
11
|
spec.email = 'rudy.li@connext.com.cn'
|
|
12
12
|
|
|
13
13
|
spec.summary = 'testin'
|
|
14
|
-
|
|
14
|
+
spec.homepage = "https://github.com/ss-lihao/testin/tree/master/fastlane-plugin-testin"
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
|
|
17
17
|
spec.files = Dir["lib/**/*"] + %w(README.md LICENSE)
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
require 'fastlane/action'
|
|
2
|
+
require_relative '../helper/testin_helper'
|
|
3
|
+
|
|
4
|
+
module Fastlane
|
|
5
|
+
module Actions
|
|
6
|
+
class TestinAction < Action
|
|
7
|
+
def self.run(params)
|
|
8
|
+
UI.message("The testin plugin is working!")
|
|
9
|
+
require 'testin'
|
|
10
|
+
begin
|
|
11
|
+
global_options = {
|
|
12
|
+
:email => params[:email],
|
|
13
|
+
:pwd => params[:pwd],
|
|
14
|
+
:path => params[:path],
|
|
15
|
+
:devices => params[:devices],
|
|
16
|
+
:project_name => params[:project_name],
|
|
17
|
+
:api_key => params[:api_key],
|
|
18
|
+
:app_version => params[:app_version]
|
|
19
|
+
}
|
|
20
|
+
result = ::Testin.set_task(global_options).create_task_for_normal
|
|
21
|
+
UI.message("Testin Plugin Successed: #{result}")
|
|
22
|
+
rescue StandardError => e
|
|
23
|
+
UI.user_error!("Testin Plugin Error: #{e.to_s}")
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def self.description
|
|
28
|
+
"testin"
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
def self.authors
|
|
32
|
+
["rudy.li"]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def self.return_value
|
|
36
|
+
# If your method provides a return value, you can describe here what it does
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def self.details
|
|
40
|
+
# Optional:
|
|
41
|
+
"testin plugin"
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def self.available_options
|
|
45
|
+
[
|
|
46
|
+
FastlaneCore::ConfigItem.new(key: :email,
|
|
47
|
+
env_name: "TESTIN_LOGIN_EMAIL",
|
|
48
|
+
description: "email in your testin account",
|
|
49
|
+
optional: false,
|
|
50
|
+
type: String),
|
|
51
|
+
FastlaneCore::ConfigItem.new(key: :pwd,
|
|
52
|
+
env_name: "TESTIN_LOGIN_PWD",
|
|
53
|
+
description: "pwd in your testin account",
|
|
54
|
+
optional: false,
|
|
55
|
+
type: String),
|
|
56
|
+
FastlaneCore::ConfigItem.new(key: :path,
|
|
57
|
+
env_name: "TESTIN_PATH",
|
|
58
|
+
description: "Path to your apk/ipa file",
|
|
59
|
+
default_value: Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH],
|
|
60
|
+
optional: false,
|
|
61
|
+
verify_block: proc do |value|
|
|
62
|
+
UI.user_error!("Couldn't find apk file at path '#{value}'") unless File.exist?(value)
|
|
63
|
+
end,
|
|
64
|
+
conflicting_options: [:ipa],
|
|
65
|
+
conflict_block: proc do |value|
|
|
66
|
+
UI.user_error!("You can't use 'apk' and '#{value.key}' options in one run")
|
|
67
|
+
end),
|
|
68
|
+
FastlaneCore::ConfigItem.new(key: :devices,
|
|
69
|
+
env_name: "TESTIN_DEVICES",
|
|
70
|
+
description: "Set up the device for script testing",
|
|
71
|
+
optional: false,
|
|
72
|
+
type: Array),
|
|
73
|
+
FastlaneCore::ConfigItem.new(key: :project_name,
|
|
74
|
+
env_name: "TESTIN_PROJECT_NAME",
|
|
75
|
+
description: "Set the testin project name for testing",
|
|
76
|
+
optional: false,
|
|
77
|
+
type: String),
|
|
78
|
+
FastlaneCore::ConfigItem.new(key: :api_key,
|
|
79
|
+
env_name: "TESTIN_API_KEY",
|
|
80
|
+
description: "Testin api key",
|
|
81
|
+
optional: false,
|
|
82
|
+
type: String),
|
|
83
|
+
FastlaneCore::ConfigItem.new(key: :app_version,
|
|
84
|
+
env_name: "TESTIN_API_KEY",
|
|
85
|
+
description: "Set up the version for script testing",
|
|
86
|
+
optional: false,
|
|
87
|
+
type: String)
|
|
88
|
+
]
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
def self.is_supported?(platform)
|
|
92
|
+
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
|
93
|
+
# See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
|
|
94
|
+
#
|
|
95
|
+
# [:ios, :mac, :android].include?(platform)
|
|
96
|
+
true
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
@@ -4,12 +4,12 @@ module Fastlane
|
|
|
4
4
|
UI = FastlaneCore::UI unless Fastlane.const_defined?("UI")
|
|
5
5
|
|
|
6
6
|
module Helper
|
|
7
|
-
class
|
|
7
|
+
class TestinHelper
|
|
8
8
|
# class methods that you define here become available in your action
|
|
9
|
-
# as `Helper::
|
|
9
|
+
# as `Helper::TestinHelper.your_method`
|
|
10
10
|
#
|
|
11
11
|
def self.show_message
|
|
12
|
-
UI.message("Hello from the
|
|
12
|
+
UI.message("Hello from the testin plugin helper!")
|
|
13
13
|
end
|
|
14
14
|
end
|
|
15
15
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
require 'fastlane/plugin/
|
|
1
|
+
require 'fastlane/plugin/testin/version'
|
|
2
2
|
|
|
3
3
|
module Fastlane
|
|
4
|
-
module
|
|
4
|
+
module Testin
|
|
5
5
|
# Return all .rb files inside the "actions" and "helper" directory
|
|
6
6
|
def self.all_classes
|
|
7
7
|
Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
|
|
@@ -11,6 +11,6 @@ end
|
|
|
11
11
|
|
|
12
12
|
# By default we want to import all available actions and helpers
|
|
13
13
|
# A plugin can contain any number of actions and plugins
|
|
14
|
-
Fastlane::
|
|
14
|
+
Fastlane::Testin.all_classes.each do |current|
|
|
15
15
|
require current
|
|
16
16
|
end
|
|
@@ -10,6 +10,6 @@ module SpecHelper
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
require 'fastlane' # to import the Action super class
|
|
13
|
-
require 'fastlane/plugin/
|
|
13
|
+
require 'fastlane/plugin/testin' # import the actual plugin
|
|
14
14
|
|
|
15
15
|
Fastlane.load_actions # load other actions (in case your plugin calls other actions or shared values)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
describe Fastlane::Actions::
|
|
1
|
+
describe Fastlane::Actions::TestinAction do
|
|
2
2
|
describe '#run' do
|
|
3
3
|
it 'prints a message' do
|
|
4
|
-
expect(Fastlane::UI).to receive(:message).with("The
|
|
4
|
+
expect(Fastlane::UI).to receive(:message).with("The testin plugin is working!")
|
|
5
5
|
|
|
6
|
-
Fastlane::Actions::
|
|
6
|
+
Fastlane::Actions::TestinAction.run(nil)
|
|
7
7
|
end
|
|
8
8
|
end
|
|
9
9
|
end
|
data/lib/testin/version.rb
CHANGED
data/lib/testin.rb
CHANGED
|
@@ -353,8 +353,8 @@ module Testin
|
|
|
353
353
|
def create_task_for_normal
|
|
354
354
|
upload_file_path = upload_file
|
|
355
355
|
all_scripts = Testin::TestinNetwork.all_scripts
|
|
356
|
-
raise '
|
|
357
|
-
puts("all
|
|
356
|
+
raise 'script is empty' if all_scripts == nil || all_scripts.length == 0
|
|
357
|
+
puts("all script length:#{all_scripts.length}")
|
|
358
358
|
task_param = {
|
|
359
359
|
"apikey": Testin::get_task.get_api_key,
|
|
360
360
|
"timestamp": Time.now.to_i * 1000,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: testin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- rudy.li
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-05-
|
|
11
|
+
date: 2019-05-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -72,24 +72,24 @@ files:
|
|
|
72
72
|
- Rakefile
|
|
73
73
|
- bin/console
|
|
74
74
|
- bin/setup
|
|
75
|
-
- fastlane-plugin-
|
|
76
|
-
- fastlane-plugin-
|
|
77
|
-
- fastlane-plugin-
|
|
78
|
-
- fastlane-plugin-
|
|
79
|
-
- fastlane-plugin-
|
|
80
|
-
- fastlane-plugin-
|
|
81
|
-
- fastlane-plugin-
|
|
82
|
-
- fastlane-plugin-
|
|
83
|
-
- fastlane-plugin-
|
|
84
|
-
- fastlane-plugin-
|
|
85
|
-
- fastlane-plugin-
|
|
86
|
-
- fastlane-plugin-
|
|
87
|
-
- fastlane-plugin-
|
|
88
|
-
- fastlane-plugin-
|
|
89
|
-
- fastlane-plugin-
|
|
90
|
-
- fastlane-plugin-
|
|
91
|
-
- fastlane-plugin-
|
|
92
|
-
- fastlane-plugin-
|
|
75
|
+
- fastlane-plugin-testin/.circleci/config.yml
|
|
76
|
+
- fastlane-plugin-testin/.gitignore
|
|
77
|
+
- fastlane-plugin-testin/.rspec
|
|
78
|
+
- fastlane-plugin-testin/.rubocop.yml
|
|
79
|
+
- fastlane-plugin-testin/.travis.yml
|
|
80
|
+
- fastlane-plugin-testin/Gemfile
|
|
81
|
+
- fastlane-plugin-testin/LICENSE
|
|
82
|
+
- fastlane-plugin-testin/README.md
|
|
83
|
+
- fastlane-plugin-testin/Rakefile
|
|
84
|
+
- fastlane-plugin-testin/fastlane-plugin-testin.gemspec
|
|
85
|
+
- fastlane-plugin-testin/fastlane/Fastfile
|
|
86
|
+
- fastlane-plugin-testin/fastlane/Pluginfile
|
|
87
|
+
- fastlane-plugin-testin/lib/fastlane/plugin/testin.rb
|
|
88
|
+
- fastlane-plugin-testin/lib/fastlane/plugin/testin/actions/testin_action.rb
|
|
89
|
+
- fastlane-plugin-testin/lib/fastlane/plugin/testin/helper/testin_helper.rb
|
|
90
|
+
- fastlane-plugin-testin/lib/fastlane/plugin/testin/version.rb
|
|
91
|
+
- fastlane-plugin-testin/spec/spec_helper.rb
|
|
92
|
+
- fastlane-plugin-testin/spec/testin_action_spec.rb
|
|
93
93
|
- lib/testin.rb
|
|
94
94
|
- lib/testin/version.rb
|
|
95
95
|
- testin.gemspec
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
Style/MultipleComparison:
|
|
3
|
-
Enabled: false
|
|
4
|
-
Style/PercentLiteralDelimiters:
|
|
5
|
-
Enabled: false
|
|
6
|
-
Style/ClassCheck:
|
|
7
|
-
EnforcedStyle: kind_of?
|
|
8
|
-
Style/FrozenStringLiteralComment:
|
|
9
|
-
Enabled: false
|
|
10
|
-
Style/SafeNavigation:
|
|
11
|
-
Enabled: false
|
|
12
|
-
Performance/RegexpMatch:
|
|
13
|
-
Enabled: false
|
|
14
|
-
Performance/StringReplacement:
|
|
15
|
-
Enabled: false
|
|
16
|
-
Style/NumericPredicate:
|
|
17
|
-
Enabled: false
|
|
18
|
-
Metrics/BlockLength:
|
|
19
|
-
Enabled: false
|
|
20
|
-
Metrics/ModuleLength:
|
|
21
|
-
Enabled: false
|
|
22
|
-
Style/VariableNumber:
|
|
23
|
-
Enabled: false
|
|
24
|
-
Style/MethodMissing:
|
|
25
|
-
Enabled: false
|
|
26
|
-
MultilineBlockChain:
|
|
27
|
-
Enabled: false
|
|
28
|
-
Style/NumericLiteralPrefix:
|
|
29
|
-
Enabled: false
|
|
30
|
-
Style/TernaryParentheses:
|
|
31
|
-
Enabled: false
|
|
32
|
-
Style/EmptyMethod:
|
|
33
|
-
Enabled: false
|
|
34
|
-
Style/BracesAroundHashParameters:
|
|
35
|
-
Enabled: false
|
|
36
|
-
Lint/UselessAssignment:
|
|
37
|
-
Exclude:
|
|
38
|
-
- "**/spec/**/*"
|
|
39
|
-
Require/MissingRequireStatement:
|
|
40
|
-
Exclude:
|
|
41
|
-
- "**/spec/**/*.rb"
|
|
42
|
-
- "**/spec_helper.rb"
|
|
43
|
-
- spaceship/lib/spaceship/babosa_fix.rb
|
|
44
|
-
- "**/Fastfile"
|
|
45
|
-
- "**/*.gemspec"
|
|
46
|
-
- rakelib/**/*
|
|
47
|
-
- "**/*.rake"
|
|
48
|
-
- "**/Rakefile"
|
|
49
|
-
- fastlane/**/*
|
|
50
|
-
- supply/**/*
|
|
51
|
-
Layout/IndentHash:
|
|
52
|
-
Enabled: false
|
|
53
|
-
Layout/AlignHash:
|
|
54
|
-
Enabled: false
|
|
55
|
-
Layout/DotPosition:
|
|
56
|
-
Enabled: false
|
|
57
|
-
Style/DoubleNegation:
|
|
58
|
-
Enabled: false
|
|
59
|
-
Style/SymbolArray:
|
|
60
|
-
Enabled: false
|
|
61
|
-
Layout/IndentHeredoc:
|
|
62
|
-
Enabled: false
|
|
63
|
-
Style/MixinGrouping:
|
|
64
|
-
Exclude:
|
|
65
|
-
- "**/spec/**/*"
|
|
66
|
-
Lint/HandleExceptions:
|
|
67
|
-
Enabled: false
|
|
68
|
-
Lint/UnusedBlockArgument:
|
|
69
|
-
Enabled: false
|
|
70
|
-
Lint/AmbiguousBlockAssociation:
|
|
71
|
-
Enabled: false
|
|
72
|
-
Style/GlobalVars:
|
|
73
|
-
Enabled: false
|
|
74
|
-
Style/ClassAndModuleChildren:
|
|
75
|
-
Enabled: false
|
|
76
|
-
Style/SpecialGlobalVars:
|
|
77
|
-
Enabled: false
|
|
78
|
-
Metrics/AbcSize:
|
|
79
|
-
Enabled: false
|
|
80
|
-
Metrics/MethodLength:
|
|
81
|
-
Enabled: false
|
|
82
|
-
Metrics/CyclomaticComplexity:
|
|
83
|
-
Enabled: false
|
|
84
|
-
Style/WordArray:
|
|
85
|
-
MinSize: 19
|
|
86
|
-
Style/SignalException:
|
|
87
|
-
Enabled: false
|
|
88
|
-
Style/RedundantReturn:
|
|
89
|
-
Enabled: false
|
|
90
|
-
Style/IfUnlessModifier:
|
|
91
|
-
Enabled: false
|
|
92
|
-
Style/AndOr:
|
|
93
|
-
Enabled: true
|
|
94
|
-
EnforcedStyle: conditionals
|
|
95
|
-
Metrics/ClassLength:
|
|
96
|
-
Max: 320
|
|
97
|
-
Metrics/LineLength:
|
|
98
|
-
Max: 370
|
|
99
|
-
Metrics/ParameterLists:
|
|
100
|
-
Max: 17
|
|
101
|
-
Metrics/PerceivedComplexity:
|
|
102
|
-
Max: 18
|
|
103
|
-
Style/GuardClause:
|
|
104
|
-
Enabled: false
|
|
105
|
-
Style/StringLiterals:
|
|
106
|
-
Enabled: false
|
|
107
|
-
Style/ConditionalAssignment:
|
|
108
|
-
Enabled: false
|
|
109
|
-
Style/RedundantSelf:
|
|
110
|
-
Enabled: false
|
|
111
|
-
Lint/UnusedMethodArgument:
|
|
112
|
-
Enabled: false
|
|
113
|
-
Lint/ParenthesesAsGroupedExpression:
|
|
114
|
-
Exclude:
|
|
115
|
-
- "**/spec/**/*"
|
|
116
|
-
Style/PredicateName:
|
|
117
|
-
Enabled: false
|
|
118
|
-
Style/PerlBackrefs:
|
|
119
|
-
Enabled: false
|
|
120
|
-
Layout/SpaceAroundOperators:
|
|
121
|
-
Exclude:
|
|
122
|
-
- "**/spec/actions_specs/xcodebuild_spec.rb"
|
|
123
|
-
AllCops:
|
|
124
|
-
TargetRubyVersion: 2.0
|
|
125
|
-
Include:
|
|
126
|
-
- "*/lib/assets/*Template"
|
|
127
|
-
- "*/lib/assets/*TemplateAndroid"
|
|
128
|
-
Exclude:
|
|
129
|
-
- "**/lib/assets/custom_action_template.rb"
|
|
130
|
-
- "./vendor/**/*"
|
|
131
|
-
- "**/lib/assets/DefaultFastfileTemplate"
|
|
132
|
-
- "**/lib/assets/MatchfileTemplate"
|
|
133
|
-
- "**/spec/fixtures/broken_files/broken_file.rb"
|
|
134
|
-
Style/FileName:
|
|
135
|
-
Exclude:
|
|
136
|
-
- "**/Dangerfile"
|
|
137
|
-
- "**/Brewfile"
|
|
138
|
-
- "**/Gemfile"
|
|
139
|
-
- "**/Podfile"
|
|
140
|
-
- "**/Rakefile"
|
|
141
|
-
- "**/Fastfile"
|
|
142
|
-
- "**/Deliverfile"
|
|
143
|
-
- "**/Snapfile"
|
|
144
|
-
- "**/*.gemspec"
|
|
145
|
-
Style/Documentation:
|
|
146
|
-
Enabled: false
|
|
147
|
-
Style/MutableConstant:
|
|
148
|
-
Enabled: false
|
|
149
|
-
Style/ZeroLengthPredicate:
|
|
150
|
-
Enabled: false
|
|
151
|
-
Style/IfInsideElse:
|
|
152
|
-
Enabled: false
|
|
153
|
-
Style/CollectionMethods:
|
|
154
|
-
Enabled: false
|
|
155
|
-
CrossPlatform/ForkUsage:
|
|
156
|
-
Exclude:
|
|
157
|
-
- "**/plugins/template/**/*"
|
|
158
|
-
Style/MethodCallWithArgsParentheses:
|
|
159
|
-
Enabled: true
|
|
160
|
-
IgnoredMethods:
|
|
161
|
-
- require
|
|
162
|
-
- require_relative
|
|
163
|
-
- fastlane_require
|
|
164
|
-
- gem
|
|
165
|
-
- program
|
|
166
|
-
- command
|
|
167
|
-
- raise
|
|
168
|
-
- attr_accessor
|
|
169
|
-
- attr_reader
|
|
170
|
-
- desc
|
|
171
|
-
- lane
|
|
172
|
-
- private_lane
|
|
173
|
-
- platform
|
|
174
|
-
- to
|
|
175
|
-
- describe
|
|
176
|
-
- it
|
|
177
|
-
- be
|
|
178
|
-
- context
|
|
179
|
-
- before
|
|
180
|
-
- after
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
require 'fastlane/action'
|
|
2
|
-
require_relative '../helper/testintask_helper'
|
|
3
|
-
|
|
4
|
-
module Fastlane
|
|
5
|
-
module Actions
|
|
6
|
-
class TestintaskAction < Action
|
|
7
|
-
def self.run(params)
|
|
8
|
-
UI.message("The testintask plugin is working!")
|
|
9
|
-
require 'testin'
|
|
10
|
-
global_options = {
|
|
11
|
-
:email => 'sephora06@sephora.cn',
|
|
12
|
-
:pwd => 'e10adc3949ba59abbe56e057f20f883e',
|
|
13
|
-
:path => '/Users/rudy.li/Desktop/Sephora-6.3.0.4151.ipa',
|
|
14
|
-
:devices => [
|
|
15
|
-
{
|
|
16
|
-
"deviceid":'709173f92e1e2f9e450b657fa43c970e28495cf8'
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
:project_name => '丝芙兰',
|
|
20
|
-
:api_key => '0cc70ef717d01b48ebfef5868a60cdd9',
|
|
21
|
-
:app_version => '6.3.0'
|
|
22
|
-
}
|
|
23
|
-
begin
|
|
24
|
-
result = Testin.set_task(global_options).create_task_for_normal
|
|
25
|
-
UI.message("Testin Plugin Successed: #{result}")
|
|
26
|
-
rescue StandardError => e
|
|
27
|
-
UI.user_error!("Testin Plugin Error: #{e.to_s}")
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
def self.description
|
|
32
|
-
"testin"
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
def self.authors
|
|
36
|
-
["rudy.li"]
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
def self.return_value
|
|
40
|
-
# If your method provides a return value, you can describe here what it does
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
def self.details
|
|
44
|
-
# Optional:
|
|
45
|
-
"testin plugin"
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
def self.available_options
|
|
49
|
-
[
|
|
50
|
-
# FastlaneCore::ConfigItem.new(key: :your_option,
|
|
51
|
-
# env_name: "TESTINTASK_YOUR_OPTION",
|
|
52
|
-
# description: "A description of your option",
|
|
53
|
-
# optional: false,
|
|
54
|
-
# type: String)
|
|
55
|
-
]
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
def self.is_supported?(platform)
|
|
59
|
-
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
|
60
|
-
# See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
|
|
61
|
-
#
|
|
62
|
-
# [:ios, :mac, :android].include?(platform)
|
|
63
|
-
true
|
|
64
|
-
end
|
|
65
|
-
end
|
|
66
|
-
end
|
|
67
|
-
end
|