yac 1.4.4 → 1.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Manifest +5 -5
  2. data/lib/yac.rb +2 -1
  3. data/yac.gemspec +7 -8
  4. metadata +28 -13
data/Manifest CHANGED
@@ -1,10 +1,10 @@
1
- Manifest
2
1
  CHANGELOG
3
- resources/yacrc
4
- bin/yac
2
+ Manifest
3
+ README.rdoc
5
4
  Rakefile
6
- lib/git.rb
5
+ bin/yac
7
6
  lib/format.rb
7
+ lib/git.rb
8
8
  lib/symbol.rb
9
9
  lib/yac.rb
10
- README.rdoc
10
+ resources/yacrc
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.4'
8
+ VERSION = '1.4.5'
9
9
 
10
10
  @color = {
11
11
  'head1' => "1;31",
@@ -29,6 +29,7 @@ module Yac
29
29
  File.join(File.dirname(__FILE__), "..","resources","yacrc"))
30
30
 
31
31
  CONFIG["root"] ||= File.join(ENV['HOME'],".yac")
32
+ Dir.mkdir(CONFIG["root"]) unless File.exist?(CONFIG["root"])
32
33
 
33
34
  @main_path = File.join(CONFIG["root"],"/main/")
34
35
  @pri_path = File.join(CONFIG["root"],"/private/")
@@ -2,30 +2,29 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{yac}
5
- s.version = "1.4.4"
5
+ s.version = "1.4.5"
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-05-13}
9
+ s.date = %q{2010-08-19}
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}
13
13
  s.executables = ["yac"]
14
- s.extra_rdoc_files = ["CHANGELOG", "bin/yac", "lib/git.rb", "lib/format.rb", "lib/symbol.rb", "lib/yac.rb", "README.rdoc"]
15
- s.files = ["Manifest", "CHANGELOG", "resources/yacrc", "bin/yac", "Rakefile", "lib/git.rb", "lib/format.rb", "lib/symbol.rb", "lib/yac.rb", "README.rdoc", "yac.gemspec"]
16
- s.has_rdoc = true
14
+ s.extra_rdoc_files = ["CHANGELOG", "README.rdoc", "bin/yac", "lib/format.rb", "lib/git.rb", "lib/symbol.rb", "lib/yac.rb"]
15
+ s.files = ["CHANGELOG", "Manifest", "README.rdoc", "Rakefile", "bin/yac", "lib/format.rb", "lib/git.rb", "lib/symbol.rb", "lib/yac.rb", "resources/yacrc", "yac.gemspec"]
17
16
  s.homepage = %q{http://www.zhangjinzhu.com}
18
17
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Yac", "--main", "README.rdoc"]
19
18
  s.require_paths = ["lib"]
20
19
  s.rubyforge_project = %q{yac}
21
- s.rubygems_version = %q{1.3.1}
20
+ s.rubygems_version = %q{1.3.7}
22
21
  s.summary = %q{Yet Another Cheat: sexy command line tool for cheat sheet.}
23
22
 
24
23
  if s.respond_to? :specification_version then
25
24
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
26
- s.specification_version = 2
25
+ s.specification_version = 3
27
26
 
28
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
27
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
29
28
  else
30
29
  end
31
30
  else
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yac
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ hash: 13
5
+ prerelease: false
6
+ segments:
7
+ - 1
8
+ - 4
9
+ - 5
10
+ version: 1.4.5
5
11
  platform: ruby
6
12
  authors:
7
13
  - Jinzhu Zhang
@@ -9,7 +15,7 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-05-13 00:00:00 +08:00
18
+ date: 2010-08-19 00:00:00 +08:00
13
19
  default_executable:
14
20
  dependencies: []
15
21
 
@@ -21,26 +27,28 @@ extensions: []
21
27
 
22
28
  extra_rdoc_files:
23
29
  - CHANGELOG
30
+ - README.rdoc
24
31
  - bin/yac
25
- - lib/git.rb
26
32
  - lib/format.rb
33
+ - lib/git.rb
27
34
  - lib/symbol.rb
28
35
  - lib/yac.rb
29
- - README.rdoc
30
36
  files:
31
- - Manifest
32
37
  - CHANGELOG
33
- - resources/yacrc
34
- - bin/yac
38
+ - Manifest
39
+ - README.rdoc
35
40
  - Rakefile
36
- - lib/git.rb
41
+ - bin/yac
37
42
  - lib/format.rb
43
+ - lib/git.rb
38
44
  - lib/symbol.rb
39
45
  - lib/yac.rb
40
- - README.rdoc
46
+ - resources/yacrc
41
47
  - yac.gemspec
42
48
  has_rdoc: true
43
49
  homepage: http://www.zhangjinzhu.com
50
+ licenses: []
51
+
44
52
  post_install_message:
45
53
  rdoc_options:
46
54
  - --line-numbers
@@ -52,23 +60,30 @@ rdoc_options:
52
60
  require_paths:
53
61
  - lib
54
62
  required_ruby_version: !ruby/object:Gem::Requirement
63
+ none: false
55
64
  requirements:
56
65
  - - ">="
57
66
  - !ruby/object:Gem::Version
67
+ hash: 3
68
+ segments:
69
+ - 0
58
70
  version: "0"
59
- version:
60
71
  required_rubygems_version: !ruby/object:Gem::Requirement
72
+ none: false
61
73
  requirements:
62
74
  - - ">="
63
75
  - !ruby/object:Gem::Version
76
+ hash: 11
77
+ segments:
78
+ - 1
79
+ - 2
64
80
  version: "1.2"
65
- version:
66
81
  requirements: []
67
82
 
68
83
  rubyforge_project: yac
69
- rubygems_version: 1.3.1
84
+ rubygems_version: 1.3.7
70
85
  signing_key:
71
- specification_version: 2
86
+ specification_version: 3
72
87
  summary: "Yet Another Cheat: sexy command line tool for cheat sheet."
73
88
  test_files: []
74
89