fastlane-plugin-pgyer-password 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 +4 -4
- data/Gemfile +3 -1
- data/{LICENSE.txt → LICENSE} +5 -5
- data/README.md +37 -21
- data/Rakefile +2 -2
- data/fastlane-plugin-pgyer-password.gemspec +7 -4
- data/fastlane/Fastfile +3 -0
- data/fastlane/Pluginfile +1 -0
- data/lib/fastlane/plugin/pgyer.rb +16 -0
- data/lib/fastlane/plugin/pgyer/actions/pgyer_action.rb +123 -0
- data/lib/fastlane/plugin/pgyer/helper/pgyer_helper.rb +12 -0
- data/lib/fastlane/plugin/pgyer/version.rb +5 -0
- metadata +72 -16
- data/.gitignore +0 -9
- data/CODE_OF_CONDUCT.md +0 -74
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/lib/fastlane/plugin/pgyer/password.rb +0 -11
- data/lib/fastlane/plugin/pgyer/password/version.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b2e25437302a7b4a45474a31667e89a9dfe3368
|
4
|
+
data.tar.gz: 68271cdc4ead0d231f3da3d4949bdd909b4cd3dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cc68f9a27cd0be0131802e259fc2963c80b46fb314a2c5f68c5af93f1a351aaac3c72f8fbf9292daa8529a656c7200c5da4d040fdf04c85dfcaf723ed9a8615
|
7
|
+
data.tar.gz: 5939dc6e9bf581c64ed2db42e14777e651f674ce96ef40e1393bed0c694df04654c7d1770114e1d79f8c51f270b1075e81d2294adde74e2426749d5f9350d44e
|
data/Gemfile
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# Specify your gem's dependencies in fastlane-plugin-pgyer-password.gemspec
|
4
3
|
gemspec
|
4
|
+
|
5
|
+
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
|
6
|
+
eval(File.read(plugins_path), binding) if File.exist?(plugins_path)
|
data/{LICENSE.txt → LICENSE}
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2017
|
3
|
+
Copyright (c) 2017 rexshi <rexshi@pgyer.com>
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
9
|
copies of the Software, and to permit persons to whom the Software is
|
10
10
|
furnished to do so, subject to the following conditions:
|
11
11
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
14
|
|
15
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
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
|
21
|
-
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -1,41 +1,57 @@
|
|
1
|
-
#
|
1
|
+
# pgyer plugin
|
2
2
|
|
3
|
-
|
3
|
+
[](https://rubygems.org/gems/fastlane-plugin-pgyer)
|
4
4
|
|
5
|
-
|
5
|
+
## Getting Started
|
6
6
|
|
7
|
-
|
7
|
+
This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-pgyer`, add it to your project by running:
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'fastlane-plugin-pgyer-password'
|
9
|
+
```bash
|
10
|
+
fastlane add_plugin pgyer
|
13
11
|
```
|
14
12
|
|
15
|
-
|
13
|
+
## About pgyer
|
14
|
+
|
15
|
+
This pluginin allow you distribute app automatically to [pgyer beta testing service](https://www.pgyer.com) in fastlane workflow.
|
16
|
+
|
17
|
+
## Example
|
16
18
|
|
17
|
-
|
19
|
+
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`.
|
18
20
|
|
19
|
-
|
21
|
+
Just specify the `api_key` and `user_key` associated with your pgyer account.
|
22
|
+
|
23
|
+
```
|
24
|
+
lane :beta do
|
25
|
+
gym
|
26
|
+
pgyer(api_key: "7f15xxxxxxxxxxxxxxxxxx141", user_key: "4a5bcxxxxxxxxxxxxxxx3a9e")
|
27
|
+
end
|
28
|
+
```
|
20
29
|
|
21
|
-
|
30
|
+
## Run tests for this plugin
|
22
31
|
|
23
|
-
|
32
|
+
To run both the tests, and code style validation, run
|
24
33
|
|
25
|
-
|
34
|
+
```
|
35
|
+
rake
|
36
|
+
```
|
26
37
|
|
27
|
-
|
38
|
+
To automatically fix many of the styling issues, use
|
39
|
+
```
|
40
|
+
rubocop -a
|
41
|
+
```
|
28
42
|
|
29
|
-
|
43
|
+
## Issues and Feedback
|
30
44
|
|
31
|
-
|
45
|
+
For any other issues and feedback about this plugin, please submit it to this repository.
|
32
46
|
|
33
|
-
##
|
47
|
+
## Troubleshooting
|
34
48
|
|
35
|
-
|
49
|
+
If you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.
|
36
50
|
|
51
|
+
## Using `fastlane` Plugins
|
37
52
|
|
38
|
-
|
53
|
+
For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).
|
39
54
|
|
40
|
-
|
55
|
+
## About `fastlane`
|
41
56
|
|
57
|
+
`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).
|
data/Rakefile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
require
|
2
|
-
|
1
|
+
require 'bundler/gem_tasks'
|
2
|
+
|
@@ -5,7 +5,7 @@ require 'fastlane/plugin/pgyer/password/version'
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "fastlane-plugin-pgyer-password"
|
8
|
-
spec.version =
|
8
|
+
spec.version = "0.1.1"
|
9
9
|
spec.authors = ["Kila2"]
|
10
10
|
spec.email = ["277014717@qq.com"]
|
11
11
|
|
@@ -28,7 +28,10 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.bindir = "exe"
|
29
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ["lib"]
|
31
|
-
|
32
|
-
spec.add_development_dependency
|
33
|
-
spec.add_development_dependency
|
31
|
+
spec.add_development_dependency 'pry'
|
32
|
+
spec.add_development_dependency 'bundler'
|
33
|
+
spec.add_development_dependency 'rspec'
|
34
|
+
spec.add_development_dependency 'rake'
|
35
|
+
spec.add_development_dependency 'rubocop'
|
36
|
+
spec.add_development_dependency 'fastlane', '>= 2.9.0'
|
34
37
|
end
|
data/fastlane/Fastfile
ADDED
data/fastlane/Pluginfile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# Autogenerated by fastlane
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'fastlane/plugin/pgyer/version'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Pgyer
|
5
|
+
# Return all .rb files inside the "actions" and "helper" directory
|
6
|
+
def self.all_classes
|
7
|
+
Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
# By default we want to import all available actions and helpers
|
13
|
+
# A plugin can contain any number of actions and plugins
|
14
|
+
Fastlane::Pgyer.all_classes.each do |current|
|
15
|
+
require current
|
16
|
+
end
|
@@ -0,0 +1,123 @@
|
|
1
|
+
require 'faraday'
|
2
|
+
require 'faraday_middleware'
|
3
|
+
|
4
|
+
module Fastlane
|
5
|
+
module Actions
|
6
|
+
class PgyerAction < Action
|
7
|
+
|
8
|
+
def self.run(params)
|
9
|
+
UI.message("The pgyer plugin is working!")
|
10
|
+
|
11
|
+
api_host = "http://qiniu-storage.pgyer.com/apiv1/app/upload"
|
12
|
+
api_key = params[:api_key]
|
13
|
+
user_key = params[:user_key]
|
14
|
+
|
15
|
+
build_file = [
|
16
|
+
params[:ipa],
|
17
|
+
params[:apk]
|
18
|
+
].detect { |e| !e.to_s.empty? }
|
19
|
+
|
20
|
+
if build_file.nil?
|
21
|
+
UI.user_error!("You have to provide a build file")
|
22
|
+
end
|
23
|
+
|
24
|
+
UI.message "build_file: #{build_file}"
|
25
|
+
|
26
|
+
# start upload
|
27
|
+
conn_options = {
|
28
|
+
request: {
|
29
|
+
timeout: 1000,
|
30
|
+
open_timeout: 300
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
pgyer_client = Faraday.new(nil, conn_options) do |c|
|
35
|
+
c.request :multipart
|
36
|
+
c.request :url_encoded
|
37
|
+
c.response :json, content_type: /\bjson$/
|
38
|
+
c.adapter :net_http
|
39
|
+
end
|
40
|
+
|
41
|
+
params = {
|
42
|
+
'_api_key' => api_key,
|
43
|
+
'uKey' => user_key,
|
44
|
+
'file' => Faraday::UploadIO.new(build_file, 'application/octet-stream'),
|
45
|
+
'installType' => 2,
|
46
|
+
'password' => "123"
|
47
|
+
}
|
48
|
+
|
49
|
+
UI.message "Start upload #{build_file} to pgyer..."
|
50
|
+
|
51
|
+
response = pgyer_client.post api_host, params
|
52
|
+
info = response.body
|
53
|
+
|
54
|
+
UI.success "Upload success. Visit this URL to see: https://www.pgyer.com/#{info['data']['appShortcutUrl']}"
|
55
|
+
|
56
|
+
end
|
57
|
+
|
58
|
+
def self.description
|
59
|
+
"distribute app to pgyer beta testing service"
|
60
|
+
end
|
61
|
+
|
62
|
+
def self.authors
|
63
|
+
["rexshi"]
|
64
|
+
end
|
65
|
+
|
66
|
+
def self.return_value
|
67
|
+
# If your method provides a return value, you can describe here what it does
|
68
|
+
end
|
69
|
+
|
70
|
+
def self.details
|
71
|
+
# Optional:
|
72
|
+
"distribute app to pgyer beta testing service"
|
73
|
+
end
|
74
|
+
|
75
|
+
def self.available_options
|
76
|
+
[
|
77
|
+
FastlaneCore::ConfigItem.new(key: :api_key,
|
78
|
+
env_name: "PGYER_API_KEY",
|
79
|
+
description: "api_key in your pgyer account",
|
80
|
+
optional: false,
|
81
|
+
type: String),
|
82
|
+
FastlaneCore::ConfigItem.new(key: :user_key,
|
83
|
+
env_name: "PGYER_USER_KEY",
|
84
|
+
description: "user_key in your pgyer account",
|
85
|
+
optional: false,
|
86
|
+
type: String),
|
87
|
+
FastlaneCore::ConfigItem.new(key: :apk,
|
88
|
+
env_name: "PGYER_APK",
|
89
|
+
description: "Path to your APK file",
|
90
|
+
default_value: Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH],
|
91
|
+
optional: true,
|
92
|
+
verify_block: proc do |value|
|
93
|
+
UI.user_error!("Couldn't find apk file at path '#{value}'") unless File.exist?(value)
|
94
|
+
end,
|
95
|
+
conflicting_options: [:ipa],
|
96
|
+
conflict_block: proc do |value|
|
97
|
+
UI.user_error!("You can't use 'apk' and '#{value.key}' options in one run")
|
98
|
+
end),
|
99
|
+
FastlaneCore::ConfigItem.new(key: :ipa,
|
100
|
+
env_name: "PGYER_IPA",
|
101
|
+
description: "Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action. For Mac zip the .app. For Android provide path to .apk file",
|
102
|
+
default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
|
103
|
+
optional: true,
|
104
|
+
verify_block: proc do |value|
|
105
|
+
UI.user_error!("Couldn't find ipa file at path '#{value}'") unless File.exist?(value)
|
106
|
+
end,
|
107
|
+
conflicting_options: [:apk],
|
108
|
+
conflict_block: proc do |value|
|
109
|
+
UI.user_error!("You can't use 'ipa' and '#{value.key}' options in one run")
|
110
|
+
end),
|
111
|
+
]
|
112
|
+
end
|
113
|
+
|
114
|
+
def self.is_supported?(platform)
|
115
|
+
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
116
|
+
# See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
|
117
|
+
#
|
118
|
+
[:ios, :mac, :android].include?(platform)
|
119
|
+
true
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Helper
|
3
|
+
class PgyerHelper
|
4
|
+
# class methods that you define here become available in your action
|
5
|
+
# as `Helper::PgyerHelper.your_method`
|
6
|
+
#
|
7
|
+
def self.show_message
|
8
|
+
UI.message("Hello from the pgyer plugin helper!")
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-pgyer-password
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kila2
|
@@ -10,34 +10,90 @@ bindir: exe
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2017-03-02 00:00:00.000000000 Z
|
12
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'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
|
-
- - "
|
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
|
+
- - ">="
|
18
46
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
47
|
+
version: '0'
|
20
48
|
type: :development
|
21
49
|
prerelease: false
|
22
50
|
version_requirements: !ruby/object:Gem::Requirement
|
23
51
|
requirements:
|
24
|
-
- - "
|
52
|
+
- - ">="
|
25
53
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
54
|
+
version: '0'
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
56
|
name: rake
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
30
58
|
requirements:
|
31
|
-
- - "
|
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: rubocop
|
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: fastlane
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
32
88
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
89
|
+
version: 2.9.0
|
34
90
|
type: :development
|
35
91
|
prerelease: false
|
36
92
|
version_requirements: !ruby/object:Gem::Requirement
|
37
93
|
requirements:
|
38
|
-
- - "
|
94
|
+
- - ">="
|
39
95
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
96
|
+
version: 2.9.0
|
41
97
|
description:
|
42
98
|
email:
|
43
99
|
- 277014717@qq.com
|
@@ -45,17 +101,17 @@ executables: []
|
|
45
101
|
extensions: []
|
46
102
|
extra_rdoc_files: []
|
47
103
|
files:
|
48
|
-
- ".gitignore"
|
49
|
-
- CODE_OF_CONDUCT.md
|
50
104
|
- Gemfile
|
51
|
-
- LICENSE
|
105
|
+
- LICENSE
|
52
106
|
- README.md
|
53
107
|
- Rakefile
|
54
|
-
- bin/console
|
55
|
-
- bin/setup
|
56
108
|
- fastlane-plugin-pgyer-password.gemspec
|
57
|
-
-
|
58
|
-
-
|
109
|
+
- fastlane/Fastfile
|
110
|
+
- fastlane/Pluginfile
|
111
|
+
- lib/fastlane/plugin/pgyer.rb
|
112
|
+
- lib/fastlane/plugin/pgyer/actions/pgyer_action.rb
|
113
|
+
- lib/fastlane/plugin/pgyer/helper/pgyer_helper.rb
|
114
|
+
- lib/fastlane/plugin/pgyer/version.rb
|
59
115
|
homepage: https://github.com/Kila2/fastlane-plugin-pgyer
|
60
116
|
licenses:
|
61
117
|
- MIT
|
data/.gitignore
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
2
|
-
|
3
|
-
## Our Pledge
|
4
|
-
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
-
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
-
orientation.
|
11
|
-
|
12
|
-
## Our Standards
|
13
|
-
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
15
|
-
include:
|
16
|
-
|
17
|
-
* Using welcoming and inclusive language
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
19
|
-
* Gracefully accepting constructive criticism
|
20
|
-
* Focusing on what is best for the community
|
21
|
-
* Showing empathy towards other community members
|
22
|
-
|
23
|
-
Examples of unacceptable behavior by participants include:
|
24
|
-
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
-
advances
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
-
* Public or private harassment
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
30
|
-
address, without explicit permission
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
-
professional setting
|
33
|
-
|
34
|
-
## Our Responsibilities
|
35
|
-
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
38
|
-
response to any instances of unacceptable behavior.
|
39
|
-
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
-
threatening, offensive, or harmful.
|
45
|
-
|
46
|
-
## Scope
|
47
|
-
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
-
when an individual is representing the project or its community. Examples of
|
50
|
-
representing a project or community include using an official project e-mail
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
53
|
-
further defined and clarified by project maintainers.
|
54
|
-
|
55
|
-
## Enforcement
|
56
|
-
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at 277014717@qq.com. All
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
63
|
-
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
66
|
-
members of the project's leadership.
|
67
|
-
|
68
|
-
## Attribution
|
69
|
-
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
-
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
-
|
73
|
-
[homepage]: http://contributor-covenant.org
|
74
|
-
[version]: http://contributor-covenant.org/version/1/4/
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "fastlane/plugin/pgyer/password"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED