fastlane-plugin-json_auth 1.2.2 → 1.2.5

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: cb117a2f16824ac236df6ec2f41e0e64b8d3518e446a97829fa296397075fa9e
4
- data.tar.gz: 4c553f33cc5c66630d44e4305fdc2b5b4561db7b43cf8d2202c7f3d06ca8d286
3
+ metadata.gz: 7a66e9d2581bafb76c2746b31d4f8aa1251b5fed7dbc515dd0fc8e939d72560c
4
+ data.tar.gz: 4146bb8a053ac855bc12ce176079efc167ab06e04ab60c392a134a8401b3ea43
5
5
  SHA512:
6
- metadata.gz: 3c96f6a5b2c47cd21594b03098baaad73ee81d0e0e9c48fc043d218bbbfaef404085500a242884ad93df872471c1d66351f42dccb4bf31989d79f7d27a26e881
7
- data.tar.gz: 9d09ce72b94d92fb2ffd21eef52f4a3f7e0575646201457aedd6168d1dc748dd06b73d2bc99f11a94c7caee1461e0da196a7d44fe9290833ef01eb1230a44027
6
+ metadata.gz: 84a799c3490c8ba5fe8edb16b3e19460368db0b4ff034de5ff038d3660c9f53f12f327721b88227565a68f00d02297e0d6573e954e4730c42e1720292de4dd28
7
+ data.tar.gz: d77e6c7a1f1f58b8be675a2f2bf6536997962b5d985d3645ebf4a0084878527a7aa939aee961dfa3bbfe07f612e26a62d1d1b2da611881a6b6a3b4bcbb100de1
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Fastlane Json plugin <!-- omit in toc -->
2
2
 
3
- [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-json) ![Gem Version](https://badge.fury.io/rb/fastlane-plugin-json.svg) ![](https://ruby-gem-downloads-badge.herokuapp.com/fastlane-plugin-json) [![YourActionName Actions Status](https://github.com/MartinGonzalez/fastlane-plugin-json/workflows/Test-Build-Publish/badge.svg)](https://github.com/MartinGonzalez/fastlane-plugin-json/actions)
3
+ [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-json_auth) ![Gem Version](https://badge.fury.io/rb/fastlane-plugin-json_auth.svg) ![](https://ruby-gem-downloads-badge.herokuapp.com/fastlane-plugin-json_auth) [![CircleCI](https://circleci.com/gh/thangnc/fastlane-plugin-json_auth.svg?style=shield)](https://circleci.com/gh/thangnc/fastlane-plugin-json_auth)
4
4
 
5
5
  - [Getting Started](#getting-started)
6
6
  - [Actions](#actions)
@@ -59,6 +59,16 @@ module Fastlane
59
59
  verify_block: proc do |value|
60
60
  UI.user_error!("You must set json_url pointing to a json file") unless value && !value.empty?
61
61
  end),
62
+ FastlaneCore::ConfigItem.new(key: :username,
63
+ description: "Basic auth username to download",
64
+ optional: true,
65
+ is_string: true,
66
+ default_value: nil),
67
+ FastlaneCore::ConfigItem.new(key: :password,
68
+ description: "Basic auth password to download",
69
+ optional: true,
70
+ is_string: true,
71
+ default_value: nil),
62
72
  FastlaneCore::ConfigItem.new(key: :verbose,
63
73
  description: "verbose",
64
74
  optional: true,
@@ -69,7 +79,7 @@ module Fastlane
69
79
  end
70
80
 
71
81
  def self.print_params(options)
72
- table_title = "Params for download_json #{Fastlane::Json::VERSION}"
82
+ table_title = "Params for download_json #{Fastlane::JsonAuth::VERSION}"
73
83
  FastlaneCore::PrintTable.print_values(config: options,
74
84
  hide_keys: [],
75
85
  title: table_title)
@@ -80,7 +90,7 @@ module Fastlane
80
90
  end
81
91
 
82
92
  def self.authors
83
- ["Martin Gonzalez"]
93
+ ["Martin Gonzalez", "Thang Nguyen"]
84
94
  end
85
95
 
86
96
  def self.is_supported?(_platform)
@@ -78,7 +78,7 @@ module Fastlane
78
78
  end
79
79
 
80
80
  def self.print_params(options)
81
- table_title = "Params for merge_json #{Fastlane::Json::VERSION}"
81
+ table_title = "Params for merge_json #{Fastlane::JsonAuth::VERSION}"
82
82
  FastlaneCore::PrintTable.print_values(config: options,
83
83
  hide_keys: [],
84
84
  title: table_title)
@@ -67,7 +67,7 @@ module Fastlane
67
67
  end
68
68
 
69
69
  def self.print_params(options)
70
- table_title = "Params for read_json #{Fastlane::Json::VERSION}"
70
+ table_title = "Params for read_json #{Fastlane::JsonAuth::VERSION}"
71
71
  FastlaneCore::PrintTable.print_values(config: options,
72
72
  hide_keys: [],
73
73
  title: table_title)
@@ -64,7 +64,7 @@ module Fastlane
64
64
  end
65
65
 
66
66
  def self.print_params(options)
67
- table_title = "Params for write_json #{Fastlane::Json::VERSION}"
67
+ table_title = "Params for write_json #{Fastlane::JsonAuth::VERSION}"
68
68
  FastlaneCore::PrintTable.print_values(config: options,
69
69
  hide_keys: [],
70
70
  title: table_title)
@@ -0,0 +1,5 @@
1
+ module Fastlane
2
+ module JsonAuth
3
+ VERSION = "1.2.5"
4
+ end
5
+ end
@@ -1,7 +1,7 @@
1
- require 'fastlane/plugin/json/version'
1
+ require 'fastlane/plugin/json_auth/version'
2
2
 
3
3
  module Fastlane
4
- module Json
4
+ module JsonAuth
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}/*.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::Json.all_classes.each do |current|
14
+ Fastlane::JsonAuth.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-json_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Gonzalez
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-05-30 00:00:00.000000000 Z
12
+ date: 2022-06-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry
@@ -147,13 +147,13 @@ extra_rdoc_files: []
147
147
  files:
148
148
  - LICENSE
149
149
  - README.md
150
- - lib/fastlane/plugin/json.rb
151
- - lib/fastlane/plugin/json/actions/download_json_action.rb
152
- - lib/fastlane/plugin/json/actions/merge_jsons_action.rb
153
- - lib/fastlane/plugin/json/actions/read_json_action.rb
154
- - lib/fastlane/plugin/json/actions/write_json_action.rb
155
- - lib/fastlane/plugin/json/helper/json_helper.rb
156
- - lib/fastlane/plugin/json/version.rb
150
+ - lib/fastlane/plugin/json_auth.rb
151
+ - lib/fastlane/plugin/json_auth/actions/download_json_action.rb
152
+ - lib/fastlane/plugin/json_auth/actions/merge_jsons_action.rb
153
+ - lib/fastlane/plugin/json_auth/actions/read_json_action.rb
154
+ - lib/fastlane/plugin/json_auth/actions/write_json_action.rb
155
+ - lib/fastlane/plugin/json_auth/helper/json_helper.rb
156
+ - lib/fastlane/plugin/json_auth/version.rb
157
157
  homepage: https://github.com/thangnc/fastlane-plugin-json_auth
158
158
  licenses:
159
159
  - MIT
@@ -1,5 +0,0 @@
1
- module Fastlane
2
- module Json
3
- VERSION = "1.2.2"
4
- end
5
- end