mockley_crew 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mockley_crew.rb +4 -0
- data/lib/mockley_crew/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4173d4ddccffb0981b09d0eb985b325ce33d709d81b62d4aa1b15c56a031c7bb
|
4
|
+
data.tar.gz: e9e79d0aef2f51aa426f2bd3bcf66cf1e53d490ea0e36326cb7ed49e1410d275
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c4f38e8a93aff0e42fdd407ca9590e23ba290215a4b3dcf8ccdcd4420228857a64f70fe3e3ff77bcf7cd30a208bb8a6e3e342ebce3bf159dc5fa13c431033f8
|
7
|
+
data.tar.gz: e3568a7ecff35c43207241dc9a571b0ba5214e04a7d057a330b8dbb2db9e1f094f95c88edb3bad75543566a615c6d967e240c8f38e770930b550834af7467036
|
data/lib/mockley_crew.rb
CHANGED
@@ -49,4 +49,8 @@ module MockleyCrew
|
|
49
49
|
def self.root
|
50
50
|
File.expand_path '../..', __FILE__
|
51
51
|
end
|
52
|
+
|
53
|
+
def self.activated?
|
54
|
+
ActiveRecord::Base.connection.instance_variable_get(:@config)[:database].split("/")[0..-2].join("/") == configuration.database_files_path.gsub(/\/$/, "")
|
55
|
+
end
|
52
56
|
end
|
data/lib/mockley_crew/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mockley_crew
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ariel Schvartz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|