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 +4 -4
- data/lib/tara/archive.rb +1 -1
- data/lib/tara/installer.rb +3 -3
- data/lib/tara/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f6d8c177a714c7ea7084a545c234b1dd2de8780
|
4
|
+
data.tar.gz: f7b28cc182d6cdb559ff7eac415bc381fe698b9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1aaa40b2021457b8669fc9bc606b3948b743fd64bef12f2264cb750cd8678cbc58236bef65ded88048014251a26f4e390ad774eff429547587a8dfff0c30153f
|
7
|
+
data.tar.gz: e54acb8ccb9f95459b98bac1a919148e31beb4440a7f583c3899c756d86b68f565d02d93cbbd6dcddd7c0367c519551d3bc02806b4171d9bc7879fbe5d0564a6
|
data/lib/tara/archive.rb
CHANGED
@@ -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
|
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
|
data/lib/tara/installer.rb
CHANGED
@@ -124,9 +124,9 @@ module Tara
|
|
124
124
|
end
|
125
125
|
|
126
126
|
def copy_gem_files(path)
|
127
|
-
Dir
|
128
|
-
|
129
|
-
FileUtils.cp(
|
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
|
data/lib/tara/version.rb
CHANGED
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.
|
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:
|
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.
|
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:
|