fastlyctl 1.0.19 → 1.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 +4 -4
- data/.github/issue_template.md +4 -0
- data/README.md +12 -0
- data/fastlyctl.gemspec +1 -1
- data/lib/fastlyctl/cli.rb +2 -0
- data/lib/fastlyctl/clone_utils.rb +0 -4
- data/lib/fastlyctl/version.rb +1 -1
- metadata +10 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f7ad45346735be1f793e4975d14f31c2ab9b6df7867c2456a5e18ed1547653d
|
|
4
|
+
data.tar.gz: c5f00dec1bf47c871bc207526bd09df6d185ee3469c383bc18c689493372b464
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5b073b0127e3ad3d5e386f7487492fe81ad3be57420ce9dd0dd253de76374e5ccb18916ec6f00fee3e64f9da59509a0e964e13c5dd6fcfa2d759fe9c73134b1
|
|
7
|
+
data.tar.gz: 8565d2fcbd646b7f8a4fc194e836e3bf0520c2338ebd43497ea23e2579222abe27a3b84df3f0794108f4531b35e318baff7740a03cc4a31d908448513bd71847
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Tracking issue
|
|
3
|
+
about: DEPRECATED: FastlyCTL is no longer maintained or supported. Many features are already available in the official Fastly CLI (https://github.com/fastly/cli), which is actively maintained and developed. Please consider migrating if possible.
|
|
4
|
+
---
|
data/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# FastlyCTL [](https://rubygems.org/gems/fastlyctl)
|
|
2
2
|
|
|
3
|
+
**DEPRECATED**: FastlyCTL is no longer maintained or supported. Many features are already available in the official [Fastly CLI](https://github.com/fastly/cli), which is actively maintained and developed. Please consider migrating if possible.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
3
7
|
A CLI for managing Fastly configurations with [Fastly's API](https://docs.fastly.com/api/config).
|
|
4
8
|
|
|
5
9
|
## Dependencies
|
|
@@ -391,3 +395,11 @@ The `--debug` flag is available on any command. Using it will cause fastlyctl to
|
|
|
391
395
|
|
|
392
396
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
393
397
|
|
|
398
|
+
## Publishing
|
|
399
|
+
|
|
400
|
+
Bump version in `/lib/fastlyctl/version.rb`.
|
|
401
|
+
|
|
402
|
+
```bash
|
|
403
|
+
$ gem build fastlyctl.gemspec
|
|
404
|
+
$ gem push fastlyctl-1.0.X.gem
|
|
405
|
+
```
|
data/fastlyctl.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.email = ["stephen@fastly.com"]
|
|
11
11
|
|
|
12
12
|
spec.summary = %q{CLI tool for interacting with the Fastly API}
|
|
13
|
-
spec.description = %q{
|
|
13
|
+
spec.description = %q{DEPRECATED: FastlyCTL is no longer maintained or supported. Many features are already available in the official Fastly CLI (https://github.com/fastly/cli), which is actively maintained and developed. Please consider migrating if possible.}
|
|
14
14
|
spec.homepage = "http://www.github.com/fastly/fastlyctl"
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
|
data/lib/fastlyctl/cli.rb
CHANGED
|
@@ -25,6 +25,8 @@ module FastlyCTL
|
|
|
25
25
|
class_option :debug, :desc => 'Enabled debug mode output'
|
|
26
26
|
|
|
27
27
|
def initialize(a,b,c)
|
|
28
|
+
warn "DEPRECATED: FastlyCTL is no longer maintained or supported. Many features are already available in the official Fastly CLI (https://github.com/fastly/cli), which is actively maintained and developed. Please consider migrating if possible."
|
|
29
|
+
|
|
28
30
|
unless File.exist?(FastlyCTL::TOKEN_FILE) || ENV['FASTLYCLI_TOKEN']
|
|
29
31
|
if yes?("Unable to locate API token. Would you like to login first?")
|
|
30
32
|
self.login
|
|
@@ -52,10 +52,6 @@ module FastlyCTL
|
|
|
52
52
|
obj.merge!(FastlyCTL::Fetcher.api_request(:get, "/service/#{source_sid}/snippet/#{obj["id"]}"))
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
if type.start_with?("logging/") && obj["response_condition"] == ""
|
|
56
|
-
obj.delete("response_condition")
|
|
57
|
-
end
|
|
58
|
-
|
|
59
55
|
obj_id = obj["id"]
|
|
60
56
|
obj = FastlyCTL::CloneUtils.filter(type,obj)
|
|
61
57
|
|
data/lib/fastlyctl/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlyctl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stephen Basile
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -92,7 +92,9 @@ dependencies:
|
|
|
92
92
|
- - "~>"
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
94
|
version: 2.1.2
|
|
95
|
-
description:
|
|
95
|
+
description: 'DEPRECATED: FastlyCTL is no longer maintained or supported. Many features
|
|
96
|
+
are already available in the official Fastly CLI (https://github.com/fastly/cli),
|
|
97
|
+
which is actively maintained and developed. Please consider migrating if possible.'
|
|
96
98
|
email:
|
|
97
99
|
- stephen@fastly.com
|
|
98
100
|
executables:
|
|
@@ -100,6 +102,7 @@ executables:
|
|
|
100
102
|
extensions: []
|
|
101
103
|
extra_rdoc_files: []
|
|
102
104
|
files:
|
|
105
|
+
- ".github/issue_template.md"
|
|
103
106
|
- ".gitignore"
|
|
104
107
|
- Gemfile
|
|
105
108
|
- Gemfile.lock
|
|
@@ -145,7 +148,7 @@ licenses:
|
|
|
145
148
|
- MIT
|
|
146
149
|
metadata:
|
|
147
150
|
allowed_push_host: https://rubygems.org/
|
|
148
|
-
post_install_message:
|
|
151
|
+
post_install_message:
|
|
149
152
|
rdoc_options: []
|
|
150
153
|
require_paths:
|
|
151
154
|
- lib
|
|
@@ -160,8 +163,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
160
163
|
- !ruby/object:Gem::Version
|
|
161
164
|
version: '0'
|
|
162
165
|
requirements: []
|
|
163
|
-
rubygems_version: 3.0.
|
|
164
|
-
signing_key:
|
|
166
|
+
rubygems_version: 3.0.8
|
|
167
|
+
signing_key:
|
|
165
168
|
specification_version: 4
|
|
166
169
|
summary: CLI tool for interacting with the Fastly API
|
|
167
170
|
test_files: []
|