culerity 0.2.13 → 0.2.14
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/VERSION.yml +1 -1
- data/culerity.gemspec +51 -53
- data/lib/culerity/remote_object_proxy.rb +4 -0
- data/spec/remote_object_proxy_spec.rb +7 -0
- metadata +4 -4
    
        data/VERSION.yml
    CHANGED
    
    
    
        data/culerity.gemspec
    CHANGED
    
    | @@ -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  | 
| 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. | 
| 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{ | 
| 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 | 
            -
                ". | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
             | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 29 | 
            -
             | 
| 30 | 
            -
             | 
| 31 | 
            -
             | 
| 32 | 
            -
             | 
| 33 | 
            -
             | 
| 34 | 
            -
             | 
| 35 | 
            -
             | 
| 36 | 
            -
             | 
| 37 | 
            -
             | 
| 38 | 
            -
             | 
| 39 | 
            -
             | 
| 40 | 
            -
             | 
| 41 | 
            -
             | 
| 42 | 
            -
             | 
| 43 | 
            -
             | 
| 44 | 
            -
             | 
| 45 | 
            -
             | 
| 46 | 
            -
             | 
| 47 | 
            -
             | 
| 48 | 
            -
             | 
| 49 | 
            -
             | 
| 50 | 
            -
             | 
| 51 | 
            -
             | 
| 52 | 
            -
             | 
| 53 | 
            -
             | 
| 54 | 
            -
             | 
| 55 | 
            -
             | 
| 56 | 
            -
             | 
| 57 | 
            -
             | 
| 58 | 
            -
             | 
| 59 | 
            -
             | 
| 60 | 
            -
             | 
| 61 | 
            -
             | 
| 62 | 
            -
             | 
| 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. | 
| 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 | 
            -
             | 
| 73 | 
            -
             | 
| 74 | 
            -
             | 
| 75 | 
            -
             | 
| 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:: | 
| 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
         | 
| @@ -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:  | 
| 4 | 
            +
              hash: 11
         | 
| 5 5 | 
             
              prerelease: false
         | 
| 6 6 | 
             
              segments: 
         | 
| 7 7 | 
             
              - 0
         | 
| 8 8 | 
             
              - 2
         | 
| 9 | 
            -
              -  | 
| 10 | 
            -
              version: 0.2. | 
| 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:  | 
| 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 
         |