ruby_pocket 0.1.2 → 0.1.3

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: 837ddac93df693f41227f1af739112efb5c88cda
4
- data.tar.gz: 09013cc6c66ec02fcfeb346a5e2fcf21013d1617
3
+ metadata.gz: 5cff6dc912a4415ac6379839f53445800b7fc270
4
+ data.tar.gz: 7c9f1f462323ca7ac5281162db4eb792b45ed58f
5
5
  SHA512:
6
- metadata.gz: 0f31451b1469e635bf20d73ac097c5393cbf30b4da3153f0683d153000401e198ef9cc73af0a8d25d7a7cf28684baace1a0e26f6544af1f8de48fd1a1edc1153
7
- data.tar.gz: 1999dbecb84104b1d7542dd131f28aa2805139f97022c7aff467b73f5d2a0d49958423ad1bd8cafa2eb20fbf2c9880c3996dbbf62204164764ac7693fad9a01a
6
+ metadata.gz: bb2471ae6b709be547ea7ba5f4d47d187804651fe6ef4e49b46b94f446afd16208010bb7cb627e3a81bfb13b35a12dbdb92b9810eb895210585bb0cf56bc993e
7
+ data.tar.gz: f646e87f9cfb213f7b6f2b6447f5a7524f09a4846df91e35bf7dcbe28be885084c2002587dcbe5b5686eef2c3247e6f4a6f7949565c714e4024406f2303ce9dd
@@ -9,6 +9,8 @@ DB = Sequel.connect("sqlite://#{File.join(*db_path)}")
9
9
  Sequel::Model :validation_helpers
10
10
  Sequel.extension :migration
11
11
 
12
- unless Sequel::Migrator.is_current?(DB, 'db/migrations')
13
- Sequel::Migrator.run(DB, 'db/migrations')
12
+ Pathname(__dir__).join('../db/migrations').tap do |migrations_path|
13
+ unless Sequel::Migrator.is_current?(DB, migrations_path)
14
+ Sequel::Migrator.run(DB, migrations_path)
15
+ end
14
16
  end
@@ -1,3 +1,3 @@
1
1
  module RubyPocket
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_pocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thiago A. Silva