wonkavision 0.5.9 → 0.5.10

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.5.10
2
+ * Return an indifferent hash from the message mapper, rather than the actual map class, which will hold references to potentially large objects
3
+
1
4
  == 0.5.9
2
5
  * Fixed indifferent access module to include delete in its indifferentness.
3
6
 
@@ -17,7 +17,9 @@ module Wonkavision
17
17
  raise "#{map} not found" unless map_block
18
18
  message = MessageMapper::Map.new(data_source)
19
19
  message.instance_eval(&map_block)
20
- message
20
+ #We don't want to send the actual map back, it contains
21
+ #references to the full context, and can consume excess memory
22
+ { }.extend(IndifferentAccess).replace(message)
21
23
  end
22
24
 
23
25
  def register_map_directory(directory_path, recursive=true)
@@ -1,3 +1,3 @@
1
1
  module Wonkavision
2
- VERSION = '0.5.9'
2
+ VERSION = '0.5.10'
3
3
  end
data/test/log/test.log CHANGED
@@ -815,3 +815,271 @@ wonkavision_test['system.namespaces'].find({}, {})
815
815
  wonkavision_test['system.namespaces'].find({}, {})
816
816
  wonkavision_test['system.namespaces'].find({}, {})
817
817
  wonkavision_test['system.namespaces'].find({}, {})
818
+ wonkavision_test['system.namespaces'].find({}, {})
819
+ wonkavision_test['system.namespaces'].find({}, {})
820
+ wonkavision_test['system.namespaces'].find({}, {})
821
+ wonkavision_test['system.namespaces'].find({}, {})
822
+ wonkavision_test['test_business_activities'].find({:alt_model_id=>"123"}, {}).limit(-1)
823
+ MONGODB wonkavision_test['test_business_activities'].insert([{"alt_model_id"=>"123", "_id"=>BSON::ObjectId('4d30aac9ce47d0204c000001'), "timeline"=>{}, "latest_milestone"=>"awaiting_first_event"}])
824
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30aac9ce47d0204c000001')}, {"$set"=>{"alt_event_id"=>"123", "another_field"=>"hi there"}})
825
+ wonkavision_test['test_business_activities'].find({:alt_model_id=>"123"}, {}).limit(-1)
826
+ wonkavision_test['system.namespaces'].find({}, {})
827
+ wonkavision_test['system.namespaces'].find({}, {})
828
+ wonkavision_test['$cmd'].find({:drop=>"test_business_activities"}, {}).limit(-1)
829
+ wonkavision_test['system.namespaces'].find({}, {})
830
+ wonkavision_test['system.namespaces'].find({}, {})
831
+ wonkavision_test['system.namespaces'].find({}, {})
832
+ wonkavision_test['system.namespaces'].find({}, {})
833
+ wonkavision_test['system.namespaces'].find({}, {})
834
+ wonkavision_test['system.namespaces'].find({}, {})
835
+ wonkavision_test['system.namespaces'].find({}, {})
836
+ wonkavision_test['system.namespaces'].find({}, {})
837
+ wonkavision_test['system.namespaces'].find({}, {})
838
+ wonkavision_test['system.namespaces'].find({}, {})
839
+ wonkavision_test['system.namespaces'].find({}, {})
840
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
841
+ MONGODB wonkavision_test['test_business_activities'].insert([{"_id"=>BSON::ObjectId('4d30aac9ce47d0204c000002'), "timeline"=>{}, "latest_milestone"=>"awaiting_first_event", "test_id"=>"123"}])
842
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30aac9ce47d0204c000002')}, {"$set"=>{"timeline"=>{:ms3=>Mon Jan 01 00:00:00 UTC 2001}, "latest_milestone"=>"ms3", "modified_another_field"=>"'hi there' WAS SERVED!! OH YEAH!! IN-YOUR-FACE!!"}})
843
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
844
+ wonkavision_test['system.namespaces'].find({}, {})
845
+ wonkavision_test['system.namespaces'].find({}, {})
846
+ wonkavision_test['$cmd'].find({:drop=>"test_business_activities"}, {}).limit(-1)
847
+ wonkavision_test['system.namespaces'].find({}, {})
848
+ wonkavision_test['system.namespaces'].find({}, {})
849
+ wonkavision_test['system.namespaces'].find({}, {})
850
+ wonkavision_test['system.namespaces'].find({}, {})
851
+ wonkavision_test['system.namespaces'].find({}, {})
852
+ wonkavision_test['system.namespaces'].find({}, {})
853
+ wonkavision_test['system.namespaces'].find({}, {})
854
+ wonkavision_test['system.namespaces'].find({}, {})
855
+ wonkavision_test['system.namespaces'].find({}, {})
856
+ wonkavision_test['system.namespaces'].find({}, {})
857
+ wonkavision_test['system.namespaces'].find({}, {})
858
+ wonkavision_test['system.namespaces'].find({}, {})
859
+ wonkavision_test['system.namespaces'].find({}, {})
860
+ wonkavision_test['system.namespaces'].find({}, {})
861
+ wonkavision_test['system.namespaces'].find({}, {})
862
+ wonkavision_test['system.namespaces'].find({}, {})
863
+ wonkavision_test['system.namespaces'].find({}, {})
864
+ wonkavision_test['system.namespaces'].find({}, {})
865
+ wonkavision_test['system.namespaces'].find({}, {})
866
+ wonkavision_test['system.namespaces'].find({}, {})
867
+ wonkavision_test['system.namespaces'].find({}, {})
868
+ wonkavision_test['system.namespaces'].find({}, {})
869
+ wonkavision_test['system.namespaces'].find({}, {})
870
+ wonkavision_test['system.namespaces'].find({}, {})
871
+ wonkavision_test['system.namespaces'].find({}, {})
872
+ wonkavision_test['system.namespaces'].find({}, {})
873
+ wonkavision_test['system.namespaces'].find({}, {})
874
+ wonkavision_test['system.namespaces'].find({}, {})
875
+ wonkavision_test['system.namespaces'].find({}, {})
876
+ wonkavision_test['system.namespaces'].find({}, {})
877
+ wonkavision_test['system.namespaces'].find({}, {})
878
+ wonkavision_test['system.namespaces'].find({}, {})
879
+ wonkavision_test['system.namespaces'].find({}, {})
880
+ wonkavision_test['system.namespaces'].find({}, {})
881
+ wonkavision_test['system.namespaces'].find({}, {})
882
+ wonkavision_test['system.namespaces'].find({}, {})
883
+ wonkavision_test['system.namespaces'].find({}, {})
884
+ wonkavision_test['system.namespaces'].find({}, {})
885
+ wonkavision_test['system.namespaces'].find({}, {})
886
+ wonkavision_test['system.namespaces'].find({}, {})
887
+ wonkavision_test['system.namespaces'].find({}, {})
888
+ wonkavision_test['system.namespaces'].find({}, {})
889
+ wonkavision_test['system.namespaces'].find({}, {})
890
+ wonkavision_test['system.namespaces'].find({}, {})
891
+ wonkavision_test['system.namespaces'].find({}, {})
892
+ wonkavision_test['system.namespaces'].find({}, {})
893
+ wonkavision_test['system.namespaces'].find({}, {})
894
+ wonkavision_test['system.namespaces'].find({}, {})
895
+ wonkavision_test['system.namespaces'].find({}, {})
896
+ wonkavision_test['system.namespaces'].find({}, {})
897
+ wonkavision_test['system.namespaces'].find({}, {})
898
+ wonkavision_test['system.namespaces'].find({}, {})
899
+ wonkavision_test['system.namespaces'].find({}, {})
900
+ wonkavision_test['system.namespaces'].find({}, {})
901
+ wonkavision_test['system.namespaces'].find({}, {})
902
+ wonkavision_test['system.namespaces'].find({}, {})
903
+ wonkavision_test['system.namespaces'].find({}, {})
904
+ wonkavision_test['system.namespaces'].find({}, {})
905
+ wonkavision_test['system.namespaces'].find({}, {})
906
+ wonkavision_test['system.namespaces'].find({}, {})
907
+ wonkavision_test['system.namespaces'].find({}, {})
908
+ wonkavision_test['system.namespaces'].find({}, {})
909
+ wonkavision_test['system.namespaces'].find({}, {})
910
+ wonkavision_test['system.namespaces'].find({}, {})
911
+ wonkavision_test['system.namespaces'].find({}, {})
912
+ wonkavision_test['system.namespaces'].find({}, {})
913
+ wonkavision_test['system.namespaces'].find({}, {})
914
+ wonkavision_test['system.namespaces'].find({}, {})
915
+ wonkavision_test['system.namespaces'].find({}, {})
916
+ wonkavision_test['system.namespaces'].find({}, {})
917
+ wonkavision_test['system.namespaces'].find({}, {})
918
+ wonkavision_test['system.namespaces'].find({}, {})
919
+ wonkavision_test['system.namespaces'].find({}, {})
920
+ wonkavision_test['system.namespaces'].find({}, {})
921
+ wonkavision_test['system.namespaces'].find({}, {})
922
+ wonkavision_test['system.namespaces'].find({}, {})
923
+ wonkavision_test['system.namespaces'].find({}, {})
924
+ wonkavision_test['system.namespaces'].find({}, {})
925
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
926
+ MONGODB wonkavision_test['test_business_activities'].insert([{"_id"=>BSON::ObjectId('4d30aac9ce47d0204c000003'), "timeline"=>{}, "latest_milestone"=>"awaiting_first_event", "test_id"=>"123"}])
927
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30aac9ce47d0204c000003')}, {"$set"=>{"timeline"=>{:ms2=>Mon Jan 01 08:00:00 UTC 2001}, "latest_milestone"=>"ms2"}})
928
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
929
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
930
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30aac9ce47d0204c000003')}, {"$set"=>{"timeline"=>{"ms2"=>Mon Jan 01 08:00:00 UTC 2001, "ms1"=>Mon Jan 01 07:00:00 UTC 2001}}})
931
+ wonkavision_test['test_business_activities'].find({:_id=>BSON::ObjectId('4d30aac9ce47d0204c000003')}, {}).limit(-1)
932
+ wonkavision_test['system.namespaces'].find({}, {})
933
+ wonkavision_test['system.namespaces'].find({}, {})
934
+ wonkavision_test['$cmd'].find({:drop=>"test_business_activities"}, {}).limit(-1)
935
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
936
+ MONGODB wonkavision_test['test_business_activities'].insert([{"_id"=>BSON::ObjectId('4d30aac9ce47d0204c000004'), "timeline"=>{}, "latest_milestone"=>"awaiting_first_event", "test_id"=>"123"}])
937
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30aac9ce47d0204c000004')}, {"$set"=>{"timeline"=>{:ms1=>Mon Jan 01 00:00:00 UTC 2001}, "latest_milestone"=>"ms1", "another_field"=>"hi there"}})
938
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
939
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
940
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30aac9ce47d0204c000004')}, {"$set"=>{"timeline"=>{"ms1"=>Mon Jan 01 00:00:00 UTC 2001, "ms2"=>Mon Jan 01 00:00:00 UTC 2001}, "latest_milestone"=>"ms2"}})
941
+ wonkavision_test['test_business_activities'].find({:_id=>BSON::ObjectId('4d30aac9ce47d0204c000004')}, {}).limit(-1)
942
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
943
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30aac9ce47d0204c000004')}, {"$set"=>{"timeline"=>{"ms1"=>Mon Jan 01 00:00:00 UTC 2001, "ms2"=>Mon Jan 01 00:00:00 UTC 2001, "ms3"=>Mon Jan 01 00:00:00 UTC 2001}, "latest_milestone"=>"ms3"}})
944
+ wonkavision_test['test_business_activities'].find({:_id=>BSON::ObjectId('4d30aac9ce47d0204c000004')}, {}).limit(-1)
945
+ wonkavision_test['system.namespaces'].find({}, {})
946
+ wonkavision_test['system.namespaces'].find({}, {})
947
+ wonkavision_test['$cmd'].find({:drop=>"test_business_activities"}, {}).limit(-1)
948
+ wonkavision_test['system.namespaces'].find({}, {})
949
+ wonkavision_test['system.namespaces'].find({}, {})
950
+ wonkavision_test['system.namespaces'].find({}, {})
951
+ wonkavision_test['system.namespaces'].find({}, {})
952
+ wonkavision_test['system.namespaces'].find({}, {})
953
+ wonkavision_test['system.namespaces'].find({}, {})
954
+ wonkavision_test['system.namespaces'].find({}, {})
955
+ wonkavision_test['system.namespaces'].find({}, {})
956
+ wonkavision_test['test_business_activities'].find({:alt_model_id=>"123"}, {}).limit(-1)
957
+ MONGODB wonkavision_test['test_business_activities'].insert([{"alt_model_id"=>"123", "_id"=>BSON::ObjectId('4d30af1bce47d036b0000001'), "timeline"=>{}, "latest_milestone"=>"awaiting_first_event"}])
958
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30af1bce47d036b0000001')}, {"$set"=>{"alt_event_id"=>"123", "another_field"=>"hi there"}})
959
+ wonkavision_test['test_business_activities'].find({:alt_model_id=>"123"}, {}).limit(-1)
960
+ wonkavision_test['system.namespaces'].find({}, {})
961
+ wonkavision_test['system.namespaces'].find({}, {})
962
+ wonkavision_test['$cmd'].find({:drop=>"test_business_activities"}, {}).limit(-1)
963
+ wonkavision_test['system.namespaces'].find({}, {})
964
+ wonkavision_test['system.namespaces'].find({}, {})
965
+ wonkavision_test['system.namespaces'].find({}, {})
966
+ wonkavision_test['system.namespaces'].find({}, {})
967
+ wonkavision_test['system.namespaces'].find({}, {})
968
+ wonkavision_test['system.namespaces'].find({}, {})
969
+ wonkavision_test['system.namespaces'].find({}, {})
970
+ wonkavision_test['system.namespaces'].find({}, {})
971
+ wonkavision_test['system.namespaces'].find({}, {})
972
+ wonkavision_test['system.namespaces'].find({}, {})
973
+ wonkavision_test['system.namespaces'].find({}, {})
974
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
975
+ MONGODB wonkavision_test['test_business_activities'].insert([{"_id"=>BSON::ObjectId('4d30af1bce47d036b0000002'), "timeline"=>{}, "latest_milestone"=>"awaiting_first_event", "test_id"=>"123"}])
976
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30af1bce47d036b0000002')}, {"$set"=>{"timeline"=>{:ms3=>Mon Jan 01 00:00:00 UTC 2001}, "latest_milestone"=>"ms3", "modified_another_field"=>"'hi there' WAS SERVED!! OH YEAH!! IN-YOUR-FACE!!"}})
977
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
978
+ wonkavision_test['system.namespaces'].find({}, {})
979
+ wonkavision_test['system.namespaces'].find({}, {})
980
+ wonkavision_test['$cmd'].find({:drop=>"test_business_activities"}, {}).limit(-1)
981
+ wonkavision_test['system.namespaces'].find({}, {})
982
+ wonkavision_test['system.namespaces'].find({}, {})
983
+ wonkavision_test['system.namespaces'].find({}, {})
984
+ wonkavision_test['system.namespaces'].find({}, {})
985
+ wonkavision_test['system.namespaces'].find({}, {})
986
+ wonkavision_test['system.namespaces'].find({}, {})
987
+ wonkavision_test['system.namespaces'].find({}, {})
988
+ wonkavision_test['system.namespaces'].find({}, {})
989
+ wonkavision_test['system.namespaces'].find({}, {})
990
+ wonkavision_test['system.namespaces'].find({}, {})
991
+ wonkavision_test['system.namespaces'].find({}, {})
992
+ wonkavision_test['system.namespaces'].find({}, {})
993
+ wonkavision_test['system.namespaces'].find({}, {})
994
+ wonkavision_test['system.namespaces'].find({}, {})
995
+ wonkavision_test['system.namespaces'].find({}, {})
996
+ wonkavision_test['system.namespaces'].find({}, {})
997
+ wonkavision_test['system.namespaces'].find({}, {})
998
+ wonkavision_test['system.namespaces'].find({}, {})
999
+ wonkavision_test['system.namespaces'].find({}, {})
1000
+ wonkavision_test['system.namespaces'].find({}, {})
1001
+ wonkavision_test['system.namespaces'].find({}, {})
1002
+ wonkavision_test['system.namespaces'].find({}, {})
1003
+ wonkavision_test['system.namespaces'].find({}, {})
1004
+ wonkavision_test['system.namespaces'].find({}, {})
1005
+ wonkavision_test['system.namespaces'].find({}, {})
1006
+ wonkavision_test['system.namespaces'].find({}, {})
1007
+ wonkavision_test['system.namespaces'].find({}, {})
1008
+ wonkavision_test['system.namespaces'].find({}, {})
1009
+ wonkavision_test['system.namespaces'].find({}, {})
1010
+ wonkavision_test['system.namespaces'].find({}, {})
1011
+ wonkavision_test['system.namespaces'].find({}, {})
1012
+ wonkavision_test['system.namespaces'].find({}, {})
1013
+ wonkavision_test['system.namespaces'].find({}, {})
1014
+ wonkavision_test['system.namespaces'].find({}, {})
1015
+ wonkavision_test['system.namespaces'].find({}, {})
1016
+ wonkavision_test['system.namespaces'].find({}, {})
1017
+ wonkavision_test['system.namespaces'].find({}, {})
1018
+ wonkavision_test['system.namespaces'].find({}, {})
1019
+ wonkavision_test['system.namespaces'].find({}, {})
1020
+ wonkavision_test['system.namespaces'].find({}, {})
1021
+ wonkavision_test['system.namespaces'].find({}, {})
1022
+ wonkavision_test['system.namespaces'].find({}, {})
1023
+ wonkavision_test['system.namespaces'].find({}, {})
1024
+ wonkavision_test['system.namespaces'].find({}, {})
1025
+ wonkavision_test['system.namespaces'].find({}, {})
1026
+ wonkavision_test['system.namespaces'].find({}, {})
1027
+ wonkavision_test['system.namespaces'].find({}, {})
1028
+ wonkavision_test['system.namespaces'].find({}, {})
1029
+ wonkavision_test['system.namespaces'].find({}, {})
1030
+ wonkavision_test['system.namespaces'].find({}, {})
1031
+ wonkavision_test['system.namespaces'].find({}, {})
1032
+ wonkavision_test['system.namespaces'].find({}, {})
1033
+ wonkavision_test['system.namespaces'].find({}, {})
1034
+ wonkavision_test['system.namespaces'].find({}, {})
1035
+ wonkavision_test['system.namespaces'].find({}, {})
1036
+ wonkavision_test['system.namespaces'].find({}, {})
1037
+ wonkavision_test['system.namespaces'].find({}, {})
1038
+ wonkavision_test['system.namespaces'].find({}, {})
1039
+ wonkavision_test['system.namespaces'].find({}, {})
1040
+ wonkavision_test['system.namespaces'].find({}, {})
1041
+ wonkavision_test['system.namespaces'].find({}, {})
1042
+ wonkavision_test['system.namespaces'].find({}, {})
1043
+ wonkavision_test['system.namespaces'].find({}, {})
1044
+ wonkavision_test['system.namespaces'].find({}, {})
1045
+ wonkavision_test['system.namespaces'].find({}, {})
1046
+ wonkavision_test['system.namespaces'].find({}, {})
1047
+ wonkavision_test['system.namespaces'].find({}, {})
1048
+ wonkavision_test['system.namespaces'].find({}, {})
1049
+ wonkavision_test['system.namespaces'].find({}, {})
1050
+ wonkavision_test['system.namespaces'].find({}, {})
1051
+ wonkavision_test['system.namespaces'].find({}, {})
1052
+ wonkavision_test['system.namespaces'].find({}, {})
1053
+ wonkavision_test['system.namespaces'].find({}, {})
1054
+ wonkavision_test['system.namespaces'].find({}, {})
1055
+ wonkavision_test['system.namespaces'].find({}, {})
1056
+ wonkavision_test['system.namespaces'].find({}, {})
1057
+ wonkavision_test['system.namespaces'].find({}, {})
1058
+ wonkavision_test['system.namespaces'].find({}, {})
1059
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
1060
+ MONGODB wonkavision_test['test_business_activities'].insert([{"_id"=>BSON::ObjectId('4d30af1bce47d036b0000003'), "timeline"=>{}, "latest_milestone"=>"awaiting_first_event", "test_id"=>"123"}])
1061
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30af1bce47d036b0000003')}, {"$set"=>{"timeline"=>{:ms2=>Mon Jan 01 08:00:00 UTC 2001}, "latest_milestone"=>"ms2"}})
1062
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
1063
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
1064
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30af1bce47d036b0000003')}, {"$set"=>{"timeline"=>{"ms2"=>Mon Jan 01 08:00:00 UTC 2001, "ms1"=>Mon Jan 01 07:00:00 UTC 2001}}})
1065
+ wonkavision_test['test_business_activities'].find({:_id=>BSON::ObjectId('4d30af1bce47d036b0000003')}, {}).limit(-1)
1066
+ wonkavision_test['system.namespaces'].find({}, {})
1067
+ wonkavision_test['system.namespaces'].find({}, {})
1068
+ wonkavision_test['$cmd'].find({:drop=>"test_business_activities"}, {}).limit(-1)
1069
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
1070
+ MONGODB wonkavision_test['test_business_activities'].insert([{"_id"=>BSON::ObjectId('4d30af1bce47d036b0000004'), "timeline"=>{}, "latest_milestone"=>"awaiting_first_event", "test_id"=>"123"}])
1071
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30af1bce47d036b0000004')}, {"$set"=>{"timeline"=>{:ms1=>Mon Jan 01 00:00:00 UTC 2001}, "latest_milestone"=>"ms1", "another_field"=>"hi there"}})
1072
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
1073
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
1074
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30af1bce47d036b0000004')}, {"$set"=>{"timeline"=>{"ms1"=>Mon Jan 01 00:00:00 UTC 2001, "ms2"=>Mon Jan 01 00:00:00 UTC 2001}, "latest_milestone"=>"ms2"}})
1075
+ wonkavision_test['test_business_activities'].find({:_id=>BSON::ObjectId('4d30af1bce47d036b0000004')}, {}).limit(-1)
1076
+ wonkavision_test['test_business_activities'].find({:test_id=>"123"}, {}).limit(-1)
1077
+ MONGODB wonkavision_test['test_business_activities'].update({"_id"=>BSON::ObjectId('4d30af1bce47d036b0000004')}, {"$set"=>{"timeline"=>{"ms1"=>Mon Jan 01 00:00:00 UTC 2001, "ms2"=>Mon Jan 01 00:00:00 UTC 2001, "ms3"=>Mon Jan 01 00:00:00 UTC 2001}, "latest_milestone"=>"ms3"}})
1078
+ wonkavision_test['test_business_activities'].find({:_id=>BSON::ObjectId('4d30af1bce47d036b0000004')}, {}).limit(-1)
1079
+ wonkavision_test['system.namespaces'].find({}, {})
1080
+ wonkavision_test['system.namespaces'].find({}, {})
1081
+ wonkavision_test['$cmd'].find({:drop=>"test_business_activities"}, {}).limit(-1)
1082
+ wonkavision_test['system.namespaces'].find({}, {})
1083
+ wonkavision_test['system.namespaces'].find({}, {})
1084
+ wonkavision_test['system.namespaces'].find({}, {})
1085
+ wonkavision_test['system.namespaces'].find({}, {})
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wonkavision
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 9
10
- version: 0.5.9
9
+ - 10
10
+ version: 0.5.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nathan Stults
@@ -15,27 +15,14 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-09 00:00:00 -08:00
18
+ date: 2011-01-14 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- name: wonkavision
24
- version_requirements: &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
- requirement: *id001
34
22
  type: :runtime
35
- - !ruby/object:Gem::Dependency
36
- prerelease: false
37
23
  name: activesupport
38
- version_requirements: &id002 !ruby/object:Gem::Requirement
24
+ prerelease: false
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
39
26
  none: false
40
27
  requirements:
41
28
  - - ">="
@@ -45,12 +32,12 @@ dependencies:
45
32
  - 2
46
33
  - 3
47
34
  version: "2.3"
48
- requirement: *id002
49
- type: :runtime
35
+ requirement: *id001
50
36
  - !ruby/object:Gem::Dependency
37
+ type: :development
38
+ name: rake
51
39
  prerelease: false
52
- name: mongoid
53
- version_requirements: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: &id002 !ruby/object:Gem::Requirement
54
41
  none: false
55
42
  requirements:
56
43
  - - ">="
@@ -59,106 +46,71 @@ dependencies:
59
46
  segments:
60
47
  - 0
61
48
  version: "0"
62
- requirement: *id003
63
- type: :runtime
49
+ requirement: *id002
64
50
  - !ruby/object:Gem::Dependency
65
- prerelease: false
66
- name: shoulda
67
- version_requirements: &id004 !ruby/object:Gem::Requirement
68
- none: false
69
- requirements:
70
- - - "="
71
- - !ruby/object:Gem::Version
72
- hash: 33
73
- segments:
74
- - 2
75
- - 10
76
- - 3
77
- version: 2.10.3
78
- requirement: *id004
79
51
  type: :development
80
- - !ruby/object:Gem::Dependency
81
- prerelease: false
82
- name: activesupport
83
- version_requirements: &id005 !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- hash: 5
89
- segments:
90
- - 2
91
- - 3
92
- version: "2.3"
93
- requirement: *id005
94
- type: :runtime
95
- - !ruby/object:Gem::Dependency
96
- prerelease: false
97
52
  name: shoulda
98
- version_requirements: &id006 !ruby/object:Gem::Requirement
53
+ prerelease: false
54
+ version_requirements: &id003 !ruby/object:Gem::Requirement
99
55
  none: false
100
56
  requirements:
101
- - - "="
57
+ - - ~>
102
58
  - !ruby/object:Gem::Version
103
- hash: 33
59
+ hash: 21
104
60
  segments:
105
61
  - 2
106
- - 10
107
- - 3
108
- version: 2.10.3
109
- requirement: *id006
110
- type: :development
111
- description: Wonkavision is a small gem that allows you to publish
112
- email: hereiam@sonic.net
62
+ - 11
63
+ version: "2.11"
64
+ requirement: *id003
65
+ description:
66
+ email:
67
+ - hereiam@sonic.net
113
68
  executables: []
114
69
 
115
70
  extensions: []
116
71
 
117
- extra_rdoc_files:
118
- - LICENSE.txt
119
- - README.rdoc
72
+ extra_rdoc_files: []
73
+
120
74
  files:
121
- - CHANGELOG.rdoc
122
- - Gemfile
123
- - LICENSE.txt
124
- - README.rdoc
125
- - Rakefile
126
- - lib/wonkavision.rb
127
- - lib/wonkavision/acts_as_oompa_loompa.rb
128
- - lib/wonkavision/event.rb
129
- - lib/wonkavision/event_binding.rb
130
- - lib/wonkavision/event_context.rb
131
- - lib/wonkavision/event_coordinator.rb
132
75
  - lib/wonkavision/event_handler.rb
133
- - lib/wonkavision/event_namespace.rb
134
- - lib/wonkavision/event_path_segment.rb
135
- - lib/wonkavision/message_mapper.rb
136
- - lib/wonkavision/message_mapper/indifferent_access.rb
137
- - lib/wonkavision/message_mapper/map.rb
138
- - lib/wonkavision/persistence/mongo_mapper_adapter.rb
139
- - lib/wonkavision/persistence/mongoid_adapter.rb
140
- - lib/wonkavision/plugins.rb
76
+ - lib/wonkavision/plugins/timeline.rb
141
77
  - lib/wonkavision/plugins/business_activity.rb
142
78
  - lib/wonkavision/plugins/business_activity/event_binding.rb
143
- - lib/wonkavision/plugins/callbacks.rb
144
79
  - lib/wonkavision/plugins/event_handling.rb
145
- - lib/wonkavision/plugins/timeline.rb
80
+ - lib/wonkavision/plugins/callbacks.rb
146
81
  - lib/wonkavision/support.rb
82
+ - lib/wonkavision/plugins.rb
83
+ - lib/wonkavision/event_path_segment.rb
84
+ - lib/wonkavision/persistence/mongo_mapper_adapter.rb
85
+ - lib/wonkavision/persistence/mongoid_adapter.rb
86
+ - lib/wonkavision/event_coordinator.rb
87
+ - lib/wonkavision/acts_as_oompa_loompa.rb
88
+ - lib/wonkavision/event_namespace.rb
89
+ - lib/wonkavision/message_mapper.rb
90
+ - lib/wonkavision/event.rb
91
+ - lib/wonkavision/event_context.rb
147
92
  - lib/wonkavision/version.rb
148
- - test/business_activity_test.rb
149
- - test/config/database.yml
150
- - test/event_coordinator_test.rb
151
- - test/event_handler_test.rb
93
+ - lib/wonkavision/message_mapper/indifferent_access.rb
94
+ - lib/wonkavision/message_mapper/map.rb
95
+ - lib/wonkavision/event_binding.rb
96
+ - lib/wonkavision.rb
97
+ - test/message_mapper_test.rb
98
+ - test/wonkavision_test.rb
152
99
  - test/event_namespace_test.rb
100
+ - test/event_coordinator_test.rb
153
101
  - test/event_path_segment_test.rb
154
- - test/event_test.rb
155
- - test/log/test.log
156
- - test/map_test.rb
157
- - test/message_mapper_test.rb
158
102
  - test/test_activity_models.rb
103
+ - test/config/database.yml
159
104
  - test/test_helper.rb
105
+ - test/map_test.rb
160
106
  - test/timeline_test.rb
161
- - test/wonkavision_test.rb
107
+ - test/business_activity_test.rb
108
+ - test/event_test.rb
109
+ - test/event_handler_test.rb
110
+ - test/log/test.log
111
+ - LICENSE.txt
112
+ - README.rdoc
113
+ - CHANGELOG.rdoc
162
114
  has_rdoc: true
163
115
  homepage: http://github.com/PlasticLizard/wonkavision
164
116
  licenses: []
@@ -192,17 +144,6 @@ rubyforge_project:
192
144
  rubygems_version: 1.3.7
193
145
  signing_key:
194
146
  specification_version: 3
195
- summary: Simple Business Activity Monitoring
196
- test_files:
197
- - test/business_activity_test.rb
198
- - test/event_coordinator_test.rb
199
- - test/event_handler_test.rb
200
- - test/event_namespace_test.rb
201
- - test/event_path_segment_test.rb
202
- - test/event_test.rb
203
- - test/map_test.rb
204
- - test/message_mapper_test.rb
205
- - test/test_activity_models.rb
206
- - test/test_helper.rb
207
- - test/timeline_test.rb
208
- - test/wonkavision_test.rb
147
+ summary: Messaging support library
148
+ test_files: []
149
+
data/Gemfile DELETED
@@ -1,5 +0,0 @@
1
- # Use `bundle install` in order to install these gems
2
- # Use `bundle exec rake` in order to run the specs using the bundle
3
- source "http://rubygems.org"
4
- gemspec
5
- gem "mongoid", :git=>"http://github.com/mongoid/mongoid.git"
data/Rakefile DELETED
@@ -1,48 +0,0 @@
1
- require 'rubygems'
2
- require 'rake'
3
- require 'rake/testtask'
4
- require 'rake/rdoctask'
5
-
6
- begin
7
- require 'jeweler'
8
- require File.dirname(__FILE__) + "/lib/wonkavision/version"
9
-
10
- Jeweler::Tasks.new do |s|
11
- s.name = "wonkavision"
12
- s.version = Wonkavision::VERSION
13
- s.summary = "Simple Business Activity Monitoring"
14
- s.description = "Wonkavision is a small gem that allows you to publish"
15
- s.email = "hereiam@sonic.net"
16
- s.homepage = "http://github.com/PlasticLizard/wonkavision"
17
- s.authors = ["Nathan Stults"]
18
- s.has_rdoc = false #=>Should be true, someday
19
- s.extra_rdoc_files = ["README.rdoc", "LICENSE.txt"]
20
- s.files = FileList["[A-Z]*", "{bin,lib,test}/**/*"]
21
-
22
- s.add_dependency('activesupport', '>= 2.3')
23
-
24
- s.add_development_dependency('shoulda', '2.10.3')
25
- end
26
-
27
- Jeweler::GemcutterTasks.new
28
-
29
- rescue LoadError => ex
30
- puts "Jeweler not available. Install it for jeweler-related tasks with: sudo gem install jeweler"
31
-
32
- end
33
-
34
- Rake::TestTask.new do |t|
35
- t.libs << 'libs' << 'test'
36
- t.pattern = 'test/**/*_test.rb'
37
- t.verbose = false
38
- end
39
-
40
- Rake::RDocTask.new do |rdoc|
41
- rdoc.rdoc_dir = 'rdoc'
42
- rdoc.title = 'test'
43
- rdoc.options << '--line-numbers' << '--inline-source'
44
- rdoc.rdoc_files.include('README*')
45
- rdoc.rdoc_files.include('lib/**/*.rb')
46
- end
47
-
48
- task :default => :test