iord 1.1.3 → 1.2.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: 04aa3eaa23568ae2494bc409c6f81cbe7d963674
4
- data.tar.gz: f727e3d3463a89d46bb7079f152b3cf730bfab7e
3
+ metadata.gz: 4c64f4158e72d95e6fa76711cc5ce047bdbff474
4
+ data.tar.gz: aff42ae18c11e827aef3368050084a47ee737053
5
5
  SHA512:
6
- metadata.gz: f9bd7a738300709dd221b697b0a4d8dd851134d35a312e39fd73f82ece2ee7c653a0afc30014936d99c42109f445af822d347c8eeb4eee66e748ec5e59261d87
7
- data.tar.gz: 60f70065283f70626f45f074401e372098dcb3144275a0b2f609f18ec35974da9ed387763442c5a147a6461d0d46b8a254fd873f26b98802254b8dd370cd6e0e
6
+ metadata.gz: a5fa157be8a8a4c2e8f4b43e4291ade002f7864b718f2417f90fe45192b6dd5ba926b733907ba5de161cba5d7f64a0c5f6db415531bef0ca1926367ba6b7ea55
7
+ data.tar.gz: 0598f3b017fde893afef2ecbd93300e7498f5fedddeabc531983d46e4a631fac3b208a309fbd71b22df8e957e4d8ab50c7e89266ecea6056c09badf61fd16ddb
@@ -1,4 +1,4 @@
1
1
  module Iord
2
- VERSION = '1.1.3'
2
+ VERSION = '1.2.0'
3
3
  end
4
4
 
@@ -1,12 +1,12 @@
1
1
  development:
2
- # Configure available database sessions. (required)
3
- sessions:
4
- # Defines the default session. (required)
2
+ # Configure available database clients. (required)
3
+ clients:
4
+ # Defines the default client. (required)
5
5
  default:
6
6
  # Defines the name of the default database that Mongoid can connect to.
7
7
  # (required).
8
8
  database: iord_development
9
- # Provides the hosts the default session can connect to. Must be an array
9
+ # Provides the hosts the default client can connect to. Must be an array
10
10
  # of host:port pairs. (required)
11
11
  hosts:
12
12
  - localhost:27017
@@ -56,13 +56,12 @@ development:
56
56
  # Ensure all times are UTC in the app side. (default: false)
57
57
  # use_utc: false
58
58
  test:
59
- sessions:
59
+ clients:
60
60
  default:
61
61
  database: iord_test
62
62
  hosts:
63
63
  - localhost:27017
64
64
  options:
65
- read: primary
66
65
  # In the test environment we lower the retries and retry interval to
67
66
  # low amounts for fast failures.
68
67
  max_retries: 1
@@ -1,5 +1,6 @@
1
1
  require 'bundler/setup'
2
2
  require 'simplecov'
3
+ require 'pry'
3
4
  SimpleCov.configure do
4
5
  add_filter '/test/'
5
6
  end
@@ -13,12 +14,11 @@ require 'rails/test_help'
13
14
  require 'factory_girl'
14
15
  require 'nested_form/view_helper'
15
16
 
16
- Mongoid::Sessions.default.use('iord_test').drop
17
-
18
17
  # FactoryGirl can't find definitions :/
19
18
  FactoryGirl.definition_file_paths = [File.expand_path('../factories', __FILE__)]
20
19
  FactoryGirl.find_definitions
21
20
 
21
+ Mongo::Logger.logger = Rails.logger
22
22
  Rails.backtrace_cleaner.remove_silencers!
23
23
 
24
24
  ActiveSupport::TestCase.test_order = :random
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iord
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoffroy Planquart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-10 00:00:00.000000000 Z
11
+ date: 2015-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: mongoid
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4.0'
41
41
  - !ruby/object:Gem::Dependency
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  version: '0'
197
197
  requirements: []
198
198
  rubyforge_project:
199
- rubygems_version: 2.4.5
199
+ rubygems_version: 2.4.6
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: Information Oriented Representation of Data