gaudi 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/lib/gaudi/scaffolding.rb +11 -6
- data/lib/gaudi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77321df0111eaf2148d6b74d0ae49d30bf0f2bbb73ba3b6e2639155d8933416b
|
4
|
+
data.tar.gz: 5a0778512d78e357e55203d53fc5e937ed7ca666aaa9c587efabba7c8a2608bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88cd01d9ed7749596dc4e69ddd08b9f146d0a725e242fa014989a5443b2ffed8429b73ef157acf0ed3eb9e82f5e1b942e2c7fccf0c0afa4bcaf3af464c175074
|
7
|
+
data.tar.gz: ce265298b4cbdba522adb46734b67a71a334a11591b63dff1d5f7b38e9a52148288bbe563be8d4f13d199ee0826ec73010b28c58d6b21f97b8b04446ac37e2f8
|
data/History.txt
CHANGED
data/lib/gaudi/scaffolding.rb
CHANGED
@@ -2,7 +2,6 @@ require "ostruct"
|
|
2
2
|
require "optparse"
|
3
3
|
require "fileutils"
|
4
4
|
require "tmpdir"
|
5
|
-
require "rubygems"
|
6
5
|
require "minitar"
|
7
6
|
|
8
7
|
module Gaudi
|
@@ -107,7 +106,7 @@ module Gaudi
|
|
107
106
|
rakefile
|
108
107
|
main_config
|
109
108
|
api_doc
|
110
|
-
core(REPO, version, "lib/gaudi.rb lib/gaudi")
|
109
|
+
core(REPO, version, ["lib/gaudi.rb lib/gaudi"])
|
111
110
|
end
|
112
111
|
|
113
112
|
def update(version)
|
@@ -116,7 +115,7 @@ module Gaudi
|
|
116
115
|
check_for_git
|
117
116
|
puts "Removing old gaudi installation"
|
118
117
|
FileUtils.rm_rf(File.join(gaudi_home, "lib/gaudi"))
|
119
|
-
core(REPO, version, "lib/gaudi lib/gaudi.rb")
|
118
|
+
core(REPO, version, ["lib/gaudi lib/gaudi.rb"])
|
120
119
|
end
|
121
120
|
|
122
121
|
def library(lib, source_url, version)
|
@@ -125,7 +124,7 @@ module Gaudi
|
|
125
124
|
puts "Removing old #{lib} installation"
|
126
125
|
FileUtils.rm_rf(File.join(gaudi_home, "lib/#{lib}"))
|
127
126
|
puts "Pulling #{version} from #{source_url}"
|
128
|
-
core(source_url, version, "lib/#{lib}")
|
127
|
+
core(source_url, version, ["lib/#{lib}", "tools/build/lib/#{lib}"])
|
129
128
|
end
|
130
129
|
|
131
130
|
# :stopdoc:
|
@@ -178,8 +177,14 @@ module Gaudi
|
|
178
177
|
Dir.mktmpdir do |tmp|
|
179
178
|
raise GemError, "Cloning the Gaudi repo failed. Check that git is on the PATH and that #{REPO} is accessible" unless pull_from_repo(url, tmp)
|
180
179
|
|
181
|
-
|
182
|
-
|
180
|
+
lib_items.each do |items|
|
181
|
+
unpack_target = gaudi_home
|
182
|
+
unpack_target = File.expand_path(File.join(gaudi_home, "../..")) if /tools\/build/ =~ items
|
183
|
+
pkg = archive(version, File.join(tmp, "gaudi"), project_root, items)
|
184
|
+
unpack(pkg, unpack_target)
|
185
|
+
rescue GemError
|
186
|
+
next
|
187
|
+
end
|
183
188
|
end
|
184
189
|
end
|
185
190
|
|
data/lib/gaudi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gaudi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vassilis Rizopoulos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitar
|