fastlane-plugin-nico 0.10.7 → 0.10.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f0d398266a7d047a0ba897aeb8288480a8f88e2d70845b9f14122b2fc4cb30a
4
- data.tar.gz: 2e80c58ce5fa81f380e90f143c5d7a0258bf9905047b32cc795e9b01023952f0
3
+ metadata.gz: 798499cf19e83ad2f2abb92aee9006927936fd243718e66895fd9512ca9b3781
4
+ data.tar.gz: 75659fa820bb50b257e948e9e6aee5af7606e3bc36ded869f5cfd9eab25db39d
5
5
  SHA512:
6
- metadata.gz: e5b5c5092220b19bfbad21d6829301659d046bbb99f19fac834c70db5e0fe59308c0ca5a24fb68265ff481bb167cbdaba3afcc3810951e13ad3892ccd61c9bdf
7
- data.tar.gz: eaef56b9868f2caaee224d109d3a2d389beefe18f39ad7ed59794d077b70bda3444a84bb6edc2ebf028523bf95c66fbc831f78f6b00a41792ab593109d0128b9
6
+ metadata.gz: 6e4f266909dedf94cd179ac6ed18cc007c978fe84622af6eaa9a071693bb6b3b386259a87f4890b81340635ac5221b5c104c06aaf98230203f220dbed0c5439b
7
+ data.tar.gz: 29ab81139a78f4c87237874c425a62ef2444d3bf608d12c44c2c229203e22859dafba1bfc68e5d34f75d152ba5fea765c8c0aa6abe1ab7b53e9b044f177a3ada
@@ -81,7 +81,7 @@ module Fastlane
81
81
  FastlaneCore::PrintTable.print_values(
82
82
  config: params,
83
83
  hide_keys: [],
84
- title: "Summary for Emerge Upload #{Fastlane::Emerge::VERSION}"
84
+ title: "Summary for Emerge Upload #{Fastlane::Nico::VERSION}"
85
85
  )
86
86
  end
87
87
 
@@ -94,7 +94,7 @@ module Fastlane
94
94
  {
95
95
  'Content-Type' => content_type,
96
96
  'X-API-Token' => api_token,
97
- 'User-Agent' => "fastlane-plugin-nico/#{Fastlane::Emerge::VERSION}"
97
+ 'User-Agent' => "fastlane-plugin-nico/#{Fastlane::Nico::VERSION}"
98
98
  }
99
99
  end
100
100
 
@@ -1,5 +1,6 @@
1
1
  require 'json'
2
2
  require 'fastlane_core/print_table'
3
+ require 'open3'
3
4
  require_relative 'git'
4
5
 
5
6
  module Fastlane
@@ -42,11 +43,16 @@ module Fastlane
42
43
  def self.previous_sha
43
44
  if is_push?
44
45
  github_event_data.dig(:before)
45
- else
46
+ else
46
47
  shell_command = "git rev-parse HEAD^"
47
- UI.command(shell_command)
48
- stdout, _, status = Open3.capture3(shell_command)
49
- stdout.strip if status.success?
48
+ stdout, stderr, status = Open3.capture3(shell_command)
49
+ UI.message("Previous SHA command output: #{stdout.strip}")
50
+ if status.success?
51
+ stdout.strip
52
+ else
53
+ UI.error("Failed to get previous SHA: #{stderr}")
54
+ nil
55
+ end
50
56
  end
51
57
  end
52
58
 
@@ -1,5 +1,5 @@
1
- module Fastlane
2
- module Emerge
3
- VERSION = "0.10.6"
4
- end
5
- end
1
+ # module Fastlane
2
+ # module Emerge
3
+ # VERSION = "0.10.6"
4
+ # end
5
+ # end
@@ -1,16 +1,16 @@
1
- require 'fastlane/plugin/emerge/version'
1
+ # require 'fastlane/plugin/emerge/version'
2
2
 
3
- module Fastlane
4
- module Emerge
5
- # Return all .rb files inside the "actions" and "helper" directory
6
- def self.all_classes
7
- Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
8
- end
9
- end
10
- end
3
+ # module Fastlane
4
+ # module Emerge
5
+ # # Return all .rb files inside the "actions" and "helper" directory
6
+ # def self.all_classes
7
+ # Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
8
+ # end
9
+ # end
10
+ # end
11
11
 
12
- # By default we want to import all available actions and helpers
13
- # A plugin can contain any number of actions and plugins
14
- Fastlane::Emerge.all_classes.each do |current|
15
- require current
16
- end
12
+ # # By default we want to import all available actions and helpers
13
+ # # A plugin can contain any number of actions and plugins
14
+ # Fastlane::Emerge.all_classes.each do |current|
15
+ # require current
16
+ # end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Nico
3
- VERSION = "0.10.7"
3
+ VERSION = "0.10.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-nico
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.7
4
+ version: 0.10.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Testing
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-15 00:00:00.000000000 Z
11
+ date: 2024-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday