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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 369ce048fb4948441d4f3c47f4f22ff8a9c650b20cb8885f89ee1f82793928eb
4
- data.tar.gz: f0582347d70ebc8e36c8d9230b7e530229e4d99b15e0e1e4ce8053d65f2a7ae2
3
+ metadata.gz: 677b83e869da2e53021b30471eeb9ad5cf968cb827bd2b1ea74a7b87b94a8a15
4
+ data.tar.gz: c735fc43fdfcd87bef3707d19347a8fe8e44282b485ab824ce8f86ff6ed6ee9c
5
5
  SHA512:
6
- metadata.gz: 3c90e1cb6ebff04d0a7196683bcc848771c2e899e3e7d4f71ad5d5ea669d80473a78c84dcdff439c748d18218a52b4dc30d6fcf7c98ef96e993bdb37a55c35df
7
- data.tar.gz: 5d1923dc1562593e98a55586b05ffc5699d4c8bdf20aa64b7fcc2ba4baf89065febcb1701543512b89e01b10a4b204bb5261780f5c5404ccffb727aca02263e7
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}/*.rb', File.dirname(__FILE__))]
7
+ Dir[File.expand_path('**/{actions,helper}/**/*.rb', File.dirname(__FILE__))]
8
8
  end
9
9
  end
10
10
  end
@@ -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 = <<-USAGE.strip_heredoc
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
- USAGE
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],
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module SnapshotTest
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
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.1
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-06 00:00:00.000000000 Z
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/screenshot_notifier_action.rb
149
- - lib/fastlane/plugin/snapshot_test/actions/regression/compare_snapshot_action.rb
150
- - lib/fastlane/plugin/snapshot_test/actions/regression/upload_snapshot_action.rb
151
- - lib/fastlane/plugin/snapshot_test/actions/take_screenshot_action.rb
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