streamly_ffi 0.1.5
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 +5 -0
- data/.rspec +1 -0
- data/CHANGELOG.md +18 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +115 -0
- data/Rakefile +43 -0
- data/VERSION.yml +5 -0
- data/benchmark/basic_request.rb +34 -0
- data/benchmark/streaming_json_request.rb +43 -0
- data/examples/basic/delete.rb +9 -0
- data/examples/basic/get.rb +9 -0
- data/examples/basic/head.rb +9 -0
- data/examples/basic/post.rb +11 -0
- data/examples/basic/put.rb +11 -0
- data/examples/streaming/delete.rb +13 -0
- data/examples/streaming/get.rb +13 -0
- data/examples/streaming/head.rb +13 -0
- data/examples/streaming/post.rb +15 -0
- data/examples/streaming/put.rb +16 -0
- data/ext/extconf.rb +28 -0
- data/ext/streamly.c +427 -0
- data/ext/streamly.h +66 -0
- data/lib/streamly_ffi.rb +122 -0
- data/lib/streamly_ffi/request.rb +163 -0
- data/lib/streamly_ffi/version.rb +3 -0
- data/spec/server.rb +18 -0
- data/spec/spec_helper.rb +7 -0
- data/spec/streamly_ffi/request_spec.rb +293 -0
- data/streamly_ffi.gemspec +41 -0
- metadata +96 -0
| @@ -0,0 +1,41 @@ | |
| 1 | 
            +
            # Generated by jeweler
         | 
| 2 | 
            +
            # DO NOT EDIT THIS FILE DIRECTLY
         | 
| 3 | 
            +
            # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
         | 
| 4 | 
            +
            # -*- encoding: utf-8 -*-
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            $:.push File.expand_path("../lib", __FILE__)
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            require "streamly_ffi/version"
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            Gem::Specification.new do |s|
         | 
| 11 | 
            +
              s.name = %q{streamly_ffi}
         | 
| 12 | 
            +
              s.version = StreamlyFFI::VERSION
         | 
| 13 | 
            +
              s.platform  = Gem::Platform::RUBY
         | 
| 14 | 
            +
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 15 | 
            +
              s.authors = ["Brian Lopez", "Scott Gonyea"]
         | 
| 16 | 
            +
              s.date = %q{2010-09-02}
         | 
| 17 | 
            +
              s.email = %q{seniorlopez@gmail.com}
         | 
| 18 | 
            +
              s.extensions = ["ext/extconf.rb"]
         | 
| 19 | 
            +
              s.extra_rdoc_files = [
         | 
| 20 | 
            +
                "README.rdoc"
         | 
| 21 | 
            +
              ]
         | 
| 22 | 
            +
              s.files         = `git ls-files`.split("\n")
         | 
