schema-evolution-manager 0.9.56 → 0.9.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/sem-dist +12 -3
- 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: ece8bcecc0151f8979530da79102bdf066a3cc1dfae14cd07074c0ae497cee8f
|
|
4
|
+
data.tar.gz: e7af8d5f30e83690323fde18ed2cd78d0f557303545d30eb466e491c0748886f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bdfa161a91f7c86f29ff39fe2fb339468b43fa02ece9139ceecd523e875408a2b4dcbf6b92204f43a0dbe353efcca2c77d4d6bfd1c174c15a09b51df5c5c551b
|
|
7
|
+
data.tar.gz: 5f593c267b185fdaf0dcf7bd3f31bddc0dc1bd099c245abcaf833cad29c10c7209487c24f0862b17ac09295c0d2c431ea0c5ef30db52d28816cfb183fb890a0c
|
data/README.md
CHANGED
|
@@ -133,7 +133,7 @@ There are three ways to install schema evolution manager:
|
|
|
133
133
|
|
|
134
134
|
git clone git@github.com:mbryzek/schema-evolution-manager.git
|
|
135
135
|
cd schema-evolution-manager
|
|
136
|
-
git checkout 0.9.
|
|
136
|
+
git checkout 0.9.57
|
|
137
137
|
ruby ./configure.rb
|
|
138
138
|
sudo ./install.rb
|
|
139
139
|
|
data/bin/sem-dist
CHANGED
|
@@ -28,11 +28,16 @@ SchemaEvolutionManager::Library.set_verbose(true)
|
|
|
28
28
|
|
|
29
29
|
args = SchemaEvolutionManager::Args.from_stdin(:optional => ['artifact_name', 'tag'])
|
|
30
30
|
|
|
31
|
-
# On MAC OS X, use gnutar
|
|
32
|
-
# Ignoring unknown extended header keyword `SCHILY.ino'
|
|
31
|
+
# On MAC OS X, use gnutar if available, otherwise use tar with --no-xattrs
|
|
33
32
|
tar_cmd = `which gnutar 2> /dev/null`.strip
|
|
33
|
+
tar_opts = ""
|
|
34
34
|
if tar_cmd == ""
|
|
35
35
|
tar_cmd = "tar"
|
|
36
|
+
# Use --no-xattrs to prevent extended attributes from being archived (works in create mode)
|
|
37
|
+
# Also use --no-mac-metadata to prevent AppleDouble files
|
|
38
|
+
if system("tar --no-xattrs -cf /dev/null /dev/null 2>/dev/null")
|
|
39
|
+
tar_opts = "--no-xattrs --no-mac-metadata"
|
|
40
|
+
end
|
|
36
41
|
end
|
|
37
42
|
|
|
38
43
|
if args.tag
|
|
@@ -73,8 +78,12 @@ SchemaEvolutionManager::Library.with_temp_file do |tmp|
|
|
|
73
78
|
SchemaEvolutionManager::Library.system_or_error("cp -R %s %s" % [File.join(repo_path, "scripts"), File.join(tmpdir, "scripts")])
|
|
74
79
|
File.open(File.join(tmpdir, "CHANGES"), "w") { |out| out << changes }
|
|
75
80
|
|
|
81
|
+
# Clear extended attributes to avoid tar warnings on Linux
|
|
82
|
+
SchemaEvolutionManager::Library.system_or_error("xattr -cr #{tmpdir} 2>/dev/null || true")
|
|
83
|
+
|
|
76
84
|
Dir.chdir(tmp) do
|
|
77
|
-
|
|
85
|
+
# COPYFILE_DISABLE prevents AppleDouble ._ files from being created
|
|
86
|
+
SchemaEvolutionManager::Library.system_or_error("COPYFILE_DISABLE=1 #{tar_cmd} #{tar_opts} -cf #{filename}.tar #{filename}")
|
|
78
87
|
FileUtils.cp("#{filename}.tar", tarball)
|
|
79
88
|
end
|
|
80
89
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: schema-evolution-manager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.57
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Bryzek
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2025-
|
|
10
|
+
date: 2025-12-11 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
12
|
description: '["Michael Bryzek"]'
|
|
13
13
|
email: mbryzek@alum.mit.edu
|