sbag 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sbag/version.rb +1 -1
- data/lib/sbag.rb +4 -3
- data/sbag.gemspec +2 -1
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f33d5071276f79feeb21cebcefe19eef42dce29
|
4
|
+
data.tar.gz: 1584afdd8e8a499a6bfa15b0cb03d28d414fd5f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12bb7fc44453ac08669d21c40674691f32c24c016b3a0a64ddb3348889c5339bf0437fc78e460c94043e0fa0d65fbf78b35aedb6298bf294ccd8774d91d7f69d
|
7
|
+
data.tar.gz: 212b9e838a3aedebd1253e23a9e51e048b6655dd0673703b5825712be07ca9246284f0a8eec197a70f348f4747f1c00ba2f1975500c1ee1e7e9b7d55ce7cfffa
|
data/lib/sbag/version.rb
CHANGED
data/lib/sbag.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require "sbag/version"
|
2
2
|
require 'thor'
|
3
|
+
require "colorize"
|
3
4
|
module Sbag
|
4
5
|
|
5
6
|
class C < Thor
|
@@ -10,7 +11,7 @@ method_option :create, :aliases => "-c" , :desc => "Use create command to create
|
|
10
11
|
|
11
12
|
def create(file)
|
12
13
|
new_file = File.new("#{file}","w+")
|
13
|
-
puts "New file created => *#{file}*"
|
14
|
+
puts "New file created => *#{file}*".green
|
14
15
|
end
|
15
16
|
|
16
17
|
#Delete Command
|
@@ -19,7 +20,7 @@ method_option :delete, :aliases => "-d", :desc => "Use create command to delete
|
|
19
20
|
|
20
21
|
def delete(file)
|
21
22
|
File.delete("#{file}")
|
22
|
-
puts "Existing file deleted => *#{file}*"
|
23
|
+
puts "Existing file deleted => *#{file}*".green
|
23
24
|
end
|
24
25
|
|
25
26
|
#Time Command
|
@@ -28,7 +29,7 @@ method_option :time, :aliases => "-t", :desc => "Use time command to display the
|
|
28
29
|
|
29
30
|
def time
|
30
31
|
time = Time.now
|
31
|
-
puts "Current time => *#{time}*"
|
32
|
+
puts "Current time => *#{time}*".green
|
32
33
|
end
|
33
34
|
end
|
34
35
|
end
|
data/sbag.gemspec
CHANGED
@@ -23,7 +23,8 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.post_install_message = "Infoir.com => Thanks for installing!"
|
24
24
|
|
25
25
|
spec.add_dependency 'thor', "~>0.19.1"
|
26
|
+
spec.add_dependency 'colorize', "~>0.7.5"
|
26
27
|
|
27
28
|
spec.add_development_dependency "bundler", "~> 1.8"
|
28
|
-
spec.add_development_dependency "rake"
|
29
|
+
spec.add_development_dependency "rake", "~>10.4.2"
|
29
30
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sbag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shubham
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.19.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: colorize
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.7.5
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.7.5
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,16 +56,16 @@ dependencies:
|
|
42
56
|
name: rake
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- - "
|
59
|
+
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
61
|
+
version: 10.4.2
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- - "
|
66
|
+
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
68
|
+
version: 10.4.2
|
55
69
|
description: A private tool developed to replace GIT commands[Beta Version].
|
56
70
|
email:
|
57
71
|
- shubham@infoir.com
|