rcomet 0.0.2 → 0.0.3
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/.autotest +23 -0
- data/Rakefile +12 -12
- data/VERSION +1 -1
- data/lib/rcomet.rb +1 -1
- data/rcomet.gemspec +48 -49
- metadata +20 -17
- data/.gitignore +0 -22
    
        data/.autotest
    ADDED
    
    | @@ -0,0 +1,23 @@ | |
| 1 | 
            +
            # -*- ruby -*-
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            require 'autotest/restart'
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            # Autotest.add_hook :initialize do |at|
         | 
| 6 | 
            +
            #   at.extra_files << "../some/external/dependency.rb"
         | 
| 7 | 
            +
            #
         | 
| 8 | 
            +
            #   at.libs << ":../some/external"
         | 
| 9 | 
            +
            #
         | 
| 10 | 
            +
            #   at.add_exception 'vendor'
         | 
| 11 | 
            +
            #
         | 
| 12 | 
            +
            #   at.add_mapping(/dependency.rb/) do |f, _|
         | 
| 13 | 
            +
            #     at.files_matching(/test_.*rb$/)
         | 
| 14 | 
            +
            #   end
         | 
| 15 | 
            +
            #
         | 
| 16 | 
            +
            #   %w(TestA TestB).each do |klass|
         | 
| 17 | 
            +
            #     at.extra_class_map[klass] = "test/test_misc.rb"
         | 
| 18 | 
            +
            #   end
         | 
| 19 | 
            +
            # end
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            # Autotest.add_hook :run_command do |at|
         | 
| 22 | 
            +
            #   system "rake build"
         | 
| 23 | 
            +
            # end
         | 
    
        data/Rakefile
    CHANGED
    
    | @@ -9,7 +9,7 @@ begin | |
| 9 9 | 
             
                gem.description = %Q{RComet implement the Bayeux protocole to allow you to create client and/or Comet's server.}
         | 
| 10 10 | 
             
                gem.email = "guillaume.dorchies@gmail.com"
         | 
| 11 11 | 
             
                gem.homepage = "http://github.com/glejeune/rcomet"
         | 
| 12 | 
            -
                gem.authors = ["Guillaume Dorchies", " | 
| 12 | 
            +
                gem.authors = ["Guillaume Dorchies", "Gr\303\251goire Lejeune"]
         | 
| 13 13 | 
             
                gem.add_development_dependency "rspec", ">= 1.2.9"
         | 
| 14 14 | 
             
                gem.add_dependency('rack')
         | 
| 15 15 | 
             
                gem.bindir = "bin"
         | 
| @@ -24,17 +24,17 @@ rescue LoadError | |
| 24 24 | 
             
              puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
         | 
| 25 25 | 
             
            end
         | 
| 26 26 |  | 
| 27 | 
            -
            require 'spec/rake/spectask'
         | 
| 28 | 
            -
            Spec::Rake::SpecTask.new(:spec) do |spec|
         | 
| 29 | 
            -
              spec.libs << 'lib' << 'spec'
         | 
| 30 | 
            -
              spec.spec_files = FileList['spec/**/*_spec.rb']
         | 
| 31 | 
            -
            end
         | 
| 32 | 
            -
             | 
| 33 | 
            -
            Spec::Rake::SpecTask.new(:rcov) do |spec|
         | 
| 34 | 
            -
              spec.libs << 'lib' << 'spec'
         | 
| 35 | 
            -
              spec.pattern = 'spec/**/*_spec.rb'
         | 
| 36 | 
            -
              spec.rcov = true
         | 
| 37 | 
            -
            end
         | 
| 27 | 
            +
            #require 'spec/rake/spectask'
         | 
| 28 | 
            +
            #Spec::Rake::SpecTask.new(:spec) do |spec|
         | 
| 29 | 
            +
            #  spec.libs << 'lib' << 'spec'
         | 
| 30 | 
            +
            #  spec.spec_files = FileList['spec/**/*_spec.rb']
         | 
| 31 | 
            +
            #end
         | 
| 32 | 
            +
            #
         | 
| 33 | 
            +
            #Spec::Rake::SpecTask.new(:rcov) do |spec|
         | 
| 34 | 
            +
            #  spec.libs << 'lib' << 'spec'
         | 
| 35 | 
            +
            #  spec.pattern = 'spec/**/*_spec.rb'
         | 
| 36 | 
            +
            #  spec.rcov = true
         | 
| 37 | 
            +
            #end
         | 
| 38 38 |  | 
| 39 39 | 
             
            task :spec => :check_dependencies
         | 
| 40 40 |  | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.0. | 
| 1 | 
            +
            0.0.3
         | 
    
        data/lib/rcomet.rb
    CHANGED
    
    
    
        data/rcomet.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{rcomet}
         | 
| 8 | 
            -
              s.version = "0.0. | 
| 8 | 
            +
              s.version = "0.0.3"
         | 
| 9 9 |  | 
| 10 10 | 
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 11 | 
            -
              s.authors = ["Guillaume Dorchies", "Gr\ | 
| 12 | 
            -
              s.date = %q{ | 
| 11 | 
            +
              s.authors = ["Guillaume Dorchies", "Gr\xC3\xA9goire Lejeune"]
         | 
| 12 | 
            +
              s.date = %q{2011-04-11}
         | 
| 13 13 | 
             
              s.default_executable = %q{rcomet}
         | 
| 14 14 | 
             
              s.description = %q{RComet implement the Bayeux protocole to allow you to create client and/or Comet's server.}
         | 
| 15 15 | 
             
              s.email = %q{guillaume.dorchies@gmail.com}
         | 
| @@ -18,64 +18,63 @@ Gem::Specification.new do |s| | |
| 18 18 | 
             
                "README.rdoc"
         | 
| 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 | 
            -
             | 
| 21 | 
            +
                ".autotest",
         | 
| 22 | 
            +
                "History.rdoc",
         | 
| 23 | 
            +
                "LICENSE",
         | 
| 24 | 
            +
                "README.rdoc",
         | 
| 25 | 
            +
                "Rakefile",
         | 
| 26 | 
            +
                "VERSION",
         | 
| 27 | 
            +
                "bin/rcomet",
         | 
| 28 | 
            +
                "examples/chart/README.rdoc",
         | 
| 29 | 
            +
                "examples/chart/chart-cometd.rb",
         | 
| 30 | 
            +
                "examples/chart/chart.rb",
         | 
| 31 | 
            +
                "examples/chart/static/chart.rhtml",
         | 
| 32 | 
            +
                "examples/chat/README.rdoc",
         | 
| 33 | 
            +
                "examples/chat/chat-cometd.rb",
         | 
| 34 | 
            +
                "examples/chat/chat.rb",
         | 
| 35 | 
            +
                "examples/chat/static/chat.rhtml",
         | 
| 36 | 
            +
                "examples/chat/static/login.rhtml",
         | 
| 37 | 
            +
                "examples/chat/static/style.css",
         | 
| 38 | 
            +
                "examples/soapbox/README.rdoc",
         | 
| 39 | 
            +
                "examples/soapbox/client.rb",
         | 
| 40 | 
            +
                "examples/soapbox/soapbox-cometd.rb",
         | 
| 41 | 
            +
                "examples/soapbox/soapbox.rb",
         | 
| 42 | 
            +
                "examples/soapbox/static/soapbox.rhtml",
         | 
| 43 | 
            +
                "examples/soapbox/static/style.css",
         | 
| 44 | 
            +
                "lib/rcomet.rb",
         | 
| 45 | 
            +
                "lib/rcomet/channel.rb",
         | 
| 46 | 
            +
                "lib/rcomet/client.rb",
         | 
| 47 | 
            +
                "lib/rcomet/core_ext.rb",
         | 
| 48 | 
            +
                "lib/rcomet/rack_adapter.rb",
         | 
| 49 | 
            +
                "lib/rcomet/server.rb",
         | 
| 50 | 
            +
                "lib/rcomet/user.rb",
         | 
| 51 | 
            +
                "rcomet.gemspec",
         | 
| 52 | 
            +
                "spec/rcomet_spec.rb",
         | 
| 53 | 
            +
                "spec/spec.opts",
         | 
| 54 | 
            +
                "spec/spec_helper.rb"
         | 
| 55 55 | 
             
              ]
         | 
| 56 56 | 
             
              s.homepage = %q{http://github.com/glejeune/rcomet}
         | 
| 57 57 | 
             
              s.rdoc_options = ["--title", "RComet", "--main", "README.rdoc", "--line-numbers"]
         | 
| 58 58 | 
             
              s.require_paths = ["lib"]
         | 
| 59 59 | 
             
              s.rubyforge_project = %q{rcomet}
         | 
| 60 | 
            -
              s.rubygems_version = %q{1. | 
| 60 | 
            +
              s.rubygems_version = %q{1.6.1}
         | 
| 61 61 | 
             
              s.summary = %q{RComet is an implementation of the Bayeux protocol in Ruby.}
         | 
| 62 62 | 
             
              s.test_files = [
         | 
| 63 | 
            +
                "examples/chart/chart-cometd.rb",
         | 
| 64 | 
            +
                "examples/chart/chart.rb",
         | 
| 65 | 
            +
                "examples/chat/chat-cometd.rb",
         | 
| 66 | 
            +
                "examples/chat/chat.rb",
         | 
| 67 | 
            +
                "examples/soapbox/client.rb",
         | 
| 68 | 
            +
                "examples/soapbox/soapbox-cometd.rb",
         | 
| 69 | 
            +
                "examples/soapbox/soapbox.rb",
         | 
| 63 70 | 
             
                "spec/rcomet_spec.rb",
         | 
| 64 | 
            -
             | 
| 65 | 
            -
                 "examples/chart/chart-cometd.rb",
         | 
| 66 | 
            -
                 "examples/chart/chart.rb",
         | 
| 67 | 
            -
                 "examples/chat/chat-cometd.rb",
         | 
| 68 | 
            -
                 "examples/chat/chat.rb",
         | 
| 69 | 
            -
                 "examples/soapbox/client.rb",
         | 
| 70 | 
            -
                 "examples/soapbox/soapbox.rb",
         | 
| 71 | 
            -
                 "examples/soapbox/soapbox-cometd.rb"
         | 
| 71 | 
            +
                "spec/spec_helper.rb"
         | 
| 72 72 | 
             
              ]
         | 
| 73 73 |  | 
| 74 74 | 
             
              if s.respond_to? :specification_version then
         | 
| 75 | 
            -
                current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
         | 
| 76 75 | 
             
                s.specification_version = 3
         | 
| 77 76 |  | 
| 78 | 
            -
                if Gem::Version.new(Gem:: | 
| 77 | 
            +
                if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
         | 
| 79 78 | 
             
                  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
         | 
| 80 79 | 
             
                  s.add_runtime_dependency(%q<rack>, [">= 0"])
         | 
| 81 80 | 
             
                else
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,8 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: rcomet
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
               | 
| 4 | 
            +
              prerelease: 
         | 
| 5 | 
            +
              version: 0.0.3
         | 
| 5 6 | 
             
            platform: ruby
         | 
| 6 7 | 
             
            authors: 
         | 
| 7 8 | 
             
            - Guillaume Dorchies
         | 
| @@ -10,29 +11,31 @@ autorequire: | |
| 10 11 | 
             
            bindir: bin
         | 
| 11 12 | 
             
            cert_chain: []
         | 
| 12 13 |  | 
| 13 | 
            -
            date:  | 
| 14 | 
            +
            date: 2011-04-11 00:00:00 +02:00
         | 
| 14 15 | 
             
            default_executable: rcomet
         | 
| 15 16 | 
             
            dependencies: 
         | 
| 16 17 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| 17 18 | 
             
              name: rspec
         | 
| 18 | 
            -
               | 
| 19 | 
            -
               | 
| 20 | 
            -
             | 
| 19 | 
            +
              prerelease: false
         | 
| 20 | 
            +
              requirement: &id001 !ruby/object:Gem::Requirement 
         | 
| 21 | 
            +
                none: false
         | 
| 21 22 | 
             
                requirements: 
         | 
| 22 23 | 
             
                - - ">="
         | 
| 23 24 | 
             
                  - !ruby/object:Gem::Version 
         | 
| 24 25 | 
             
                    version: 1.2.9
         | 
| 25 | 
            -
             | 
| 26 | 
            +
              type: :development
         | 
| 27 | 
            +
              version_requirements: *id001
         | 
| 26 28 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| 27 29 | 
             
              name: rack
         | 
| 28 | 
            -
               | 
| 29 | 
            -
               | 
| 30 | 
            -
             | 
| 30 | 
            +
              prerelease: false
         | 
| 31 | 
            +
              requirement: &id002 !ruby/object:Gem::Requirement 
         | 
| 32 | 
            +
                none: false
         | 
| 31 33 | 
             
                requirements: 
         | 
| 32 34 | 
             
                - - ">="
         | 
| 33 35 | 
             
                  - !ruby/object:Gem::Version 
         | 
| 34 36 | 
             
                    version: "0"
         | 
| 35 | 
            -
             | 
| 37 | 
            +
              type: :runtime
         | 
| 38 | 
            +
              version_requirements: *id002
         | 
| 36 39 | 
             
            description: RComet implement the Bayeux protocole to allow you to create client and/or Comet's server.
         | 
| 37 40 | 
             
            email: guillaume.dorchies@gmail.com
         | 
| 38 41 | 
             
            executables: 
         | 
| @@ -42,7 +45,7 @@ extensions: [] | |
| 42 45 | 
             
            extra_rdoc_files: 
         | 
| 43 46 | 
             
            - README.rdoc
         | 
| 44 47 | 
             
            files: 
         | 
| 45 | 
            -
            - . | 
| 48 | 
            +
            - .autotest
         | 
| 46 49 | 
             
            - History.rdoc
         | 
| 47 50 | 
             
            - LICENSE
         | 
| 48 51 | 
             
            - README.rdoc
         | 
| @@ -90,31 +93,31 @@ rdoc_options: | |
| 90 93 | 
             
            require_paths: 
         | 
| 91 94 | 
             
            - lib
         | 
| 92 95 | 
             
            required_ruby_version: !ruby/object:Gem::Requirement 
         | 
| 96 | 
            +
              none: false
         | 
| 93 97 | 
             
              requirements: 
         | 
| 94 98 | 
             
              - - ">="
         | 
| 95 99 | 
             
                - !ruby/object:Gem::Version 
         | 
| 96 100 | 
             
                  version: "0"
         | 
| 97 | 
            -
              version: 
         | 
| 98 101 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement 
         | 
| 102 | 
            +
              none: false
         | 
| 99 103 | 
             
              requirements: 
         | 
| 100 104 | 
             
              - - ">="
         | 
| 101 105 | 
             
                - !ruby/object:Gem::Version 
         | 
| 102 106 | 
             
                  version: "0"
         | 
| 103 | 
            -
              version: 
         | 
| 104 107 | 
             
            requirements: []
         | 
| 105 108 |  | 
| 106 109 | 
             
            rubyforge_project: rcomet
         | 
| 107 | 
            -
            rubygems_version: 1. | 
| 110 | 
            +
            rubygems_version: 1.6.1
         | 
| 108 111 | 
             
            signing_key: 
         | 
| 109 112 | 
             
            specification_version: 3
         | 
| 110 113 | 
             
            summary: RComet is an implementation of the Bayeux protocol in Ruby.
         | 
| 111 114 | 
             
            test_files: 
         | 
| 112 | 
            -
            - spec/rcomet_spec.rb
         | 
| 113 | 
            -
            - spec/spec_helper.rb
         | 
| 114 115 | 
             
            - examples/chart/chart-cometd.rb
         | 
| 115 116 | 
             
            - examples/chart/chart.rb
         | 
| 116 117 | 
             
            - examples/chat/chat-cometd.rb
         | 
| 117 118 | 
             
            - examples/chat/chat.rb
         | 
| 118 119 | 
             
            - examples/soapbox/client.rb
         | 
| 119 | 
            -
            - examples/soapbox/soapbox.rb
         | 
| 120 120 | 
             
            - examples/soapbox/soapbox-cometd.rb
         | 
| 121 | 
            +
            - examples/soapbox/soapbox.rb
         | 
| 122 | 
            +
            - spec/rcomet_spec.rb
         | 
| 123 | 
            +
            - spec/spec_helper.rb
         |