tara 0.7.1 → 0.8.0

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: e6048c338c60579c9ef6327617e8b703177e6468
4
- data.tar.gz: 9d013eb5fc3677f61f37c08980ac8d49c6b813c7
3
+ metadata.gz: 2f6d8c177a714c7ea7084a545c234b1dd2de8780
4
+ data.tar.gz: f7b28cc182d6cdb559ff7eac415bc381fe698b9c
5
5
  SHA512:
6
- metadata.gz: e4153f6c4412d90ed842667c3b1826ceec3fccd8572d23b7862bc5be496c7986ba362de13bc22ba0fdb3359d4cb5d5fb12ce60e5e1470a6aefa9e1c1b34c8725
7
- data.tar.gz: a497bacb54501a8cd288db1b56b8c5a689cf468aa40c0585faa179ae10c87efe225b2cc8339dccc122cfcc04628bf65a2f5898936934e8bd6e4b1ad362ad016a
6
+ metadata.gz: 1aaa40b2021457b8669fc9bc606b3948b743fd64bef12f2264cb750cd8678cbc58236bef65ded88048014251a26f4e390ad774eff429547587a8dfff0c30153f
7
+ data.tar.gz: e54acb8ccb9f95459b98bac1a919148e31beb4440a7f583c3899c756d86b68f565d02d93cbbd6dcddd7c0367c519551d3bc02806b4171d9bc7879fbe5d0564a6
@@ -146,7 +146,7 @@ module Tara
146
146
 
147
147
  def copy_file(project_dir, package_dir, file)
148
148
  relative_file = file.relative_path_from(project_dir)
149
- if relative_file.directory?
149
+ if file.directory?
150
150
  unless (dirname = relative_file.dirname) == DOT_PATH
151
151
  FileUtils.mkdir_p(package_dir.join(dirname))
152
152
  end
@@ -124,9 +124,9 @@ module Tara
124
124
  end
125
125
 
126
126
  def copy_gem_files(path)
127
- Dir['Gemfile', 'Gemfile.lock', '*.gemspec'].each do |file|
128
- if File.exist?(@app_dir.join(file))
129
- FileUtils.cp(@app_dir.join(file), path.join(File.basename(file)))
127
+ Dir.chdir(@app_dir) do
128
+ Dir['Gemfile', 'Gemfile.lock', '*.gemspec'].each do |file|
129
+ FileUtils.cp(file, path.join(File.basename(file)))
130
130
  end
131
131
  end
132
132
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Tara
4
- VERSION = '0.7.1'
4
+ VERSION = '0.8.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathias Söderberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-19 00:00:00.000000000 Z
11
+ date: 2017-03-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Tara packs your Ruby app into a standalone archive with gems and a Ruby
14
14
  runtime
@@ -50,9 +50,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  version: '0'
51
51
  requirements: []
52
52
  rubyforge_project:
53
- rubygems_version: 2.4.8
53
+ rubygems_version: 2.4.5
54
54
  signing_key:
55
55
  specification_version: 4
56
56
  summary: Packs your Ruby app as a standalone archive
57
57
  test_files: []
58
- has_rdoc: