fastlane-plugin-snapshot_test 0.2.1 → 0.2.2
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/plugin/snapshot_test.rb +1 -1
- data/lib/fastlane/plugin/snapshot_test/actions/compatibility/{screenshot_notifier_action.rb → screenshot_notifier.rb} +0 -0
- data/lib/fastlane/plugin/snapshot_test/actions/regression/{compare_snapshot_action.rb → compare_snapshot.rb} +12 -12
- data/lib/fastlane/plugin/snapshot_test/actions/regression/{upload_snapshot_action.rb → upload_snapshot.rb} +0 -0
- data/lib/fastlane/plugin/snapshot_test/actions/{take_screenshot_action.rb → take_screenshot.rb} +0 -0
- data/lib/fastlane/plugin/snapshot_test/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 677b83e869da2e53021b30471eeb9ad5cf968cb827bd2b1ea74a7b87b94a8a15
|
|
4
|
+
data.tar.gz: c735fc43fdfcd87bef3707d19347a8fe8e44282b485ab824ce8f86ff6ed6ee9c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce859b31c9271be29b000512d1d4938636ac35b0d86b86702dacd4d54eeef9af110dc564fe30a1611cae088caf82f714f202dd3ea3f6be53de1c08532ae1021a
|
|
7
|
+
data.tar.gz: 7a8ebd24adc7f168bff622945d6c557a1d27d11266f885cf74a2b66c1f51f927e05131cd6ebfec47ce9a18772c49039dd4b9b0f574293939e1a8ee51d487ff27
|
|
@@ -4,7 +4,7 @@ module Fastlane
|
|
|
4
4
|
module SnapshotTest
|
|
5
5
|
# Return all .rb files inside the "actions" and "helper" directory
|
|
6
6
|
def self.all_classes
|
|
7
|
-
Dir[File.expand_path('**/{actions,helper}
|
|
7
|
+
Dir[File.expand_path('**/{actions,helper}/**/*.rb', File.dirname(__FILE__))]
|
|
8
8
|
end
|
|
9
9
|
end
|
|
10
10
|
end
|
|
File without changes
|
|
@@ -49,18 +49,18 @@ module Fastlane
|
|
|
49
49
|
bucket = params[:snapshot_bucket]
|
|
50
50
|
commit_hash = Helper.get_current_commit_hash
|
|
51
51
|
|
|
52
|
-
message = <<-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
52
|
+
message = <<-EOS
|
|
53
|
+
## Snapshot Test Result
|
|
54
|
+
Commit Hash: #{commit_hash}
|
|
55
|
+
|
|
56
|
+
#{summary_table(result[:new_items], result[:deleted_items], result[:changed_items], result[:passed_items])}
|
|
57
|
+
|
|
58
|
+
#{changed_items_table(result[:changed_items], bucket, commit_hash, params[:working_dir], params[:image_length])}
|
|
59
|
+
|
|
60
|
+
#{new_items_table(result[:new_items], bucket, commit_hash, params[:working_dir], params[:image_length])}
|
|
61
|
+
|
|
62
|
+
#{deleted_items_list(result[:deleted_items])}
|
|
63
|
+
EOS
|
|
64
64
|
|
|
65
65
|
GitHubNotifier.fold_comments(
|
|
66
66
|
params[:github_owner],
|
|
File without changes
|
data/lib/fastlane/plugin/snapshot_test/actions/{take_screenshot_action.rb → take_screenshot.rb}
RENAMED
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-snapshot_test
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Moyuru Aizawa
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-09-
|
|
11
|
+
date: 2019-09-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|
|
@@ -145,10 +145,10 @@ files:
|
|
|
145
145
|
- LICENSE
|
|
146
146
|
- README.md
|
|
147
147
|
- lib/fastlane/plugin/snapshot_test.rb
|
|
148
|
-
- lib/fastlane/plugin/snapshot_test/actions/compatibility/
|
|
149
|
-
- lib/fastlane/plugin/snapshot_test/actions/regression/
|
|
150
|
-
- lib/fastlane/plugin/snapshot_test/actions/regression/
|
|
151
|
-
- lib/fastlane/plugin/snapshot_test/actions/
|
|
148
|
+
- lib/fastlane/plugin/snapshot_test/actions/compatibility/screenshot_notifier.rb
|
|
149
|
+
- lib/fastlane/plugin/snapshot_test/actions/regression/compare_snapshot.rb
|
|
150
|
+
- lib/fastlane/plugin/snapshot_test/actions/regression/upload_snapshot.rb
|
|
151
|
+
- lib/fastlane/plugin/snapshot_test/actions/take_screenshot.rb
|
|
152
152
|
- lib/fastlane/plugin/snapshot_test/helper/comparator.rb
|
|
153
153
|
- lib/fastlane/plugin/snapshot_test/helper/github_notifier.rb
|
|
154
154
|
- lib/fastlane/plugin/snapshot_test/helper/helper.rb
|