caricature 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +47 -40
- data/caricature.gemspec +50 -17
- data/lib/caricature.rb +9 -1
- data/lib/caricature/bacon/integration.rb +3 -5
- data/lib/caricature/clr/isolation.rb +1 -1
- data/lib/caricature/method_call_recorder.rb +7 -2
- data/lib/caricature/rspec.rb +1 -0
- data/lib/caricature/rspec/integration.rb +77 -0
- data/lib/caricature/verification.rb +9 -1
- data/lib/caricature/version.rb +1 -1
- data/lib/core_ext/class.rb +1 -1
- data/lib/core_ext/module.rb +1 -1
- data/lib/core_ext/object.rb +2 -2
- data/spec/{integration → bacon/integration}/callback_spec.rb +1 -1
- data/spec/{integration → bacon/integration}/clr_to_clr_spec.rb +1 -1
- data/spec/{integration → bacon/integration}/clr_to_ruby_spec.rb +1 -1
- data/spec/{integration → bacon/integration}/indexer_spec.rb +1 -1
- data/spec/{integration → bacon/integration}/ruby_to_ruby_spec.rb +1 -1
- data/spec/bacon/spec_helper.rb +5 -0
- data/spec/{unit → bacon/unit}/core_ext_spec.rb +13 -13
- data/spec/{unit → bacon/unit}/descriptor_spec.rb +1 -1
- data/spec/{unit → bacon/unit}/expectation_spec.rb +1 -1
- data/spec/{unit → bacon/unit}/interop_spec.rb +3 -3
- data/spec/{unit → bacon/unit}/isolation_spec.rb +1 -1
- data/spec/{unit → bacon/unit}/isolator_spec.rb +1 -1
- data/spec/{unit → bacon/unit}/messaging_spec.rb +1 -1
- data/spec/{unit → bacon/unit}/method_call_spec.rb +2 -2
- data/spec/{unit → bacon/unit}/sword_spec.rb +1 -1
- data/spec/{unit → bacon/unit}/verification_spec.rb +1 -1
- data/spec/bin/ClrModels.dll +0 -0
- data/spec/bin/ClrModels.dll.mdb +0 -0
- data/spec/{bacon_helper.rb → models/ruby_models.rb} +9 -26
- data/spec/rspec/integration/callback_spec.rb +157 -0
- data/spec/rspec/integration/clr_to_clr_spec.rb +255 -0
- data/spec/rspec/integration/clr_to_ruby_spec.rb +228 -0
- data/spec/rspec/integration/indexer_spec.rb +28 -0
- data/spec/rspec/integration/ruby_to_ruby_spec.rb +272 -0
- data/spec/rspec/spec_helper.rb +6 -0
- data/spec/rspec/unit/core_ext_spec.rb +87 -0
- data/spec/rspec/unit/descriptor_spec.rb +160 -0
- data/spec/rspec/unit/expectation_spec.rb +301 -0
- data/spec/rspec/unit/interop_spec.rb +43 -0
- data/spec/rspec/unit/isolation_spec.rb +87 -0
- data/spec/rspec/unit/isolator_spec.rb +220 -0
- data/spec/rspec/unit/messaging_spec.rb +311 -0
- data/spec/rspec/unit/method_call_spec.rb +343 -0
- data/spec/rspec/unit/sword_spec.rb +40 -0
- data/spec/rspec/unit/verification_spec.rb +104 -0
- data/spec/spec_helper.rb +15 -0
- metadata +37 -18
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# add some search paths to ironruby
|
2
|
+
# this first one adds the path with the assemblies
|
3
|
+
# this enables us not to have to specify a path to the assemblies everywhere.
|
4
|
+
$: << File.dirname(__FILE__) + "/bin"
|
5
|
+
# adds the path to the caricature library.
|
6
|
+
$: << File.dirname(__FILE__) + "/../lib"
|
7
|
+
|
8
|
+
# load the caricature library
|
9
|
+
require "caricature"
|
10
|
+
|
11
|
+
# load the assembly with the C# code
|
12
|
+
require 'ClrModels.dll' if defined? IRONRUBY_VERSION
|
13
|
+
|
14
|
+
# Load the ruby models
|
15
|
+
require File.dirname(__FILE__) + "/models/ruby_models"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caricature
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Porto Carrero
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-10-01 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -62,24 +62,43 @@ files:
|
|
62
62
|
- lib/core_ext/string.rb
|
63
63
|
- lib/core_ext/system/string.rb
|
64
64
|
- lib/core_ext/system/type.rb
|
65
|
-
- spec/
|
65
|
+
- spec/bacon/integration/callback_spec.rb
|
66
|
+
- spec/bacon/integration/clr_to_clr_spec.rb
|
67
|
+
- spec/bacon/integration/clr_to_ruby_spec.rb
|
68
|
+
- spec/bacon/integration/indexer_spec.rb
|
69
|
+
- spec/bacon/integration/ruby_to_ruby_spec.rb
|
70
|
+
- spec/bacon/spec_helper.rb
|
71
|
+
- spec/bacon/unit/core_ext_spec.rb
|
72
|
+
- spec/bacon/unit/descriptor_spec.rb
|
73
|
+
- spec/bacon/unit/expectation_spec.rb
|
74
|
+
- spec/bacon/unit/interop_spec.rb
|
75
|
+
- spec/bacon/unit/isolation_spec.rb
|
76
|
+
- spec/bacon/unit/isolator_spec.rb
|
77
|
+
- spec/bacon/unit/messaging_spec.rb
|
78
|
+
- spec/bacon/unit/method_call_spec.rb
|
79
|
+
- spec/bacon/unit/sword_spec.rb
|
80
|
+
- spec/bacon/unit/verification_spec.rb
|
66
81
|
- spec/bin/ClrModels.dll
|
67
|
-
- spec/
|
68
|
-
- spec/integration/clr_to_clr_spec.rb
|
69
|
-
- spec/integration/clr_to_ruby_spec.rb
|
70
|
-
- spec/integration/indexer_spec.rb
|
71
|
-
- spec/integration/ruby_to_ruby_spec.rb
|
82
|
+
- spec/bin/ClrModels.dll.mdb
|
72
83
|
- spec/models/ClrModels.cs
|
73
|
-
- spec/
|
74
|
-
- spec/
|
75
|
-
- spec/
|
76
|
-
- spec/
|
77
|
-
- spec/
|
78
|
-
- spec/
|
79
|
-
- spec/
|
80
|
-
- spec/unit/
|
81
|
-
- spec/unit/
|
82
|
-
- spec/unit/
|
84
|
+
- spec/models/ruby_models.rb
|
85
|
+
- spec/rspec/integration/callback_spec.rb
|
86
|
+
- spec/rspec/integration/clr_to_clr_spec.rb
|
87
|
+
- spec/rspec/integration/clr_to_ruby_spec.rb
|
88
|
+
- spec/rspec/integration/indexer_spec.rb
|
89
|
+
- spec/rspec/integration/ruby_to_ruby_spec.rb
|
90
|
+
- spec/rspec/spec_helper.rb
|
91
|
+
- spec/rspec/unit/core_ext_spec.rb
|
92
|
+
- spec/rspec/unit/descriptor_spec.rb
|
93
|
+
- spec/rspec/unit/expectation_spec.rb
|
94
|
+
- spec/rspec/unit/interop_spec.rb
|
95
|
+
- spec/rspec/unit/isolation_spec.rb
|
96
|
+
- spec/rspec/unit/isolator_spec.rb
|
97
|
+
- spec/rspec/unit/messaging_spec.rb
|
98
|
+
- spec/rspec/unit/method_call_spec.rb
|
99
|
+
- spec/rspec/unit/sword_spec.rb
|
100
|
+
- spec/rspec/unit/verification_spec.rb
|
101
|
+
- spec/spec_helper.rb
|
83
102
|
has_rdoc: true
|
84
103
|
homepage: http://casualjim.github.com/caricature
|
85
104
|
licenses: []
|