fastlane 1.58.0 → 1.59.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 83bbac577f14b2584ea4c7ee7c6fa75afa411f77
4
- data.tar.gz: 3d902321eda49a45afbce3d1a11921512338bed2
3
+ metadata.gz: 7acb651b99d94230e6795a8cc1464c058d76723f
4
+ data.tar.gz: a84369d44f2ad07524e83e67b333886603c81cba
5
5
  SHA512:
6
- metadata.gz: fd636953f59ac12bba13d1cce3675a492bc380019b540c09b59b376a8f20872399415d15fc4e1717787d2ab81397ba49644c09c143b170611f2e899d3ac1def2
7
- data.tar.gz: 9e9b449b5e3b1c69672dd419681cb8f6574cb4e1831150eec81fe1961cb226cff628d94bd013aaa8541d7a78c51dce7daac4f73c86cbc956fd9399d15ac4388d
6
+ metadata.gz: bda64f711bed402357ff4077adb348d9ef7fb66a864578fbc76730151841a351cf6cda1906d116eae11ae10bb338187a6dbe47b9be3b5a26872f25b35f8fe28c
7
+ data.tar.gz: 3dde5ef54740b221f7498cb1e55d8590560df96b2a86a25daff0ee17e6b2ca91a131a7cfb047838248124b65e414a645c954236b0bef93681cac69dbdd11e57b
@@ -89,7 +89,7 @@ module Fastlane
89
89
 
90
90
  # get the absolute paths to the files
91
91
  git_add_paths = expected_changed_files.map do |path|
92
- File.expand_path(File.join(repo_pathname, path))
92
+ File.expand_path(File.join(repo_pathname, path.gsub("$(SRCROOT)", ".")))
93
93
  end
94
94
 
95
95
  # then create a commit with a message
@@ -0,0 +1,47 @@
1
+ module Fastlane
2
+ module Actions
3
+ module SharedValues
4
+ SCREENGRAB_OUTPUT_DIRECTORY = :SCREENGRAB_OUTPUT_DIRECTORY
5
+ end
6
+
7
+ class ScreengrabAction < Action
8
+ def self.run(params)
9
+ UI.user_error! "screengrab currently only supports running on a Mac" unless Helper.mac?
10
+ require 'screengrab'
11
+
12
+ begin
13
+ FastlaneCore::UpdateChecker.start_looking_for_update('screengrab') unless Helper.is_test?
14
+
15
+ Screengrab.config = params
16
+ Screengrab.android_environment = Screengrab::AndroidEnvironment.new(params[:android_home],
17
+ params[:build_tools_version])
18
+ Screengrab::DependencyChecker.check(Screengrab.android_environment)
19
+ Screengrab::Runner.new.run
20
+
21
+ Actions.lane_context[SharedValues::SCREENGRAB_OUTPUT_DIRECTORY] = File.expand_path(params[:output_directory])
22
+
23
+ true
24
+ ensure
25
+ FastlaneCore::UpdateChecker.show_update_status('screengrab', Screengrab::VERSION)
26
+ end
27
+ end
28
+
29
+ def self.description
30
+ 'Automated localized screenshots of your Android app on every device'
31
+ end
32
+
33
+ def self.available_options
34
+ require 'screengrab'
35
+ Screengrab::Options.available_options
36
+ end
37
+
38
+ def self.author
39
+ ['asfalcone', 'i2amsam', 'mfurtak']
40
+ end
41
+
42
+ def self.is_supported?(platform)
43
+ platform == :android
44
+ end
45
+ end
46
+ end
47
+ end
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = '1.58.0'
2
+ VERSION = '1.59.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.58.0
4
+ version: 1.59.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -428,6 +428,26 @@ dependencies:
428
428
  - - "<"
429
429
  - !ruby/object:Gem::Version
430
430
  version: 1.0.0
431
+ - !ruby/object:Gem::Dependency
432
+ name: screengrab
433
+ requirement: !ruby/object:Gem::Requirement
434
+ requirements:
435
+ - - ">="
436
+ - !ruby/object:Gem::Version
437
+ version: 0.2.0
438
+ - - "<"
439
+ - !ruby/object:Gem::Version
440
+ version: 1.0.0
441
+ type: :runtime
442
+ prerelease: false
443
+ version_requirements: !ruby/object:Gem::Requirement
444
+ requirements:
445
+ - - ">="
446
+ - !ruby/object:Gem::Version
447
+ version: 0.2.0
448
+ - - "<"
449
+ - !ruby/object:Gem::Version
450
+ version: 1.0.0
431
451
  - !ruby/object:Gem::Dependency
432
452
  name: bundler
433
453
  requirement: !ruby/object:Gem::Requirement
@@ -699,6 +719,7 @@ files:
699
719
  - lib/fastlane/actions/say.rb
700
720
  - lib/fastlane/actions/scan.rb
701
721
  - lib/fastlane/actions/scp.rb
722
+ - lib/fastlane/actions/screengrab.rb
702
723
  - lib/fastlane/actions/set_build_number_repository.rb
703
724
  - lib/fastlane/actions/set_changelog.rb
704
725
  - lib/fastlane/actions/set_github_release.rb
@@ -787,7 +808,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
787
808
  version: '0'
788
809
  requirements: []
789
810
  rubyforge_project:
790
- rubygems_version: 2.4.0
811
+ rubygems_version: 2.4.5.1
791
812
  signing_key:
792
813
  specification_version: 4
793
814
  summary: Connect all iOS deployment tools into one streamlined workflow