schema-evolution-manager 0.9.39 → 0.9.42

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: 7475be0ce3e74e339f6b299b82c3bf7e2bdddc4e
4
- data.tar.gz: 53fc680a17364b28d5aed7053dc59fe59ca1c208
3
+ metadata.gz: ce087efd730e81f21be7e835a71f483f6585dbdb
4
+ data.tar.gz: 4418179693e56ece6b02c835c97ae0f15ed34515
5
5
  SHA512:
6
- metadata.gz: d848dbb515b89cfabcfed05939c4c4295b2634da1be4f6a85236b5ab888c318995901cbcacc04ad06f02541999b1e1623a82eacc082b505161cb1264c96c18e9
7
- data.tar.gz: 71cfdddd86d22bacb1f18b2cfcf0461e24a2be2f91e28058c0bb1fd6bfb6820d78f7ded2866823688ab4700e0cc0b8c1b2754676dd1faf2d2a280ab6beddf8b1
6
+ metadata.gz: bf82f32bdd001173183e323d7731082547f061f982dcef905ce3ecfc35aeea30b6d1531a229aa7d980f7ae6aeaa1869e7d402b921f4c5e3abf98a089e69e62f8
7
+ data.tar.gz: f32f44ca75c29b63d730c78f3064fb8a2772b7ccfc7c893a69a21dd9a25d26cba3958d59b8ad2b9b32f335fa6946b23a6cb9170ef80dd8072c407b7bdf74e033
data/README.md CHANGED
@@ -129,7 +129,7 @@ There are two ways to install schema evolution manager:
129
129
 
130
130
  git clone git://github.com/mbryzek/schema-evolution-manager.git
131
131
  cd schema-evolution-manager
132
- git checkout 0.9.39
132
+ git checkout 0.9.42
133
133
  ruby ./configure.rb
134
134
  sudo ./install.rb
135
135
 
data/bin/sem-add CHANGED
@@ -23,12 +23,12 @@ scripts_dir = File.join(`pwd`.strip, "scripts")
23
23
  SchemaEvolutionManager::Library.ensure_dir!(scripts_dir)
24
24
 
25
25
  contents = IO.read(file)
26
- now = Time.now.strftime('%Y%m%d-%H%M%S')
26
+ now = Time.now.utc.strftime('%Y%m%d-%H%M%S')
27
27
  target = File.join(scripts_dir, "#{now}.sql")
28
28
 
29
29
  while File.exists?(target)
30
30
  sleep 0.1
31
- now = Time.now.strftime('%Y%m%d-%H%M%S')
31
+ now = Time.now.utc.strftime('%Y%m%d-%H%M%S')
32
32
  target = File.join(scripts_dir, "#{now}.sql")
33
33
  end
34
34
 
@@ -2,7 +2,7 @@ module SchemaEvolutionManager
2
2
 
3
3
  module SemVersion
4
4
 
5
- VERSION = '0.9.39' # Automatically updated by util/create-release.rb
5
+ VERSION = '0.9.42' # Automatically updated by util/create-release.rb
6
6
 
7
7
  end
8
8
 
@@ -74,7 +74,7 @@ module SchemaEvolutionManager
74
74
 
75
75
  def Version.is_valid?(version_string)
76
76
  Preconditions.check_not_blank(version_string, "version_string cannot be blank")
77
- version_string.match(/^\w*\d+\.\d+\.\d+$/)
77
+ version_string.match(/^\w*\d+\.\d+\.\d+$/) ? true : false
78
78
  end
79
79
 
80
80
  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.39
4
+ version: 0.9.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bryzek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-30 00:00:00.000000000 Z
11
+ date: 2020-03-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: '["Michael Bryzek"]'
14
14
  email: mbryzek@alum.mit.edu
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  version: '0'
74
74
  requirements: []
75
75
  rubyforge_project:
76
- rubygems_version: 2.5.2
76
+ rubygems_version: 2.5.2.3
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: Schema evolution manager is a simple schema migration tool for postgresql