ruby_pocket 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/database.rb +4 -2
- data/lib/ruby_pocket/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cff6dc912a4415ac6379839f53445800b7fc270
|
4
|
+
data.tar.gz: 7c9f1f462323ca7ac5281162db4eb792b45ed58f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb2471ae6b709be547ea7ba5f4d47d187804651fe6ef4e49b46b94f446afd16208010bb7cb627e3a81bfb13b35a12dbdb92b9810eb895210585bb0cf56bc993e
|
7
|
+
data.tar.gz: f646e87f9cfb213f7b6f2b6447f5a7524f09a4846df91e35bf7dcbe28be885084c2002587dcbe5b5686eef2c3247e6f4a6f7949565c714e4024406f2303ce9dd
|
data/config/database.rb
CHANGED
@@ -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
|
-
|
13
|
-
Sequel::Migrator.
|
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
|
data/lib/ruby_pocket/version.rb
CHANGED