schema-evolution-manager 0.9.28 → 0.9.29

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a2b3925d1baff6b4fea5a7967b28a179903609d
4
- data.tar.gz: cb346790f69179476bfd5d26d20460a270a4a9f9
3
+ metadata.gz: b8a1dd8a9e14dd8118de24589822fb5fc0b448c7
4
+ data.tar.gz: 9c4d708a55627b6fbb8c016cbed84dd49efd208a
5
5
  SHA512:
6
- metadata.gz: bc5c07b0484b6173fdd807caaedd9e3ef5f38a3af05743f8769310122baec9975a751b00f5f1b1d8ac0a390c0fd67b78ff17dcb388dd8c14d6df6cd6cc54e03b
7
- data.tar.gz: 881ad9e1b5a458b637f2579cdf275a163eca74c640680e6aec308b15d316a787398939d9b9f2ab58629813b6ed9416e52cd2d76761fbc4add05516c581712bbd
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.28
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
- stripped = l.strip
83
- if stripped.match(/^\-\-\s+sem\.attribute\./)
84
- stripped.sub!(/^\-\-\s+sem\.attribute\./, '')
85
- name, value = stripped.split(/\=/, 2).map(&:strip)
86
- yield name, value
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
@@ -2,7 +2,7 @@ module SchemaEvolutionManager
2
2
 
3
3
  module SemVersion
4
4
 
5
- VERSION = '0.9.28' # Automatically updated by util/create-release.rb
5
+ VERSION = '0.9.29' # Automatically updated by util/create-release.rb
6
6
 
7
7
  end
8
8
 
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.28
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-18 00:00:00.000000000 Z
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