pantograph 0.1.10 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/pantograph/README.md +1 -1
- data/pantograph/lib/pantograph/actions/get_github_release.rb +1 -1
- data/pantograph/lib/pantograph/commands_generator.rb +1 -1
- data/pantograph/lib/pantograph/environment_printer.rb +1 -1
- data/pantograph/lib/pantograph/pant_file.rb +1 -1
- data/pantograph/lib/pantograph/pantograph_require.rb +1 -1
- data/pantograph/lib/pantograph/plugins/template/README.md.erb +1 -1
- data/pantograph/lib/pantograph/runner.rb +1 -1
- data/pantograph/lib/pantograph/version.rb +1 -1
- data/pantograph_core/README.md +2 -2
- data/pantograph_core/lib/pantograph_core/configuration/configuration.rb +2 -2
- data/pantograph_core/lib/pantograph_core/helper.rb +1 -1
- data/pantograph_core/lib/pantograph_core/languages.rb +1 -1
- data/pantograph_core/lib/pantograph_core/pantograph_pty.rb +2 -2
- data/pantograph_core/lib/pantograph_core/ui/pantograph_runner.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22397ac7fc9014a0c24ffa0179e47395193fdc242d9a0fb3567c127c5927c9e5
|
4
|
+
data.tar.gz: 12d32399e727cd40019368e2da4f1a1e0beaa3b10182f265efa5dd88b5a3bbd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68fb55c4a6677ff458b53b69ce44fb87dc33dfc845b7ceb24ad7c3f8368f88f29cb8bfae887b8a955d9cba20af97b1e2222d2c3dedb79d6c335299e677f71e60
|
7
|
+
data.tar.gz: cdff7c5367b6f016e81538acd5a5733c149b9922dfc9537a2ce0f722abdac3fffffba224d953d70cb7949699adf8ea3e6bbd005dc93dffe9941cadb9fc47b534
|
data/README.md
CHANGED
@@ -8,10 +8,10 @@
|
|
8
8
|
</h3>
|
9
9
|
|
10
10
|
[![Twitter: @PantographTools](https://img.shields.io/badge/contact-@PantographTools-blue.svg?style=flat)](https://twitter.com/PantographTools)
|
11
|
-
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/
|
11
|
+
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/johnknapprs/pantograph/blob/master/LICENSE)
|
12
12
|
[![Gem](https://img.shields.io/gem/v/pantograph.svg?style=flat)](https://rubygems.org/gems/pantograph)
|
13
|
-
[![Build Status](https://img.shields.io/circleci/project/github/
|
14
|
-
[![PRs welcome!](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/
|
13
|
+
[![Build Status](https://img.shields.io/circleci/project/github/johnknapprs/pantograph/master.svg)](https://circleci.com/gh/pantograph/pantograph)
|
14
|
+
[![PRs welcome!](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/johnknapprs/pantograph/blob/master/CONTRIBUTING.md)
|
15
15
|
|
16
16
|
_pantograph_ is a tool for iOS and Android developers to automate tedious tasks like generating screenshots, dealing with provisioning profiles, and releasing your application.
|
17
17
|
|
@@ -26,9 +26,9 @@ _pantograph_ is a tool for iOS and Android developers to automate tedious tasks
|
|
26
26
|
Before submitting a new GitHub issue, please make sure to
|
27
27
|
|
28
28
|
- Check out [johnknapprs.github.io/pantograph](https://johnknapprs.github.io/pantograph)
|
29
|
-
- Search for [existing GitHub issues](https://github.com/
|
29
|
+
- Search for [existing GitHub issues](https://github.com/johnknapprs/pantograph/issues)
|
30
30
|
|
31
|
-
If the above doesn't help, please [submit an issue](https://github.com/
|
31
|
+
If the above doesn't help, please [submit an issue](https://github.com/johnknapprs/pantograph/issues) on GitHub and provide information about your setup, in particular the output of the `pantograph env` command.
|
32
32
|
|
33
33
|
**Note**: If you want to report a regression in _pantograph_ (something that has worked before, but broke with a new release), please mark your issue title as such using `[Regression] Your title here`. This enables us to quickly detect and fix regressions.
|
34
34
|
|
@@ -46,7 +46,7 @@ If the above doesn't help, please [submit an issue](https://github.com/pantograp
|
|
46
46
|
</tr>
|
47
47
|
</table>
|
48
48
|
|
49
|
-
Special thanks to all [contributors](https://github.com/
|
49
|
+
Special thanks to all [contributors](https://github.com/johnknapprs/pantograph/graphs/contributors) for extending and improving _pantograph_.
|
50
50
|
|
51
51
|
## Contribute to _pantograph_
|
52
52
|
|
@@ -54,7 +54,7 @@ Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to help
|
|
54
54
|
|
55
55
|
## Code of Conduct
|
56
56
|
|
57
|
-
Help us keep _pantograph_ open and inclusive. Please read and follow our [Code of Conduct](https://github.com/
|
57
|
+
Help us keep _pantograph_ open and inclusive. Please read and follow our [Code of Conduct](https://github.com/johnknapprs/pantograph/blob/master/CODE_OF_CONDUCT.md).
|
58
58
|
|
59
59
|
## Metrics
|
60
60
|
|
@@ -63,7 +63,7 @@ _pantograph_ tracks a few key metrics to understand how developers are using the
|
|
63
63
|
* The number of _pantograph_ runs
|
64
64
|
* A salted hash of the app identifier or package name, which helps us anonymously identify unique usage of _pantograph_
|
65
65
|
|
66
|
-
You can easily opt-out of metrics collection by adding `opt_out_usage` at the top of your `Pantfile` or by setting the environment variable `PANTOGRAPH_OPT_OUT_USAGE`. [Check out the metrics code on GitHub](https://github.com/
|
66
|
+
You can easily opt-out of metrics collection by adding `opt_out_usage` at the top of your `Pantfile` or by setting the environment variable `PANTOGRAPH_OPT_OUT_USAGE`. [Check out the metrics code on GitHub](https://github.com/johnknapprs/pantograph/tree/master/pantograph_core/lib/pantograph_core/analytics)
|
67
67
|
|
68
68
|
## License
|
69
69
|
|
data/pantograph/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<h3 align="center">
|
2
2
|
<a href="https://johnknapprs.github.io/pantograph/">
|
3
|
-
<img src="https://raw.githubusercontent.com/
|
3
|
+
<img src="https://raw.githubusercontent.com/johnknapprs/pantograph/master/pantograph/assets/pantograph.png" width="100" />
|
4
4
|
<br />
|
5
5
|
pantograph
|
6
6
|
</a>
|
@@ -58,7 +58,7 @@ module Pantograph
|
|
58
58
|
"url"=>"https://api.github.com/repos/KrauseFx/pantograph/releases/1537713",
|
59
59
|
"assets_url"=>"https://api.github.com/repos/KrauseFx/pantograph/releases/1537713/assets",
|
60
60
|
"upload_url"=>"https://uploads.github.com/repos/KrauseFx/pantograph/releases/1537713/assets{?name}",
|
61
|
-
"html_url"=>"https://github.com/
|
61
|
+
"html_url"=>"https://github.com/johnknapprs/pantograph/releases/tag/1.8.0",
|
62
62
|
"id"=>1537713,
|
63
63
|
"tag_name"=>"1.8.0",
|
64
64
|
"target_commitish"=>"master",
|
@@ -14,7 +14,7 @@ module Pantograph
|
|
14
14
|
copy_to_clipboard(env_info)
|
15
15
|
UI.success("Successfully copied markdown into your clipboard 🎨")
|
16
16
|
end
|
17
|
-
UI.success("Open https://github.com/
|
17
|
+
UI.success("Open https://github.com/johnknapprs/pantograph/issues/new to submit a new issue ✅")
|
18
18
|
end
|
19
19
|
|
20
20
|
def self.get
|
@@ -189,7 +189,7 @@ module Pantograph
|
|
189
189
|
# Execute shell command
|
190
190
|
# Accepts arguments with with and without the command named keyword so that sh
|
191
191
|
# behaves like other actions with named keywords
|
192
|
-
# https://github.com/
|
192
|
+
# https://github.com/johnknapprs/pantograph/issues/14930
|
193
193
|
#
|
194
194
|
# Example:
|
195
195
|
# sh("ls")
|
@@ -45,7 +45,7 @@ module Pantograph
|
|
45
45
|
# In special cases a gem is already preinstalled, e.g. YAML.
|
46
46
|
# To find out we try to load a gem with that name in a child process
|
47
47
|
# (so we don't actually load anything we don't want to load)
|
48
|
-
# See https://github.com/
|
48
|
+
# See https://github.com/johnknapprs/pantograph/issues/6951
|
49
49
|
require_tester = <<-RB.gsub(/^ */, '')
|
50
50
|
begin
|
51
51
|
require ARGV.first
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# <%= plugin_name %> plugin
|
2
2
|
|
3
|
-
[![pantograph Plugin Badge](https://rawcdn.githack.com/
|
3
|
+
[![pantograph Plugin Badge](https://rawcdn.githack.com/johnknapprs/pantograph/master/pantograph/assets/plugin-badge.svg)](https://rubygems.org/gems/<%= gem_name %>)
|
4
4
|
|
5
5
|
## Getting Started
|
6
6
|
|
@@ -272,7 +272,7 @@ module Pantograph
|
|
272
272
|
end
|
273
273
|
|
274
274
|
def action_completed(action_name, status: nil, exception: nil)
|
275
|
-
# https://github.com/
|
275
|
+
# https://github.com/johnknapprs/pantograph/issues/11913
|
276
276
|
# if exception.nil? || exception.pantograph_should_report_metrics?
|
277
277
|
# action_completion_context = PantographCore::ActionCompletionContext.context_for_action_name(action_name, args: ARGV, status: status)
|
278
278
|
# PantographCore.session.action_completed(completion_context: action_completion_context)
|
data/pantograph_core/README.md
CHANGED
@@ -2,7 +2,7 @@ PantographCore
|
|
2
2
|
============
|
3
3
|
|
4
4
|
[![Twitter: @PantographTools](https://img.shields.io/badge/contact-@PantographTools-blue.svg?style=flat)](https://twitter.com/PantographTools)
|
5
|
-
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/
|
5
|
+
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/johnknapprs/pantograph/blob/master/LICENSE)
|
6
6
|
|
7
7
|
All shared code of the pantograph tools is stored in this repository.
|
8
8
|
|
@@ -71,7 +71,7 @@ UI.deprecated("The '--key' parameter is deprecated")
|
|
71
71
|
```
|
72
72
|
|
73
73
|
# Code of Conduct
|
74
|
-
Help us keep _pantograph_ open and inclusive. Please read and follow our [Code of Conduct](https://github.com/
|
74
|
+
Help us keep _pantograph_ open and inclusive. Please read and follow our [Code of Conduct](https://github.com/johnknapprs/pantograph/blob/master/CODE_OF_CONDUCT.md).
|
75
75
|
|
76
76
|
# License
|
77
77
|
This project is licensed under the terms of the MIT license. See the LICENSE file.
|
@@ -219,7 +219,7 @@ module PantographCore
|
|
219
219
|
value = if @values.key?(key) && !@values[key].nil?
|
220
220
|
@values[key]
|
221
221
|
elsif option.env_name && !ENV[option.env_name].nil?
|
222
|
-
# verify! before using (see https://github.com/
|
222
|
+
# verify! before using (see https://github.com/johnknapprs/pantograph/issues/14449)
|
223
223
|
ENV[option.env_name].dup if option.verify!(option.auto_convert_value(ENV[option.env_name]))
|
224
224
|
elsif self.config_file_options.key?(key)
|
225
225
|
self.config_file_options[key]
|
@@ -256,7 +256,7 @@ module PantographCore
|
|
256
256
|
# as this will make sure to use the `fetch` method
|
257
257
|
# that is responsible for auto converting the values into the right
|
258
258
|
# data type
|
259
|
-
# Found out via https://github.com/
|
259
|
+
# Found out via https://github.com/johnknapprs/pantograph/issues/11243
|
260
260
|
return self[key]
|
261
261
|
end
|
262
262
|
# rubocop:enable Metrics/PerceivedComplexity
|
@@ -238,7 +238,7 @@ module PantographCore
|
|
238
238
|
# We need to expand each path because File.exist? won't handle directories including ~ properly
|
239
239
|
#
|
240
240
|
# We also try to append `-db` at the end of the file path, as with Sierra the default Keychain name
|
241
|
-
# has changed for some users: https://github.com/
|
241
|
+
# has changed for some users: https://github.com/johnknapprs/pantograph/issues/5649
|
242
242
|
|
243
243
|
# Remove the ".keychain" at the end of the keychain name
|
244
244
|
name = keychain_name.sub(/\.keychain$/, "")
|
@@ -8,7 +8,7 @@ module PantographCore
|
|
8
8
|
# The new format used from September 2015 on
|
9
9
|
# Updates should also be made to:
|
10
10
|
# - produce/lib/produce/available_default_languages.rb
|
11
|
-
# See pull request for example: https://github.com/
|
11
|
+
# See pull request for example: https://github.com/johnknapprs/pantograph/pull/14110
|
12
12
|
ALL_LANGUAGES = ["ar-SA", "ca", "cs", "da", "de-DE", "el", "en-AU", "en-CA", "en-GB", "en-US", "es-ES", "es-MX", "fi", "fr-CA", "fr-FR", "he", "hi", "hr", "hu", "id", "it", "ja", "ko", "ms", "nl-NL", "no", "pl", "pt-BR", "pt-PT", "ro", "ru", "sk", "sv", "th", "tr", "uk", "vi", "zh-Hans", "zh-Hant"]
|
13
13
|
end
|
14
14
|
end
|
@@ -1,5 +1,5 @@
|
|
1
|
-
# Source: Mix of https://github.com/
|
2
|
-
# https://github.com/
|
1
|
+
# Source: Mix of https://github.com/johnknapprs/pantograph/pull/7202/files,
|
2
|
+
# https://github.com/johnknapprs/pantograph/pull/11384#issuecomment-356084518 and
|
3
3
|
# https://github.com/DragonBox/u3d/blob/59e471ad78ac00cb629f479dbe386c5ad2dc5075/lib/u3d_core/command_runner.rb#L88-L96
|
4
4
|
|
5
5
|
class StandardError
|
@@ -117,7 +117,7 @@ module Commander
|
|
117
117
|
end
|
118
118
|
|
119
119
|
def action_completed(action_name, status: nil, exception: nil)
|
120
|
-
# https://github.com/
|
120
|
+
# https://github.com/johnknapprs/pantograph/issues/11913
|
121
121
|
# if exception.nil? || exception.pantograph_should_report_metrics?
|
122
122
|
# action_completion_context = PantographCore::ActionCompletionContext.context_for_action_name(action_name, args: ARGV, status: status)
|
123
123
|
# PantographCore.session.action_completed(completion_context: action_completion_context)
|
@@ -165,7 +165,7 @@ module Commander
|
|
165
165
|
# SSL errors are very common when the Ruby or OpenSSL installation is somehow broken
|
166
166
|
# We want to show a nice error message to the user here
|
167
167
|
# We have over 20 GitHub issues just for this one error:
|
168
|
-
# https://github.com/
|
168
|
+
# https://github.com/johnknapprs/pantograph/search?q=errno%3D0+state%3DSSLv3+read+server&type=Issues
|
169
169
|
suggest_ruby_reinstall(e)
|
170
170
|
display_user_error!(e, e.to_s)
|
171
171
|
end
|