fastlyctl 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd178b1f557224afc372a8cfb91e9784f52942667917b7f83c253ee5f2c43e77
4
- data.tar.gz: 5d07642daed85d08a031982aca6d7b198636cfc7c9595ca285bd4c84a972997b
3
+ metadata.gz: daf9fcc2f5ea41339d508dd96ddcfe7ddf8f6e16078d382848d9ee23ef99b0cf
4
+ data.tar.gz: e8d385f3aa42874caa6ccbd96030d983a71cb6e2b45660a296163d4027120067
5
5
  SHA512:
6
- metadata.gz: 7936041ed542d19f82265a2f95f249b3f2aa64f4cc64646eab4a242adbda673e4e0ce5b4aec2cecf5981928847af93d70250c83bf90d04df0d19933b89ed75da
7
- data.tar.gz: cc7c3843890b03639601a7d21e16854831da78e26d13be88b98dbd09ecdf31ef4cd25b83f63b1613ce9ddbdf8ad3453127cbe456f47457304203e9244eab9bef
6
+ metadata.gz: 3d89e5730ec02621ff903b8fa295b65381025ee7372fd260487acac10398c0ad00db493454b6c5cb37438fccd403cd09841c3624bc697f2b25d0dfb7265cd715
7
+ data.tar.gz: 82a1d997aa0ad5cf4770bbc253e593280aa609a54003e8ad87ff515c7e0889f84a1c56d657b41a9b69bf93c14f467818f2f0e5bd17d948dd6f66f3ecf795b3eb
data/Gemfile.lock CHANGED
@@ -1,8 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fastlyctl (1.0.6)
5
- bundler (~> 1.10)
4
+ fastlyctl (1.0.9)
6
5
  diffy (~> 3.2.1)
7
6
  launchy (~> 2.4.3, >= 2.4.3)
8
7
  thor (~> 0.19.4)
data/README.md CHANGED
@@ -117,9 +117,6 @@ Usage:
117
117
  fastlyctl create_service [name]
118
118
  ```
119
119
 
120
- Flags:
121
- * --c: [Admin only] The customer ID to create the service on.
122
-
123
120
  ### dictionary
124
121
 
125
122
  Manipulate edge dictionaries on a service.
@@ -1,15 +1,9 @@
1
1
  module FastlyCTL
2
2
  class CLI < Thor
3
- desc "create_service SERVICE_NAME", "Create a blank service. If --customer is supplied and you are an admin, the command will move the service to that customer's account."
4
- method_option :customer, :aliases => ["--c"]
3
+ desc "create_service SERVICE_NAME", "Create a blank service."
5
4
  def create_service(name)
6
5
  service = FastlyCTL::Fetcher.api_request(:post, "/service", { params: { name: name }})
7
6
 
8
- if options[:customer]
9
- say("This command works by creating a service on your account and moving it to the target account.")
10
- self.move(service["id"],options[:customer])
11
- end
12
-
13
7
  if yes?("Service #{service["id"]} has been created. Would you like to open the configuration page?")
14
8
  FastlyCTL::Utils.open_service(service["id"])
15
9
  end
@@ -1,3 +1,3 @@
1
1
  module FastlyCTL
2
- VERSION = "1.0.8"
2
+ VERSION = "1.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlyctl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Basile