fastlane-plugin-firebase_management_api 1.1.1 → 1.1.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: c456fd3fde81966d576ecc095789ac862c3859fe635a6a2a14880edbc4a6f06d
4
- data.tar.gz: e4d4430728bda4d189d296e8165967874168c5d4a6b997051818f36f45351d34
3
+ metadata.gz: 96f3fac27849aae2c5bb1cf9c41912c2faa614796b0aabecff33f3ba059e1b33
4
+ data.tar.gz: b6d77370f69ce723e653baa74a97d929997c4c1d99dd1f519eb4de22ce5d5358
5
5
  SHA512:
6
- metadata.gz: da9ff9e31d404bf836964599443e2468db203cbb5664e23661611dbb37f7f28a91862d8191e935a575c7b545620fa3ae89d6bc0c185882c5c6c4f793f6c7720e
7
- data.tar.gz: bc13fc7004eea8fc53a36cb2c12b0a0ef180abcc81076f8a103ec21eb0791aba32383df9d054cccb2cc71dd191658b5d3ddf17fa1e8f0e715bf3fa8be3d1bc93
6
+ metadata.gz: 0a1f54d134e1f2aa0c796780cbc214ae1f365eb049403561dd44271793c41c70165dcc85b351a075d0252128e624ca9bd0b92405c651dad190f475343e4ce078
7
+ data.tar.gz: 53da1d40b350c35467cb5f6a1eee3f9da015761414944078fd34309538c48c802504ba93917e5111ac54df99803dfc438e7777ec8603191195d6c158841faa90
data/README.md CHANGED
@@ -1,16 +1,16 @@
1
- # firebase_management `fastlane` Plugin
1
+ # firebase_management_api `fastlane` Plugin
2
2
 
3
- [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-firebase_management)
3
+ [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-firebase_management_api)
4
4
 
5
5
  ## Getting Started
6
6
 
7
- This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-firebase_management`, add it to your project by running:
7
+ This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-firebase_management_api`, add it to your project by running:
8
8
 
9
9
  ```bash
10
- fastlane add_plugin firebase_management
10
+ fastlane add_plugin firebase_management_api
11
11
  ```
12
12
 
13
- ## About firebase_management
13
+ ## About firebase_management_api
14
14
 
15
15
  An unofficial tool to access Firebase project settings. It allows you to create new apps and download config files (GoogleInfo.plist for ios and google-services.json for android).
16
16
 
@@ -25,25 +25,25 @@ New features like deleting apps or APNs keys/certificates management are promise
25
25
  List all projects and apps
26
26
 
27
27
  ```
28
- firebase_management_list
28
+ firebase_management_api_list
29
29
  ```
30
30
 
31
31
  Add app to a project and download config file
32
32
 
33
33
  ```
34
- firebase_management_add_app
34
+ firebase_management_api_add_app
35
35
  ```
36
36
 
37
37
  Add sha to an android app and download config file
38
38
 
39
39
  ```
40
- firebase_management_upload_sha
40
+ firebase_management_api_upload_sha
41
41
  ```
42
42
 
43
43
  Download config file for a client
44
44
 
45
45
  ```
46
- firebase_management_download_config
46
+ firebase_management_api_download_config
47
47
  ```
48
48
 
49
49
  ### Authentication
@@ -1,9 +1,9 @@
1
1
  module Fastlane
2
2
  module Actions
3
- class FirebaseManagementAddAppAction < Action
3
+ class FirebaseManagementApiAddAppAction < Action
4
4
 
5
5
  def self.run(params)
6
- manager = FirebaseManagement::Manager.new
6
+ manager = FirebaseManagementApi::Manager.new
7
7
 
8
8
  # login
9
9
  api = nil
@@ -101,7 +101,7 @@ module Fastlane
101
101
 
102
102
  if params[:download_config] then
103
103
  #Download config
