diff --git a/README.md b/README.md index 2637a7a..53b2547 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ -# instabug-stores-upload plugin +# instabug_stores_upload plugin -[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-instabug-stores-upload) +[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-instabug_stores_upload) ## Getting Started -This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-instabug-stores-upload`, add it to your project by running: +This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-instabug_stores_upload`, add it to your project by running: ```bash -fastlane add_plugin instabug-stores-upload +fastlane add_plugin instabug_stores_upload ``` -## About instabug-stores-upload +## About instabug_stores_upload Wrapper plugin for uploading builds to App Store and Play Store with Instabug-specific metadata reporting. This plugin provides custom actions that wrap the standard Fastlane actions and automatically report build and upload events to Instabug systems for better observability and integration into internal pipelines. diff --git a/fastlane-plugin-instabug-stores-upload.gemspec b/fastlane-plugin-instabug-stores-upload.gemspec index f4310f0..3e55709 100644 --- a/fastlane-plugin-instabug-stores-upload.gemspec +++ b/fastlane-plugin-instabug-stores-upload.gemspec @@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'fastlane/plugin/instabug_stores_upload/version' Gem::Specification.new do |spec| - spec.name = 'fastlane-plugin-instabug-stores-upload' + spec.name = 'fastlane-plugin-instabug_stores_upload' spec.version = Fastlane::InstabugStoresUpload::VERSION spec.author = 'Instabug' spec.email = 'backend-team@instabug.com' diff --git a/lib/fastlane/plugin/instabug_stores_upload/actions/instabug_stores_upload_action.rb b/lib/fastlane/plugin/instabug_stores_upload/actions/instabug_stores_upload_action.rb index 288263f..4c1f6d2 100644 --- a/lib/fastlane/plugin/instabug_stores_upload/actions/instabug_stores_upload_action.rb +++ b/lib/fastlane/plugin/instabug_stores_upload/actions/instabug_stores_upload_action.rb @@ -5,7 +5,7 @@ module Fastlane module Actions class InstabugStoresUploadAction < Action def self.run(params) - UI.message("The instabug-stores-upload plugin is working!") + UI.message("The instabug_stores_upload plugin is working!") end def self.description diff --git a/lib/fastlane/plugin/instabug_stores_upload/helper/instabug_stores_upload_helper.rb b/lib/fastlane/plugin/instabug_stores_upload/helper/instabug_stores_upload_helper.rb index e2d3357..c75cc3c 100644 --- a/lib/fastlane/plugin/instabug_stores_upload/helper/instabug_stores_upload_helper.rb +++ b/lib/fastlane/plugin/instabug_stores_upload/helper/instabug_stores_upload_helper.rb @@ -73,7 +73,7 @@ def self.make_api_request(branch_name:, status:, api_key:, step:, extras: {}, er request = Net::HTTP::Patch.new(uri.path) request['Content-Type'] = 'application/json' request['Authorization'] = "Bearer #{api_key}" - request['User-Agent'] = "fastlane-plugin-instabug-stores-upload" + request['User-Agent'] = "fastlane-plugin-instabug_stores_upload" request.body = payload.to_json response = http.request(request) diff --git a/spec/instabug_build_android_app_action_spec.rb b/spec/instabug_build_android_app_action_spec.rb index 8b57300..b9ede7e 100644 --- a/spec/instabug_build_android_app_action_spec.rb +++ b/spec/instabug_build_android_app_action_spec.rb @@ -48,7 +48,7 @@ headers: { 'Content-Type' => 'application/json', 'Authorization' => 'Bearer test-api-key', - 'User-Agent' => 'fastlane-plugin-instabug-stores-upload' + 'User-Agent' => 'fastlane-plugin-instabug_stores_upload' } ).once diff --git a/spec/instabug_build_ios_app_action_spec.rb b/spec/instabug_build_ios_app_action_spec.rb index d45f25e..902f7d2 100644 --- a/spec/instabug_build_ios_app_action_spec.rb +++ b/spec/instabug_build_ios_app_action_spec.rb @@ -45,7 +45,7 @@ headers: { 'Content-Type' => 'application/json', 'Authorization' => 'Bearer test-api-key', - 'User-Agent' => 'fastlane-plugin-instabug-stores-upload' + 'User-Agent' => 'fastlane-plugin-instabug_stores_upload' } ).once diff --git a/spec/instabug_stores_upload_action_spec.rb b/spec/instabug_stores_upload_action_spec.rb index c1fcd60..20eeadf 100644 --- a/spec/instabug_stores_upload_action_spec.rb +++ b/spec/instabug_stores_upload_action_spec.rb @@ -1,7 +1,7 @@ describe Fastlane::Actions::InstabugStoresUploadAction do describe '#run' do it 'prints a message' do - expect(Fastlane::UI).to receive(:message).with("The instabug-stores-upload plugin is working!") + expect(Fastlane::UI).to receive(:message).with("The instabug_stores_upload plugin is working!") Fastlane::Actions::InstabugStoresUploadAction.run(nil) end diff --git a/spec/instabug_stores_upload_helper_spec.rb b/spec/instabug_stores_upload_helper_spec.rb index 94b99f6..71ff9da 100644 --- a/spec/instabug_stores_upload_helper_spec.rb +++ b/spec/instabug_stores_upload_helper_spec.rb @@ -125,7 +125,7 @@ headers: { 'Content-Type' => 'application/json', 'Authorization' => 'Bearer test-key', - 'User-Agent' => 'fastlane-plugin-instabug-stores-upload' + 'User-Agent' => 'fastlane-plugin-instabug_stores_upload' } ).once end diff --git a/spec/instabug_upload_to_app_store_action_spec.rb b/spec/instabug_upload_to_app_store_action_spec.rb index e3c3af9..430cfc1 100644 --- a/spec/instabug_upload_to_app_store_action_spec.rb +++ b/spec/instabug_upload_to_app_store_action_spec.rb @@ -39,7 +39,7 @@ headers: { 'Content-Type' => 'application/json', 'Authorization' => 'Bearer test-api-key', - 'User-Agent' => 'fastlane-plugin-instabug-stores-upload' + 'User-Agent' => 'fastlane-plugin-instabug_stores_upload' } ).once @@ -55,7 +55,7 @@ headers: { 'Content-Type' => 'application/json', 'Authorization' => 'Bearer test-api-key', - 'User-Agent' => 'fastlane-plugin-instabug-stores-upload' + 'User-Agent' => 'fastlane-plugin-instabug_stores_upload' } ).once end diff --git a/spec/instabug_upload_to_play_store_action_spec.rb b/spec/instabug_upload_to_play_store_action_spec.rb index aea78d2..9d43e4a 100644 --- a/spec/instabug_upload_to_play_store_action_spec.rb +++ b/spec/instabug_upload_to_play_store_action_spec.rb @@ -40,7 +40,7 @@ headers: { 'Content-Type' => 'application/json', 'Authorization' => 'Bearer test-api-key', - 'User-Agent' => 'fastlane-plugin-instabug-stores-upload' + 'User-Agent' => 'fastlane-plugin-instabug_stores_upload' } ).once @@ -56,7 +56,7 @@ headers: { 'Content-Type' => 'application/json', 'Authorization' => 'Bearer test-api-key', - 'User-Agent' => 'fastlane-plugin-instabug-stores-upload' + 'User-Agent' => 'fastlane-plugin-instabug_stores_upload' } ).once end