| 23 | 
            +
              s.homepage = %q{http://github.com/aitrus/streamly_ffi}
         | 
| 24 | 
            +
              s.rdoc_options = ["--charset=UTF-8"]
         | 
| 25 | 
            +
              s.require_paths = ["lib", "ext"]
         | 
| 26 | 
            +
              s.rubyforge_project = %q{streamly_ffi}
         | 
| 27 | 
            +
              s.rubygems_version = %q{1.3.7}
         | 
| 28 | 
            +
              s.summary = %q{A streaming REST client for Ruby, in C.}
         | 
| 29 | 
            +
              s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
         | 
| 30 | 
            +
             | 
| 31 | 
            +
              if s.respond_to? :specification_version then
         | 
| 32 | 
            +
                current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
         | 
| 33 | 
            +
                s.specification_version = 3
         | 
| 34 | 
            +
             | 
| 35 | 
            +
                if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
         | 
| 36 | 
            +
                else
         | 
| 37 | 
            +
                end
         | 
| 38 | 
            +
              else
         | 
| 39 | 
            +
              end
         | 
| 40 | 
            +
            end
         | 
| 41 | 
            +
             | 
    
        metadata
    ADDED
    
    | @@ -0,0 +1,96 @@ | |
| 1 | 
            +
            --- !ruby/object:Gem::Specification 
         | 
| 2 | 
            +
            name: streamly_ffi
         | 
| 3 | 
            +
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            +
              prerelease: false
         | 
| 5 | 
            +
              segments: 
         | 
| 6 | 
            +
              - 0
         | 
| 7 | 
            +
              - 1
         | 
| 8 | 
            +
              - 5
         | 
| 9 | 
            +
              version: 0.1.5
         | 
| 10 | 
            +
            platform: ruby
         | 
| 11 | 
            +
            authors: 
         | 
| 12 | 
            +
            - Brian Lopez
         | 
| 13 | 
            +
            - Scott Gonyea
         | 
| 14 | 
            +
            autorequire: 
         | 
| 15 | 
            +
            bindir: bin
         | 
| 16 | 
            +
            cert_chain: []
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            date: 2010-09-02 00:00:00 -07:00
         | 
| 19 | 
            +
            default_executable: 
         | 
| 20 | 
            +
            dependencies: []
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            description: 
         | 
| 23 | 
            +
            email: seniorlopez@gmail.com
         | 
| 24 | 
            +
            executables: []
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            extensions: 
         | 
| 27 | 
            +
            - ext/extconf.rb
         | 
| 28 | 
            +
            extra_rdoc_files: 
         | 
| 29 | 
            +
            - README.rdoc
         | 
| 30 | 
            +
            files: 
         | 
| 31 | 
            +
            - .gitignore
         | 
| 32 | 
            +
            - .rspec
         | 
| 33 | 
            +
            - CHANGELOG.md
         | 
| 34 | 
            +
            - MIT-LICENSE
         | 
| 35 | 
            +
            - README.rdoc
         | 
| 36 | 
            +
            - Rakefile
         | 
| 37 | 
            +
            - VERSION.yml
         | 
| 38 | 
            +
            - benchmark/basic_request.rb
         | 
| 39 | 
            +
            - benchmark/streaming_json_request.rb
         | 
| 40 | 
            +
            - examples/basic/delete.rb
         | 
| 41 | 
            +
            - examples/basic/get.rb
         | 
| 42 | 
            +
            - examples/basic/head.rb
         | 
| 43 | 
            +
            - examples/basic/post.rb
         | 
| 44 | 
            +
            - examples/basic/put.rb
         | 
| 45 | 
            +
            - examples/streaming/delete.rb
         | 
| 46 | 
            +
            - examples/streaming/get.rb
         | 
| 47 | 
            +
            - examples/streaming/head.rb
         | 
| 48 | 
            +
            - examples/streaming/post.rb
         | 
| 49 | 
            +
            - examples/streaming/put.rb
         | 
| 50 | 
            +
            - ext/extconf.rb
         | 
| 51 | 
            +
            - ext/streamly.c
         | 
| 52 | 
            +
            - ext/streamly.h
         | 
| 53 | 
            +
            - lib/streamly_ffi.rb
         | 
| 54 | 
            +
            - lib/streamly_ffi/request.rb
         | 
| 55 | 
            +
            - lib/streamly_ffi/version.rb
         | 
| 56 | 
            +
            - spec/server.rb
         | 
| 57 | 
            +
            - spec/spec_helper.rb
         | 
| 58 | 
            +
            - spec/streamly_ffi/request_spec.rb
         | 
| 59 | 
            +
            - streamly_ffi.gemspec
         | 
| 60 | 
            +
            has_rdoc: true
         | 
| 61 | 
            +
            homepage: http://github.com/aitrus/streamly_ffi
         | 
| 62 | 
            +
            licenses: []
         | 
| 63 | 
            +
             | 
| 64 | 
            +
            post_install_message: 
         | 
| 65 | 
            +
            rdoc_options: 
         | 
| 66 | 
            +
            - --charset=UTF-8
         | 
| 67 | 
            +
            require_paths: 
         | 
| 68 | 
            +
            - lib
         | 
| 69 | 
            +
            - ext
         | 
| 70 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement 
         | 
| 71 | 
            +
              none: false
         | 
| 72 | 
            +
              requirements: 
         | 
| 73 | 
            +
              - - ">="
         | 
| 74 | 
            +
                - !ruby/object:Gem::Version 
         | 
| 75 | 
            +
                  segments: 
         | 
| 76 | 
            +
                  - 0
         | 
| 77 | 
            +
                  version: "0"
         | 
| 78 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement 
         | 
| 79 | 
            +
              none: false
         | 
| 80 | 
            +
              requirements: 
         | 
| 81 | 
            +
              - - ">="
         | 
| 82 | 
            +
                - !ruby/object:Gem::Version 
         | 
| 83 | 
            +
                  segments: 
         | 
| 84 | 
            +
                  - 0
         | 
| 85 | 
            +
                  version: "0"
         | 
| 86 | 
            +
            requirements: []
         | 
| 87 | 
            +
             | 
| 88 | 
            +
            rubyforge_project: streamly_ffi
         | 
| 89 | 
            +
            rubygems_version: 1.3.7
         | 
| 90 | 
            +
            signing_key: 
         | 
| 91 | 
            +
            specification_version: 3
         | 
| 92 | 
            +
            summary: A streaming REST client for Ruby, in C.
         | 
| 93 | 
            +
            test_files: 
         | 
| 94 | 
            +
            - spec/server.rb
         | 
| 95 | 
            +
            - spec/spec_helper.rb
         | 
| 96 | 
            +
            - spec/streamly_ffi/request_spec.rb
         |