volt-mongo 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/mongo/controllers/main_controller.rb +1 -1
- data/app/mongo/lib/mongo_adaptor_server.rb +4 -0
- data/volt-mongo.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43063074686dca2266c780c50fcbe0433b8e406e
|
4
|
+
data.tar.gz: c2ebd5819f1fbd43d7143c59c058ecd008681084
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b90bb5875a5693e6f9ad5009eff4d6456ef728c859690874c4a0c1219bcc07870772bf7933876bc3e2ef55b57eb43b2735d3c2bc3807bb1a1e19ad6cb042ed0
|
7
|
+
data.tar.gz: 9bee73448f9b6b923e880f0cc05fd93aa99a55d30e35e77ef80ca9fc250c4ef30a912268be161e9f2878d2043893220ebfb40f1529e6682ceca49dae97af0bf6
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
@@ -71,6 +71,10 @@ module Volt
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def query(collection, query)
|
74
|
+
if ENV['DB_LOG'] && collection.to_s != 'active_volt_instances'
|
75
|
+
Volt.logger.info("Query: #{collection}: #{query.inspect}")
|
76
|
+
end
|
77
|
+
|
74
78
|
allowed_methods = %w(find skip limit sort)
|
75
79
|
|
76
80
|
result = db[collection]
|
data/volt-mongo.gemspec
CHANGED
@@ -19,6 +19,6 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_dependency 'mongo', '~> 1.
|
22
|
+
spec.add_dependency 'mongo', '~> 1.12.0'
|
23
23
|
spec.add_development_dependency "rake"
|
24
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: volt-mongo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Stout
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongo
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.12.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.12.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|