git_cli_prompt 0.2.1 → 0.3.1

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: ce66b1103e34f105fa771673fa87dfadeeb965415fb87695c220ded6a15aa4b5
4
- data.tar.gz: d4e3d7c9ea2503553e8fe17b2a9ba987639fed22e59c8485d49c70e4d76d48f2
3
+ metadata.gz: 6b385acfcf571966da995b0f5c9d8992ba009fc5f6719ef6f546f5ca499a2dce
4
+ data.tar.gz: 7ee10915b4b88167b1b4660f0d09bf2fa3cec1f1b82cc681060ea69d2e4b1e4b
5
5
  SHA512:
6
- metadata.gz: 2d83ad4279f30f1f156cd33dccc75527755fd43c31961a483e394328ad5de9c5bbd05252a6ed47c58afd37b61282678dfc63c40449d5a72808fa6cadb08a51a6
7
- data.tar.gz: e4988f4bbc6832c3c264b089d9ae23edf9f0328f4ab11fa51597a263f3dfb22b56d58a1370bed26f5c9ecadf3fc91bcf7ff3df324cf47335ad1379defbb329bc
6
+ metadata.gz: 0201f0407545a07215c3be1332ba2f75f460d44f36b3c2e9ffe7cbd4f1c342d6020c460b40f661637b5832aab1b25a470197c37b8ad9ad1acf4c38487ec35a00
7
+ data.tar.gz: acbd75e2b5814c4f28811acde0b2150bc47798d6266aab91046bf16c30ff0c1142afb3861de8edb2c5e70aeb958f1cbd26b282bffa8ab7aa023181ef8364a293
data/.release_history.yml CHANGED
@@ -2,3 +2,9 @@
2
2
  git_cli_prompt:
3
3
  - :version: 0.1.2
4
4
  :timestamp: 1635828173.1234875
5
+ - :version: 0.2.1
6
+ :timestamp: 1635828282.1326017
7
+ - :version: 0.2.2
8
+ :timestamp: 1635927168.4486034
9
+ - :version: 0.3.0
10
+ :timestamp: 1661971996.7526693
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git_cli_prompt (0.2.1)
5
- tlogger
4
+ git_cli_prompt (0.3.0)
5
+ teLogger
6
6
  toolrack
7
7
  tty-prompt
8
8
 
@@ -41,6 +41,7 @@ GEM
41
41
  diff-lcs (>= 1.2.0, < 2.0)
42
42
  rspec-support (~> 3.10.0)
43
43
  rspec-support (3.10.2)
44
+ teLogger (0.2.0)
44
45
  tlogger (0.26.1)
45
46
  toolrack (0.16.0)
46
47
  base58
data/lib/commit.rb CHANGED
@@ -56,7 +56,7 @@ module GitCliPrompt
56
56
 
57
57
  puts
58
58
 
59
- if not (pending and staged)
59
+ if not pending and not staged
60
60
  pmt.say("\n Workspace is clean. No changes or unstage files or directory is found.\n", color: :green)
61
61
  "Workspace is clean. No changes or unstage files or directory is found"
62
62
 
@@ -1,5 +1,6 @@
1
1
 
2
- require 'tlogger'
2
+ require 'teLogger'
3
+ include TeLogger
3
4
 
4
5
  module GitCliPrompt
5
6
  module Logger
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitCliPrompt
4
- VERSION = "0.2.1"
4
+ VERSION = "0.3.1"
5
5
  end
@@ -1,8 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'tlogger'
3
+ #require 'tlogger'
4
+ require 'teLogger'
4
5
  require 'toolrack'
5
6
 
7
+ include TeLogger
8
+
6
9
  require 'gvcs'
7
10
  require 'git_cli'
8
11
 
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_cli_prompt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Liaw
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-02 00:00:00.000000000 Z
11
+ date: 2022-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: tlogger
14
+ name: teLogger
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -81,7 +81,6 @@ files:
81
81
  - Rakefile
82
82
  - bin/console
83
83
  - bin/setup
84
- - git_cli_prompt.gemspec
85
84
  - lib/commit.rb
86
85
  - lib/git_cli_prompt.rb
87
86
  - lib/git_cli_prompt/cli_prompt.rb
@@ -1,46 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/git_cli_prompt/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "git_cli_prompt"
7
- spec.version = GitCliPrompt::VERSION
8
- spec.authors = ["Chris Liaw"]
9
- spec.email = ["chrisliaw@antrapol.com"]
10
-
11
- spec.summary = ""
12
- spec.description = ""
13
- spec.homepage = ""
14
- spec.required_ruby_version = ">= 2.4.0"
15
-
16
- #spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
17
-
18
- #spec.metadata["homepage_uri"] = spec.homepage
19
- #spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
20
- #spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
21
-
22
- # Specify which files should be added to the gem when it is released.
23
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
25
- `git ls-files -z`.split("\x0").reject do |f|
26
- (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
27
- end
28
- end
29
- spec.bindir = "exe"
30
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
31
- spec.require_paths = ["lib"]
32
-
33
- spec.add_dependency "tlogger"
34
- spec.add_dependency "toolrack"
35
-
36
- spec.add_dependency "tty-prompt"
37
-
38
- #spec.add_development_dependency "devops_helper"
39
- spec.add_development_dependency "devops_assist"
40
-
41
- # Uncomment to register a new dependency of your gem
42
- # spec.add_dependency "example-gem", "~> 1.0"
43
-
44
- # For more information and examples about making a new gem, checkout our
45
- # guide at: https://bundler.io/guides/creating_gem.html
46
- end