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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 647bc61586c704cf5a3d84a6c644359f97c901ff
4
- data.tar.gz: fad6c4581fb70589072bedf4ce8d338b3f7f41ca
3
+ metadata.gz: 8f33d5071276f79feeb21cebcefe19eef42dce29
4
+ data.tar.gz: 1584afdd8e8a499a6bfa15b0cb03d28d414fd5f4
5
5
  SHA512:
6
- metadata.gz: c5406b7f5a061fb2f74bca4b56b20a1010e0706fdc6590dcc091d92a91e5afb2b8081f7258f4418fbc1e6780f869f111694a52e9b397a644eb06e56034b8dd63
7
- data.tar.gz: ff8c0d10e1576e6f43e59a17271445d6f9b1edd123a3325a31f70e03d990d47f65ca0e807baa8c844b8bb506e5f36889870dc3608489941f8acb8160634844d1
6
+ metadata.gz: 12bb7fc44453ac08669d21c40674691f32c24c016b3a0a64ddb3348889c5339bf0437fc78e460c94043e0fa0d65fbf78b35aedb6298bf294ccd8774d91d7f69d
7
+ data.tar.gz: 212b9e838a3aedebd1253e23a9e51e048b6655dd0673703b5825712be07ca9246284f0a8eec197a70f348f4747f1c00ba2f1975500c1ee1e7e9b7d55ce7cfffa
data/lib/sbag/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sbag
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.6"
3
3
  end
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
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: '0'
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: '0'
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