pantograph 0.1.20 → 0.1.21
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/README.md +15 -15
- data/pantograph/README.md +3 -3
- data/pantograph/lib/assets/ActionDetails.md.erb +3 -3
- data/pantograph/lib/assets/Actions.md.erb +1 -1
- data/pantograph/lib/assets/DefaultPantfileTemplate +3 -3
- data/pantograph/lib/pantograph/action_collector.rb +1 -1
- data/pantograph/lib/pantograph/actions/actions_helper.rb +2 -2
- data/pantograph/lib/pantograph/actions/create_pull_request.rb +2 -2
- data/pantograph/lib/pantograph/actions/get_github_release.rb +3 -3
- data/pantograph/lib/pantograph/actions/import_from_git.rb +3 -3
- data/pantograph/lib/pantograph/actions/lane_context.rb +1 -1
- data/pantograph/lib/pantograph/actions/opt_out_usage.rb +1 -1
- data/pantograph/lib/pantograph/actions/set_github_release.rb +4 -4
- data/pantograph/lib/pantograph/actions/sh.rb +1 -1
- data/pantograph/lib/pantograph/actions/sonar.rb +1 -4
- data/pantograph/lib/pantograph/actions/update_pantograph.rb +1 -1
- data/pantograph/lib/pantograph/cli_tools_distributor.rb +2 -2
- data/pantograph/lib/pantograph/commands_generator.rb +1 -1
- data/pantograph/lib/pantograph/documentation/actions_list.rb +1 -1
- data/pantograph/lib/pantograph/documentation/docs_generator.rb +1 -1
- data/pantograph/lib/pantograph/environment_printer.rb +1 -1
- data/pantograph/lib/pantograph/lane_manager.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/plugin_manager.rb +1 -1
- data/pantograph/lib/pantograph/plugins/template/README.md.erb +4 -4
- data/pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/actions/%plugin_name%_action.rb.erb +1 -1
- data/pantograph/lib/pantograph/runner.rb +2 -2
- data/pantograph/lib/pantograph/setup/setup.rb +5 -5
- data/pantograph/lib/pantograph/setup/setup_angular.rb +7 -7
- data/pantograph/lib/pantograph/version.rb +1 -1
- data/pantograph_core/README.md +2 -2
- data/pantograph_core/lib/pantograph_core/analytics/analytics_ingester_client.rb +1 -1
- data/pantograph_core/lib/pantograph_core/analytics/analytics_session.rb +1 -1
- data/pantograph_core/lib/pantograph_core/configuration/commander_generator.rb +1 -1
- data/pantograph_core/lib/pantograph_core/configuration/configuration.rb +3 -3
- data/pantograph_core/lib/pantograph_core/helper.rb +2 -2
- data/pantograph_core/lib/pantograph_core/keychain_importer.rb +2 -2
- data/pantograph_core/lib/pantograph_core/module.rb +1 -1
- data/pantograph_core/lib/pantograph_core/pantograph_pty.rb +2 -2
- data/pantograph_core/lib/pantograph_core/ui/disable_colors.rb +1 -1
- data/pantograph_core/lib/pantograph_core/ui/pantograph_runner.rb +4 -4
- data/pantograph_core/lib/pantograph_core/update_checker/changelog.rb +2 -2
- data/pantograph_core/lib/pantograph_core/update_checker/update_checker.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ca348c279806bde46f534a428dad6d124196e3f357142f972cad60f6483195a
|
|
4
|
+
data.tar.gz: 8c9b6f569895f62af8982794cc77878ca87d94f9a247f5c9315c2dbae9756c13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50db8a099bb06d02cbf94c7db25f5aeffc1a400398c2fbe4bfd8c67f978ecd4a8a380d343dc5a2024b585a033517e75d1465d9420fdafb060621a1de9b6521c7
|
|
7
|
+
data.tar.gz: ed4bd0c8242447e1332b7b39e5241849467876fb898b43137d1a62fc6b523903c0aae60b63ceb9bae24a0b93bd6cca0270006ad3c0ed213cac80d14b577e498e
|
data/README.md
CHANGED
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
<h3 align="center">
|
|
4
4
|
|
|
5
|
-
<a href="https://github.com/
|
|
6
|
-
<img src="https://github.com/
|
|
5
|
+
<a href="https://github.com/urbanquakers/pantograph/blob/master/docs/docs/img/pantograph_text.png">
|
|
6
|
+
<img src="https://github.com/urbanquakers/pantograph/blob/master/docs/docs/img/pantograph_text.png?raw=true" alt="pantograph Logo" width="500">
|
|
7
7
|
</a>
|
|
8
8
|
</h3>
|
|
9
9
|
|
|
10
10
|
[](https://twitter.com/PantographTools)
|
|
11
|
-
[](https://github.com/
|
|
11
|
+
[](https://github.com/urbanquakers/pantograph/blob/master/LICENSE)
|
|
12
12
|
[](https://rubygems.org/gems/pantograph)
|
|
13
|
-
[](https://github.com/
|
|
13
|
+
[](https://circleci.com/gh/urbanquakers/pantograph)
|
|
14
|
+
[](https://github.com/urbanquakers/pantograph/blob/master/CONTRIBUTING.md)
|
|
15
15
|
|
|
16
16
|
_pantograph_ is a tool for developers to automate tedious tasks
|
|
17
17
|
|
|
18
18
|
<hr />
|
|
19
19
|
<h2 align="center">
|
|
20
|
-
✨ All pantograph docs were moved to <a href="https://
|
|
20
|
+
✨ All pantograph docs were moved to <a href="https://urbanquakers.github.io/pantograph/">urbanquakers.github.io/pantograph</a> ✨
|
|
21
21
|
</h2>
|
|
22
22
|
<hr />
|
|
23
23
|
|
|
@@ -25,10 +25,10 @@ _pantograph_ is a tool for developers to automate tedious tasks
|
|
|
25
25
|
|
|
26
26
|
Before submitting a new GitHub issue, please make sure to
|
|
27
27
|
|
|
28
|
-
- Check out [
|
|
29
|
-
- Search for [existing GitHub issues](https://github.com/
|
|
28
|
+
- Check out [urbanquakers.github.io/pantograph](https://urbanquakers.github.io/pantograph)
|
|
29
|
+
- Search for [existing GitHub issues](https://github.com/urbanquakers/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/urbanquakers/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
|
|
|
@@ -38,15 +38,15 @@ If the above doesn't help, please [submit an issue](https://github.com/johnknapp
|
|
|
38
38
|
<table id='team'>
|
|
39
39
|
<tr>
|
|
40
40
|
<td id='john knapp'>
|
|
41
|
-
<a href='https://github.com/
|
|
42
|
-
<img src='https://github.com/
|
|
41
|
+
<a href='https://github.com/urbanquakers'>
|
|
42
|
+
<img src='https://github.com/urbanquakers.png?size=140'>
|
|
43
43
|
</a>
|
|
44
44
|
<h4 align='center'><a href='https://twitter.com/petrosichor'>Helmut Januschka</a></h4>
|
|
45
45
|
</td>
|
|
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/urbanquakers/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/urbanquakers/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/urbanquakers/pantograph/tree/master/pantograph_core/lib/pantograph_core/analytics)
|
|
67
67
|
|
|
68
68
|
## License
|
|
69
69
|
|
|
@@ -71,6 +71,6 @@ This project is licensed under the terms of the MIT license. See the [LICENSE](L
|
|
|
71
71
|
|
|
72
72
|
<hr />
|
|
73
73
|
<h2 align="center">
|
|
74
|
-
✨ All pantograph docs were moved to <a href="https://
|
|
74
|
+
✨ All pantograph docs were moved to <a href="https://urbanquakers.github.io/pantograph/">urbanquakers.github.io/pantograph</a> ✨
|
|
75
75
|
</h2>
|
|
76
76
|
<hr />
|
data/pantograph/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<h3 align="center">
|
|
2
|
-
<a href="https://
|
|
3
|
-
<img src="https://raw.githubusercontent.com/
|
|
2
|
+
<a href="https://urbanquakers.github.io/pantograph/">
|
|
3
|
+
<img src="https://raw.githubusercontent.com/urbanquakers/pantograph/master/pantograph/assets/pantograph.png" width="100" />
|
|
4
4
|
<br />
|
|
5
5
|
pantograph
|
|
6
6
|
</a>
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
------
|
|
10
10
|
|
|
11
|
-
<h3 align="center">The <i>pantograph</i> docs were moved to <a href='https://
|
|
11
|
+
<h3 align="center">The <i>pantograph</i> docs were moved to <a href='https://urbanquakers.github.io/pantograph/'>urbanquakers.github.io/pantograph</a></h3>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
This file is auto-generated and will be re-generated every time the docs are updated.
|
|
3
|
-
To modify it, go to its source at https://github.com/
|
|
3
|
+
To modify it, go to its source at https://github.com/urbanquakers/pantograph/blob/master/pantograph/lib/pantograph/actions/<%= @action_filename %>
|
|
4
4
|
-->
|
|
5
5
|
|
|
6
6
|
# <%= @action.action_name %>
|
|
@@ -64,7 +64,7 @@ SharedValue | Description
|
|
|
64
64
|
<%- next if array_item.length != 2 -%>
|
|
65
65
|
`SharedValues::<%= array_item[0] %>` | <%= array_item[1] %>
|
|
66
66
|
<%- end %>
|
|
67
|
-
To get more information check the [Lanes documentation](https://
|
|
67
|
+
To get more information check the [Lanes documentation](https://urbanquakers.github.io/pantograph/advanced/lanes/#lane-context).
|
|
68
68
|
<hr />
|
|
69
69
|
<% end %><%# End of action.output... %>
|
|
70
70
|
|
|
@@ -99,7 +99,7 @@ It is recommended to add all _pantograph_ actions you use to your `Pantfile`.
|
|
|
99
99
|
|
|
100
100
|
## Source code
|
|
101
101
|
|
|
102
|
-
This action, just like the rest of _pantograph_, is fully open source, <a href="https://github.com/
|
|
102
|
+
This action, just like the rest of _pantograph_, is fully open source, <a href="https://github.com/urbanquakers/pantograph/blob/master/pantograph/lib/pantograph/actions/<%= @action_filename %>" target="_blank">view the source code on GitHub</a>
|
|
103
103
|
|
|
104
104
|
<hr />
|
|
105
105
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
This file is auto-generated and will be re-generated every time the docs are updated.
|
|
3
|
-
To modify it, go to its source at https://github.com/
|
|
3
|
+
To modify it, go to its source at https://github.com/urbanquakers/pantograph/blob/master/pantograph/lib/assets/Actions.md.erb
|
|
4
4
|
-->
|
|
5
5
|
|
|
6
6
|
{!docs/includes/setup-pantograph-header.md!}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# This file contains the pantograph.tools configuration
|
|
2
|
-
# You can find the documentation at https://
|
|
2
|
+
# You can find the documentation at https://urbanquakers.github.io/pantograph
|
|
3
3
|
#
|
|
4
4
|
# For a list of all available actions, check out
|
|
5
5
|
#
|
|
6
|
-
# https://
|
|
6
|
+
# https://urbanquakers.github.io/pantograph/actions
|
|
7
7
|
#
|
|
8
8
|
# For a list of all available plugins, check out
|
|
9
9
|
#
|
|
10
|
-
# https://
|
|
10
|
+
# https://urbanquakers.github.io/pantograph/plugins/available-plugins
|
|
11
11
|
#
|
|
12
12
|
|
|
13
13
|
# Uncomment the line if you want pantograph to automatically update itself
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Pantograph
|
|
2
2
|
class ActionCollector
|
|
3
3
|
def show_message
|
|
4
|
-
UI.message("Sending Crash/Success information. Learn more at https://
|
|
4
|
+
UI.message("Sending Crash/Success information. Learn more at https://urbanquakers.github.io/pantograph/#metrics")
|
|
5
5
|
UI.message("No personal/sensitive data is sent. Only sharing the following:")
|
|
6
6
|
UI.message(launches)
|
|
7
7
|
UI.message(@error) if @error
|
|
@@ -130,13 +130,13 @@ module Pantograph
|
|
|
130
130
|
UI.success("Successfully loaded custom action '#{file}'.") if PantographCore::Globals.verbose?
|
|
131
131
|
else
|
|
132
132
|
UI.error("Could not find method 'run' in class #{class_name}.")
|
|
133
|
-
UI.error('For more information, check out the docs: https://
|
|
133
|
+
UI.error('For more information, check out the docs: https://urbanquakers.github.io/pantograph/')
|
|
134
134
|
UI.user_error!("Action '#{file_name}' is damaged!", show_github_issues: true)
|
|
135
135
|
end
|
|
136
136
|
rescue NameError
|
|
137
137
|
# Action not found
|
|
138
138
|
UI.error("Could not find '#{class_name}' class defined.")
|
|
139
|
-
UI.error('For more information, check out the docs: https://
|
|
139
|
+
UI.error('For more information, check out the docs: https://urbanquakers.github.io/pantograph/')
|
|
140
140
|
UI.user_error!("Action '#{file_name}' is damaged!", show_github_issues: true)
|
|
141
141
|
end
|
|
142
142
|
end
|
|
@@ -157,7 +157,7 @@ module Pantograph
|
|
|
157
157
|
end
|
|
158
158
|
|
|
159
159
|
def self.author
|
|
160
|
-
[
|
|
160
|
+
['seei', 'tommeier', 'marumemomo', 'johnknapprs']
|
|
161
161
|
end
|
|
162
162
|
|
|
163
163
|
def self.is_supported?(platform)
|
|
@@ -172,7 +172,7 @@ module Pantograph
|
|
|
172
172
|
[
|
|
173
173
|
'create_pull_request(
|
|
174
174
|
api_token: "secret", # optional, defaults to ENV["GITHUB_API_TOKEN"]
|
|
175
|
-
repo: "
|
|
175
|
+
repo: "urbanquakers/pantograph",
|
|
176
176
|
title: "Amazing new feature",
|
|
177
177
|
head: "my-feature", # optional, defaults to current branch name
|
|
178
178
|
base: "master", # optional, defaults to "master"
|
|
@@ -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/urbanquakers/pantograph/releases/tag/1.8.0",
|
|
62
62
|
"id"=>1537713,
|
|
63
63
|
"tag_name"=>"1.8.0",
|
|
64
64
|
"target_commitish"=>"master",
|
|
@@ -110,7 +110,7 @@ module Pantograph
|
|
|
110
110
|
[
|
|
111
111
|
PantographCore::ConfigItem.new(key: :url,
|
|
112
112
|
env_name: 'GET_GITHUB_RELEASE_URL',
|
|
113
|
-
description: "The path to your repo, e.g. '
|
|
113
|
+
description: "The path to your repo, e.g. 'urbanquakers/pantograph'",
|
|
114
114
|
verify_block: proc do |value|
|
|
115
115
|
UI.user_error!("Please only pass the path, e.g. 'KrauseFx/pantograph'") if value.include?('github.com')
|
|
116
116
|
UI.user_error!("Please only pass the path, e.g. 'KrauseFx/pantograph'") if value.split('/').count != 2
|
|
@@ -144,7 +144,7 @@ module Pantograph
|
|
|
144
144
|
|
|
145
145
|
def self.example_code
|
|
146
146
|
[
|
|
147
|
-
'release = get_github_release(url: "
|
|
147
|
+
'release = get_github_release(url: "urbanquakers/pantograph", version: "1.0.0")
|
|
148
148
|
puts release["name"]'
|
|
149
149
|
]
|
|
150
150
|
end
|
|
@@ -59,12 +59,12 @@ module Pantograph
|
|
|
59
59
|
[
|
|
60
60
|
' # Simple import on master branch
|
|
61
61
|
import_from_git(
|
|
62
|
-
url: "git@github.com:
|
|
62
|
+
url: "git@github.com:urbanquakers/pantograph.git"
|
|
63
63
|
)
|
|
64
64
|
',
|
|
65
65
|
' # Import a Pantfile with an Optimistic version match operator
|
|
66
66
|
import_from_git(
|
|
67
|
-
url: "git@github.com:
|
|
67
|
+
url: "git@github.com:urbanquakers/pantograph.git",
|
|
68
68
|
branch: "master",
|
|
69
69
|
path: "pantograph/Pantfile",
|
|
70
70
|
version: "~> 1.0.0"
|
|
@@ -72,7 +72,7 @@ module Pantograph
|
|
|
72
72
|
',
|
|
73
73
|
' # Import a Pantfile with multiple version conditions
|
|
74
74
|
import_from_git(
|
|
75
|
-
url: "git@github.com:
|
|
75
|
+
url: "git@github.com:urbanquakers/pantograph.git", # The URL of the repository to import the Pantfile from.
|
|
76
76
|
branch: "development", # The branch to checkout on the repository
|
|
77
77
|
version: [">= 1.1.0", "< 2.0.0"]
|
|
78
78
|
)
|
|
@@ -16,7 +16,7 @@ module Pantograph
|
|
|
16
16
|
def self.details
|
|
17
17
|
[
|
|
18
18
|
'More information about how the lane context works:',
|
|
19
|
-
'[https://
|
|
19
|
+
'[https://urbanquakers.github.io/pantograph/advanced/#lane-context](https://urbanquakers.github.io/pantograph/advanced/#lane-context)'
|
|
20
20
|
].join(' ')
|
|
21
21
|
end
|
|
22
22
|
|
|
@@ -13,7 +13,7 @@ module Pantograph
|
|
|
13
13
|
def self.details
|
|
14
14
|
[
|
|
15
15
|
'By default, _pantograph_ will track what actions are being used. No personal/sensitive information is recorded.',
|
|
16
|
-
'Learn more at [https://
|
|
16
|
+
'Learn more at [https://urbanquakers.github.io/pantograph/#metrics](https://urbanquakers.github.io/pantograph/#metrics).',
|
|
17
17
|
'Add `opt_out_usage` at the top of your Pantfile to disable metrics collection.'
|
|
18
18
|
].join("\n")
|
|
19
19
|
end
|
|
@@ -157,10 +157,10 @@ module Pantograph
|
|
|
157
157
|
[
|
|
158
158
|
PantographCore::ConfigItem.new(key: :repository_name,
|
|
159
159
|
env_name: 'SET_GITHUB_RELEASE_REPOSITORY_NAME',
|
|
160
|
-
description: "The path to your repo, e.g. '
|
|
160
|
+
description: "The path to your repo, e.g. 'urbanquakers/pantograph'",
|
|
161
161
|
verify_block: proc do |value|
|
|
162
|
-
UI.user_error!("Please only pass the path, e.g. '
|
|
163
|
-
UI.user_error!("Please only pass the path, e.g. '
|
|
162
|
+
UI.user_error!("Please only pass the path, e.g. 'urbanquakers/pantograph'") if value.include?("github.com")
|
|
163
|
+
UI.user_error!("Please only pass the path, e.g. 'urbanquakers/pantograph'") if value.split('/').count != 2
|
|
164
164
|
end),
|
|
165
165
|
PantographCore::ConfigItem.new(key: :server_url,
|
|
166
166
|
env_name: 'GITHUB_RELEASE_SERVER_URL',
|
|
@@ -255,7 +255,7 @@ module Pantograph
|
|
|
255
255
|
def self.example_code
|
|
256
256
|
[
|
|
257
257
|
'github_release = set_github_release(
|
|
258
|
-
repository_name: "
|
|
258
|
+
repository_name: "urbanquakers/pantograph",
|
|
259
259
|
api_token: ENV["GITHUB_TOKEN"],
|
|
260
260
|
name: "Super New actions",
|
|
261
261
|
tag_name: "v1.22.0",
|
|
@@ -16,7 +16,7 @@ module Pantograph
|
|
|
16
16
|
def self.details
|
|
17
17
|
[
|
|
18
18
|
'Allows running an arbitrary shell command.',
|
|
19
|
-
'Be aware of a specific behavior of `sh` action with regard to the working directory. For details, refer to [Advanced](https://
|
|
19
|
+
'Be aware of a specific behavior of `sh` action with regard to the working directory. For details, refer to [Advanced](https://urbanquakers.github.io/pantograph/advanced/#directory-behavior).'
|
|
20
20
|
].join("\n")
|
|
21
21
|
end
|
|
22
22
|
|
|
@@ -48,10 +48,7 @@ module Pantograph
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
def self.details
|
|
51
|
-
[
|
|
52
|
-
'See [http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner](http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner) for details.',
|
|
53
|
-
'It can process unit test results if formatted as junit report as shown in [xctest](https://johnknapprs.github.io/pantograph/actions/xctest/) action. It can also integrate coverage reports in Cobertura format, which can be transformed into by the [slather](https://johnknapprs.github.io/pantograph/actions/slather/) action.'
|
|
54
|
-
].join("\n")
|
|
51
|
+
'See [http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner](http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner) for details.'
|
|
55
52
|
end
|
|
56
53
|
|
|
57
54
|
def self.available_options
|
|
@@ -31,7 +31,7 @@ module Pantograph
|
|
|
31
31
|
UI.important('It seems that your Gem directory is not writable by your current user.')
|
|
32
32
|
UI.important("pantograph would need sudo rights to update itself, however, running 'sudo pantograph' is not recommended.")
|
|
33
33
|
UI.important('If you still want to use this action, please read the documentation on how to set this up:')
|
|
34
|
-
UI.important('https://
|
|
34
|
+
UI.important('https://urbanquakers.github.io/pantograph/actions/update_pantograph/')
|
|
35
35
|
return
|
|
36
36
|
end
|
|
37
37
|
|
|
@@ -51,7 +51,7 @@ module Pantograph
|
|
|
51
51
|
|
|
52
52
|
# Try to check UTF-8 with `locale`, fallback to environment variables
|
|
53
53
|
unless utf8_locale?
|
|
54
|
-
warn = "WARNING: pantograph requires your locale to be set to UTF-8. To learn more go to https://
|
|
54
|
+
warn = "WARNING: pantograph requires your locale to be set to UTF-8. To learn more go to https://urbanquakers.github.io/pantograph/getting-started/mac/setup/#set-up-environment-variables"
|
|
55
55
|
UI.error(warn)
|
|
56
56
|
at_exit do
|
|
57
57
|
# Repeat warning here so users hopefully see it
|
|
@@ -163,7 +163,7 @@ module Pantograph
|
|
|
163
163
|
UI.message('')
|
|
164
164
|
UI.important('After creating the Gemfile and Gemfile.lock, commit those files into version control')
|
|
165
165
|
end
|
|
166
|
-
UI.important('Get started using a Gemfile for pantograph https://
|
|
166
|
+
UI.important('Get started using a Gemfile for pantograph https://urbanquakers.github.io/pantograph/getting-started/mac/setup/#use-a-gemfile')
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
# Returns an array of symbols for the available lanes for the Pantfile
|
|
@@ -84,7 +84,7 @@ module Pantograph
|
|
|
84
84
|
].join("\n")
|
|
85
85
|
program :help, 'Author', 'Felix Krause <pantograph@krausefx.com>'
|
|
86
86
|
program :help, 'Website', 'https://pantograph.tools'
|
|
87
|
-
program :help, 'GitHub', 'https://github.com/
|
|
87
|
+
program :help, 'GitHub', 'https://github.com/urbanquakers/pantograph'
|
|
88
88
|
program :help_formatter, :compact
|
|
89
89
|
|
|
90
90
|
global_option('--verbose') { PantographCore::Globals.verbose = true }
|
|
@@ -68,7 +68,7 @@ module Pantograph
|
|
|
68
68
|
puts("==========================================\n".deprecated)
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
puts("More information can be found on https://
|
|
71
|
+
puts("More information can be found on https://urbanquakers.github.io/pantograph/actions/#{filter}")
|
|
72
72
|
puts("")
|
|
73
73
|
else
|
|
74
74
|
puts("Couldn't find action for the given filter.".red)
|
|
@@ -46,7 +46,7 @@ module Pantograph
|
|
|
46
46
|
|
|
47
47
|
output << "This README.md is auto-generated and will be re-generated every time [_pantograph_](https://pantograph.tools) is run."
|
|
48
48
|
output << "More information about pantograph can be found on [pantograph.tools](https://pantograph.tools)."
|
|
49
|
-
output << "The documentation of pantograph can be found on [
|
|
49
|
+
output << "The documentation of pantograph can be found on [urbanquakers.github.io/pantograph](https://urbanquakers.github.io/pantograph)."
|
|
50
50
|
output << ""
|
|
51
51
|
|
|
52
52
|
begin
|
|
@@ -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/urbanquakers/pantograph/issues/new to submit a new issue ✅")
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
def self.get
|
|
@@ -95,7 +95,7 @@ module Pantograph
|
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
if available.empty?
|
|
98
|
-
UI.user_error!("It looks like you don't have any lanes to run just yet. Check out how to get started here: https://github.com/
|
|
98
|
+
UI.user_error!("It looks like you don't have any lanes to run just yet. Check out how to get started here: https://github.com/urbanquakers/pantograph 🚀")
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
rows = []
|
|
@@ -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/urbanquakers/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/urbanquakers/pantograph/issues/6951
|
|
49
49
|
require_tester = <<-RB.gsub(/^ */, '')
|
|
50
50
|
begin
|
|
51
51
|
require ARGV.first
|
|
@@ -9,7 +9,7 @@ module Pantograph
|
|
|
9
9
|
AUTOGENERATED_LINE = "# Autogenerated by pantograph\n#\n# Ensure this file is checked in to source control!\n\n"
|
|
10
10
|
GEMFILE_SOURCE_LINE = "source \"https://rubygems.org\"\n"
|
|
11
11
|
PANTOGRAPH_PLUGIN_PREFIX = "pantograph-plugin-"
|
|
12
|
-
TROUBLESHOOTING_URL = "https://
|
|
12
|
+
TROUBLESHOOTING_URL = "https://urbanquakers.github.io/pantograph/plugins/plugins-troubleshooting/"
|
|
13
13
|
|
|
14
14
|
#####################################################
|
|
15
15
|
# @!group Reading the files and their paths
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# <%= plugin_name %> plugin
|
|
2
2
|
|
|
3
|
-
[](https://rubygems.org/gems/<%= gem_name %>)
|
|
4
4
|
|
|
5
5
|
## Getting Started
|
|
6
6
|
|
|
7
|
-
This project is a [_pantograph_](https://github.com/
|
|
7
|
+
This project is a [_pantograph_](https://github.com/urbanquakers/pantograph) plugin. To get started with `<%= gem_name %>`, add it to your project by running:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
pantograph add_plugin <%= plugin_name %>
|
|
@@ -41,11 +41,11 @@ For any other issues and feedback about this plugin, please submit it to this re
|
|
|
41
41
|
|
|
42
42
|
## Troubleshooting
|
|
43
43
|
|
|
44
|
-
If you have trouble using plugins, check out the [Plugins Troubleshooting](https://
|
|
44
|
+
If you have trouble using plugins, check out the [Plugins Troubleshooting](https://urbanquakers.github.io/pantograph/plugins/plugins-troubleshooting/) guide.
|
|
45
45
|
|
|
46
46
|
## Using _pantograph_ Plugins
|
|
47
47
|
|
|
48
|
-
For more information about how the `pantograph` plugin system works, check out the [Plugins documentation](https://
|
|
48
|
+
For more information about how the `pantograph` plugin system works, check out the [Plugins documentation](https://urbanquakers.github.io/pantograph/plugins/create-plugin/).
|
|
49
49
|
|
|
50
50
|
## About _pantograph_
|
|
51
51
|
|
|
@@ -37,7 +37,7 @@ module Pantograph
|
|
|
37
37
|
|
|
38
38
|
def self.is_supported?(platform)
|
|
39
39
|
# Adjust this if your plugin only works for a particular platform
|
|
40
|
-
# See: https://
|
|
40
|
+
# See: https://urbanquakers.github.io/pantograph/advanced/#control-configuration-by-lane-and-by-platform
|
|
41
41
|
#
|
|
42
42
|
# [:mac, :linux, :windows].include?(platform)
|
|
43
43
|
true
|
|
@@ -171,7 +171,7 @@ module Pantograph
|
|
|
171
171
|
else
|
|
172
172
|
# So there is no plugin under that name, so just show the error message generated by the lane switch
|
|
173
173
|
UI.verbose(caller.join("\n"))
|
|
174
|
-
UI.user_error!("Could not find action, lane or variable '#{method_sym}'. Check out the documentation for more details: https://
|
|
174
|
+
UI.user_error!("Could not find action, lane or variable '#{method_sym}'. Check out the documentation for more details: https://urbanquakers.github.io/pantograph/actions")
|
|
175
175
|
end
|
|
176
176
|
end
|
|
177
177
|
|
|
@@ -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/urbanquakers/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)
|
|
@@ -204,7 +204,7 @@ module Pantograph
|
|
|
204
204
|
UI.header("How to customize your Pantfile")
|
|
205
205
|
UI.message("Use a text editor of your choice to open the newly created Pantfile and take a look")
|
|
206
206
|
UI.message("You can now edit the available lanes and actions to customize the setup to fit your needs")
|
|
207
|
-
UI.message("To get a list of all the available actions, open " + "https://
|
|
207
|
+
UI.message("To get a list of all the available actions, open " + "https://urbanquakers.github.io/pantograph/".cyan)
|
|
208
208
|
continue_with_enter
|
|
209
209
|
end
|
|
210
210
|
|
|
@@ -215,11 +215,11 @@ module Pantograph
|
|
|
215
215
|
def suggest_next_steps
|
|
216
216
|
UI.header("Where to go from here?")
|
|
217
217
|
UI.message("📸 Learn more about Pantograph Official Actions")
|
|
218
|
-
UI.message("\t\thttps://
|
|
218
|
+
UI.message("\t\thttps://urbanquakers.github.io/pantograph/actions/".cyan)
|
|
219
219
|
UI.message("👩✈️ Learn more about Pantograph Lane Features")
|
|
220
|
-
UI.message("\t\thttps://
|
|
220
|
+
UI.message("\t\thttps://urbanquakers.github.io/pantograph/advanced/lanes/".cyan)
|
|
221
221
|
UI.message("🚀 Check out the entire documentation site for Pantograph")
|
|
222
|
-
UI.message("\t\thttps://
|
|
222
|
+
UI.message("\t\thttps://urbanquakers.github.io/pantograph/".cyan)
|
|
223
223
|
|
|
224
224
|
# we crash here, so that this never happens when a new setup method is added
|
|
225
225
|
return if self.lane_to_mention.to_s.length == 0
|
|
@@ -230,7 +230,7 @@ module Pantograph
|
|
|
230
230
|
|
|
231
231
|
def show_analytics_note
|
|
232
232
|
UI.message("pantograph will collect the number of errors for each action to detect integration issues")
|
|
233
|
-
UI.message("No sensitive/private information will be uploaded, more information: " + "https://
|
|
233
|
+
UI.message("No sensitive/private information will be uploaded, more information: " + "https://urbanquakers.github.io/pantograph/#metrics".cyan)
|
|
234
234
|
end
|
|
235
235
|
end
|
|
236
236
|
end
|
|
@@ -14,13 +14,13 @@ module Pantograph
|
|
|
14
14
|
PantographCore::PantographFolder.create_folder!
|
|
15
15
|
|
|
16
16
|
self.append_lane([
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
"desc 'Runs all the tests'",
|
|
18
|
+
"lane :pipeline do",
|
|
19
|
+
" test",
|
|
20
|
+
" build",
|
|
21
|
+
" publish",
|
|
22
|
+
"end"
|
|
23
|
+
])
|
|
24
24
|
self.append_lane([
|
|
25
25
|
"desc 'Runs all the tests'",
|
|
26
26
|
"lane :test do",
|
data/pantograph_core/README.md
CHANGED
|
@@ -2,7 +2,7 @@ PantographCore
|
|
|
2
2
|
============
|
|
3
3
|
|
|
4
4
|
[](https://twitter.com/PantographTools)
|
|
5
|
-
[](https://github.com/
|
|
5
|
+
[](https://github.com/urbanquakers/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/urbanquakers/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.
|
|
@@ -16,7 +16,7 @@ module PantographCore
|
|
|
16
16
|
|
|
17
17
|
def post_event(event)
|
|
18
18
|
# If our users want to opt out of usage metrics, don't post the events.
|
|
19
|
-
# Learn more at https://
|
|
19
|
+
# Learn more at https://urbanquakers.github.io/pantograph/#metrics
|
|
20
20
|
if Helper.test? || PantographCore::Env.truthy?("PANTOGRAPH_OPT_OUT_USAGE")
|
|
21
21
|
return nil
|
|
22
22
|
end
|
|
@@ -47,7 +47,7 @@ module PantographCore
|
|
|
47
47
|
|
|
48
48
|
def show_message
|
|
49
49
|
UI.message("Sending anonymous analytics information")
|
|
50
|
-
UI.message("Learn more at https://
|
|
50
|
+
UI.message("Learn more at https://urbanquakers.github.io/pantograph/#metrics")
|
|
51
51
|
UI.message("No personal or sensitive data is sent.")
|
|
52
52
|
UI.message("You can disable this by adding `opt_out_usage` at the top of your Pantfile")
|
|
53
53
|
end
|
|
@@ -73,7 +73,7 @@ module PantographCore
|
|
|
73
73
|
# Passing a nil value to global_option has been shown to create problems with
|
|
74
74
|
# option parsing!
|
|
75
75
|
#
|
|
76
|
-
# See: https://github.com/
|
|
76
|
+
# See: https://github.com/urbanquakers/pantograph_core/pull/89
|
|
77
77
|
#
|
|
78
78
|
# If we don't have a data type for this option, we tell it to act like a String.
|
|
79
79
|
# This allows us to get a reasonable value for boolean options that can be
|
|
@@ -215,11 +215,11 @@ module PantographCore
|
|
|
215
215
|
|
|
216
216
|
option = verify_options_key!(key)
|
|
217
217
|
|
|
218
|
-
# Same order as https://
|
|
218
|
+
# Same order as https://urbanquakers.github.io/pantograph/advanced/#priorities-of-parameters-and-options
|
|
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/urbanquakers/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/urbanquakers/pantograph/issues/11243
|
|
260
260
|
return self[key]
|
|
261
261
|
end
|
|
262
262
|
# rubocop:enable Metrics/PerceivedComplexity
|
|
@@ -251,7 +251,7 @@ module PantographCore
|
|
|
251
251
|
# We need to expand each path because File.exist? won't handle directories including ~ properly
|
|
252
252
|
#
|
|
253
253
|
# We also try to append `-db` at the end of the file path, as with Sierra the default Keychain name
|
|
254
|
-
# has changed for some users: https://github.com/
|
|
254
|
+
# has changed for some users: https://github.com/urbanquakers/pantograph/issues/5649
|
|
255
255
|
|
|
256
256
|
# Remove the ".keychain" at the end of the keychain name
|
|
257
257
|
name = keychain_name.sub(/\.keychain$/, "")
|
|
@@ -413,7 +413,7 @@ module PantographCore
|
|
|
413
413
|
end
|
|
414
414
|
|
|
415
415
|
# This method is deprecated, use the `UI` class
|
|
416
|
-
# https://
|
|
416
|
+
# https://urbanquakers.github.io/pantograph/advanced/#user-input-and-output
|
|
417
417
|
def self.log
|
|
418
418
|
UI.deprecated("Helper.log is deprecated. Use `UI` class instead")
|
|
419
419
|
UI.current.log
|
|
@@ -57,8 +57,8 @@ module PantographCore
|
|
|
57
57
|
"#{err}")
|
|
58
58
|
UI.important("")
|
|
59
59
|
UI.important("Please look at the following docs to see how to set a keychain password:")
|
|
60
|
-
UI.important(" - https://
|
|
61
|
-
UI.important(" - https://
|
|
60
|
+
UI.important(" - https://urbanquakers.github.io/pantograph/actions/sync_code_signing")
|
|
61
|
+
UI.important(" - https://urbanquakers.github.io/pantograph/actions/get_certificates")
|
|
62
62
|
else
|
|
63
63
|
UI.error(err)
|
|
64
64
|
end
|
|
@@ -10,7 +10,7 @@ module PantographCore
|
|
|
10
10
|
# If you opt out, we will not send anything.
|
|
11
11
|
# You can confirm this by observing how we use the environment variable: PANTOGRAPH_OPT_OUT_USAGE
|
|
12
12
|
# Specifically, in AnalyticsSession.finalize_session
|
|
13
|
-
# Learn more at https://
|
|
13
|
+
# Learn more at https://urbanquakers.github.io/pantograph/#metrics
|
|
14
14
|
def self.session
|
|
15
15
|
@session ||= AnalyticsSession.new
|
|
16
16
|
end
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# Source: Mix of https://github.com/
|
|
2
|
-
# https://github.com/
|
|
1
|
+
# Source: Mix of https://github.com/urbanquakers/pantograph/pull/7202/files,
|
|
2
|
+
# https://github.com/urbanquakers/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/urbanquakers/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)
|
|
@@ -128,7 +128,7 @@ module Commander
|
|
|
128
128
|
# We're also printing the new-lines, as otherwise the message is not very visible in-between the error and the stack trace
|
|
129
129
|
puts("")
|
|
130
130
|
PantographCore::UI.important("Error accessing file, this might be due to pantograph's directory handling")
|
|
131
|
-
PantographCore::UI.important("Check out https://
|
|
131
|
+
PantographCore::UI.important("Check out https://urbanquakers.github.io/pantograph/advanced/#directory-behavior for more details")
|
|
132
132
|
puts("")
|
|
133
133
|
raise e
|
|
134
134
|
end
|
|
@@ -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/urbanquakers/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
|
|
@@ -193,7 +193,7 @@ module Commander
|
|
|
193
193
|
ui.error("-----------------------------------------------------------")
|
|
194
194
|
ui.error("for more details on ways to install pantograph please refer the documentation:")
|
|
195
195
|
ui.error("-----------------------------------------------------------")
|
|
196
|
-
ui.error(" 🚀 https://
|
|
196
|
+
ui.error(" 🚀 https://urbanquakers.github.io/pantograph 🚀 ")
|
|
197
197
|
ui.error("-----------------------------------------------------------")
|
|
198
198
|
ui.error("")
|
|
199
199
|
ui.error("You can also install a new version of Ruby")
|
|
@@ -15,7 +15,7 @@ module PantographCore
|
|
|
15
15
|
|
|
16
16
|
next unless index == 2
|
|
17
17
|
puts("")
|
|
18
|
-
puts("To see all new releases, open https://github.com/
|
|
18
|
+
puts("To see all new releases, open https://github.com/urbanquakers/#{gem_name}/releases".green)
|
|
19
19
|
break
|
|
20
20
|
end
|
|
21
21
|
|
|
@@ -26,7 +26,7 @@ module PantographCore
|
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
def releases(gem_name)
|
|
29
|
-
url = "https://api.github.com/repos/
|
|
29
|
+
url = "https://api.github.com/repos/urbanquakers/#{gem_name}/releases"
|
|
30
30
|
# We have to follow redirects, since some repos were moved away into a separate org
|
|
31
31
|
server_response = Excon.get(url,
|
|
32
32
|
middlewares: Excon.defaults[:middlewares] + [Excon::Middleware::RedirectFollower])
|
|
@@ -58,7 +58,7 @@ module PantographCore
|
|
|
58
58
|
puts("# You should use the latest version.")
|
|
59
59
|
puts("# Please update using `#{self.update_command(gem_name: gem_name)}`.")
|
|
60
60
|
|
|
61
|
-
puts("# To see what's new, open https://github.com/
|
|
61
|
+
puts("# To see what's new, open https://github.com/urbanquakers/#{gem_name}/releases.") if PantographCore::Env.truthy?("PANTOGRAPH_HIDE_CHANGELOG")
|
|
62
62
|
|
|
63
63
|
if !Helper.bundler? && !Helper.contained_pantograph? && Random.rand(5) == 1
|
|
64
64
|
# We want to show this message from time to time, if the user doesn't use bundler, nor bundled pantograph
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pantograph
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.21
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Knapp
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-02-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: slack-notifier
|
|
@@ -110,14 +110,14 @@ dependencies:
|
|
|
110
110
|
requirements:
|
|
111
111
|
- - "~>"
|
|
112
112
|
- !ruby/object:Gem::Version
|
|
113
|
-
version: 6.
|
|
113
|
+
version: 6.2.0
|
|
114
114
|
type: :runtime
|
|
115
115
|
prerelease: false
|
|
116
116
|
version_requirements: !ruby/object:Gem::Requirement
|
|
117
117
|
requirements:
|
|
118
118
|
- - "~>"
|
|
119
119
|
- !ruby/object:Gem::Version
|
|
120
|
-
version: 6.
|
|
120
|
+
version: 6.2.0
|
|
121
121
|
- !ruby/object:Gem::Dependency
|
|
122
122
|
name: tty-screen
|
|
123
123
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -837,11 +837,11 @@ files:
|
|
|
837
837
|
- pantograph_core/lib/pantograph_core/ui/ui.rb
|
|
838
838
|
- pantograph_core/lib/pantograph_core/update_checker/changelog.rb
|
|
839
839
|
- pantograph_core/lib/pantograph_core/update_checker/update_checker.rb
|
|
840
|
-
homepage: https://
|
|
840
|
+
homepage: https://urbanquakers.github.io/pantograph/
|
|
841
841
|
licenses:
|
|
842
842
|
- MIT
|
|
843
843
|
metadata:
|
|
844
|
-
docs_url: https://
|
|
844
|
+
docs_url: https://urbanquakers.github.io/pantograph
|
|
845
845
|
post_install_message:
|
|
846
846
|
rdoc_options: []
|
|
847
847
|
require_paths:
|