104
- Actions::FirebaseManagementDownloadConfigAction.run(
104
+ Actions::FirebaseManagementApiDownloadConfigAction.run(
105
105
  service_account_json_path: params[:service_account_json_path],
106
106
  project_id: project_id,
107
107
  app_id: app["appId"],
@@ -1,9 +1,9 @@
1
1
  module Fastlane
2
2
  module Actions
3
- class FirebaseManagementUploadShaAction < Action
3
+ class FirebaseManagementApiUploadShaAction < Action
4
4
 
5
5
  def self.run(params)
6
- manager = FirebaseManagement::Manager.new
6
+ manager = FirebaseManagementApi::Manager.new
7
7
 
8
8
  # login
9
9
  api = nil
@@ -27,7 +27,7 @@ module Fastlane
27
27
 
28
28
  if params[:download_config] then
29
29
  #Download config
30
- Actions::FirebaseManagementDownloadConfigAction.run(
30
+ Actions::FirebaseManagementApiDownloadConfigAction.run(
31
31
  service_account_json_path: params[:service_account_json_path],
32
32
  project_id: project_id,
33
33
  app_id: app["appId"],
@@ -1,9 +1,9 @@
1
1
  module Fastlane
2
2
  module Actions
3
- class FirebaseManagementDownloadConfigAction < Action
3
+ class FirebaseManagementApiDownloadConfigAction < Action
4
4
 
5
5
  def self.run(params)
6
- manager = FirebaseManagement::Manager.new
6
+ manager = FirebaseManagementApi::Manager.new
7
7
 
8
8
  # login
9
9
  api = nil
@@ -1,9 +1,9 @@
1
1
  module Fastlane
2
2
  module Actions
3
- class FirebaseManagementListAction < Action
3
+ class FirebaseManagementApiListAction < Action
4
4
 
5
5
  def self.run(params)
6
- manager = FirebaseManagement::Manager.new
6
+ manager = FirebaseManagementApi::Manager.new
7
7
 
8
8
  # login
9
9
  api = nil
@@ -4,9 +4,9 @@ module Fastlane
4
4
  UI = FastlaneCore::UI unless Fastlane.const_defined?("UI")
5
5
 
6
6
  module Helper
7
- class FirebaseManagementHelper
7
+ class FirebaseManagementApiHelper
8
8
  # class methods that you define here become available in your action
9
- # as `Helper::FirebaseManagementHelper.your_method`
9
+ # as `Helper::FirebaseManagementApiHelper.your_method`
10
10
  #
11
11
  def self.show_message
12
12
  UI.message("Hello from the firebase_management plugin helper!")
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- module FirebaseManagement
2
+ module FirebaseManagementApi
3
3
  class Api
4
4
  class LoginError < StandardError
5
5
  end
@@ -2,7 +2,7 @@ require 'commander'
2
2
  require 'fastlane/version'
3
3
 
4
4
 
5
- module FirebaseManagement
5
+ module FirebaseManagementApi
6
6
  class CommandsGenerator
7
7
  include Commander::Methods
8
8
 
@@ -38,4 +38,4 @@ module FirebaseManagement
38
38
  run!
39
39
  end
40
40
  end
41
- end
41
+ end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- module FirebaseManagement
2
+ module FirebaseManagementApi
3
3
  class Manager
4
4
 
5
5
  require 'googleauth'
@@ -30,7 +30,7 @@ module Fastlane
30
30
  end
31
31
 
32
32
  token = credentials.fetch_access_token!["access_token"]
33
- @api = FirebaseManagement::Api.new(token)
33
+ @api = FirebaseManagementApi::Api.new(token)
34
34
  @api
35
35
  end
36
36
 
@@ -43,7 +43,7 @@ module Fastlane
43
43
  )
44
44
 
45
45
  token = authorizer.fetch_access_token!["access_token"]
46
- @api = FirebaseManagement::Api.new(token)
46
+ @api = FirebaseManagementApi::Api.new(token)
47
47
  @api
48
48
  end
49
49
 
@@ -1,7 +1,7 @@
1
1
  require 'fastlane_core'
2
2
  require 'credentials_manager'
3
3
 
4
- module FirebaseManagement
4
+ module FirebaseManagementApi
5
5
  class Options
6
6
  def self.available_options
7
7
  [
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- module FirebaseManagement
3
- VERSION = "1.1.1"
2
+ module FirebaseManagementApi
3
+ VERSION = "1.1.2"
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  require 'fastlane/plugin/firebase_management_api/version'
2
2
 
3
3
  module Fastlane
4
- module FirebaseManagement
4
+ module FirebaseManagementApi
5
5
  # Return all .rb files inside the "actions" and "helper" directory
6
6
  def self.all_classes
7
7
  Dir[File.expand_path('**/{actions,helper,lib}/*.rb', File.dirname(__FILE__))]
@@ -11,6 +11,6 @@ end
11
11
 
12
12
  # By default we want to import all available actions and helpers
13
13
  # A plugin can contain any number of actions and plugins
14
- Fastlane::FirebaseManagement.all_classes.each do |current|
14
+ Fastlane::FirebaseManagementApi.all_classes.each do |current|
15
15
  require current
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-firebase_management_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdelrahman Eldesoky