caius-culerity 0.1.5 → 0.1.6

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/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ coverage
2
+ rdoc
3
+ pkg
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 5
4
+ :patch: 6
data/culerity.gemspec CHANGED
@@ -2,18 +2,19 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{culerity}
5
- s.version = "0.1.5"
5
+ s.version = "0.1.6"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Alexander Lang"]
9
- s.date = %q{2009-05-13}
9
+ s.date = %q{2009-06-08}
10
10
  s.description = %q{Culerity integrates Cucumber and Celerity in order to test your application's full stack.}
11
11
  s.email = %q{alex@upstream-berlin.com}
12
12
  s.extra_rdoc_files = [
13
13
  "README.textile"
14
14
  ]
15
15
  s.files = [
16
- "MIT-LICENSE",
16
+ ".gitignore",
17
+ "MIT-LICENSE",
17
18
  "README.textile",
18
19
  "Rakefile",
19
20
  "VERSION.yml",
@@ -31,11 +32,10 @@ Gem::Specification.new do |s|
31
32
  "spec/remote_object_proxy_spec.rb",
32
33
  "spec/spec_helper.rb"
33
34
  ]
34
- s.has_rdoc = true
35
35
  s.homepage = %q{http://github.com/langalex/culerity}
36
36
  s.rdoc_options = ["--charset=UTF-8"]
37
37
  s.require_paths = ["lib"]
38
- s.rubygems_version = %q{1.3.1}
38
+ s.rubygems_version = %q{1.3.4}
39
39
  s.summary = %q{Culerity integrates Cucumber and Celerity in order to test your application's full stack.}
40
40
  s.test_files = [
41
41
  "spec/celerity_server_spec.rb",
@@ -46,7 +46,7 @@ Gem::Specification.new do |s|
46
46
 
47
47
  if s.respond_to? :specification_version then
48
48
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
- s.specification_version = 2
49
+ s.specification_version = 3
50
50
 
51
51
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
52
52
  s.add_runtime_dependency(%q<cucumber>, [">= 0"])
@@ -13,7 +13,17 @@ module Culerity
13
13
  @io = io
14
14
  end
15
15
 
16
+ # Commonly used to get the HTML id attribute
17
+ # Use `object_id` to get the local objects' id.
18
+ def id
19
+ send_remote(:id)
20
+ end
21
+
16
22
  def method_missing(name, *args)
23
+ send_remote(name, *args)
24
+ end
25
+
26
+ def send_remote(name, *args)
17
27
  @io << "[#{remote_object_id}, \"#{name}\", #{args.map{|a| a.inspect}.join(', ')}]\n"
18
28
  process_result @io.gets.to_s.strip
19
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caius-culerity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Lang
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-13 00:00:00 -07:00
12
+ date: 2009-06-08 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -41,6 +41,7 @@ extensions: []
41
41
  extra_rdoc_files:
42
42
  - README.textile
43
43
  files:
44
+ - .gitignore
44
45
  - MIT-LICENSE
45
46
  - README.textile
46
47
  - Rakefile
@@ -58,7 +59,7 @@ files:
58
59
  - spec/remote_browser_proxy_spec.rb
59
60
  - spec/remote_object_proxy_spec.rb
60
61
  - spec/spec_helper.rb
61
- has_rdoc: true
62
+ has_rdoc: false
62
63
  homepage: http://github.com/langalex/culerity
63
64
  post_install_message:
64
65
  rdoc_options:
@@ -82,7 +83,7 @@ requirements: []
82
83
  rubyforge_project:
83
84
  rubygems_version: 1.2.0
84
85
  signing_key:
85
- specification_version: 2
86
+ specification_version: 3
86
87
  summary: Culerity integrates Cucumber and Celerity in order to test your application's full stack.
87
88
  test_files:
88
89
  - spec/celerity_server_spec.rb