playwright-cli 0.1.5 → 0.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77a1822555e09c749d2408b29496ca5840553bd45decf3c1f24ee8f87448e8e0
4
- data.tar.gz: a97277bfb37d67ad68099f362db4c3fd2c5a8243da676b727723f7b703cda2fa
3
+ metadata.gz: 7d15ffbd0519e6d34a44de4d25c24d474ceb484d2197de04daa2844f9569e68e
4
+ data.tar.gz: ba61f21062a324708dbdb9608af6fa521e985861ce7c13ee8b50b6ef8e43374f
5
5
  SHA512:
6
- metadata.gz: 2fc6645dc4cbd4305c35caea58c1c50ca7335f875eb2d7c490428bb6314e03d93b0f3437ed1f4ca0007f2c2affaa3bd741df3d6d39c73db3e042b19862128ca4
7
- data.tar.gz: 66ca9d2e2ef45e96e449b0bf41593ecf483b1bbf45084b2ab5a71508df5526d5a3936be6731080a3b212474ae1bf8f9017a8ec441017cb85f48cbc5dfb973cd9
6
+ metadata.gz: 809012d19a8010bf1284a2bc27cb2ce52c85289008792b97d4872ef79fceaf1b85e463ab25c33c47bd6af7f171a5c92a237d64ea92d8764f7c9e5c966d706a17
7
+ data.tar.gz: fa839b93644993dbf016a0bfde9e1eb4ad74294ccb31aacfac0aa5c0fc18b2a8c0f70f24cb43c94ce358730797e848d7d8fbcc584643b3ce4e58f0addee73493
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- playwright-cli (0.1.3)
4
+ playwright-cli (0.1.6)
5
5
  colorize (~> 0.1)
6
6
  hanami-cli (~> 0.1)
7
7
 
data/README.md CHANGED
@@ -28,7 +28,8 @@ To create a simple command line app:
28
28
 
29
29
  (aliases for `generate` include `g`, `new`)
30
30
  This will give you some boilerplate for your script and an example command that
31
- you should replace. It will look something like this:
31
+ you should replace. The `#call` method is what is ultimately run.
32
+ It will look something like this:
32
33
 
33
34
  ```ruby
34
35
  #!/usr/bin/env ruby
@@ -1,6 +1,10 @@
1
+ require 'playwright/cli/utils'
2
+
1
3
  module Playwright
2
4
  class CLI < Hanami::CLI
3
- class Command < Hanamic::CLI::Command
5
+ class Command < Hanami::CLI::Command
6
+ include CLI::Utils::Ask
7
+ include CLI::Utils::Display
4
8
  end
5
9
  end
6
10
  end
@@ -1,5 +1,5 @@
1
1
  module Playwright
2
2
  class CLI < Hanami::CLI
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
@@ -13,11 +13,12 @@ module Playwright
13
13
  PLAYS_BIN_PATH = File.join(PLAYS_PATH, 'bin')
14
14
  TEMPLATES_PATH = File.join(ROOT_PATH, 'lib', 'assets', 'templates')
15
15
 
16
- require "playwright/cli/configuration"
17
- require "playwright/cli/utils"
16
+ require "playwright/cli/command"
18
17
  require "playwright/cli/commands"
18
+ require "playwright/cli/configuration"
19
19
  require "playwright/cli/registry"
20
20
  require "playwright/cli/template"
21
+ require "playwright/cli/utils"
21
22
  require "playwright/cli/version"
22
23
 
23
24
  def self.configuration
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playwright-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Gregory
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-28 00:00:00.000000000 Z
11
+ date: 2018-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler