datastore_mongo 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,9 @@
1
1
  mongo_conn_string = ENV["MONGO_CONNECTION_STRING"]
2
- mongo_conn_string ||= 'localhost:27017'
2
+ mongo_conn_string ||= 'http://localhost:27017'
3
3
  uri = URI.parse(mongo_conn_string)
4
+ puts "connecting to mongo at #{uri.inspect}"
5
+ p uri.host
6
+ p uri.port
4
7
  MongoMapper.connection = Mongo::Connection.new(uri.host, uri.port)
5
8
  MongoMapper.database = "#myapp-#{Rails.env}"
6
9
 
@@ -1,3 +1,3 @@
1
1
  module DatastoreMongo
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -301,3 +301,264 @@ Served asset /datastore_mongo/application.js - 304 Not Modified (0ms)
301
301
 
302
302
  Started GET "/assets/datastore_mongo/application.css?body=1" for 127.0.0.1 at 2011-11-14 18:09:30 -0800
303
303
  Served asset /datastore_mongo/application.css - 304 Not Modified (0ms)
304
+
305
+
306
+ Started GET "/datastore_mongo/mongo_strings" for 127.0.0.1 at 2011-11-14 18:18:21 -0800
307
+ Processing by DatastoreMongo::MongoStringsController#index as HTML
308
+ Rendered /workspace/thinknear/datastore_mongo/app/views/datastore_mongo/mongo_strings/index.html.erb within layouts/datastore_mongo/application (76.0ms)
309
+ Completed 200 OK in 185ms (Views: 182.4ms | ActiveRecord: 0.0ms)
310
+
311
+
312
+ Started GET "/assets/datastore_mongo/mongo_strings.css?body=1" for 127.0.0.1 at 2011-11-14 18:18:24 -0800
313
+ Served asset /datastore_mongo/mongo_strings.css - 304 Not Modified (5ms)
314
+
315
+
316
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-14 18:18:24 -0800
317
+ Served asset /jquery.js - 304 Not Modified (7ms)
318
+
319
+
320
+ Started GET "/assets/datastore_mongo/mongo_strings.js?body=1" for 127.0.0.1 at 2011-11-14 18:18:24 -0800
321
+ Served asset /datastore_mongo/mongo_strings.js - 304 Not Modified (4ms)
322
+
323
+
324
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-14 18:18:24 -0800
325
+ Served asset /jquery_ujs.js - 304 Not Modified (4ms)
326
+
327
+
328
+ Started GET "/assets/datastore_mongo/application.js?body=1" for 127.0.0.1 at 2011-11-14 18:18:24 -0800
329
+ Served asset /datastore_mongo/application.js - 304 Not Modified (0ms)
330
+
331
+
332
+ Started GET "/assets/datastore_mongo/application.css?body=1" for 127.0.0.1 at 2011-11-14 18:18:24 -0800
333
+ Served asset /datastore_mongo/application.css - 304 Not Modified (0ms)
334
+
335
+
336
+ Started GET "/datastore_mongo/mongo_strings" for 127.0.0.1 at 2011-11-14 18:18:51 -0800
337
+ Processing by DatastoreMongo::MongoStringsController#index as HTML
338
+ Rendered /workspace/thinknear/datastore_mongo/app/views/datastore_mongo/mongo_strings/index.html.erb within layouts/datastore_mongo/application (5.8ms)
339
+ Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.0ms)
340
+
341
+
342
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-14 18:18:51 -0800
343
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
344
+
345
+
346
+ Started GET "/assets/datastore_mongo/mongo_strings.css?body=1" for 127.0.0.1 at 2011-11-14 18:18:52 -0800
347
+ Served asset /datastore_mongo/mongo_strings.css - 304 Not Modified (0ms)
348
+
349
+
350
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-14 18:18:52 -0800
351
+ Served asset /jquery.js - 304 Not Modified (0ms)
352
+
353
+
354
+ Started GET "/assets/datastore_mongo/application.js?body=1" for 127.0.0.1 at 2011-11-14 18:18:52 -0800
355
+ Served asset /datastore_mongo/application.js - 304 Not Modified (1ms)
356
+
357
+
358
+ Started GET "/assets/datastore_mongo/mongo_strings.js?body=1" for 127.0.0.1 at 2011-11-14 18:18:52 -0800
359
+ Served asset /datastore_mongo/mongo_strings.js - 304 Not Modified (0ms)
360
+
361
+
362
+ Started GET "/assets/datastore_mongo/application.css?body=1" for 127.0.0.1 at 2011-11-14 18:18:52 -0800
363
+ Served asset /datastore_mongo/application.css - 304 Not Modified (0ms)
364
+
365
+
366
+ Started GET "/datastore_mongo/mongo_strings" for 127.0.0.1 at 2011-11-14 18:19:01 -0800
367
+ Processing by DatastoreMongo::MongoStringsController#index as HTML
368
+ Rendered /workspace/thinknear/datastore_mongo/app/views/datastore_mongo/mongo_strings/index.html.erb within layouts/datastore_mongo/application (5.6ms)
369
+ Completed 200 OK in 71ms (Views: 68.6ms | ActiveRecord: 0.0ms)
370
+
371
+
372
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-14 18:19:02 -0800
373
+ Served asset /jquery.js - 304 Not Modified (0ms)
374
+
375
+
376
+ Started GET "/assets/datastore_mongo/mongo_strings.css?body=1" for 127.0.0.1 at 2011-11-14 18:19:02 -0800
377
+ Served asset /datastore_mongo/mongo_strings.css - 304 Not Modified (0ms)
378
+
379
+
380
+ Started GET "/assets/datastore_mongo/mongo_strings.js?body=1" for 127.0.0.1 at 2011-11-14 18:19:02 -0800
381
+ Served asset /datastore_mongo/mongo_strings.js - 304 Not Modified (0ms)
382
+
383
+
384
+ Started GET "/assets/datastore_mongo/application.js?body=1" for 127.0.0.1 at 2011-11-14 18:19:02 -0800
385
+ Served asset /datastore_mongo/application.js - 304 Not Modified (0ms)
386
+
387
+
388
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-14 18:19:02 -0800
389
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
390
+
391
+
392
+ Started GET "/assets/datastore_mongo/application.css?body=1" for 127.0.0.1 at 2011-11-14 18:19:02 -0800
393
+ Served asset /datastore_mongo/application.css - 304 Not Modified (0ms)
394
+
395
+
396
+ Started GET "/datastore_mongo/mongo_strings" for 127.0.0.1 at 2011-11-14 18:19:15 -0800
397
+ Processing by DatastoreMongo::MongoStringsController#index as HTML
398
+ Rendered /workspace/thinknear/datastore_mongo/app/views/datastore_mongo/mongo_strings/index.html.erb within layouts/datastore_mongo/application (77.8ms)
399
+ Completed 200 OK in 213ms (Views: 209.1ms | ActiveRecord: 0.0ms)
400
+
401
+
402
+ Started GET "/assets/datastore_mongo/mongo_strings.css?body=1" for 127.0.0.1 at 2011-11-14 18:19:18 -0800
403
+ Served asset /datastore_mongo/mongo_strings.css - 304 Not Modified (5ms)
404
+
405
+
406
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-14 18:19:18 -0800
407
+ Served asset /jquery_ujs.js - 304 Not Modified (4ms)
408
+
409
+
410
+ Started GET "/assets/datastore_mongo/mongo_strings.js?body=1" for 127.0.0.1 at 2011-11-14 18:19:18 -0800
411
+ Served asset /datastore_mongo/mongo_strings.js - 304 Not Modified (4ms)
412
+
413
+
414
+ Started GET "/assets/datastore_mongo/application.css?body=1" for 127.0.0.1 at 2011-11-14 18:19:18 -0800
415
+ Served asset /datastore_mongo/application.css - 304 Not Modified (0ms)
416
+
417
+
418
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-14 18:19:18 -0800
419
+ Served asset /jquery.js - 304 Not Modified (5ms)
420
+
421
+
422
+ Started GET "/assets/datastore_mongo/application.js?body=1" for 127.0.0.1 at 2011-11-14 18:19:18 -0800
423
+ Served asset /datastore_mongo/application.js - 304 Not Modified (0ms)
424
+
425
+
426
+ Started GET "/datastore_mongo/mongo_strings/new" for 127.0.0.1 at 2011-11-14 18:20:25 -0800
427
+ Processing by DatastoreMongo::MongoStringsController#new as HTML
428
+ Rendered /workspace/thinknear/datastore_mongo/app/views/datastore_mongo/mongo_strings/_form.html.erb (10.3ms)
429
+ Rendered /workspace/thinknear/datastore_mongo/app/views/datastore_mongo/mongo_strings/new.html.erb within layouts/datastore_mongo/application (95.1ms)
430
+ Completed 200 OK in 214ms (Views: 213.4ms | ActiveRecord: 0.0ms)
431
+
432
+
433
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-14 18:20:28 -0800
434
+ Served asset /jquery.js - 304 Not Modified (26ms)
435
+
436
+
437
+ Started GET "/assets/datastore_mongo/mongo_strings.css?body=1" for 127.0.0.1 at 2011-11-14 18:20:28 -0800
438
+ Served asset /datastore_mongo/mongo_strings.css - 304 Not Modified (16ms)
439
+
440
+
441
+ Started GET "/assets/datastore_mongo/application.css?body=1" for 127.0.0.1 at 2011-11-14 18:20:28 -0800
442
+ Served asset /datastore_mongo/application.css - 304 Not Modified (1ms)
443
+
444
+
445
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-14 18:20:28 -0800
446
+ Served asset /jquery_ujs.js - 304 Not Modified (3ms)
447
+
448
+
449
+ Started GET "/assets/datastore_mongo/mongo_strings.js?body=1" for 127.0.0.1 at 2011-11-14 18:20:28 -0800
450
+ Served asset /datastore_mongo/mongo_strings.js - 304 Not Modified (4ms)
451
+
452
+
453
+ Started GET "/assets/datastore_mongo/application.js?body=1" for 127.0.0.1 at 2011-11-14 18:20:28 -0800
454
+ Served asset /datastore_mongo/application.js - 304 Not Modified (1ms)
455
+
456
+
457
+ Started POST "/datastore_mongo/mongo_strings" for 127.0.0.1 at 2011-11-14 18:20:37 -0800
458
+ Processing by DatastoreMongo::MongoStringsController#create as HTML
459
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"2CrGVleqS8+Y/DWeODUaJv5vUjpugXRM6MIC0VkTp6U=", "mongo_string"=>{"field_1"=>"1", "field_2"=>""}, "commit"=>"Create Mongo string"}
460
+ Redirected to http://localhost:3000/datastore_mongo/mongo_strings/4ec1cc7575f6a9076e000001
461
+ Completed 302 Found in 17ms
462
+
463
+
464
+ Started GET "/datastore_mongo/mongo_strings/4ec1cc7575f6a9076e000001" for 127.0.0.1 at 2011-11-14 18:20:37 -0800
465
+ Processing by DatastoreMongo::MongoStringsController#show as HTML
466
+ Parameters: {"id"=>"4ec1cc7575f6a9076e000001"}
467
+ Rendered /workspace/thinknear/datastore_mongo/app/views/datastore_mongo/mongo_strings/show.html.erb within layouts/datastore_mongo/application (2.8ms)
468
+ Completed 200 OK in 37ms (Views: 34.4ms | ActiveRecord: 0.0ms)
469
+
470
+
471
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-14 18:20:38 -0800
472
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
473
+
474
+
475
+ Started GET "/assets/datastore_mongo/application.js?body=1" for 127.0.0.1 at 2011-11-14 18:20:38 -0800
476
+ Served asset /datastore_mongo/application.js - 304 Not Modified (0ms)
477
+
478
+
479
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-14 18:20:38 -0800
480
+ Served asset /jquery.js - 304 Not Modified (0ms)
481
+
482
+
483
+ Started GET "/assets/datastore_mongo/mongo_strings.js?body=1" for 127.0.0.1 at 2011-11-14 18:20:38 -0800
484
+ Served asset /datastore_mongo/mongo_strings.js - 304 Not Modified (0ms)
485
+
486
+
487
+ Started GET "/assets/datastore_mongo/mongo_strings.css?body=1" for 127.0.0.1 at 2011-11-14 18:20:38 -0800
488
+ Served asset /datastore_mongo/mongo_strings.css - 304 Not Modified (0ms)
489
+
490
+
491
+ Started GET "/assets/datastore_mongo/application.css?body=1" for 127.0.0.1 at 2011-11-14 18:20:38 -0800
492
+ Served asset /datastore_mongo/application.css - 304 Not Modified (0ms)
493
+
494
+
495
+ Started GET "/datastore_mongo/mongo_strings" for 127.0.0.1 at 2011-11-14 18:20:47 -0800
496
+ Processing by DatastoreMongo::MongoStringsController#index as HTML
497
+ Rendered /workspace/thinknear/datastore_mongo/app/views/datastore_mongo/mongo_strings/index.html.erb within layouts/datastore_mongo/application (11.7ms)
498
+ Completed 200 OK in 30ms (Views: 25.8ms | ActiveRecord: 0.0ms)
499
+
500
+
501
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-14 18:20:47 -0800
502
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
503
+
504
+
505
+ Started GET "/assets/datastore_mongo/mongo_strings.css?body=1" for 127.0.0.1 at 2011-11-14 18:20:47 -0800
506
+ Served asset /datastore_mongo/mongo_strings.css - 304 Not Modified (0ms)
507
+
508
+
509
+ Started GET "/assets/datastore_mongo/mongo_strings.js?body=1" for 127.0.0.1 at 2011-11-14 18:20:47 -0800
510
+ Served asset /datastore_mongo/mongo_strings.js - 304 Not Modified (0ms)
511
+
512
+
513
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-14 18:20:47 -0800
514
+ Served asset /jquery.js - 304 Not Modified (0ms)
515
+
516
+
517
+ Started GET "/assets/datastore_mongo/application.js?body=1" for 127.0.0.1 at 2011-11-14 18:20:47 -0800
518
+ Served asset /datastore_mongo/application.js - 304 Not Modified (17ms)
519
+
520
+
521
+ Started GET "/assets/datastore_mongo/application.css?body=1" for 127.0.0.1 at 2011-11-14 18:20:47 -0800
522
+ Served asset /datastore_mongo/application.css - 304 Not Modified (0ms)
523
+
524
+
525
+ Started GET "/datastore_mongo/mongo_strings" for 127.0.0.1 at 2011-11-14 18:23:00 -0800
526
+ Processing by DatastoreMongo::MongoStringsController#index as HTML
527
+ Completed 500 Internal Server Error in 2ms
528
+
529
+ Mongo::ConnectionFailure (Operation failed with the following exception: connection closed):
530
+
531
+
532
+ Rendered /Users/MacbookPro/.rvm/gems/ruby-1.9.2-p290@datastores/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms)
533
+ Rendered /Users/MacbookPro/.rvm/gems/ruby-1.9.2-p290@datastores/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
534
+ Rendered /Users/MacbookPro/.rvm/gems/ruby-1.9.2-p290@datastores/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.2ms)
535
+
536
+
537
+ Started GET "/datastore_mongo/mongo_strings" for 127.0.0.1 at 2011-11-14 18:34:14 -0800
538
+ Processing by DatastoreMongo::MongoStringsController#index as HTML
539
+ Rendered /workspace/thinknear/datastore_mongo/app/views/datastore_mongo/mongo_strings/index.html.erb within layouts/datastore_mongo/application (24.8ms)
540
+ Completed 200 OK in 354ms (Views: 189.1ms | ActiveRecord: 0.0ms)
541
+
542
+
543
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-14 18:34:17 -0800
544
+ Served asset /jquery.js - 304 Not Modified (23ms)
545
+
546
+
547
+ Started GET "/assets/datastore_mongo/mongo_strings.js?body=1" for 127.0.0.1 at 2011-11-14 18:34:17 -0800
548
+ Served asset /datastore_mongo/mongo_strings.js - 304 Not Modified (14ms)
549
+
550
+
551
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-14 18:34:17 -0800
552
+ Served asset /jquery_ujs.js - 304 Not Modified (6ms)
553
+
554
+
555
+ Started GET "/assets/datastore_mongo/application.js?body=1" for 127.0.0.1 at 2011-11-14 18:34:17 -0800
556
+ Served asset /datastore_mongo/application.js - 304 Not Modified (0ms)
557
+
558
+
559
+ Started GET "/assets/datastore_mongo/mongo_strings.css?body=1" for 127.0.0.1 at 2011-11-14 18:34:17 -0800
560
+ Served asset /datastore_mongo/mongo_strings.css - 304 Not Modified (9ms)
561
+
562
+
563
+ Started GET "/assets/datastore_mongo/application.css?body=1" for 127.0.0.1 at 2011-11-14 18:34:18 -0800
564
+ Served asset /datastore_mongo/application.css - 304 Not Modified (0ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datastore_mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-11-15 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &2151852800 !ruby/object:Gem::Requirement
16
+ requirement: &2151849600 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2151852800
24
+ version_requirements: *2151849600
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: mongo_mapper
27
- requirement: &2151850480 !ruby/object:Gem::Requirement
27
+ requirement: &2151847920 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.10.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2151850480
35
+ version_requirements: *2151847920
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: sqlite3
38
- requirement: &2151848780 !ruby/object:Gem::Requirement
38
+ requirement: &2151847100 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2151848780
46
+ version_requirements: *2151847100
47
47
  description:
48
48
  email:
49
49
  - john.hinnegan@thinknear.com
@@ -138,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  segments:
140
140
  - 0
141
- hash: -1946042496381007940
141
+ hash: -3945339035378041816
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  none: false
144
144
  requirements:
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  segments:
149
149
  - 0
150
- hash: -1946042496381007940
150
+ hash: -3945339035378041816
151
151
  requirements: []
152
152
  rubyforge_project:
153
153
  rubygems_version: 1.8.10