yac 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/yac.rb +3 -1
- data/yac.gemspec +2 -2
- metadata +2 -2
data/lib/yac.rb
CHANGED
@@ -5,7 +5,7 @@ module Yac
|
|
5
5
|
include Format
|
6
6
|
extend self
|
7
7
|
|
8
|
-
VERSION = '1.4.
|
8
|
+
VERSION = '1.4.3'
|
9
9
|
|
10
10
|
@color = {
|
11
11
|
'head1' => "1;31",
|
@@ -32,6 +32,8 @@ module Yac
|
|
32
32
|
|
33
33
|
@main_path = File.join(CONFIG["root"],"/main/")
|
34
34
|
@pri_path = File.join(CONFIG["root"],"/private/")
|
35
|
+
Dir.mkdir(@main_path) unless File.exist?(@main_path)
|
36
|
+
Dir.mkdir(@pri_path) unless File.exist?(@pri_path)
|
35
37
|
|
36
38
|
def new(args)
|
37
39
|
operate, target = args.shift.to_s , args.join(' ').to_s
|
data/yac.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{yac}
|
5
|
-
s.version = "1.4.
|
5
|
+
s.version = "1.4.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Jinzhu Zhang"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-03-28}
|
10
10
|
s.default_executable = %q{yac}
|
11
11
|
s.description = %q{Yet Another Cheat: sexy command line tool for cheat sheet.}
|
12
12
|
s.email = %q{wosmvp@gmail.com}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yac
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jinzhu Zhang
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-03-28 00:00:00 +08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|