git-plan 0.1.3 → 0.1.4

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
- SHA1:
3
- metadata.gz: 1b515ffe833ea50d92107a9ec5ca3f17e3f87004
4
- data.tar.gz: d86d234558f48fbf20dd52f624a5620e97e686f4
2
+ SHA256:
3
+ metadata.gz: 17b092585625f8ef04128da9bacf3ec4431b188789b5ebd0c595cd4b33429ee7
4
+ data.tar.gz: d7e593784873c3ced719b71310233a15fae30efaf0c8fe6b06bcad0190ecd8cd
5
5
  SHA512:
6
- metadata.gz: 862014ba7ec188d35d7af9a8a8eb7de61814b809d363f3d37986c496e87eb259e161e5a52cc312fd591416ad8d1eefccf24279f2b884bd3bc65d30275a7cb27b
7
- data.tar.gz: c7e249771952531bb0ec3e0cd5cd1d8f52fb1346acee9253eeb09dc5953b618a44cd41d35b0249d4ffd2bb09664b22b36c346ed5f8c7e4cb520ea10e30392879
6
+ metadata.gz: 37863e3c0c0ad041cf4713c126151148d1a31ec2c1568ee32a81e2bf3bb1919df65e84ef60d2d6cb1b8f849bce894f46cfdcb433cd9897bbe54cc930a496e773
7
+ data.tar.gz: 0f8a9b72d32d8757cdc3f670d61805ccc32dc388261198dc5254e022d75ec894029dbd4f1ef7ad9b4b7d848711af1da94ea8cdb035da809eddb9bd697421072f
data/README.md CHANGED
@@ -74,6 +74,12 @@ Eg:
74
74
 
75
75
  plan inspect eg2 "HERE IS THE COMMIT MESSAGE, master"
76
76
 
77
+
78
+ ###To see all the commands configured,
79
+
80
+ plan showall
81
+
82
+
77
83
  ###Help
78
84
 
79
85
  plan help
@@ -33,6 +33,14 @@ module Git
33
33
  say ""
34
34
  end
35
35
 
36
+ desc 'showall', 'show all the commands and alias saved currently'
37
+ def showall()
38
+ @cfile.get_all.each do |key, value|
39
+ say "#{key} - #{value}"
40
+ end
41
+ say ""
42
+ end
43
+
36
44
 
37
45
  private
38
46
 
@@ -22,6 +22,10 @@ module Git
22
22
  @data['commands'][command]
23
23
  end
24
24
 
25
+ def get_all
26
+ @data['commands']
27
+ end
28
+
25
29
  def delete
26
30
  File.delete(@path) if File.exist?(@path)
27
31
  end
@@ -54,6 +58,7 @@ module Git
54
58
  end
55
59
 
56
60
  def default_structure
61
+ # TODO: Load a json file with specific default commands, so the user can run default set of git commands by default
57
62
  {'commands' => {}}
58
63
  end
59
64
  end
@@ -1,5 +1,5 @@
1
1
  module Git
2
2
  module Plan
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-plan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - DilumN
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-08 00:00:00.000000000 Z
11
+ date: 2020-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -78,7 +78,7 @@ homepage: http://dilumn.github.io
78
78
  licenses:
79
79
  - MIT
80
80
  metadata: {}
81
- post_install_message:
81
+ post_install_message:
82
82
  rdoc_options: []
83
83
  require_paths:
84
84
  - lib
@@ -93,9 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubyforge_project:
97
- rubygems_version: 2.6.8
98
- signing_key:
96
+ rubygems_version: 3.1.2
97
+ signing_key:
99
98
  specification_version: 4
100
99
  summary: Plan your batch of Git commands
101
100
  test_files: []