pliny 0.15.1 → 0.16.0

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: 4bb2a0172e2c1352372848633e1b6114b9758a19
4
- data.tar.gz: 623c1b33a0751b2ae53a0cb22de9f719e78a7762
3
+ metadata.gz: 08654f14252194c24da252d65fc61aa55ea2765c
4
+ data.tar.gz: f60b617b6c791b53b9eba29dd7d8bc5e575ef9e7
5
5
  SHA512:
6
- metadata.gz: 4518580feb9973068e6a947e04fab7cfa1f3934a8a6d74d17c2fc07f6100bc579f937a0e734a6988136a2a52bfc39a3acda15b4562070a0f2328d7ac157d8597
7
- data.tar.gz: a331efa05d68659538a044201ac5d5810f0ad92bfecd8b031b688e0783751697dc81dfeb3269236e6199ad8ea3c903e2c93e0ede1b3bf8b56d523d4c96eca1b8
6
+ metadata.gz: 285d993e5753fe66fc746d976feba2407e913f693ec4d5c496ccbfc9e122ba1c41424c1736254c9e1872d84b5f3d7681eb468a4b8cd42c481722feb10811fddc
7
+ data.tar.gz: c7a8efb057eda7f0a6a6fc98b2dc0f9bb07642691ea1b83fded395c33a70f4d8a021172cfa6c443bdcf137f080e5c1b6d1cad749e193f0aec523e6ed9d5b4fe4
@@ -24,6 +24,7 @@ module Pliny
24
24
  instance = new(url, logger)
25
25
  yield instance
26
26
  instance.disconnect
27
+ Sequel::DATABASES.delete(instance)
27
28
  end
28
29
 
29
30
  attr_accessor :db
data/lib/pliny/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pliny
2
- VERSION = "0.15.1"
2
+ VERSION = "0.16.0"
3
3
  end
@@ -1 +1 @@
1
- 2.2.3
1
+ 2.3.0
data/lib/template/Gemfile CHANGED
@@ -1,17 +1,17 @@
1
1
  source "https://rubygems.org"
2
- ruby "2.2.3"
2
+ ruby "2.3.0"
3
3
 
4
4
  gem "multi_json"
5
5
  gem "oj"
6
6
  gem "pg"
7
- gem "pliny", "~> 0.15"
7
+ gem "pliny", "~> 0.16"
8
8
  gem "pry"
9
- gem "puma", "~> 2.10"
9
+ gem "puma", "~> 2.15"
10
10
  gem "rack-ssl"
11
11
  gem "rack-timeout", "~> 0.3"
12
12
  gem "rake"
13
13
  gem "rollbar", require: "rollbar/middleware/sinatra"
14
- gem "sequel", "~> 4.16"
14
+ gem "sequel", "~> 4.30"
15
15
  gem "sequel-paranoid"
16
16
  gem "sequel_pg", "~> 1.6", require: "sequel"
17
17
  gem "sinatra", "~> 1.4", require: "sinatra/base"
@@ -12,11 +12,16 @@ require "dotenv"
12
12
  Bundler.require(:default, :test)
13
13
  Dotenv.load('.env.test')
14
14
 
15
- require_relative "../lib/initializer"
15
+ # Get only App Config first, to avoid pulling in libraries until
16
+ # spec_support has a chance to run, which is important for at least
17
+ # simplecov and code coverage.
18
+ require_relative "../config/config"
16
19
 
17
20
  # pull in test initializers
18
21
  Pliny::Utils.require_glob("#{Config.root}/spec/spec_support/**/*.rb")
19
22
 
23
+ require_relative "../lib/initializer"
24
+
20
25
  RSpec.configure do |config|
21
26
  config.before :suite do
22
27
  DatabaseCleaner.clean_with(:truncation)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pliny
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandur Leach
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-02-11 00:00:00.000000000 Z
12
+ date: 2016-04-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -80,7 +80,7 @@ dependencies:
80
80
  version: '1.4'
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: 1.4.5
83
+ version: 1.4.7
84
84
  type: :runtime
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ dependencies:
90
90
  version: '1.4'
91
91
  - - ">="
92
92
  - !ruby/object:Gem::Version
93
- version: 1.4.5
93
+ version: 1.4.7
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: http_accept
96
96
  requirement: !ruby/object:Gem::Requirement
@@ -240,7 +240,7 @@ dependencies:
240
240
  version: '1.4'
241
241
  - - ">="
242
242
  - !ruby/object:Gem::Version
243
- version: 1.4.2
243
+ version: 1.4.7
244
244
  type: :development
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
@@ -250,7 +250,7 @@ dependencies:
250
250
  version: '1.4'
251
251
  - - ">="
252
252
  - !ruby/object:Gem::Version
253
- version: 1.4.2
253
+ version: 1.4.7
254
254
  - !ruby/object:Gem::Dependency
255
255
  name: timecop
256
256
  requirement: !ruby/object:Gem::Requirement