sql_migrations 2.6.0 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bae2ac9c37ad417c8a2084ff095814831fc68119
4
- data.tar.gz: cfe642c7514177217c2cab8e6e91b99252741e31
3
+ metadata.gz: b9f87545c51b6989813191aeceae5739d456d104
4
+ data.tar.gz: cc7e71119ced7206de42fabe7ab0a79ca48aa39b
5
5
  SHA512:
6
- metadata.gz: 94838655aacc7730e3c5f524fba6ca8b6d1be3cca7c1387699b0437da12e3f09638e7b8a7f027f405bf9c4e1a275c6852ea045f1960bab78d93e170c69d8a290
7
- data.tar.gz: 6864aa19da3abfe21b35780d26c1fe837c8dd02ebf02999ccc0e83f34d056c31202926493032968d2c18f87cd4813b4c98397158eb1be0def3f81bbedbd8b4fa
6
+ metadata.gz: 2ce1d21c35221ce8070c7f8af28e34431db33fd8f5921bedf8ddf7dcf52aff0e0610fb1248d132e6e6b17d29814bd78adab7f75a441be9a97f4bb7b8f976fad0
7
+ data.tar.gz: 6a1be5b20696dc571b0d49e5eac644b03384e65bf3cc9af5659258a7827f550143a74125d8667456aff7f5050dd56e97d1d76ee5e2f2ef59c13d080b373fbbaf
@@ -35,6 +35,8 @@ module SqlMigrations
35
35
  def elements(path)
36
36
  _filename, _base_directory, _parent_directory =
37
37
  path.split(::File::SEPARATOR).last(3).reverse
38
+ rescue ArgumentError => e
39
+ puts "Invalid path: #{path}"
38
40
  end
39
41
 
40
42
  def match(filename)
@@ -1,5 +1,5 @@
1
1
  # SqlMigrations
2
2
  #
3
3
  module SqlMigrations
4
- VERSION = '2.6.0'
4
+ VERSION = '2.6.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sql_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grzegorz Bizon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-28 00:00:00.000000000 Z
11
+ date: 2017-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  version: '0'
178
178
  requirements: []
179
179
  rubyforge_project:
180
- rubygems_version: 2.4.5
180
+ rubygems_version: 2.5.2
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: Simple standalone migrations you can use with plain SQL
@@ -190,4 +190,3 @@ test_files:
190
190
  - spec/features/scripts_spec.rb
191
191
  - spec/features/seed_spec.rb
192
192
  - spec/spec_helper.rb
193
- has_rdoc: