fastlane-plugin-simulator_add_root_cert 0.1.0 → 0.1.1

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: eb535960fec45edd3afd77946067e18acc5d9020ff599843a35fb7067b2dffb3
4
- data.tar.gz: c7cbc54d7fa3c590e1ba61cf4d8fabaca2f8e0eda6ee87b4f3e8cbd4ec772a35
3
+ metadata.gz: 2b2adbd098b4bf83605355dd239f29fa566f55eb56286194681de26151f8b302
4
+ data.tar.gz: d4dbfa5f2cf970e8a90d2be2a68a10287ff5afbd42d51fab52cfdfdafcbeccd4
5
5
  SHA512:
6
- metadata.gz: 6c9b4739beed255b4037f00981eb16da5b9a3279fbc0c23444e786c5e279377912162ed303861c416676c4ba5275bf3ee67484507e4855e3df38aaff3939d307
7
- data.tar.gz: 7881ab22941a8de4391992321efa64922239d79a340035b3b5a0e965a55c693da3f17baab70c2a2fd195a4f05d3882686ac85de39211a776109afa47699c647e
6
+ metadata.gz: 5ff19bc79d0768bbf2d53ad8f579db0660249ce32242ffc9f53f2c857bd9e65de37e9ef5121ff8098340d01b291fdae9989d2c72439272a95a389bebfbf706f0
7
+ data.tar.gz: 6b21b1a6584b52862a816ff0c89ae22237fb8792c31b8797baf0821be59dbe34cdbd10823a75b84369533542f28d7868907c0e260ffd85a3e12758738edcf8cf
data/README.md CHANGED
@@ -12,15 +12,29 @@ fastlane add_plugin simulator_add_root_cert
12
12
 
13
13
  ## About simulator_add_root_cert
14
14
 
15
- Add a root cert to your simulators with Fastlane
15
+ Add a root cert to your Booted simulators using Fastlane.
16
16
 
17
- **Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
17
+ This can be used to install a SSL proxying certificate like with [Charles Proxy](https://www.charlesproxy.com/) or [Proxyman](https://github.com/ProxymanApp/Proxyman) as well as for enabling simulator internet access in some corporate security setups.
18
18
 
19
19
  ## Example
20
20
 
21
21
  Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
22
22
 
23
- **Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
23
+ ### TL;DR
24
+
25
+ From your `Fastfile` call the action using
26
+
27
+ ```ruby
28
+ simulator_add_root_cert(certificate_path:)
29
+ ```
30
+
31
+ or
32
+
33
+ ```ruby
34
+ simulator_add_root_cert
35
+ ```
36
+
37
+ with `SIMULATOR_ADD_ROOT_CERT_PATH` set in your environment variables
24
38
 
25
39
  ## Run tests for this plugin
26
40
 
@@ -8,8 +8,6 @@ module Fastlane
8
8
  uuid_regex = /[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}/
9
9
 
10
10
  certificate_path = params[:certificate_path]
11
- UI.user_error!("Couldn't find certificate") if certificate_path.nil?
12
- UI.user_error!("Couldn't find certificate at path `#{certificate_path}`") unless File.exist?(certificate_path)
13
11
 
14
12
  simulators = Actions.sh("xcrun simctl list | grep Booted", error_callback: ->(result) {
15
13
  UI.crash!("Could not detect any Booted simulators. Check that `xcrun simctl list` is working.")
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module SimulatorAddRootCert
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-simulator_add_root_cert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Richard