mm-custom-functions 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2010 Richard Livsey
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,40 @@
1
+ = MongoMapper Custom Functions
2
+
3
+ Easily add and manage custom functions for your MongoMapper projects
4
+
5
+ == Usage
6
+
7
+ Create a directory for your functions, eg. in config/mongo_functions and add your JS files there.
8
+
9
+ MongoMapper::CustomFunctions.load_dir = Rails.root + "config/mongo_functions"
10
+
11
+ Add one file per function, the name of the file will be the function name.
12
+
13
+ IE config/mongo_functions/even.js will be available as even()
14
+
15
+ Add an initializer in config/initializers and call any of the following:
16
+
17
+ # wipes out system js and loads in all functions
18
+ MongoMapper::CustomFunctions.reset
19
+
20
+ # Overwrites all functions but doesn't delete any
21
+ MongoMapper::CustomFunctions.reload
22
+
23
+ # Load a specific function (overwrites if it already exists)
24
+ MongoMapper::CustomFunctions.load(:even)
25
+
26
+ == Note on Patches/Pull Requests
27
+
28
+ * Fork the project.
29
+ * Make your feature addition or bug fix.
30
+ * Add tests for it. This is important so I don't break it in a future version unintentionally.
31
+ * Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself in another branch so I can ignore when I pull)
32
+ * Send me a pull request. Bonus points for topic branches.
33
+
34
+ == Install
35
+
36
+ $ gem install mm-custom-functions
37
+
38
+ == Copyright
39
+
40
+ See LICENSE for details.
data/Rakefile ADDED
@@ -0,0 +1,75 @@
1
+ require "rubygems"
2
+ require "rake/gempackagetask"
3
+ require "rake/rdoctask"
4
+
5
+ require "spec"
6
+ require "spec/rake/spectask"
7
+ Spec::Rake::SpecTask.new do |t|
8
+ t.spec_opts = %w(--format specdoc --colour)
9
+ t.libs = ["spec"]
10
+ end
11
+
12
+
13
+ task :default => ["spec"]
14
+
15
+ # This builds the actual gem. For details of what all these options
16
+ # mean, and other ones you can add, check the documentation here:
17
+ #
18
+ # http://rubygems.org/read/chapter/20
19
+ #
20
+ spec = Gem::Specification.new do |s|
21
+
22
+ # Change these as appropriate
23
+ s.name = "mm-custom-functions"
24
+ s.version = "0.1.0"
25
+ s.summary = "Easily manage custom MongoDB functions with MongoMapper"
26
+ s.author = "Richard Livsey"
27
+ s.email = "richard@livsey.org"
28
+ s.homepage = "http://github.com/rlivsey/mm-custom-functions"
29
+
30
+ s.has_rdoc = true
31
+ s.extra_rdoc_files = %w(README.rdoc)
32
+ s.rdoc_options = %w(--main README.rdoc)
33
+
34
+ # Add any extra files to include in the gem
35
+ s.files = %w(LICENSE log.log mongo-spec.log Rakefile README.rdoc) + Dir.glob("{spec,lib/**/*}")
36
+ s.require_paths = ["lib"]
37
+
38
+ # If you want to depend on other gems, add them here, along with any
39
+ # relevant versions
40
+ s.add_dependency("mongo_mapper")
41
+
42
+ # If your tests use any gems, include them here
43
+ s.add_development_dependency("rspec")
44
+ end
45
+
46
+ # This task actually builds the gem. We also regenerate a static
47
+ # .gemspec file, which is useful if something (i.e. GitHub) will
48
+ # be automatically building a gem for this project. If you're not
49
+ # using GitHub, edit as appropriate.
50
+ #
51
+ # To publish your gem online, install the 'gemcutter' gem; Read more
52
+ # about that here: http://gemcutter.org/pages/gem_docs
53
+ Rake::GemPackageTask.new(spec) do |pkg|
54
+ pkg.gem_spec = spec
55
+ end
56
+
57
+ desc "Build the gemspec file #{spec.name}.gemspec"
58
+ task :gemspec do
59
+ file = File.dirname(__FILE__) + "/#{spec.name}.gemspec"
60
+ File.open(file, "w") {|f| f << spec.to_ruby }
61
+ end
62
+
63
+ task :package => :gemspec
64
+
65
+ # Generate documentation
66
+ Rake::RDocTask.new do |rd|
67
+ rd.main = "README.rdoc"
68
+ rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
69
+ rd.rdoc_dir = "rdoc"
70
+ end
71
+
72
+ desc 'Clear out RDoc and generated packages'
73
+ task :clean => [:clobber_rdoc, :clobber_package] do
74
+ rm "#{spec.name}.gemspec"
75
+ end
@@ -0,0 +1,71 @@
1
+ require 'mongo_mapper'
2
+
3
+ module MongoMapper
4
+ module CustomFunctions
5
+
6
+ @@load_dir = nil
7
+ def self.load_dir
8
+ @@load_dir
9
+ end
10
+
11
+ def self.load_dir=(dir)
12
+ @@load_dir = dir
13
+ end
14
+
15
+ # wipes all custom functions
16
+ def self.clear
17
+ MongoMapper.database.eval("db.system.js.remove({});")
18
+ end
19
+
20
+ # wipes all functions and reloads
21
+ def self.reset
22
+ clear
23
+ reload
24
+ end
25
+
26
+ # updates all functions in the load dir
27
+ def self.reload
28
+ functions.each do |func|
29
+ install_function(func)
30
+ end
31
+ end
32
+
33
+ # updates a specific function
34
+ def self.load(name)
35
+ install_function(function(name))
36
+ end
37
+
38
+ # returns all functions in the load_dir as an array of hashes:
39
+ # returns array of
40
+ # {
41
+ # _id => file name (without the extension),
42
+ # value => file contents
43
+ # }
44
+ def self.functions
45
+ Dir[File.join(load_dir, '*.js')].collect do |path|
46
+ func_from_file(path)
47
+ end
48
+ end
49
+
50
+ # find one specific function defined in the load_dir
51
+ def self.function(name)
52
+ func_from_file(File.join(load_dir, "#{name}.js"))
53
+ end
54
+
55
+ private
56
+
57
+ def self.func_from_file(path)
58
+ contents = File.read(path)
59
+ name = File.basename(path).gsub(/\.js$/, '')
60
+ {
61
+ :_id => name,
62
+ :value => contents
63
+ }
64
+ end
65
+
66
+ def self.install_function(func)
67
+ MongoMapper.database.eval("db.system.js.update({_id: '#{func[:_id]}'}, #{func.to_json}, true)")
68
+ end
69
+
70
+ end
71
+ end
data/log.log ADDED
@@ -0,0 +1,2 @@
1
+ # Logfile created on Sun Jun 13 17:38:47 +0100 2010 by logger.rb/22285
2
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
data/mongo-spec.log ADDED
@@ -0,0 +1,676 @@
1
+ # Logfile created on Sun Jun 13 17:40:39 +0100 2010 by logger.rb/22285
2
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
3
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
4
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
5
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
6
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
7
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
8
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
9
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
10
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
11
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
12
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
13
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
14
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
15
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
16
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
17
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
18
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
19
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
20
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.find()", "args"=>[]}, {}).limit(-1)
21
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.find({_id:'test'})", "args"=>[]}, {}).limit(-1)
22
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
23
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
24
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
25
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
26
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
27
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
28
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
29
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
30
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
31
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
32
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
33
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
34
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
35
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
36
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
37
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
38
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
39
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
40
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
41
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
42
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
43
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
44
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
45
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
46
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.find()", "args"=>[]}, {}).limit(-1)
47
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.find({_id:'test'})", "args"=>[]}, {}).limit(-1)
48
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
49
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
50
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
51
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
52
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
53
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
54
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
55
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
56
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
57
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
58
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
59
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
60
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.find()", "args"=>[]}, {}).limit(-1)
61
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count({_id:'test'})", "args"=>[]}, {}).limit(-1)
62
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
63
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
64
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
65
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
66
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
67
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
68
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
69
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
70
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
71
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
72
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
73
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
74
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.find()", "args"=>[]}, {}).limit(-1)
75
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
76
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
77
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
78
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
79
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
80
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
81
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
82
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
83
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
84
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
85
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
86
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
87
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
88
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.find()", "args"=>[]}, {}).limit(-1)
89
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
90
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
91
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
92
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
93
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
94
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
95
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
96
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
97
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
98
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
99
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
100
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
101
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
102
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
103
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
104
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
105
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
106
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
107
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
108
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
109
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
110
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
111
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
112
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
113
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
114
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
115
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
116
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
117
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
118
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
119
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
120
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
121
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
122
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
123
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
124
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
125
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
126
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
127
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
128
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
129
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
130
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
131
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
132
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
133
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
134
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
135
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
136
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
137
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
138
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
139
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
140
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
141
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
142
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
143
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
144
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
145
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
146
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
147
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
148
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
149
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
150
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
151
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
152
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
153
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
154
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
155
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
156
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
157
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
158
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
159
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
160
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
161
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
162
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
163
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
164
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
165
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
166
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
167
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
168
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
169
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
170
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
171
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
172
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
173
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
174
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
175
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
176
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
177
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
178
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
179
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
180
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({})", "args"=>[]}, {}).limit(-1)
181
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
182
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
183
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
184
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
185
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
186
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
187
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
188
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
189
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
190
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
191
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
192
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({})", "args"=>[]}, {}).limit(-1)
193
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
194
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
195
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
196
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
197
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
198
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
199
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
200
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
201
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
202
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
203
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
204
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
205
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
206
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
207
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
208
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
209
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
210
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
211
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
212
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
213
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
214
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
215
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
216
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
217
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
218
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
219
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
220
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
221
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
222
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
223
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
224
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
225
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
226
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
227
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
228
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
229
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
230
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
231
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
232
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
233
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
234
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
235
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
236
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
237
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
238
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
239
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
240
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
241
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
242
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
243
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
244
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
245
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
246
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
247
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
248
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
249
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
250
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
251
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
252
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
253
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
254
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
255
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
256
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
257
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
258
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
259
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
260
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
261
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
262
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
263
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
264
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
265
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
266
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
267
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
268
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
269
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
270
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
271
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
272
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
273
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
274
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
275
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
276
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
277
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
278
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
279
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
280
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
281
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
282
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
283
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
284
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
285
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
286
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
287
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
288
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
289
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
290
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
291
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
292
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
293
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
294
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
295
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
296
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
297
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
298
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
299
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
300
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
301
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
302
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
303
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
304
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
305
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
306
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
307
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
308
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
309
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
310
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
311
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
312
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
313
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
314
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
315
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
316
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
317
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
318
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
319
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
320
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
321
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
322
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
323
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
324
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
325
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
326
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
327
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
328
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
329
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
330
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
331
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
332
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
333
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
334
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
335
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
336
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
337
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
338
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
339
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
340
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
341
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
342
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
343
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
344
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
345
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
346
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
347
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
348
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
349
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
350
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
351
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
352
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
353
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
354
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
355
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
356
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
357
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
358
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
359
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
360
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
361
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
362
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
363
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
364
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
365
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
366
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
367
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
368
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
369
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
370
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
371
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
372
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
373
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
374
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
375
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
376
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
377
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
378
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
379
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
380
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
381
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
382
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
383
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
384
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
385
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
386
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
387
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
388
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
389
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
390
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
391
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
392
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
393
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
394
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
395
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
396
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
397
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
398
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
399
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
400
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
401
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
402
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
403
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
404
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
405
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
406
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
407
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
408
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
409
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
410
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
411
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
412
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
413
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
414
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
415
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
416
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
417
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
418
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
419
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
420
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
421
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
422
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
423
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
424
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
425
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
426
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
427
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
428
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
429
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
430
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
431
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
432
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
433
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
434
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
435
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
436
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
437
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
438
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
439
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
440
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
441
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
442
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
443
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
444
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
445
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
446
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
447
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
448
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
449
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
450
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
451
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
452
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
453
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
454
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
455
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
456
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
457
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
458
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
459
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
460
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
461
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
462
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
463
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
464
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
465
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
466
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
467
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
468
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
469
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
470
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
471
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
472
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
473
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
474
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
475
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
476
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
477
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
478
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
479
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
480
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
481
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
482
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
483
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
484
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
485
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
486
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
487
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
488
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
489
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
490
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
491
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
492
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
493
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
494
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
495
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
496
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
497
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
498
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
499
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
500
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
501
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
502
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
503
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
504
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
505
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
506
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
507
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
508
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
509
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
510
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
511
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
512
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
513
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
514
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
515
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
516
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
517
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
518
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
519
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
520
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
521
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
522
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
523
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
524
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
525
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
526
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
527
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
528
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
529
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
530
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
531
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
532
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
533
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
534
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
535
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
536
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
537
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
538
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
539
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
540
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
541
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
542
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
543
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
544
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
545
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
546
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
547
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
548
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
549
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
550
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
551
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
552
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
553
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
554
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
555
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
556
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
557
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
558
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
559
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
560
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
561
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
562
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
563
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
564
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
565
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
566
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 3; }\",\"_id\":\"three\"})", "args"=>[]}, {}).limit(-1)
567
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 2; }\",\"_id\":\"two\"})", "args"=>[]}, {}).limit(-1)
568
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
569
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
570
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({\"value\":\"function(){ return 1; }\",\"_id\":\"one\"})", "args"=>[]}, {}).limit(-1)
571
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
572
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
573
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
574
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
575
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
576
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
577
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
578
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
579
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
580
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
581
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
582
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
583
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
584
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: one}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
585
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
586
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
587
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
588
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: one}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
589
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
590
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
591
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: one}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
592
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
593
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
594
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: one}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
595
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: three}, {\"value\":\"function(){ return 3; }\",\"_id\":\"three\"}, true)", "args"=>[]}, {}).limit(-1)
596
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
597
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: one}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
598
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
599
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
600
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
601
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
602
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
603
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
604
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
605
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
606
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
607
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
608
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
609
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
610
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'one'}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
611
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'three'}, {\"value\":\"function(){ return 3; }\",\"_id\":\"three\"}, true)", "args"=>[]}, {}).limit(-1)
612
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'two'}, {\"value\":\"function(){ return 2; }\",\"_id\":\"two\"}, true)", "args"=>[]}, {}).limit(-1)
613
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
614
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
615
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
616
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
617
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'one'}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
618
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'three'}, {\"value\":\"function(){ return 3; }\",\"_id\":\"three\"}, true)", "args"=>[]}, {}).limit(-1)
619
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'two'}, {\"value\":\"function(){ return 2; }\",\"_id\":\"two\"}, true)", "args"=>[]}, {}).limit(-1)
620
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
621
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
622
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
623
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'one'}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
624
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'three'}, {\"value\":\"function(){ return 3; }\",\"_id\":\"three\"}, true)", "args"=>[]}, {}).limit(-1)
625
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'two'}, {\"value\":\"function(){ return 2; }\",\"_id\":\"two\"}, true)", "args"=>[]}, {}).limit(-1)
626
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
627
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
628
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
629
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'one'}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
630
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'three'}, {\"value\":\"function(){ return 3; }\",\"_id\":\"three\"}, true)", "args"=>[]}, {}).limit(-1)
631
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'two'}, {\"value\":\"function(){ return 2; }\",\"_id\":\"two\"}, true)", "args"=>[]}, {}).limit(-1)
632
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
633
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
634
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'one'}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
635
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
636
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
637
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
638
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
639
+ MONGODB admin['$cmd'].find({:ismaster=>1}, {}).limit(-1)
640
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
641
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
642
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
643
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
644
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.count()", "args"=>[]}, {}).limit(-1)
645
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
646
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
647
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
648
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'one'}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
649
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'three'}, {\"value\":\"function(){ return 3; }\",\"_id\":\"three\"}, true)", "args"=>[]}, {}).limit(-1)
650
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'two'}, {\"value\":\"function(){ return 2; }\",\"_id\":\"two\"}, true)", "args"=>[]}, {}).limit(-1)
651
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
652
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
653
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
654
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
655
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'one'}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
656
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'three'}, {\"value\":\"function(){ return 3; }\",\"_id\":\"three\"}, true)", "args"=>[]}, {}).limit(-1)
657
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'two'}, {\"value\":\"function(){ return 2; }\",\"_id\":\"two\"}, true)", "args"=>[]}, {}).limit(-1)
658
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
659
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
660
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'test', value: 'function(){}'})", "args"=>[]}, {}).limit(-1)
661
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'one'}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
662
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'three'}, {\"value\":\"function(){ return 3; }\",\"_id\":\"three\"}, true)", "args"=>[]}, {}).limit(-1)
663
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'two'}, {\"value\":\"function(){ return 2; }\",\"_id\":\"two\"}, true)", "args"=>[]}, {}).limit(-1)
664
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'test'})", "args"=>[]}, {}).limit(-1)
665
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
666
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.insert({_id:'one', value: 'function(){ return 99; }'})", "args"=>[]}, {}).limit(-1)
667
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'one'}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
668
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'three'}, {\"value\":\"function(){ return 3; }\",\"_id\":\"three\"}, true)", "args"=>[]}, {}).limit(-1)
669
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'two'}, {\"value\":\"function(){ return 2; }\",\"_id\":\"two\"}, true)", "args"=>[]}, {}).limit(-1)
670
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
671
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
672
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.update({_id: 'one'}, {\"value\":\"function(){ return 1; }\",\"_id\":\"one\"}, true)", "args"=>[]}, {}).limit(-1)
673
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.findOne({_id:'one'})", "args"=>[]}, {}).limit(-1)
674
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
675
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
676
+ MONGODB mm-custom-functions-spec['$cmd'].find({"$eval"=>"db.system.js.remove({});", "args"=>[]}, {}).limit(-1)
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mm-custom-functions
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ version: 0.1.0
11
+ platform: ruby
12
+ authors:
13
+ - Richard Livsey
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-06-13 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: mongo_mapper
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: rspec
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
47
+ type: :development
48
+ version_requirements: *id002
49
+ description:
50
+ email: richard@livsey.org
51
+ executables: []
52
+
53
+ extensions: []
54
+
55
+ extra_rdoc_files:
56
+ - README.rdoc
57
+ files:
58
+ - LICENSE
59
+ - log.log
60
+ - mongo-spec.log
61
+ - Rakefile
62
+ - README.rdoc
63
+ - lib/mm-custom-functions.rb
64
+ has_rdoc: true
65
+ homepage: http://github.com/rlivsey/mm-custom-functions
66
+ licenses: []
67
+
68
+ post_install_message:
69
+ rdoc_options:
70
+ - --main
71
+ - README.rdoc
72
+ require_paths:
73
+ - lib
74
+ required_ruby_version: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ hash: 3
80
+ segments:
81
+ - 0
82
+ version: "0"
83
+ required_rubygems_version: !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ hash: 3
89
+ segments:
90
+ - 0
91
+ version: "0"
92
+ requirements: []
93
+
94
+ rubyforge_project:
95
+ rubygems_version: 1.3.7
96
+ signing_key:
97
+ specification_version: 3
98
+ summary: Easily manage custom MongoDB functions with MongoMapper
99
+ test_files: []
100
+