kgem 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +2 -2
  2. data/bin/kgem.rb +1 -1
  3. data/ext/Rakefile +1 -1
  4. metadata +3 -3
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rake/gempackagetask'
6
6
 
7
7
  spec = Gem::Specification.new do |s|
8
8
  s.name = "kgem"
9
- s.version = "0.1.6"
9
+ s.version = "0.1.7"
10
10
  s.author = "ruby.twiddler"
11
11
  s.email = "ruby.twiddler at gmail.com"
12
12
  s.homepage = "http://github.com/rubytwiddler/kgem/wiki"
@@ -45,7 +45,7 @@ def install_console_helper(console_helper_name, target_cmd_name)
45
45
  puts "ln -s #{console_helper_target} #{console_helper_link}"
46
46
  puts "write #{console_app_file}"
47
47
 
48
- File.cp(pam_src_path, pam_dst_path)
48
+ FileUtils.cp(pam_src_path, pam_dst_path)
49
49
  if File.exist?(console_helper_link) then
50
50
  File.unlink(console_helper_link)
51
51
  end
data/bin/kgem.rb CHANGED
@@ -11,7 +11,7 @@ APP_FILE = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
11
11
  APP_NAME = File.basename(APP_FILE).sub(/\.rb/, '')
12
12
  APP_DIR = File::dirname(File.expand_path(File.dirname(APP_FILE)))
13
13
  LIB_DIR = File::join(APP_DIR, "lib")
14
- APP_VERSION = "0.1.6"
14
+ APP_VERSION = "0.1.7"
15
15
 
16
16
 
17
17
  # standard libs
data/ext/Rakefile CHANGED
@@ -28,7 +28,7 @@ EOF
28
28
  puts "ln -s #{console_helper_target} #{console_helper_link}"
29
29
  puts "write #{console_app_file}"
30
30
 
31
- File.cp(pam_src_path, pam_dst_path)
31
+ FileUtils.cp(pam_src_path, pam_dst_path)
32
32
  if File.exist?(console_helper_link) then
33
33
  File.unlink(console_helper_link)
34
34
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kgem
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 6
10
- version: 0.1.6
9
+ - 7
10
+ version: 0.1.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - ruby.twiddler