wonkavision 0.5.4 → 0.5.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/CHANGELOG.rdoc +28 -16
  2. data/Gemfile +5 -0
  3. data/LICENSE.txt +21 -21
  4. data/Rakefile +47 -47
  5. data/lib/wonkavision.rb +75 -74
  6. data/lib/wonkavision/acts_as_oompa_loompa.rb +22 -22
  7. data/lib/wonkavision/event_binding.rb +21 -21
  8. data/lib/wonkavision/event_context.rb +9 -9
  9. data/lib/wonkavision/event_coordinator.rb +75 -75
  10. data/lib/wonkavision/event_handler.rb +15 -15
  11. data/lib/wonkavision/event_namespace.rb +79 -79
  12. data/lib/wonkavision/event_path_segment.rb +35 -35
  13. data/lib/wonkavision/message_mapper.rb +30 -30
  14. data/lib/wonkavision/message_mapper/indifferent_access.rb +30 -26
  15. data/lib/wonkavision/message_mapper/map.rb +241 -153
  16. data/lib/wonkavision/persistence/mongo_mapper_adapter.rb +32 -32
  17. data/lib/wonkavision/persistence/mongoid_adapter.rb +32 -0
  18. data/lib/wonkavision/plugins.rb +30 -30
  19. data/lib/wonkavision/plugins/business_activity.rb +92 -92
  20. data/lib/wonkavision/plugins/business_activity/event_binding.rb +15 -15
  21. data/lib/wonkavision/plugins/callbacks.rb +182 -182
  22. data/lib/wonkavision/plugins/event_handling.rb +111 -111
  23. data/lib/wonkavision/plugins/timeline.rb +79 -79
  24. data/lib/wonkavision/version.rb +3 -3
  25. data/test/business_activity_test.rb +31 -31
  26. data/test/event_handler_test.rb +68 -69
  27. data/test/event_namespace_test.rb +108 -108
  28. data/test/event_path_segment_test.rb +41 -41
  29. data/test/log/test.log +817 -18354
  30. data/test/map_test.rb +315 -201
  31. data/test/message_mapper_test.rb +20 -20
  32. data/test/test_activity_models.rb +72 -72
  33. data/test/test_helper.rb +70 -63
  34. data/test/timeline_test.rb +55 -61
  35. data/test/wonkavision_test.rb +9 -9
  36. metadata +72 -12
  37. data/wonkavision.gemspec +0 -97
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: 3
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 4
10
- version: 0.5.4
9
+ - 9
10
+ version: 0.5.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nathan Stults
@@ -15,13 +15,27 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-02 00:00:00 -07:00
18
+ date: 2010-12-09 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: activesupport
23
22
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
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
+ type: :runtime
35
+ - !ruby/object:Gem::Dependency
36
+ prerelease: false
37
+ name: activesupport
38
+ version_requirements: &id002 !ruby/object:Gem::Requirement
25
39
  none: false
26
40
  requirements:
27
41
  - - ">="
@@ -31,12 +45,57 @@ dependencies:
31
45
  - 2
32
46
  - 3
33
47
  version: "2.3"
48
+ requirement: *id002
34
49
  type: :runtime
35
- version_requirements: *id001
36
50
  - !ruby/object:Gem::Dependency
51
+ prerelease: false
52
+ name: mongoid
53
+ version_requirements: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
61
+ version: "0"
62
+ requirement: *id003
63
+ type: :runtime
64
+ - !ruby/object:Gem::Dependency
65
+ prerelease: false
37
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
+ type: :development
80
+ - !ruby/object:Gem::Dependency
38
81
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
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
+ name: shoulda
98
+ version_requirements: &id006 !ruby/object:Gem::Requirement
40
99
  none: false
41
100
  requirements:
42
101
  - - "="
@@ -47,8 +106,8 @@ dependencies:
47
106
  - 10
48
107
  - 3
49
108
  version: 2.10.3
109
+ requirement: *id006
50
110
  type: :development
51
- version_requirements: *id002
52
111
  description: Wonkavision is a small gem that allows you to publish
53
112
  email: hereiam@sonic.net
54
113
  executables: []
@@ -60,6 +119,7 @@ extra_rdoc_files:
60
119
  - README.rdoc
61
120
  files:
62
121
  - CHANGELOG.rdoc
122
+ - Gemfile
63
123
  - LICENSE.txt
64
124
  - README.rdoc
65
125
  - Rakefile
@@ -76,6 +136,7 @@ files:
76
136
  - lib/wonkavision/message_mapper/indifferent_access.rb
77
137
  - lib/wonkavision/message_mapper/map.rb
78
138
  - lib/wonkavision/persistence/mongo_mapper_adapter.rb
139
+ - lib/wonkavision/persistence/mongoid_adapter.rb
79
140
  - lib/wonkavision/plugins.rb
80
141
  - lib/wonkavision/plugins/business_activity.rb
81
142
  - lib/wonkavision/plugins/business_activity/event_binding.rb
@@ -98,14 +159,13 @@ files:
98
159
  - test/test_helper.rb
99
160
  - test/timeline_test.rb
100
161
  - test/wonkavision_test.rb
101
- - wonkavision.gemspec
102
162
  has_rdoc: true
103
163
  homepage: http://github.com/PlasticLizard/wonkavision
104
164
  licenses: []
105
165
 
106
166
  post_install_message:
107
- rdoc_options:
108
- - --charset=UTF-8
167
+ rdoc_options: []
168
+
109
169
  require_paths:
110
170
  - lib
111
171
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -1,97 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{wonkavision}
8
- s.version = "0.5.4"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Nathan Stults"]
12
- s.date = %q{2010-08-02}
13
- s.description = %q{Wonkavision is a small gem that allows you to publish}
14
- s.email = %q{hereiam@sonic.net}
15
- s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- "CHANGELOG.rdoc",
21
- "LICENSE.txt",
22
- "README.rdoc",
23
- "Rakefile",
24
- "lib/wonkavision.rb",
25
- "lib/wonkavision/acts_as_oompa_loompa.rb",
26
- "lib/wonkavision/event.rb",
27
- "lib/wonkavision/event_binding.rb",
28
- "lib/wonkavision/event_context.rb",
29
- "lib/wonkavision/event_coordinator.rb",
30
- "lib/wonkavision/event_handler.rb",
31
- "lib/wonkavision/event_namespace.rb",
32
- "lib/wonkavision/event_path_segment.rb",
33
- "lib/wonkavision/message_mapper.rb",
34
- "lib/wonkavision/message_mapper/indifferent_access.rb",
35
- "lib/wonkavision/message_mapper/map.rb",
36
- "lib/wonkavision/persistence/mongo_mapper_adapter.rb",
37
- "lib/wonkavision/plugins.rb",
38
- "lib/wonkavision/plugins/business_activity.rb",
39
- "lib/wonkavision/plugins/business_activity/event_binding.rb",
40
- "lib/wonkavision/plugins/callbacks.rb",
41
- "lib/wonkavision/plugins/event_handling.rb",
42
- "lib/wonkavision/plugins/timeline.rb",
43
- "lib/wonkavision/support.rb",
44
- "lib/wonkavision/version.rb",
45
- "test/business_activity_test.rb",
46
- "test/config/database.yml",
47
- "test/event_coordinator_test.rb",
48
- "test/event_handler_test.rb",
49
- "test/event_namespace_test.rb",
50
- "test/event_path_segment_test.rb",
51
- "test/event_test.rb",
52
- "test/log/test.log",
53
- "test/map_test.rb",
54
- "test/message_mapper_test.rb",
55
- "test/test_activity_models.rb",
56
- "test/test_helper.rb",
57
- "test/timeline_test.rb",
58
- "test/wonkavision_test.rb",
59
- "wonkavision.gemspec"
60
- ]
61
- s.homepage = %q{http://github.com/PlasticLizard/wonkavision}
62
- s.rdoc_options = ["--charset=UTF-8"]
63
- s.require_paths = ["lib"]
64
- s.rubygems_version = %q{1.3.7}
65
- s.summary = %q{Simple Business Activity Monitoring}
66
- s.test_files = [
67
- "test/business_activity_test.rb",
68
- "test/event_coordinator_test.rb",
69
- "test/event_handler_test.rb",
70
- "test/event_namespace_test.rb",
71
- "test/event_path_segment_test.rb",
72
- "test/event_test.rb",
73
- "test/map_test.rb",
74
- "test/message_mapper_test.rb",
75
- "test/test_activity_models.rb",
76
- "test/test_helper.rb",
77
- "test/timeline_test.rb",
78
- "test/wonkavision_test.rb"
79
- ]
80
-
81
- if s.respond_to? :specification_version then
82
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
83
- s.specification_version = 3
84
-
85
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
86
- s.add_runtime_dependency(%q<activesupport>, [">= 2.3"])
87
- s.add_development_dependency(%q<shoulda>, ["= 2.10.3"])
88
- else
89
- s.add_dependency(%q<activesupport>, [">= 2.3"])
90
- s.add_dependency(%q<shoulda>, ["= 2.10.3"])
91
- end
92
- else
93
- s.add_dependency(%q<activesupport>, [">= 2.3"])
94
- s.add_dependency(%q<shoulda>, ["= 2.10.3"])
95
- end
96
- end
97
-