culerity 0.2.13 → 0.2.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :minor: 2
3
3
  :build:
4
- :patch: 13
4
+ :patch: 14
5
5
  :major: 0
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{culerity}
8
- s.version = "0.2.12"
8
+ s.version = "0.2.14"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Alexander Lang"]
12
- s.date = %q{2010-08-20}
12
+ s.date = %q{2011-01-04}
13
13
  s.default_executable = %q{run_celerity_server.rb}
14
14
  s.description = %q{Culerity integrates Cucumber and Celerity in order to test your application's full stack.}
15
15
  s.email = %q{alex@upstream-berlin.com}
@@ -18,68 +18,66 @@ Gem::Specification.new do |s|
18
18
  "README.md"
19
19
  ]
20
20
  s.files = [
21
- ".gitignore",
22
- "CHANGES.md",
23
- "MIT-LICENSE",
24
- "README.md",
25
- "Rakefile",
26
- "VERSION.yml",
27
- "bin/run_celerity_server.rb",
28
- "culerity.gemspec",
29
- "features/fixtures/jquery",
30
- "features/fixtures/sample_feature",
31
- "features/installing_culerity.feature",
32
- "features/running_cucumber_without_explicitly_running_external_services.feature",
33
- "features/step_definitions/common_steps.rb",
34
- "features/step_definitions/culerity_setup_steps.rb",
35
- "features/step_definitions/jruby_steps.rb",
36
- "features/step_definitions/rails_setup_steps.rb",
37
- "features/support/common.rb",
38
- "features/support/env.rb",
39
- "features/support/matchers.rb",
40
- "init.rb",
41
- "lib/culerity.rb",
42
- "lib/culerity/celerity_server.rb",
43
- "lib/culerity/persistent_delivery.rb",
44
- "lib/culerity/remote_browser_proxy.rb",
45
- "lib/culerity/remote_object_proxy.rb",
46
- "lib/start_celerity.rb",
47
- "lib/tasks/rspec.rake",
48
- "rails/init.rb",
49
- "rails_generators/culerity/culerity_generator.rb",
50
- "rails_generators/culerity/templates/config/environments/culerity.rb",
51
- "rails_generators/culerity/templates/config/environments/culerity_continuousintegration.rb",
52
- "rails_generators/culerity/templates/features/step_definitions/culerity_steps.rb",
53
- "rails_generators/culerity/templates/features/support/env.rb",
54
- "rails_generators/culerity/templates/lib/tasks/culerity.rake",
55
- "rails_generators/culerity/templates/public/javascripts/culerity.js",
56
- "script/console",
57
- "script/destroy",
58
- "script/generate",
59
- "spec/celerity_server_spec.rb",
60
- "spec/culerity_spec.rb",
61
- "spec/remote_browser_proxy_spec.rb",
62
- "spec/remote_object_proxy_spec.rb",
63
- "spec/spec_helper.rb"
21
+ "CHANGES.md",
22
+ "MIT-LICENSE",
23
+ "README.md",
24
+ "Rakefile",
25
+ "VERSION.yml",
26
+ "bin/run_celerity_server.rb",
27
+ "culerity.gemspec",
28
+ "features/fixtures/jquery",
29
+ "features/fixtures/sample_feature",
30
+ "features/installing_culerity.feature",
31
+ "features/running_cucumber_without_explicitly_running_external_services.feature",
32
+ "features/step_definitions/common_steps.rb",
33
+ "features/step_definitions/culerity_setup_steps.rb",
34
+ "features/step_definitions/jruby_steps.rb",
35
+ "features/step_definitions/rails_setup_steps.rb",
36
+ "features/support/common.rb",
37
+ "features/support/env.rb",
38
+ "features/support/matchers.rb",
39
+ "init.rb",
40
+ "lib/culerity.rb",
41
+ "lib/culerity/celerity_server.rb",
42
+ "lib/culerity/persistent_delivery.rb",
43
+ "lib/culerity/remote_browser_proxy.rb",
44
+ "lib/culerity/remote_object_proxy.rb",
45
+ "lib/start_celerity.rb",
46
+ "lib/tasks/rspec.rake",
47
+ "rails/init.rb",
48
+ "rails_generators/culerity/culerity_generator.rb",
49
+ "rails_generators/culerity/templates/config/environments/culerity.rb",
50
+ "rails_generators/culerity/templates/config/environments/culerity_continuousintegration.rb",
51
+ "rails_generators/culerity/templates/features/step_definitions/culerity_steps.rb",
52
+ "rails_generators/culerity/templates/features/support/env.rb",
53
+ "rails_generators/culerity/templates/lib/tasks/culerity.rake",
54
+ "rails_generators/culerity/templates/public/javascripts/culerity.js",
55
+ "script/console",
56
+ "script/destroy",
57
+ "script/generate",
58
+ "spec/celerity_server_spec.rb",
59
+ "spec/culerity_spec.rb",
60
+ "spec/remote_browser_proxy_spec.rb",
61
+ "spec/remote_object_proxy_spec.rb",
62
+ "spec/spec_helper.rb"
64
63
  ]
