libis-workflow-mongoid 2.0.beta.5 → 2.0.beta.6

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: 078b1479a71dd3aa0b22ff3bd534fa44ef56d102
4
- data.tar.gz: 468d080ff339b2a56b7e6e35de062c0ddfb884c0
3
+ metadata.gz: a4ce0bbfcae9625500dac3b0b0383fd4eebd0071
4
+ data.tar.gz: e07861d42d9273e1c0230ca5262426985f0820b0
5
5
  SHA512:
6
- metadata.gz: b93b01ca4a8b305b49c736e36bcd1a6e3e2dd0ed73e09c675450c26d61847e30ee87f6699ace563c1a6ec3cfaab85354b895dd4f605a3608a557f3f778e77009
7
- data.tar.gz: b20e762041669612e0b7d808ff661910d26556e82be0830b280f3da8584b4a9b8a4ff1ebf1cb0ad5036c461dea99bf52ad771909f5d815361f3b7c7f722d5de9
6
+ metadata.gz: e405d87cb898211c6378b3a71a81fe48e8bb5d3997b8a35ad4cc91592c1416c1322b4495429aa41c3e451a261568f94f9a0cdb2e6a9373673bccb093700e1ffc
7
+ data.tar.gz: 05268ad1805a517c09ce90f501d361cfae9fdbc453142b3a12a8064c0779654914cd9b8dbd8b231a1419af7a69e0b10421fc6dab62e1019d721fbde71ef0c7c3
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
+
1
2
  [![Build Status](https://travis-ci.org/libis/workflow-mongoid.svg?branch=master)](https://travis-ci.org/libis/workflow-mongoid)
2
3
  [![Coverage Status](https://coveralls.io/repos/libis/workflow-mongoid/badge.png)](https://coveralls.io/r/libis/workflow-monoid)
3
- [![status](https://sourcegraph.com/api/repos/github.com/Kris-LIBIS/workflow-mongoid/.badges/status.png)](https://sourcegraph.com/github.com/Kris-LIBIS/workflow-mongoid)
4
4
 
5
5
  workflow-mongoid
6
6
  ================
@@ -9,27 +9,12 @@ module Libis
9
9
  module Workflow
10
10
  module Mongoid
11
11
 
12
- class Config
13
- include Singleton
12
+ class Config < ::Libis::Workflow::Config
14
13
 
15
- def database_connect(config_file = './mongoid.yml', environment = nil)
14
+ def self.database_connect(config_file = './mongoid.yml', environment = nil)
16
15
  ::Mongoid.load! config_file, environment
17
16
  end
18
17
 
19
- def method_missing(name, *args, &block)
20
- ::Libis::Workflow::Config.instance.send(name, *args, &block)
21
- end
22
-
23
- def self.const_missing(name)
24
- return ::Libis::Workflow::Config.const_get(name) if ::Libis::Workflow::Config.const_defined?(name)
25
- super(name)
26
- end
27
-
28
- private
29
-
30
- def initialize
31
- ::Libis::Workflow::Config.instance
32
- end
33
18
  end
34
19
  end
35
20
  end
@@ -3,7 +3,7 @@
3
3
  module Libis
4
4
  module Workflow
5
5
  module Mongoid
6
- VERSION = '2.0.beta.5' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
6
+ VERSION = '2.0.beta.6' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-workflow-mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.beta.5
4
+ version: 2.0.beta.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-17 00:00:00.000000000 Z
11
+ date: 2015-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libis-workflow