schema-evolution-manager 0.9.28 → 0.9.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/schema-evolution-manager/migration_file.rb +9 -5
- data/lib/schema-evolution-manager/sem_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8a1dd8a9e14dd8118de24589822fb5fc0b448c7
|
4
|
+
data.tar.gz: 9c4d708a55627b6fbb8c016cbed84dd49efd208a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 555911cea9f65223cae65c2e27ccba1bb4448ae7c7d485d7a07a5e53c2fedf2cc57230d6a6fe54b4ebc5fc9b3783d59b94905b9edc638c29f54b72814fa0f957
|
7
|
+
data.tar.gz: 0f568e3757ac6a14fb7da215aa4599262758a4af1c911c2dc8dfdf011d7052ad46a70bfa09d30a1aba6387c5f94ea0a4d52de2d675a1850a816daf394224ef8e
|
data/README.md
CHANGED
@@ -127,7 +127,7 @@ There are two ways to install schema evolution manager:
|
|
127
127
|
|
128
128
|
git clone git://github.com/mbryzek/schema-evolution-manager.git
|
129
129
|
cd schema-evolution-manager
|
130
|
-
git checkout 0.9.
|
130
|
+
git checkout 0.9.29
|
131
131
|
ruby ./configure.rb
|
132
132
|
sudo ./install.rb
|
133
133
|
|
@@ -79,11 +79,15 @@ module SchemaEvolutionManager
|
|
79
79
|
# and yields each matching row with |name, value|
|
80
80
|
def each_property
|
81
81
|
IO.readlines(path).each do |l|
|
82
|
-
|
83
|
-
|
84
|
-
stripped.
|
85
|
-
|
86
|
-
|
82
|
+
begin
|
83
|
+
stripped = l.strip.encode("UTF-8")
|
84
|
+
if stripped.match(/^\-\-\s+sem\.attribute\./)
|
85
|
+
stripped.sub!(/^\-\-\s+sem\.attribute\./, '')
|
86
|
+
name, value = stripped.split(/\=/, 2).map(&:strip)
|
87
|
+
yield name, value
|
88
|
+
end
|
89
|
+
rescue Encoding::InvalidByteSequenceError
|
90
|
+
# Ignore - attributes must be in ascii
|
87
91
|
end
|
88
92
|
end
|
89
93
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bryzek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: '["Michael Bryzek"]'
|
14
14
|
email: mbryzek@alum.mit.edu
|