65
64
  s.homepage = %q{http://github.com/langalex/culerity}
66
- s.rdoc_options = ["--charset=UTF-8"]
67
65
  s.require_paths = ["lib"]
68
- s.rubygems_version = %q{1.3.6}
66
+ s.rubygems_version = %q{1.3.7}
69
67
  s.summary = %q{Culerity integrates Cucumber and Celerity in order to test your application's full stack.}
70
68
  s.test_files = [
71
69
  "spec/celerity_server_spec.rb",
72
- "spec/culerity_spec.rb",
73
- "spec/remote_browser_proxy_spec.rb",
74
- "spec/remote_object_proxy_spec.rb",
75
- "spec/spec_helper.rb"
70
+ "spec/culerity_spec.rb",
71
+ "spec/remote_browser_proxy_spec.rb",
72
+ "spec/remote_object_proxy_spec.rb",
73
+ "spec/spec_helper.rb"
76
74
  ]
77
75
 
78
76
  if s.respond_to? :specification_version then
79
77
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
80
78
  s.specification_version = 3
81
79
 
82
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
80
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
83
81
  s.add_development_dependency(%q<cucumber>, [">= 0"])
84
82
  s.add_development_dependency(%q<rspec>, [">= 0"])
85
83
  else
@@ -25,6 +25,10 @@ module Culerity
25
25
  send_remote(:inspect)
26
26
  end
27
27
 
28
+ def respond_to?(name)
29
+ send_remote :respond_to?, name
30
+ end
31
+
28
32
  def method_missing(name, *args, &block)
29
33
  send_remote(name, *args, &block)
30
34
  end
@@ -49,6 +49,13 @@ describe Culerity::RemoteObjectProxy do
49
49
  proxy.inspect.should == "inspect output"
50
50
  end
51
51
 
52
+ it "should send respond_to? as a serialized method call to the output" do
53
+ io = stub 'io', :gets => '[:return, true]'
54
+ io.should_receive(:<<).with(%Q{[[345, "respond_to?", :xyz]]\n})
55
+ proxy = Culerity::RemoteObjectProxy.new 345, io
56
+ proxy.respond_to?(:xyz).should == true
57
+ end
58
+
52
59
  it "should send the serialized method call with a proc argument to the output" do
53
60
  io = stub 'io', :gets => "[:return]"
54
61
  io.should_receive(:<<).with(%Q{[[345, "method", true, lambda { true }]]\n})
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: culerity
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 13
10
- version: 0.2.13
9
+ - 14
10
+ version: 0.2.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alexander Lang
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-19 00:00:00 +01:00
18
+ date: 2011-01-04 00:00:00 +01:00
19
19
  default_executable: run_celerity_server.rb
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency