tweetable 0.1.10
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/Gemfile +8 -0
- data/History.txt +4 -0
- data/Manifest.txt +33 -0
- data/PostInstall.txt +7 -0
- data/README.rdoc +37 -0
- data/Rakefile +19 -0
- data/VERSION +1 -0
- data/lib/tweetable/authorization.rb +21 -0
- data/lib/tweetable/collection.rb +54 -0
- data/lib/tweetable/link.rb +30 -0
- data/lib/tweetable/message.rb +119 -0
- data/lib/tweetable/persistable.rb +32 -0
- data/lib/tweetable/photo.rb +6 -0
- data/lib/tweetable/queue.rb +121 -0
- data/lib/tweetable/search.rb +77 -0
- data/lib/tweetable/twitter_client.rb +36 -0
- data/lib/tweetable/twitter_streaming_client.rb +67 -0
- data/lib/tweetable/url.rb +39 -0
- data/lib/tweetable/user.rb +104 -0
- data/lib/tweetable.rb +82 -0
- data/pkg/tweetable-0.1.7.gem +0 -0
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/spec/collection_spec.rb +55 -0
- data/spec/fixtures/blank.json +1 -0
- data/spec/fixtures/flippyhead.json +1 -0
- data/spec/fixtures/follower_ids.json +1 -0
- data/spec/fixtures/friend_ids.json +1 -0
- data/spec/fixtures/friends_timeline.json +1 -0
- data/spec/fixtures/link_blank.json +1 -0
- data/spec/fixtures/link_exists.json +1 -0
- data/spec/fixtures/rate_limit_status.json +1 -0
- data/spec/fixtures/search.json +1 -0
- data/spec/fixtures/user_timeline.json +1 -0
- data/spec/fixtures/verify_credentials.json +1 -0
- data/spec/link_spec.rb +35 -0
- data/spec/message_spec.rb +148 -0
- data/spec/persistable_spec.rb +53 -0
- data/spec/queue_spec.rb +29 -0
- data/spec/search_spec.rb +60 -0
- data/spec/spec.opts +5 -0
- data/spec/spec_helper.rb +55 -0
- data/spec/tweetable_spec.rb +19 -0
- data/spec/twitter_client_spec.rb +41 -0
- data/spec/twitter_streaming_client_spec.rb +18 -0
- data/spec/user_spec.rb +143 -0
- data/tweetable.gemspec +106 -0
- metadata +165 -0
    
        data/tweetable.gemspec
    ADDED
    
    | @@ -0,0 +1,106 @@ | |
| 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 | 
            +
            Gem::Specification.new do |s|
         | 
| 7 | 
            +
              s.name = %q{tweetable}
         | 
| 8 | 
            +
              s.version = "0.1.10"
         | 
| 9 | 
            +
             | 
| 10 | 
            +
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 11 | 
            +
              s.authors = ["Peter T. Brown"]
         | 
| 12 | 
            +
              s.date = %q{2010-06-21}
         | 
| 13 | 
            +
              s.description = %q{Track twitter messages and users in memory using Redis}
         | 
| 14 | 
            +
              s.email = %q{peter@flippyhead.com}
         | 
| 15 | 
            +
              s.extra_rdoc_files = [
         | 
| 16 | 
            +
                "README.rdoc"
         | 
| 17 | 
            +
              ]
         | 
| 18 | 
            +
              s.files = [
         | 
| 19 | 
            +
                "Gemfile",
         | 
| 20 | 
            +
                 "History.txt",
         | 
| 21 | 
            +
                 "Manifest.txt",
         | 
| 22 | 
            +
                 "PostInstall.txt",
         | 
| 23 | 
            +
                 "README.rdoc",
         | 
| 24 | 
            +
                 "Rakefile",
         | 
| 25 | 
            +
                 "VERSION",
         | 
| 26 | 
            +
                 "lib/tweetable.rb",
         | 
| 27 | 
            +
                 "lib/tweetable/authorization.rb",
         | 
| 28 | 
            +
                 "lib/tweetable/collection.rb",
         | 
| 29 | 
            +
                 "lib/tweetable/link.rb",
         | 
| 30 | 
            +
                 "lib/tweetable/message.rb",
         | 
| 31 | 
            +
                 "lib/tweetable/persistable.rb",
         | 
| 32 | 
            +
                 "lib/tweetable/photo.rb",
         | 
| 33 | 
            +
                 "lib/tweetable/queue.rb",
         | 
| 34 | 
            +
                 "lib/tweetable/search.rb",
         | 
| 35 | 
            +
                 "lib/tweetable/twitter_client.rb",
         | 
| 36 | 
            +
                 "lib/tweetable/twitter_streaming_client.rb",
         | 
| 37 | 
            +
                 "lib/tweetable/url.rb",
         | 
| 38 | 
            +
                 "lib/tweetable/user.rb",
         | 
| 39 | 
            +
                 "pkg/tweetable-0.1.7.gem",
         | 
| 40 | 
            +
                 "script/console",
         | 
| 41 | 
            +
                 "script/destroy",
         | 
| 42 | 
            +
                 "script/generate",
         | 
| 43 | 
            +
                 "spec/collection_spec.rb",
         | 
| 44 | 
            +
                 "spec/fixtures/blank.json",
         | 
| 45 | 
            +
                 "spec/fixtures/flippyhead.json",
         | 
| 46 | 
            +
                 "spec/fixtures/follower_ids.json",
         | 
| 47 | 
            +
                 "spec/fixtures/friend_ids.json",
         | 
| 48 | 
            +
                 "spec/fixtures/friends_timeline.json",
         | 
| 49 | 
            +
                 "spec/fixtures/link_blank.json",
         | 
| 50 | 
            +
                 "spec/fixtures/link_exists.json",
         | 
| 51 | 
            +
                 "spec/fixtures/rate_limit_status.json",
         | 
| 52 | 
            +
                 "spec/fixtures/search.json",
         | 
| 53 | 
            +
                 "spec/fixtures/user_timeline.json",
         | 
| 54 | 
            +
                 "spec/fixtures/verify_credentials.json",
         | 
| 55 | 
            +
                 "spec/link_spec.rb",
         | 
| 56 | 
            +
                 "spec/message_spec.rb",
         | 
| 57 | 
            +
                 "spec/persistable_spec.rb",
         | 
| 58 | 
            +
                 "spec/queue_spec.rb",
         | 
| 59 | 
            +
                 "spec/search_spec.rb",
         | 
| 60 | 
            +
                 "spec/spec.opts",
         | 
| 61 | 
            +
                 "spec/spec_helper.rb",
         | 
| 62 | 
            +
                 "spec/tweetable_spec.rb",
         | 
| 63 | 
            +
                 "spec/twitter_client_spec.rb",
         | 
| 64 | 
            +
                 "spec/twitter_streaming_client_spec.rb",
         | 
| 65 | 
            +
                 "spec/user_spec.rb",
         | 
| 66 | 
            +
                 "tweetable.gemspec"
         | 
| 67 | 
            +
              ]
         | 
