cli-ui 1.5.0 → 2.0.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.
data/.rubocop.yml DELETED
@@ -1,41 +0,0 @@
1
- inherit_gem:
2
- rubocop-shopify: rubocop-cli.yml
3
-
4
- AllCops:
5
- Exclude:
6
- - vendor/**/*
7
- TargetRubyVersion: 2.5
8
-
9
- Style/FrozenStringLiteralComment:
10
- Enabled: false
11
-
12
- # This doesn't understand that <<~ doesn't exist in 2.0
13
- Layout/HeredocIndentation:
14
- Enabled: false
15
-
16
- # This doesn't take into account retrying from an exception
17
- Lint/SuppressedException:
18
- Enabled: false
19
-
20
- # allow String.new to create mutable strings
21
- Style/EmptyLiteral:
22
- Enabled: false
23
-
24
- # allow the use of globals which makes sense in a CLI app like this
25
- Style/GlobalVars:
26
- Enabled: false
27
-
28
- # allow using %r{} for regexes
29
- Style/RegexpLiteral:
30
- Enabled: false
31
-
32
- # allow readable Dev::Util.begin formatting
33
- Style/MultilineBlockChain:
34
- Enabled: false
35
-
36
- # we prefer rescue to align with the beginning of the line containing begin, not begin itself
37
- Layout/RescueEnsureAlignment:
38
- Enabled: false
39
-
40
- Style/StringLiterals:
41
- EnforcedStyle: single_quotes
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.5.8
4
- - 2.6.6
5
- - 2.7.1
6
- - jruby-9.2.14.0
7
- before_install: gem update --system
data/Gemfile DELETED
@@ -1,17 +0,0 @@
1
- # NOTE: These are development-only dependencies
2
- source 'https://rubygems.org'
3
-
4
- gemspec
5
-
6
- group :development, :test do
7
- gem 'rubocop'
8
- gem 'rubocop-shopify'
9
- gem 'byebug', platforms: [:mri]
10
- gem 'method_source'
11
- end
12
-
13
- group :test do
14
- gem 'mocha', require: false
15
- gem 'minitest', '>= 5.0.0', require: false
16
- gem 'minitest-reporters', require: false
17
- end
data/Gemfile.lock DELETED
@@ -1,60 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- cli-ui (1.5.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- ansi (1.5.0)
10
- ast (2.4.2)
11
- builder (3.2.4)
12
- byebug (11.1.3)
13
- method_source (1.0.0)
14
- minitest (5.14.4)
15
- minitest-reporters (1.4.3)
16
- ansi
17
- builder
18
- minitest (>= 5.0)
19
- ruby-progressbar
20
- mocha (1.12.0)
21
- parallel (1.20.1)
22
- parser (3.0.0.0)
23
- ast (~> 2.4.1)
24
- rainbow (3.0.0)
25
- rake (13.0.3)
26
- regexp_parser (2.1.1)
27
- rexml (3.2.5)
28
- rubocop (1.12.1)
29
- parallel (~> 1.10)
30
- parser (>= 3.0.0.0)
31
- rainbow (>= 2.2.2, < 4.0)
32
- regexp_parser (>= 1.8, < 3.0)
33
- rexml
34
- rubocop-ast (>= 1.2.0, < 2.0)
35
- ruby-progressbar (~> 1.7)
36
- unicode-display_width (>= 1.4.0, < 3.0)
37
- rubocop-ast (1.4.1)
38
- parser (>= 2.7.1.5)
39
- rubocop-shopify (2.0.1)
40
- rubocop (~> 1.11)
41
- ruby-progressbar (1.11.0)
42
- unicode-display_width (2.0.0)
43
-
44
- PLATFORMS
45
- java
46
- ruby
47
-
48
- DEPENDENCIES
49
- byebug
50
- cli-ui!
51
- method_source
52
- minitest (>= 5.0.0)
53
- minitest-reporters
54
- mocha
55
- rake (~> 13.0)
56
- rubocop
57
- rubocop-shopify
58
-
59
- BUNDLED WITH
60
- 2.1.0
data/Rakefile DELETED
@@ -1,20 +0,0 @@
1
- $LOAD_PATH.unshift(File.expand_path('../lib', __FILE__))
2
- require 'cli/ui'
3
- require 'rake/testtask'
4
- require 'rubocop/rake_task'
5
- require 'bundler/gem_tasks'
6
-
7
- TEST_ROOT = File.expand_path('../test', __FILE__)
8
-
9
- Rake::TestTask.new do |t|
10
- t.libs += ['test']
11
- t.test_files = FileList[File.join(TEST_ROOT, '**', '*_test.rb')]
12
- t.verbose = false
13
- t.warning = false
14
- end
15
-
16
- RuboCop::RakeTask.new(:style) do |t|
17
- t.options = ['--display-cop-names']
18
- end
19
-
20
- task(default: [:test, :style])
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'bundler/setup'
4
- require 'cli/ui'
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require 'irb'
14
- IRB.start(__FILE__)
data/cli-ui.gemspec DELETED
@@ -1,27 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'cli/ui/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'cli-ui'
8
- spec.version = CLI::UI::VERSION
9
- spec.authors = ['Burke Libbey', 'Julian Nadeau', 'Lisa Ugray']
10
- spec.email = ['burke.libbey@shopify.com', 'julian.nadeau@shopify.com', 'lisa.ugray@shopify.com']
11
-
12
- spec.summary = 'Terminal UI framework'
13
- spec.description = 'Terminal UI framework'
14
- spec.homepage = 'https://github.com/shopify/cli-ui'
15
- spec.license = 'MIT'
16
-
17
- spec.files = %x(git ls-files -z).split("\x0").reject do |f|
18
- f.match(%r{^(test|spec|features)/})
19
- end
20
- spec.bindir = 'exe'
21
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
- spec.require_paths = ['lib']
23
-
24
- # spec.add_development_dependency "bundler", "~> 2.0"
25
- spec.add_development_dependency('rake', '~> 13.0')
26
- spec.add_development_dependency('minitest', '~> 5.0')
27
- end
data/dev.yml DELETED
@@ -1,14 +0,0 @@
1
- up:
2
- - ruby: 2.5.1
3
- - bundler
4
-
5
- commands:
6
- test:
7
- run: |
8
- if [ "$#" -eq 1 ] && [[ -f $1 ]];
9
- then
10
- rake test TEST=$1
11
- else
12
- rake test $@
13
- fi
14
- style: "bundle exec rubocop -D"