taps2 0.6.3 → 0.6.4

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: 90d456e2f3cc63da7d527fb43f19203e2d5cf223
4
- data.tar.gz: 26901b91006ce88eab5b65e6ed72ce8ad93d7cc7
3
+ metadata.gz: 65cea327975921536a282b29801cc88f07412101
4
+ data.tar.gz: 69f684383a7e8d307c1be038458cfc147a54d2be
5
5
  SHA512:
6
- metadata.gz: 1666f844b2af103978f95b7da215dd6b265b1753510ffdbfbe4e1267c6ab70bb70f755956a67031823ba47bda8a9638aa50c01c09c651a5c9a2df0aaa5bb8ca0
7
- data.tar.gz: 14198719b01808971eba5cf90f8c8c108fe34610c5201fd734985615cc841c649b6aff84873aed2fac80c150b06e43ffd0edd3cae2a1e0b220dc15006ee8e8c0
6
+ metadata.gz: 98e52a0ce16c292f8e06933b3c170844767af8e5a794d39d1689b0412894a005e2b33091de1cef931c4a44d3a668f02324d03a0539ca22accfb2ea078956808c
7
+ data.tar.gz: 7554c32f9da29e4f449c003bb801fac5c69c20e0dedd8c8c72e6fb2fe28843aea2b45f26076e10a3716d7f515bef486cf6fb7d654a5627ebeac2cd2acd82998d
data/README.md CHANGED
@@ -8,16 +8,16 @@ A simple database agnostic import/export app to transfer data to/from a remote d
8
8
 
9
9
  Renamed gem
10
10
 
11
- $ gem install taps2
11
+ $ gem install taps2
12
12
 
13
13
  By default, Taps will attempt to create a SQLite3 database for sessions. Unless you specify a different database type, you'll need to install SQLite3. (See _Environment Variables_ for alternative session databases.)
14
14
 
15
- $ gem install sqlite3
15
+ $ gem install sqlite3
16
16
 
17
17
  Install the gems to support databases you want to work with, such as MySQL or PostgreSQL.
18
18
 
19
- $ gem install mysql2
20
- $ gem install pg
19
+ $ gem install mysql2
20
+ $ gem install pg
21
21
 
22
22
  ## Configuration: Environment Variables
23
23
 
@@ -1,7 +1,8 @@
1
- DB = Sequel.connect(Taps::Config.taps_database_url)
1
+ #Sequel::Model.require_valid_table = false
2
+ Sequel::Model.strict_param_setting = false
3
+ Sequel::Model.db = Sequel.connect(Taps::Config.taps_database_url)
2
4
 
3
- #DbSession.create_table! unless DbSession.table_exists?
4
- DB.create_table? :db_session do
5
+ Sequel::Model.db.create_table? :db_sessions do
5
6
  primary_key :id
6
7
  text :key
7
8
  text :database_url
@@ -9,9 +10,6 @@ DB.create_table? :db_session do
9
10
  timestamp :last_access
10
11
  end
11
12
 
12
- Sequel::Model.db = DB
13
- Sequel::Model.require_valid_table = false
14
-
15
13
  class DbSession < Sequel::Model
16
14
  def conn
17
15
  Sequel.connect(database_url) do |db|
data/lib/taps/version.rb CHANGED
@@ -2,7 +2,7 @@ module Taps
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 6
5
- PATCH = 3
5
+ PATCH = 4
6
6
  BUILD = 0
7
7
 
8
8
  def self.current
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taps2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Chimal, Jr.