| 68 | 
            +
              s.homepage = %q{http://github.com/flippyhead/tweetable}
         | 
| 69 | 
            +
              s.rdoc_options = ["--charset=UTF-8"]
         | 
| 70 | 
            +
              s.require_paths = ["lib"]
         | 
| 71 | 
            +
              s.rubygems_version = %q{1.3.7}
         | 
| 72 | 
            +
              s.summary = %q{Track twitter messages and users in memory using Redis}
         | 
| 73 | 
            +
              s.test_files = [
         | 
| 74 | 
            +
                "spec/collection_spec.rb",
         | 
| 75 | 
            +
                 "spec/link_spec.rb",
         | 
| 76 | 
            +
                 "spec/message_spec.rb",
         | 
| 77 | 
            +
                 "spec/persistable_spec.rb",
         | 
| 78 | 
            +
                 "spec/queue_spec.rb",
         | 
| 79 | 
            +
                 "spec/search_spec.rb",
         | 
| 80 | 
            +
                 "spec/spec_helper.rb",
         | 
| 81 | 
            +
                 "spec/tweetable_spec.rb",
         | 
| 82 | 
            +
                 "spec/twitter_client_spec.rb",
         | 
| 83 | 
            +
                 "spec/twitter_streaming_client_spec.rb",
         | 
| 84 | 
            +
                 "spec/user_spec.rb"
         | 
| 85 | 
            +
              ]
         | 
| 86 | 
            +
             | 
| 87 | 
            +
              if s.respond_to? :specification_version then
         | 
| 88 | 
            +
                current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
         | 
| 89 | 
            +
                s.specification_version = 3
         | 
| 90 | 
            +
             | 
| 91 | 
            +
                if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
         | 
| 92 | 
            +
                  s.add_runtime_dependency(%q<logging>, [">= 0"])
         | 
| 93 | 
            +
                  s.add_runtime_dependency(%q<twitter>, [">= 0"])
         | 
| 94 | 
            +
                  s.add_development_dependency(%q<rspec>, [">= 0"])
         | 
| 95 | 
            +
                else
         | 
| 96 | 
            +
                  s.add_dependency(%q<logging>, [">= 0"])
         | 
| 97 | 
            +
                  s.add_dependency(%q<twitter>, [">= 0"])
         | 
| 98 | 
            +
                  s.add_dependency(%q<rspec>, [">= 0"])
         | 
| 99 | 
            +
                end
         | 
| 100 | 
            +
              else
         | 
| 101 | 
            +
                s.add_dependency(%q<logging>, [">= 0"])
         | 
| 102 | 
            +
                s.add_dependency(%q<twitter>, [">= 0"])
         | 
| 103 | 
            +
                s.add_dependency(%q<rspec>, [">= 0"])
         | 
| 104 | 
            +
              end
         | 
| 105 | 
            +
            end
         | 
| 106 | 
            +
             | 
    
        metadata
    ADDED
    
    | @@ -0,0 +1,165 @@ | |
| 1 | 
            +
            --- !ruby/object:Gem::Specification 
         | 
| 2 | 
            +
            name: tweetable
         | 
| 3 | 
            +
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            +
              hash: 15
         | 
| 5 | 
            +
              prerelease: false
         | 
| 6 | 
            +
              segments: 
         | 
| 7 | 
            +
              - 0
         | 
| 8 | 
            +
              - 1
         | 
| 9 | 
            +
              - 10
         | 
| 10 | 
            +
              version: 0.1.10
         | 
| 11 | 
            +
            platform: ruby
         | 
| 12 | 
            +
            authors: 
         | 
| 13 | 
            +
            - Peter T. Brown
         | 
| 14 | 
            +
            autorequire: 
         | 
| 15 | 
            +
            bindir: bin
         | 
| 16 | 
            +
            cert_chain: []
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            date: 2010-06-21 00:00:00 -07:00
         | 
| 19 | 
            +
            default_executable: 
         | 
| 20 | 
            +
            dependencies: 
         | 
| 21 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 22 | 
            +
              requirement: &id001 !ruby/object:Gem::Requirement 
         | 
| 23 | 
            +
                none: false
         | 
| 24 | 
            +
                requirements: 
         | 
| 25 | 
            +
                - - ">="
         | 
| 26 | 
            +
                  - !ruby/object:Gem::Version 
         | 
| 27 | 
            +
                    hash: 3
         | 
| 28 | 
            +
                    segments: 
         | 
| 29 | 
            +
                    - 0
         | 
| 30 | 
            +
                    version: "0"
         | 
| 31 | 
            +
              type: :runtime
         | 
| 32 | 
            +
              name: logging
         | 
| 33 | 
            +
              prerelease: false
         | 
| 34 | 
            +
              version_requirements: *id001
         | 
| 35 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 36 | 
            +
              requirement: &id002 !ruby/object:Gem::Requirement 
         | 
| 37 | 
            +
                none: false
         | 
| 38 | 
            +
                requirements: 
         | 
| 39 | 
            +
                - - ">="
         | 
| 40 | 
            +
                  - !ruby/object:Gem::Version 
         | 
| 41 | 
            +
                    hash: 3
         | 
| 42 | 
            +
                    segments: 
         | 
| 43 | 
            +
                    - 0
         | 
| 44 | 
            +
                    version: "0"
         | 
| 45 | 
            +
              type: :runtime
         | 
| 46 | 
            +
              name: twitter
         | 
| 47 | 
            +
              prerelease: false
         | 
| 48 | 
            +
              version_requirements: *id002
         | 
| 49 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 50 | 
            +
              requirement: &id003 !ruby/object:Gem::Requirement 
         | 
| 51 | 
            +
                none: false
         | 
| 52 | 
            +
                requirements: 
         | 
| 53 | 
            +
                - - ">="
         | 
| 54 | 
            +
                  - !ruby/object:Gem::Version 
         | 
| 55 | 
            +
                    hash: 3
         | 
| 56 | 
            +
                    segments: 
         | 
| 57 | 
            +
                    - 0
         | 
| 58 | 
            +
                    version: "0"
         | 
| 59 | 
            +
              type: :development
         | 
| 60 | 
            +
              name: rspec
         | 
| 61 | 
            +
              prerelease: false
         | 
| 62 | 
            +
              version_requirements: *id003
         | 
| 63 | 
            +
            description: Track twitter messages and users in memory using Redis
         | 
| 64 | 
            +
            email: peter@flippyhead.com
         | 
| 65 | 
            +
            executables: []
         | 
| 66 | 
            +
             | 
| 67 | 
            +
            extensions: []
         | 
| 68 | 
            +
             | 
| 69 | 
            +
            extra_rdoc_files: 
         | 
| 70 | 
            +
            - README.rdoc
         | 
| 71 | 
            +
            files: 
         | 
| 72 | 
            +
            - Gemfile
         | 
| 73 | 
            +
            - History.txt
         | 
| 74 | 
            +
            - Manifest.txt
         | 
| 75 | 
            +
            - PostInstall.txt
         | 
| 76 | 
            +
            - README.rdoc
         | 
| 77 | 
            +
            - Rakefile
         | 
| 78 | 
            +
            - VERSION
         | 
| 79 | 
            +
            - lib/tweetable.rb
         | 
| 80 | 
            +
            - lib/tweetable/authorization.rb
         | 
| 81 | 
            +
            - lib/tweetable/collection.rb
         | 
| 82 | 
            +
            - lib/tweetable/link.rb
         | 
| 83 | 
            +
            - lib/tweetable/message.rb
         | 
| 84 | 
            +
            - lib/tweetable/persistable.rb
         | 
| 85 | 
            +
            - lib/tweetable/photo.rb
         | 
| 86 | 
            +
            - lib/tweetable/queue.rb
         | 
| 87 | 
            +
            - lib/tweetable/search.rb
         | 
| 88 | 
            +
            - lib/tweetable/twitter_client.rb
         | 
| 89 | 
            +
            - lib/tweetable/twitter_streaming_client.rb
         | 
| 90 | 
            +
            - lib/tweetable/url.rb
         | 
| 91 | 
            +
            - lib/tweetable/user.rb
         | 
| 92 | 
            +
            - pkg/tweetable-0.1.7.gem
         | 
| 93 | 
            +
            - script/console
         | 
| 94 | 
            +
            - script/destroy
         | 
| 95 | 
            +
            - script/generate
         | 
| 96 | 
            +
            - spec/collection_spec.rb
         | 
| 97 | 
            +
            - spec/fixtures/blank.json
         | 
| 98 | 
            +
            - spec/fixtures/flippyhead.json
         | 
| 99 | 
            +
            - spec/fixtures/follower_ids.json
         | 
| 100 | 
            +
            - spec/fixtures/friend_ids.json
         | 
| 101 | 
            +
            - spec/fixtures/friends_timeline.json
         | 
| 102 | 
            +
            - spec/fixtures/link_blank.json
         | 
| 103 | 
            +
            - spec/fixtures/link_exists.json
         | 
| 104 | 
            +
            - spec/fixtures/rate_limit_status.json
         | 
| 105 | 
            +
            - spec/fixtures/search.json
         | 
| 106 | 
            +
            - spec/fixtures/user_timeline.json
         | 
| 107 | 
            +
            - spec/fixtures/verify_credentials.json
         | 
| 108 | 
            +
            - spec/link_spec.rb
         | 
| 109 | 
            +
            - spec/message_spec.rb
         | 
| 110 | 
            +
            - spec/persistable_spec.rb
         | 
| 111 | 
            +
            - spec/queue_spec.rb
         | 
| 112 | 
            +
            - spec/search_spec.rb
         | 
| 113 | 
            +
            - spec/spec.opts
         | 
| 114 | 
            +
            - spec/spec_helper.rb
         | 
| 115 | 
            +
            - spec/tweetable_spec.rb
         | 
| 116 | 
            +
            - spec/twitter_client_spec.rb
         | 
| 117 | 
            +
            - spec/twitter_streaming_client_spec.rb
         | 
| 118 | 
            +
            - spec/user_spec.rb
         | 
| 119 | 
            +
            - tweetable.gemspec
         | 
| 120 | 
            +
            has_rdoc: true
         | 
| 121 | 
            +
            homepage: http://github.com/flippyhead/tweetable
         | 
| 122 | 
            +
            licenses: []
         | 
| 123 | 
            +
             | 
| 124 | 
            +
            post_install_message: 
         | 
| 125 | 
            +
            rdoc_options: 
         | 
| 126 | 
            +
            - --charset=UTF-8
         | 
| 127 | 
            +
            require_paths: 
         | 
| 128 | 
            +
            - lib
         | 
| 129 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement 
         | 
| 130 | 
            +
              none: false
         | 
| 131 | 
            +
              requirements: 
         | 
| 132 | 
            +
              - - ">="
         | 
| 133 | 
            +
                - !ruby/object:Gem::Version 
         | 
| 134 | 
            +
                  hash: 3
         | 
| 135 | 
            +
                  segments: 
         | 
| 136 | 
            +
                  - 0
         | 
| 137 | 
            +
                  version: "0"
         | 
| 138 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement 
         | 
| 139 | 
            +
              none: false
         | 
| 140 | 
            +
              requirements: 
         | 
| 141 | 
            +
              - - ">="
         | 
| 142 | 
            +
                - !ruby/object:Gem::Version 
         | 
| 143 | 
            +
                  hash: 3
         | 
| 144 | 
            +
                  segments: 
         | 
| 145 | 
            +
                  - 0
         | 
| 146 | 
            +
                  version: "0"
         | 
| 147 | 
            +
            requirements: []
         | 
| 148 | 
            +
             | 
| 149 | 
            +
            rubyforge_project: 
         | 
| 150 | 
            +
            rubygems_version: 1.3.7
         | 
| 151 | 
            +
            signing_key: 
         | 
| 152 | 
            +
            specification_version: 3
         | 
| 153 | 
            +
            summary: Track twitter messages and users in memory using Redis
         | 
| 154 | 
            +
            test_files: 
         | 
| 155 | 
            +
            - spec/collection_spec.rb
         | 
| 156 | 
            +
            - spec/link_spec.rb
         | 
| 157 | 
            +
            - spec/message_spec.rb
         | 
| 158 | 
            +
            - spec/persistable_spec.rb
         | 
| 159 | 
            +
            - spec/queue_spec.rb
         | 
| 160 | 
            +
            - spec/search_spec.rb
         | 
| 161 | 
            +
            - spec/spec_helper.rb
         | 
| 162 | 
            +
            - spec/tweetable_spec.rb
         | 
| 163 | 
            +
            - spec/twitter_client_spec.rb
         | 
| 164 | 
            +
            - spec/twitter_streaming_client_spec.rb
         | 
| 165 | 
            +
            - spec/user_spec.rb
         |