fastlane-plugin-ram_disk 0.1.0
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 +7 -0
- data/LICENSE +21 -0
- data/README.md +125 -0
- data/lib/fastlane/plugin/ram_disk.rb +17 -0
- data/lib/fastlane/plugin/ram_disk/actions/create_ram_disk_action.rb +61 -0
- data/lib/fastlane/plugin/ram_disk/actions/ram_disk_action.rb +56 -0
- data/lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb +41 -0
- data/lib/fastlane/plugin/ram_disk/helper/ram_disk_helper.rb +23 -0
- data/lib/fastlane/plugin/ram_disk/manager.rb +168 -0
- data/lib/fastlane/plugin/ram_disk/version.rb +5 -0
- metadata +177 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 42abbe525a241af40a52e141b1dc7e118f9740c94d0733c0e7322a0423bf81e8
|
4
|
+
data.tar.gz: bd58812200465cbbc6cff9daa12323ff0ce74e9e187b388a5c6c27f02b2b0f56
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 918c3c6191eaaa12cb875a1d5e7dd08341e2102387e0848ffddee6deff3ab3f0f5f6eca4e0112ad7671270b6bfc1d92eab58a76197437a9c2e4b633462b7757f
|
7
|
+
data.tar.gz: cb7e5c9d17aa9c3a33c0fe82b47ff6f453320bfc48490fcd5e430e79e78c59fc633c81ad3688f91fdeb82d8382e2e1b47ab8c88b8ae43239c02f93331e34c179
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 icyleaf <icyleaf.cn@gmail.com>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
# ram_disk plugin
|
2
|
+
|
3
|
+
[](https://rubygems.org/gems/fastlane-plugin-ram_disk)
|
4
|
+
|
5
|
+
## Getting Started
|
6
|
+
|
7
|
+
This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-ram_disk`, add it to your project by running:
|
8
|
+
|
9
|
+
```bash
|
10
|
+
fastlane add_plugin ram_disk
|
11
|
+
```
|
12
|
+
|
13
|
+
## About ram_disk
|
14
|
+
|
15
|
+
Use a temporary ram disk to do anything else, it contains three actions:
|
16
|
+
|
17
|
+
Action | Description
|
18
|
+
---|---
|
19
|
+
ram_disk | combo two action below and do something with a lambda
|
20
|
+
create_ram_disk | Create a virtual ram disk
|
21
|
+
remove_ram_disk | Remove a virtual ram disk
|
22
|
+
|
23
|
+
**Note to author:** Only works in macOS for now and add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
|
24
|
+
|
25
|
+
### ram_disk
|
26
|
+
|
27
|
+
```
|
28
|
+
+------------+-----------------------------------+---------------------+----------+
|
29
|
+
| ram_disk Options |
|
30
|
+
+------------+-----------------------------------+---------------------+----------+
|
31
|
+
| Key | Description | Env Var | Default |
|
32
|
+
+------------+-----------------------------------+---------------------+----------+
|
33
|
+
| name | The name of ram disk | RAM_DISK_NAME | |
|
34
|
+
| size | The size of ram disk (unit is MB) | RAM_DISK_SIZE | |
|
35
|
+
| mount_path | The path of ram disk | RAM_DISK_MOUNT_PATH | /Volumes |
|
36
|
+
| use | The code of lamda to run | | |
|
37
|
+
+------------+-----------------------------------+---------------------+----------+
|
38
|
+
* = default value is dependent on the user's system
|
39
|
+
|
40
|
+
+---------------+----------------------+
|
41
|
+
| ram_disk Output Variables |
|
42
|
+
+---------------+----------------------+
|
43
|
+
| Key | Description |
|
44
|
+
+---------------+----------------------+
|
45
|
+
| RAM_DISK_PATH | the path of ram disk |
|
46
|
+
+---------------+----------------------+
|
47
|
+
Access the output values using `lane_context[SharedValues::VARIABLE_NAME]`
|
48
|
+
```
|
49
|
+
|
50
|
+
### create_ram_disk
|
51
|
+
|
52
|
+
```
|
53
|
+
+------------+-----------------------------------+---------------------+----------+
|
54
|
+
| create_ram_disk Options |
|
55
|
+
+------------+-----------------------------------+---------------------+----------+
|
56
|
+
| Key | Description | Env Var | Default |
|
57
|
+
+------------+-----------------------------------+---------------------+----------+
|
58
|
+
| name | The name of ram disk | RAM_DISK_NAME | |
|
59
|
+
| size | The size of ram disk (unit is MB) | RAM_DISK_SIZE | |
|
60
|
+
| mount_path | The path of ram disk | RAM_DISK_MOUNT_PATH | /Volumes |
|
61
|
+
+------------+-----------------------------------+---------------------+----------+
|
62
|
+
* = default value is dependent on the user's system
|
63
|
+
|
64
|
+
+---------------+----------------------+
|
65
|
+
| create_ram_disk Output Variables |
|
66
|
+
+---------------+----------------------+
|
67
|
+
| Key | Description |
|
68
|
+
+---------------+----------------------+
|
69
|
+
| RAM_DISK_PATH | the path of ram disk |
|
70
|
+
+---------------+----------------------+
|
71
|
+
Access the output values using `lane_context[SharedValues::VARIABLE_NAME]`
|
72
|
+
|
73
|
+
+------------------------------+
|
74
|
+
| create_ram_disk Return Value |
|
75
|
+
+------------------------------+
|
76
|
+
| String |
|
77
|
+
+------------------------------+
|
78
|
+
```
|
79
|
+
|
80
|
+
### remove_ram_disk
|
81
|
+
|
82
|
+
```
|
83
|
+
+------+----------------------+---------------+---------+
|
84
|
+
| remove_ram_disk Options |
|
85
|
+
+------+----------------------+---------------+---------+
|
86
|
+
| Key | Description | Env Var | Default |
|
87
|
+
+------+----------------------+---------------+---------+
|
88
|
+
| path | The path of ram disk | RAM_DISK_PATH | |
|
89
|
+
+------+----------------------+---------------+---------+
|
90
|
+
```
|
91
|
+
|
92
|
+
## Example
|
93
|
+
|
94
|
+
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`.
|
95
|
+
|
96
|
+
**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)
|
97
|
+
|
98
|
+
## Run tests for this plugin
|
99
|
+
|
100
|
+
To run both the tests, and code style validation, run
|
101
|
+
|
102
|
+
```
|
103
|
+
rake
|
104
|
+
```
|
105
|
+
|
106
|
+
To automatically fix many of the styling issues, use
|
107
|
+
```
|
108
|
+
rubocop -a
|
109
|
+
```
|
110
|
+
|
111
|
+
## Issues and Feedback
|
112
|
+
|
113
|
+
For any other issues and feedback about this plugin, please submit it to this repository.
|
114
|
+
|
115
|
+
## Troubleshooting
|
116
|
+
|
117
|
+
If you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.
|
118
|
+
|
119
|
+
## Using _fastlane_ Plugins
|
120
|
+
|
121
|
+
For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).
|
122
|
+
|
123
|
+
## About _fastlane_
|
124
|
+
|
125
|
+
_fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'fastlane/plugin/ram_disk/version'
|
2
|
+
require 'fastlane/plugin/ram_disk/manager'
|
3
|
+
|
4
|
+
module Fastlane
|
5
|
+
module RamDisk
|
6
|
+
# Return all .rb files inside the "actions" and "helper" directory
|
7
|
+
def self.all_classes
|
8
|
+
Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
# By default we want to import all available actions and helpers
|
14
|
+
# A plugin can contain any number of actions and plugins
|
15
|
+
Fastlane::RamDisk.all_classes.each do |current|
|
16
|
+
require current
|
17
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
require_relative '../helper/ram_disk_helper'
|
3
|
+
|
4
|
+
module Fastlane
|
5
|
+
module Actions
|
6
|
+
class CreateRamDiskAction < Action
|
7
|
+
def self.run(params)
|
8
|
+
manager = RamDisk::Manager.new(params)
|
9
|
+
manager.create
|
10
|
+
end
|
11
|
+
|
12
|
+
#####################################################
|
13
|
+
# @!group Documentation
|
14
|
+
#####################################################
|
15
|
+
|
16
|
+
def self.description
|
17
|
+
"Use a temporary ram disk to do anything else"
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.authors
|
21
|
+
["icyleaf"]
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.example_code
|
25
|
+
[
|
26
|
+
'create_ram_disk(
|
27
|
+
name: "ramdisk"
|
28
|
+
size: 4096
|
29
|
+
)',
|
30
|
+
'create_ram_disk(
|
31
|
+
name: "ramdisk",
|
32
|
+
path: "/Volumes",
|
33
|
+
size: 4096
|
34
|
+
)'
|
35
|
+
]
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.category
|
39
|
+
:building
|
40
|
+
end
|
41
|
+
|
42
|
+
def self.output
|
43
|
+
[
|
44
|
+
['RAM_DISK_PATH', 'the path of ram disk']
|
45
|
+
]
|
46
|
+
end
|
47
|
+
|
48
|
+
def self.return_value
|
49
|
+
String
|
50
|
+
end
|
51
|
+
|
52
|
+
def self.available_options
|
53
|
+
Fastlane::RamDisk::Options.create_options
|
54
|
+
end
|
55
|
+
|
56
|
+
def self.is_supported?(_)
|
57
|
+
true
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
require_relative '../helper/ram_disk_helper'
|
3
|
+
|
4
|
+
module Fastlane
|
5
|
+
module Actions
|
6
|
+
class RamDiskAction < Action
|
7
|
+
def self.run(params)
|
8
|
+
RamDisk::Manager.run(params)
|
9
|
+
end
|
10
|
+
|
11
|
+
#####################################################
|
12
|
+
# @!group Documentation
|
13
|
+
#####################################################
|
14
|
+
|
15
|
+
def self.description
|
16
|
+
'Use a temporary ram disk to do anything else'
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.available_options
|
20
|
+
Fastlane::RamDisk::Options.available_options
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.example_code
|
24
|
+
[
|
25
|
+
'use_ram_disk(
|
26
|
+
name: "ramdisk"
|
27
|
+
size: 4096,
|
28
|
+
use: lambda {
|
29
|
+
build_app(
|
30
|
+
derived_data_path: Actions.lane_context[SharedValues::RAM_DISK_PATH]
|
31
|
+
)
|
32
|
+
}
|
33
|
+
)'
|
34
|
+
]
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.category
|
38
|
+
:building
|
39
|
+
end
|
40
|
+
|
41
|
+
def self.output
|
42
|
+
[
|
43
|
+
['RAM_DISK_PATH', 'the path of ram disk']
|
44
|
+
]
|
45
|
+
end
|
46
|
+
|
47
|
+
def self.authors
|
48
|
+
['icyleaf']
|
49
|
+
end
|
50
|
+
|
51
|
+
def self.is_supported?(_)
|
52
|
+
true
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class RemoveRamDiskAction < Action
|
4
|
+
def self.run(params)
|
5
|
+
manager = RamDisk::Manager.new(params)
|
6
|
+
manager.remove
|
7
|
+
end
|
8
|
+
|
9
|
+
#####################################################
|
10
|
+
# @!group Documentation
|
11
|
+
#####################################################
|
12
|
+
|
13
|
+
def self.description
|
14
|
+
'Remove a ram disk (use it after _create_ram_disk_ action)'
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.available_options
|
18
|
+
Fastlane::RamDisk::Options.remove_options
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.example_code
|
22
|
+
[
|
23
|
+
'remove_ram_disk',
|
24
|
+
'remove_ram_disk(path: "/Volumes/ramdisk")'
|
25
|
+
]
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.category
|
29
|
+
:building
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.authors
|
33
|
+
['icyleaf']
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.is_supported?(_)
|
37
|
+
true
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'fastlane_core/ui/ui'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
UI = FastlaneCore::UI unless Fastlane.const_defined?("UI")
|
5
|
+
|
6
|
+
module Helper
|
7
|
+
class RamDiskHelper
|
8
|
+
# class methods that you define here become available in your action
|
9
|
+
# as `Helper::RamDiskHelper.your_method`
|
10
|
+
#
|
11
|
+
def self.show_message
|
12
|
+
UI.message("Hello from the ram_disk plugin helper!")
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.mac?
|
16
|
+
require 'rbconfig'
|
17
|
+
|
18
|
+
platform = RbConfig::CONFIG['host_os']
|
19
|
+
platform.include?('darwin')
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,168 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'fastlane_core/configuration/config_item'
|
4
|
+
|
5
|
+
module Fastlane
|
6
|
+
module Actions
|
7
|
+
module SharedValues
|
8
|
+
RAM_DISK_PATH = :RAM_DISK_PATH
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
module RamDisk
|
13
|
+
class Manager
|
14
|
+
def self.run(params)
|
15
|
+
instance = new(params)
|
16
|
+
instance.create
|
17
|
+
params[:use].call
|
18
|
+
instance.remove
|
19
|
+
end
|
20
|
+
|
21
|
+
def initialize(params)
|
22
|
+
@params = params
|
23
|
+
UI.user_error!('Sorry, it only works in macOS for now') unless mac?
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
name = @params[:name]
|
28
|
+
path = @params[:mount_path]
|
29
|
+
size = @params[:size]
|
30
|
+
ram_disk_path = File.join(path, name)
|
31
|
+
|
32
|
+
UI.user_error!('the name is empty') if name.to_s.empty?
|
33
|
+
UI.user_error!('the disk size is zero or negative') if size.to_i <= 0
|
34
|
+
UI.user_error!("mount path existed: #{ram_disk_path}") if File.exist?(ram_disk_path)
|
35
|
+
|
36
|
+
commands = []
|
37
|
+
commands << create_ram_disk(name, size)
|
38
|
+
commands << spotlight_indexes(ram_disk_path, true)
|
39
|
+
|
40
|
+
commands.each do |shell_command|
|
41
|
+
if Helper.test?
|
42
|
+
UI.message("$ #{shell_command}")
|
43
|
+
next
|
44
|
+
end
|
45
|
+
|
46
|
+
Actions.sh(shell_command)
|
47
|
+
end
|
48
|
+
|
49
|
+
UI.crash! "fail to create ram disk" unless Dir.exist?(ram_disk_path)
|
50
|
+
|
51
|
+
UI.success "Successful on ram disk: #{ram_disk_path}"
|
52
|
+
shared_value(Actions::SharedValues::RAM_DISK_PATH, ram_disk_path)
|
53
|
+
end
|
54
|
+
|
55
|
+
def remove
|
56
|
+
path = @params[:path]
|
57
|
+
|
58
|
+
UI.user_error!('ram path is empty') if path.to_s.empty?
|
59
|
+
UI.user_error!("ram path is not exist: #{path}") unless Dir.exist?(path)
|
60
|
+
UI.message("Found ram disk: #{path}")
|
61
|
+
|
62
|
+
commands = []
|
63
|
+
commands << spotlight_indexes(path, false)
|
64
|
+
commands << remove_ram_disk(path)
|
65
|
+
|
66
|
+
commands.each do |shell_command|
|
67
|
+
if Helper.test?
|
68
|
+
UI.message("$ #{shell_command}")
|
69
|
+
next
|
70
|
+
end
|
71
|
+
|
72
|
+
Actions.sh(shell_command)
|
73
|
+
end
|
74
|
+
|
75
|
+
UI.crash! "fail to remove ram disk" if Dir.exist?(path)
|
76
|
+
end
|
77
|
+
|
78
|
+
def mac?
|
79
|
+
require 'rbconfig'
|
80
|
+
|
81
|
+
platform = RbConfig::CONFIG['host_os']
|
82
|
+
platform.include?('darwin')
|
83
|
+
end
|
84
|
+
|
85
|
+
private
|
86
|
+
|
87
|
+
def create_ram_disk(name, size)
|
88
|
+
attch_ram = "hdiutil attach -nomount ram://$[#{size}*2048]"
|
89
|
+
disk_path = (Helper.test? ? "'#{attch_ram}'" : `#{attch_ram}`.chomp)
|
90
|
+
|
91
|
+
"diskutil erasevolume HFS+ #{name} #{disk_path}"
|
92
|
+
end
|
93
|
+
|
94
|
+
def remove_ram_disk(path)
|
95
|
+
"diskutil eject #{path}"
|
96
|
+
end
|
97
|
+
|
98
|
+
def spotlight_indexes(path, value)
|
99
|
+
value = value ? 'on' : 'off'
|
100
|
+
"mdutil -i #{value} #{path}"
|
101
|
+
end
|
102
|
+
|
103
|
+
def shared_value(key, value)
|
104
|
+
return Actions.lane_context[key] || ENV[key.to_s] unless value
|
105
|
+
|
106
|
+
Actions.lane_context[key] = value
|
107
|
+
ENV[key.to_s] = value
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
class Options
|
112
|
+
class << self
|
113
|
+
def available_options
|
114
|
+
@available_options ||= available_options
|
115
|
+
end
|
116
|
+
|
117
|
+
def available_create_options
|
118
|
+
@create_options ||= create_options
|
119
|
+
end
|
120
|
+
|
121
|
+
def available_remove_options
|
122
|
+
@remove_options ||= remove_options
|
123
|
+
end
|
124
|
+
|
125
|
+
def available_options
|
126
|
+
create_options.concat([
|
127
|
+
FastlaneCore::ConfigItem.new(key: :use,
|
128
|
+
description: 'The code of lamda to run',
|
129
|
+
is_string: false,
|
130
|
+
verify_block: proc do |value|
|
131
|
+
UI.user_error!('Please pass a lambda in Fastfile') unless value.respond_to?(:call)
|
132
|
+
end)
|
133
|
+
])
|
134
|
+
end
|
135
|
+
|
136
|
+
def create_options
|
137
|
+
[
|
138
|
+
FastlaneCore::ConfigItem.new(key: :name,
|
139
|
+
env_name: 'RAM_DISK_NAME',
|
140
|
+
description: 'The name of ram disk',
|
141
|
+
type: String),
|
142
|
+
FastlaneCore::ConfigItem.new(key: :size,
|
143
|
+
env_name: 'RAM_DISK_SIZE',
|
144
|
+
description: 'The size of ram disk (unit is MB)',
|
145
|
+
type: String),
|
146
|
+
FastlaneCore::ConfigItem.new(key: :mount_path,
|
147
|
+
env_name: 'RAM_DISK_MOUNT_PATH',
|
148
|
+
description: 'The path of ram disk',
|
149
|
+
optional: true,
|
150
|
+
default_value: '/Volumes',
|
151
|
+
type: String)
|
152
|
+
]
|
153
|
+
end
|
154
|
+
|
155
|
+
def remove_options
|
156
|
+
[
|
157
|
+
FastlaneCore::ConfigItem.new(key: :path,
|
158
|
+
env_name: 'RAM_DISK_PATH',
|
159
|
+
description: 'The path of ram disk',
|
160
|
+
optional: true,
|
161
|
+
default_value: Actions.lane_context[Actions::SharedValues::RAM_DISK_PATH],
|
162
|
+
type: String)
|
163
|
+
]
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|
168
|
+
end
|
metadata
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fastlane-plugin-ram_disk
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- icyleaf
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-11-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: pry
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec_junit_formatter
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.49.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.49.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-require_tools
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: simplecov
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: fastlane
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.135.2
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 2.135.2
|
139
|
+
description:
|
140
|
+
email: icyleaf.cn@gmail.com
|
141
|
+
executables: []
|
142
|
+
extensions: []
|
143
|
+
extra_rdoc_files: []
|
144
|
+
files:
|
145
|
+
- LICENSE
|
146
|
+
- README.md
|
147
|
+
- lib/fastlane/plugin/ram_disk.rb
|
148
|
+
- lib/fastlane/plugin/ram_disk/actions/create_ram_disk_action.rb
|
149
|
+
- lib/fastlane/plugin/ram_disk/actions/ram_disk_action.rb
|
150
|
+
- lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb
|
151
|
+
- lib/fastlane/plugin/ram_disk/helper/ram_disk_helper.rb
|
152
|
+
- lib/fastlane/plugin/ram_disk/manager.rb
|
153
|
+
- lib/fastlane/plugin/ram_disk/version.rb
|
154
|
+
homepage:
|
155
|
+
licenses:
|
156
|
+
- MIT
|
157
|
+
metadata: {}
|
158
|
+
post_install_message:
|
159
|
+
rdoc_options: []
|
160
|
+
require_paths:
|
161
|
+
- lib
|
162
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0'
|
172
|
+
requirements: []
|
173
|
+
rubygems_version: 3.0.6
|
174
|
+
signing_key:
|
175
|
+
specification_version: 4
|
176
|
+
summary: Use a temporary ram disk to do anything else
|
177
|
+
test_files: []
|