libis-workflow-mongoid 2.0.beta.5 → 2.0.beta.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/libis/workflow/mongoid/config.rb +2 -17
- data/lib/libis/workflow/mongoid/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4ce0bbfcae9625500dac3b0b0383fd4eebd0071
|
4
|
+
data.tar.gz: e07861d42d9273e1c0230ca5262426985f0820b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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-
|
11
|
+
date: 2015-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: libis-workflow
|