centrifuge 1.1.0 → 1.1.1
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.
- checksums.yaml +4 -4
 - data/centrifuge.gemspec +1 -1
 - data/lib/centrifuge/version.rb +1 -1
 - data/spec/client_spec.rb +42 -31
 - data/spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/broadcasts_data.yml +40 -0
 - data/spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/disconnects_user.yml +40 -0
 - data/spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/fetches_history.yml +40 -0
 - data/spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/fetches_presence_info.yml +40 -0
 - data/spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/publishes_data.yml +40 -0
 - data/spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/unsubscribes_user.yml +40 -0
 - data/spec/spec_helper.rb +10 -75
 - data/vendor/assets/javascripts/centrifuge.js +3043 -1
 - data/vendor/assets/javascripts/sockjs.js +5521 -2
 - metadata +16 -4
 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: centrifuge
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.1.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Oleg Bovykin
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2016- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2016-04-27 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: httpclient
         
     | 
| 
         @@ -81,7 +81,7 @@ dependencies: 
     | 
|
| 
       81 
81 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       82 
82 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       83 
83 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       84 
     | 
    
         
            -
              name:  
     | 
| 
      
 84 
     | 
    
         
            +
              name: webmock
         
     | 
| 
       85 
85 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       86 
86 
     | 
    
         
             
                requirements:
         
     | 
| 
       87 
87 
     | 
    
         
             
                - - ">="
         
     | 
| 
         @@ -95,7 +95,7 @@ dependencies: 
     | 
|
| 
       95 
95 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       96 
96 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       97 
97 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       98 
     | 
    
         
            -
              name:  
     | 
| 
      
 98 
     | 
    
         
            +
              name: vcr
         
     | 
| 
       99 
99 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       100 
100 
     | 
    
         
             
                requirements:
         
     | 
| 
       101 
101 
     | 
    
         
             
                - - ">="
         
     | 
| 
         @@ -131,6 +131,12 @@ files: 
     | 
|
| 
       131 
131 
     | 
    
         
             
            - lib/centrifuge/request.rb
         
     | 
| 
       132 
132 
     | 
    
         
             
            - lib/centrifuge/version.rb
         
     | 
| 
       133 
133 
     | 
    
         
             
            - spec/client_spec.rb
         
     | 
| 
      
 134 
     | 
    
         
            +
            - spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/broadcasts_data.yml
         
     | 
| 
      
 135 
     | 
    
         
            +
            - spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/disconnects_user.yml
         
     | 
| 
      
 136 
     | 
    
         
            +
            - spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/fetches_history.yml
         
     | 
| 
      
 137 
     | 
    
         
            +
            - spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/fetches_presence_info.yml
         
     | 
| 
      
 138 
     | 
    
         
            +
            - spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/publishes_data.yml
         
     | 
| 
      
 139 
     | 
    
         
            +
            - spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/unsubscribes_user.yml
         
     | 
| 
       134 
140 
     | 
    
         
             
            - spec/spec_helper.rb
         
     | 
| 
       135 
141 
     | 
    
         
             
            - vendor/assets/javascripts/centrifuge.js
         
     | 
| 
       136 
142 
     | 
    
         
             
            - vendor/assets/javascripts/sockjs.js
         
     | 
| 
         @@ -160,4 +166,10 @@ specification_version: 4 
     | 
|
| 
       160 
166 
     | 
    
         
             
            summary: Ruby gem for Centrifuge real-time messaging broker
         
     | 
| 
       161 
167 
     | 
    
         
             
            test_files:
         
     | 
| 
       162 
168 
     | 
    
         
             
            - spec/client_spec.rb
         
     | 
| 
      
 169 
     | 
    
         
            +
            - spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/broadcasts_data.yml
         
     | 
| 
      
 170 
     | 
    
         
            +
            - spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/disconnects_user.yml
         
     | 
| 
      
 171 
     | 
    
         
            +
            - spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/fetches_history.yml
         
     | 
| 
      
 172 
     | 
    
         
            +
            - spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/fetches_presence_info.yml
         
     | 
| 
      
 173 
     | 
    
         
            +
            - spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/publishes_data.yml
         
     | 
| 
      
 174 
     | 
    
         
            +
            - spec/fixtures/vcr_cassettes/Centrifuge_Client/API_calls/unsubscribes_user.yml
         
     | 
| 
       163 
175 
     | 
    
         
             
            - spec/spec_helper.rb
         
     |