Displaying 11 results from an estimated 11 matches for "do_find".
Did you mean:
to_find
2007 Jan 24
2
A spec where interaction-based testing breaks down... (at least for now)
Here are the specs:
context "Finding all the stylesheets available to a company" do
setup do
@mock_company = mock("company")
@mock_company.stub!(:to_param).and_return "1"
Stylesheet.stub!(:find)
end
def do_find
Stylesheet.find_available_to @mock_company
end
specify "should convert the company into a parameter" do
@mock_company.should_receive(:to_param).and_return "1"
do_find
end
specify "should find stylesheets belonging to only the company or to
nobody"...
2012 Sep 14
2
assistance needed - err: Could not retrieve catalog from remote server: execution expired
...og/compiler.rb:26:in
`extract_facts_from_request''
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:31:in
`find''
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:195:in `find''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:109:in `do_find''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `send''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `process''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:24:in
`service''
/usr/lib/ruby/1.8/webrick/httpserv...
2010 Aug 20
6
Debugging errors with external nodes
...uby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:34:in `find''
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:193:in `find''
/usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:50:in `find''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:101:in `do_find''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `send''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `process''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:23:in `service''
/usr/lib/ruby/1.8/webrick/httpserve...
2013 Mar 06
0
"Cannot find definition Class" and "Could not find class" hiccups after manifest/module update - once for every agent
...et/indirector/catalog/compiler.rb:74:in
`compile''
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:34:in
`find''
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:191:in `find''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:108:in `do_find''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:71:in `send''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:71:in `process''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:24:in
`service''
/usr/lib/ruby/1.8/webrick/httpserv...
2013 Oct 23
0
Error: allocator undefined for Proc
...ppet/indirector/catalog/active_record.rb:27:in
`save''
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/store_configs.rb:24:in `save''
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:202:in `find''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:128:in `do_find''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:88:in `send''
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:88:in `process''
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile''
/usr/lib/ruby/site_ruby/1.8/puppet/util/pro...
2012 Mar 13
2
[PATCH 0/2] 'int' to 'size_t' changes
These two patches are probably not completely independent, but
separating them is a lot of work.
With *both* patches applied, all the tests and extra-tests pass.
That's no guarantee however that there isn't a mistake, so I don't
think this patch is a candidate for the 1.16 branch, until it's had a
lot more testing in development.
Rich.
2010 Oct 04
3
Upgrade to 2.6.1 appears to break puppetmaster
...r.rb:75:in `compile''
/usr/lib/ruby/1.8/puppet/indirector/catalog/compiler.rb:34:in `find''
/usr/lib/ruby/1.8/puppet/indirector/indirection.rb:193:in `find''
/usr/lib/ruby/1.8/puppet/indirector.rb:50:in `find''
/usr/lib/ruby/1.8/puppet/network/http/handler.rb:101:in `do_find''
/usr/lib/ruby/1.8/puppet/network/http/handler.rb:68:in `send''
/usr/lib/ruby/1.8/puppet/network/http/handler.rb:68:in `process''
/usr/lib/ruby/1.8/puppet/network/http/webrick/rest.rb:23:in `service''
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''...
2007 Jan 26
0
Branch 'interpreter' - 9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c
...gger, i, &script, &line)) {
swfdec_player_manager_output (manager, "%u: %s line %u: %s",
- i, script->name, line, script->commands[line].description);
+ i, script->script->name, line, script->commands[line].description);
}
}
}
@@ -552,7 +552,7 @@ do_find (gpointer scriptp, gpointer data
for (i = 0; i < script->n_commands; i++) {
if (strstr (script->commands[i].description, data->string)) {
swfdec_player_manager_output (data->manager, "%s %u: %s",
- script->name, i, script->commands[i].description);
+...
2009 Aug 12
23
[PATCH 0/23] factor and const-correctness
This started as a simple warning-elimination change.
I'll get back to that series shortly ;-)
It turned into a factorization and constification exercise
during which I got a taste of ocaml. Thanks to Rich Jones
for help with a few snippets in generator.ml.
The overall result is that many previously-manually-maintained
bits from daemon/*.c functions are now hoisted into the automatically-
2007 Jul 04
0
Branch 'as' - 25 commits - libswfdec/Makefile.am libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...wfdec_debugger.h>
+#include <libswfdec/swfdec_as_object.h>
#include "swfdec_player_manager.h"
#include <libswfdec-gtk/swfdec_source.h>
@@ -563,49 +564,38 @@ command_find (SwfdecPlayerManager *manag
swfdec_debugger_foreach_script (SWFDEC_DEBUGGER (manager->player), do_find, &data);
}
-#if 0
+static gboolean
+enumerate_foreach (SwfdecAsObject *object, const char *variable,
+ SwfdecAsValue *value, guint flags, gpointer manager)
+{
+ char *s;
+
+ s = swfdec_as_value_to_debug (value);
+ swfdec_player_manager_output (manager, " %s: %s", variable,...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...gger, i, &script, &line)) {
swfdec_player_manager_output (manager, "%u: %s line %u: %s",
- i, script->name, line, script->commands[line].description);
+ i, script->script->name, line, script->commands[line].description);
}
}
}
@@ -552,7 +552,7 @@ do_find (gpointer scriptp, gpointer data
for (i = 0; i < script->n_commands; i++) {
if (strstr (script->commands[i].description, data->string)) {
swfdec_player_manager_output (data->manager, "%s %u: %s",
- script->name, i, script->commands[i].description);
+...