chute 2.0.0 → 2.0.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.
- data/Rakefile +0 -1
- data/chute.gemspec +3 -5
- data/lib/chute/connection.rb +1 -1
- data/lib/chute/v2/accounts.rb +13 -0
- data/lib/chute/version.rb +1 -1
- data/spec/chute/connection_spec.rb +1 -1
- data/spec/fixtures/chute_cassettes/albums/album_create_with_permission_view.yml +13 -21
- data/spec/fixtures/chute_cassettes/albums/albums_add_remove_assets.yml +23 -47
- data/spec/fixtures/chute_cassettes/albums/albums_create.yml +13 -21
- data/spec/fixtures/chute_cassettes/albums/albums_delete.yml +20 -36
- data/spec/fixtures/chute_cassettes/albums/albums_get.yml +23 -39
- data/spec/fixtures/chute_cassettes/albums/albums_list.yml +27 -35
- data/spec/fixtures/chute_cassettes/albums/albums_stats.yml +17 -33
- data/spec/fixtures/chute_cassettes/albums/albums_update.yml +23 -39
- data/spec/fixtures/chute_cassettes/assets/assets_delete.yml +20 -36
- data/spec/fixtures/chute_cassettes/assets/assets_geo.yml +24 -48
- data/spec/fixtures/chute_cassettes/assets/assets_get.yml +17 -33
- data/spec/fixtures/chute_cassettes/assets/assets_import.yml +8 -16
- data/spec/fixtures/chute_cassettes/assets/assets_list.yml +9 -17
- data/spec/fixtures/chute_cassettes/assets/assets_update.yml +18 -34
- data/spec/fixtures/chute_cassettes/comments/comments_create.yml +33 -57
- data/spec/fixtures/chute_cassettes/comments/comments_list.yml +44 -76
- data/spec/fixtures/chute_cassettes/flags/flags_methods.yml +50 -90
- data/spec/fixtures/chute_cassettes/hearts/hearts_methods.yml +41 -73
- data/spec/fixtures/chute_cassettes/tags/tags_assets.yml +50 -90
- data/spec/fixtures/chute_cassettes/triggers/trigger_errors.yml +7 -15
- data/spec/fixtures/chute_cassettes/triggers/triggers_cleanup.yml +30 -54
- data/spec/fixtures/chute_cassettes/triggers/triggers_create.yml +10 -18
- data/spec/fixtures/chute_cassettes/triggers/triggers_delete.yml +19 -35
- data/spec/fixtures/chute_cassettes/triggers/triggers_list.yml +12 -20
- data/spec/fixtures/chute_cassettes/triggers/triggers_update.yml +21 -37
- data/spec/fixtures/chute_cassettes/users/users_get.yml +14 -30
- data/spec/fixtures/chute_cassettes/users/users_me.yml +7 -15
- data/spec/fixtures/chute_cassettes/votes/votes_methods.yml +50 -90
- metadata +4 -19
| @@ -8,7 +8,7 @@ http_interactions: | |
| 8 8 | 
             
                  string: ! '{}'
         | 
| 9 9 | 
             
                headers:
         | 
| 10 10 | 
             
                  Authorization:
         | 
| 11 | 
            -
                  -  | 
| 11 | 
            +
                  - Bearer API KEY
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - application/json
         | 
| 14 14 | 
             
                  Accepts:
         | 
| @@ -25,7 +25,7 @@ http_interactions: | |
| 25 25 | 
             
                  Content-Type:
         | 
| 26 26 | 
             
                  - application/json; charset=utf-8
         | 
| 27 27 | 
             
                  Date:
         | 
| 28 | 
            -
                  - Mon,  | 
| 28 | 
            +
                  - Mon, 22 Apr 2013 22:26:28 GMT
         | 
| 29 29 | 
             
                  Etag:
         | 
| 30 30 | 
             
                  - ! '"b16f7001f3d9f926f4c01e7206b8c653"'
         | 
| 31 31 | 
             
                  Last-Modified:
         | 
| @@ -34,33 +34,25 @@ http_interactions: | |
| 34 34 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 35 35 | 
             
                  Status:
         | 
| 36 36 | 
             
                  - '200'
         | 
| 37 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 38 | 
            -
                  - '4999850'
         | 
| 39 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 40 | 
            -
                  - '3719999791'
         | 
| 41 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 42 | 
            -
                  - '5000000'
         | 
| 43 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 44 | 
            -
                  - '3720000000'
         | 
| 45 37 | 
             
                  X-Powered-By:
         | 
| 46 38 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 47 39 | 
             
                  X-Rack-Cache:
         | 
| 48 40 | 
             
                  - miss
         | 
| 49 41 | 
             
                  X-Request-Id:
         | 
| 50 | 
            -
                  -  | 
| 42 | 
            +
                  - cb14589ab27c91e3cd9db49cd58e8a63
         | 
| 51 43 | 
             
                  X-Runtime:
         | 
| 52 | 
            -
                  - '0. | 
| 44 | 
            +
                  - '0.092077'
         | 
| 53 45 | 
             
                  X-Ua-Compatible:
         | 
| 54 46 | 
             
                  - IE=Edge,chrome=1
         | 
| 55 47 | 
             
                  Content-Length:
         | 
| 56 | 
            -
                  - ' | 
| 48 | 
            +
                  - '519'
         | 
| 57 49 | 
             
                  Connection:
         | 
| 58 50 | 
             
                  - keep-alive
         | 
| 59 51 | 
             
                body:
         | 
| 60 52 | 
             
                  encoding: US-ASCII
         | 
| 61 | 
            -
                  string: ! '{"response":{"title":"User Details","version":2,"code":200,"href":"https://api.getchute.com/v2/me?" | 
| 53 | 
            +
                  string: ! '{"response":{"title":"User Details","version":2,"code":200,"href":"https://api.getchute.com/v2/me?"},"data":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
         | 
| 62 54 | 
             
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null,"email":"darko@getchute.com","oauth_token":"API
         | 
| 63 55 | 
             
                    KEY"}}'
         | 
| 64 56 | 
             
                http_version: 
         | 
| 65 | 
            -
              recorded_at: Mon,  | 
| 57 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:26:28 GMT
         | 
| 66 58 | 
             
            recorded_with: VCR 2.2.5
         | 
| @@ -8,7 +8,7 @@ http_interactions: | |
| 8 8 | 
             
                  string: ! '{"album":{"name":"Album for Votes"}}'
         | 
| 9 9 | 
             
                headers:
         | 
| 10 10 | 
             
                  Authorization:
         | 
| 11 | 
            -
                  -  | 
| 11 | 
            +
                  - Bearer API KEY
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - application/json
         | 
| 14 14 | 
             
                  Accepts:
         | 
| @@ -25,31 +25,23 @@ http_interactions: | |
| 25 25 | 
             
                  Content-Type:
         | 
| 26 26 | 
             
                  - application/json; charset=utf-8
         | 
| 27 27 | 
             
                  Date:
         | 
| 28 | 
            -
                  - Mon,  | 
| 28 | 
            +
                  - Mon, 22 Apr 2013 22:26:29 GMT
         | 
| 29 29 | 
             
                  Etag:
         | 
| 30 | 
            -
                  - ! '" | 
| 30 | 
            +
                  - ! '"e5e75a82be6481b5c8be989b0f16cba2"'
         | 
| 31 31 | 
             
                  Last-Modified:
         | 
| 32 | 
            -
                  - Mon,  | 
| 32 | 
            +
                  - Mon, 22 Apr 2013 22:26:29 GMT
         | 
| 33 33 | 
             
                  Server:
         | 
| 34 34 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 35 35 | 
             
                  Status:
         | 
| 36 36 | 
             
                  - '201'
         | 
| 37 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 38 | 
            -
                  - '4999847'
         | 
| 39 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 40 | 
            -
                  - '3719999788'
         | 
| 41 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 42 | 
            -
                  - '5000000'
         | 
| 43 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 44 | 
            -
                  - '3720000000'
         | 
| 45 37 | 
             
                  X-Powered-By:
         | 
| 46 38 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 47 39 | 
             
                  X-Rack-Cache:
         | 
| 48 40 | 
             
                  - invalidate, pass
         | 
| 49 41 | 
             
                  X-Request-Id:
         | 
| 50 | 
            -
                  -  | 
| 42 | 
            +
                  - 5872ae817682bb82ef8754e48fc9e5ff
         | 
| 51 43 | 
             
                  X-Runtime:
         | 
| 52 | 
            -
                  - '0. | 
| 44 | 
            +
                  - '0.051575'
         | 
| 53 45 | 
             
                  X-Ua-Compatible:
         | 
| 54 46 | 
             
                  - IE=Edge,chrome=1
         | 
| 55 47 | 
             
                  Transfer-Encoding:
         | 
| @@ -58,23 +50,23 @@ http_interactions: | |
| 58 50 | 
             
                  - keep-alive
         | 
| 59 51 | 
             
                body:
         | 
| 60 52 | 
             
                  encoding: US-ASCII
         | 
| 61 | 
            -
                  string: ! '{"response":{"title":"Album Details","version":2,"code":201,"href":"https://api.getchute.com/v2/albums?album%5Bname%5D=Album+for+Votes" | 
| 62 | 
            -
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/ | 
| 63 | 
            -
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/ | 
| 64 | 
            -
                    Listing"}},"created_at":"2013-04- | 
| 53 | 
            +
                  string: ! '{"response":{"title":"Album Details","version":2,"code":201,"href":"https://api.getchute.com/v2/albums?album%5Bname%5D=Album+for+Votes"},"data":{"id":2412458,"links":{"self":{"href":"http://api.getchute.com/v2/albums/2412458","title":"Album
         | 
| 54 | 
            +
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/2412458/assets","title":"Asset
         | 
| 55 | 
            +
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/2412458/parcels","title":"Parcel
         | 
| 56 | 
            +
                    Listing"}},"created_at":"2013-04-22T22:26:29Z","updated_at":"2013-04-22T22:26:29Z","shortcut":"a7ACdqag","name":"Album
         | 
| 65 57 | 
             
                    for Votes","description":null,"user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
         | 
| 66 58 | 
             
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null}}'
         | 
| 67 59 | 
             
                http_version: 
         | 
| 68 | 
            -
              recorded_at: Mon,  | 
| 60 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:26:29 GMT
         | 
| 69 61 | 
             
            - request:
         | 
| 70 62 | 
             
                method: post
         | 
| 71 | 
            -
                uri: https://api.getchute.com/v2/albums/ | 
| 63 | 
            +
                uri: https://api.getchute.com/v2/albums/2412458/assets/import
         | 
| 72 64 | 
             
                body:
         | 
| 73 65 | 
             
                  encoding: UTF-8
         | 
| 74 66 | 
             
                  string: ! '{"urls":["http://sphotos-f.ak.fbcdn.net/hphotos-ak-snc6/6393_451942991531262_1464781412_n.jpg"]}'
         | 
| 75 67 | 
             
                headers:
         | 
| 76 68 | 
             
                  Authorization:
         | 
| 77 | 
            -
                  -  | 
| 69 | 
            +
                  - Bearer API KEY
         | 
| 78 70 | 
             
                  Content-Type:
         | 
| 79 71 | 
             
                  - application/json
         | 
| 80 72 | 
             
                  Accepts:
         | 
| @@ -91,7 +83,7 @@ http_interactions: | |
| 91 83 | 
             
                  Content-Type:
         | 
| 92 84 | 
             
                  - application/json; charset=utf-8
         | 
| 93 85 | 
             
                  Date:
         | 
| 94 | 
            -
                  - Mon,  | 
| 86 | 
            +
                  - Mon, 22 Apr 2013 22:26:30 GMT
         | 
| 95 87 | 
             
                  Etag:
         | 
| 96 88 | 
             
                  - ! '"d9bdd7ad9e4993a0c72e3aae6d97ad7d"'
         | 
| 97 89 | 
             
                  Last-Modified:
         | 
| @@ -100,22 +92,14 @@ http_interactions: | |
| 100 92 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 101 93 | 
             
                  Status:
         | 
| 102 94 | 
             
                  - '200'
         | 
| 103 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 104 | 
            -
                  - '4999846'
         | 
| 105 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 106 | 
            -
                  - '3719999787'
         | 
| 107 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 108 | 
            -
                  - '5000000'
         | 
| 109 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 110 | 
            -
                  - '3720000000'
         | 
| 111 95 | 
             
                  X-Powered-By:
         | 
| 112 96 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 113 97 | 
             
                  X-Rack-Cache:
         | 
| 114 98 | 
             
                  - invalidate, pass
         | 
| 115 99 | 
             
                  X-Request-Id:
         | 
| 116 | 
            -
                  -  | 
| 100 | 
            +
                  - cedb09ce34f66f91cb8781fe241a01eb
         | 
| 117 101 | 
             
                  X-Runtime:
         | 
| 118 | 
            -
                  - '0. | 
| 102 | 
            +
                  - '0.080267'
         | 
| 119 103 | 
             
                  X-Ua-Compatible:
         | 
| 120 104 | 
             
                  - IE=Edge,chrome=1
         | 
| 121 105 | 
             
                  Transfer-Encoding:
         | 
| @@ -124,21 +108,21 @@ http_interactions: | |
| 124 108 | 
             
                  - keep-alive
         | 
| 125 109 | 
             
                body:
         | 
| 126 110 | 
             
                  encoding: US-ASCII
         | 
| 127 | 
            -
                  string: ! '{"response":{"title":"Imported Assets","version":2,"code":200,"href":"https://api.getchute.com/v2/albums/ | 
| 128 | 
            -
                    Details"},"exif":{"href":"http://api.getchute.com/v2/albums/ | 
| 129 | 
            -
                    Details"},"geo":{"href":"http://api.getchute.com/v2/albums/ | 
| 130 | 
            -
                    Details"},"heart":{"href":"http://api.getchute.com/v2/albums/ | 
| 111 | 
            +
                  string: ! '{"response":{"title":"Imported Assets","version":2,"code":200,"href":"https://api.getchute.com/v2/albums/2412458/assets/import?&urls%5B%5D=http%3A%2F%2Fsphotos-f.ak.fbcdn.net%2Fhphotos-ak-snc6%2F6393_451942991531262_1464781412_n.jpg"},"data":[{"id":79517672,"links":{"self":{"href":"http://api.getchute.com/v2/albums/2412458/assets/79517672","title":"Asset
         | 
| 112 | 
            +
                    Details"},"exif":{"href":"http://api.getchute.com/v2/albums/2412458/assets/79517672/exif","title":"Exif
         | 
| 113 | 
            +
                    Details"},"geo":{"href":"http://api.getchute.com/v2/albums/2412458/assets/79517672/geo","title":"Geo
         | 
| 114 | 
            +
                    Details"},"heart":{"href":"http://api.getchute.com/v2/albums/a7ACdqag/assets/5nEb6mbik/hearts","title":"Heart"},"vote":{"href":"http://api.getchute.com/v2/albums/a7ACdqag/assets/5nEb6mbik/votes","title":"Vote"}},"created_at":"2012-12-05T14:19:19Z","updated_at":"2012-12-05T14:19:19Z","thumbnail":"http://media.getchute.com/media/5nEb6mbik/75x75","url":"http://media.getchute.com/media/5nEb6mbik","shortcut":"5nEb6mbik","type":"image","caption":null,"dimensions":{"width":null,"height":null},"location":null,"source":{"source":"imported","source_id":null,"source_url":"http://sphotos-f.ak.fbcdn.net/hphotos-ak-snc6/6393_451942991531262_1464781412_n.jpg","service":null,"import_id":null,"import_url":null,"original_url":"http://media.getchute.com/media/5nEb6mbik"},"service":"uploaded"}]}'
         | 
| 131 115 | 
             
                http_version: 
         | 
| 132 | 
            -
              recorded_at: Mon,  | 
| 116 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:26:30 GMT
         | 
| 133 117 | 
             
            - request:
         | 
| 134 118 | 
             
                method: post
         | 
| 135 | 
            -
                uri: https://api.getchute.com/v2/albums/ | 
| 119 | 
            +
                uri: https://api.getchute.com/v2/albums/2412458/assets/79517672/votes
         | 
| 136 120 | 
             
                body:
         | 
| 137 121 | 
             
                  encoding: UTF-8
         | 
| 138 122 | 
             
                  string: ! '{}'
         | 
| 139 123 | 
             
                headers:
         | 
| 140 124 | 
             
                  Authorization:
         | 
| 141 | 
            -
                  -  | 
| 125 | 
            +
                  - Bearer API KEY
         | 
| 142 126 | 
             
                  Content-Type:
         | 
| 143 127 | 
             
                  - application/json
         | 
| 144 128 | 
             
                  Accepts:
         | 
| @@ -155,52 +139,44 @@ http_interactions: | |
| 155 139 | 
             
                  Content-Type:
         | 
| 156 140 | 
             
                  - application/json; charset=utf-8
         | 
| 157 141 | 
             
                  Date:
         | 
| 158 | 
            -
                  - Mon,  | 
| 142 | 
            +
                  - Mon, 22 Apr 2013 22:26:30 GMT
         | 
| 159 143 | 
             
                  Etag:
         | 
| 160 | 
            -
                  - ! '" | 
| 144 | 
            +
                  - ! '"75f70ded096bbe2dbd51d702ebdc8719"'
         | 
| 161 145 | 
             
                  Last-Modified:
         | 
| 162 | 
            -
                  - Mon,  | 
| 146 | 
            +
                  - Mon, 22 Apr 2013 22:26:30 GMT
         | 
| 163 147 | 
             
                  Server:
         | 
| 164 148 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 165 149 | 
             
                  Status:
         | 
| 166 150 | 
             
                  - '201'
         | 
| 167 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 168 | 
            -
                  - '4999845'
         | 
| 169 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 170 | 
            -
                  - '3719999786'
         | 
| 171 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 172 | 
            -
                  - '5000000'
         | 
| 173 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 174 | 
            -
                  - '3720000000'
         | 
| 175 151 | 
             
                  X-Powered-By:
         | 
| 176 152 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 177 153 | 
             
                  X-Rack-Cache:
         | 
| 178 154 | 
             
                  - invalidate, pass
         | 
| 179 155 | 
             
                  X-Request-Id:
         | 
| 180 | 
            -
                  -  | 
| 156 | 
            +
                  - 52a1dfc4013ac3b9fd85dc5d0e5349ca
         | 
| 181 157 | 
             
                  X-Runtime:
         | 
| 182 | 
            -
                  - '0. | 
| 158 | 
            +
                  - '0.048930'
         | 
| 183 159 | 
             
                  X-Ua-Compatible:
         | 
| 184 160 | 
             
                  - IE=Edge,chrome=1
         | 
| 185 161 | 
             
                  Content-Length:
         | 
| 186 | 
            -
                  - ' | 
| 162 | 
            +
                  - '396'
         | 
| 187 163 | 
             
                  Connection:
         | 
| 188 164 | 
             
                  - keep-alive
         | 
| 189 165 | 
             
                body:
         | 
| 190 166 | 
             
                  encoding: US-ASCII
         | 
| 191 | 
            -
                  string: ! '{"response":{"title":"Vote Details","version":2,"code":201,"href":"https://api.getchute.com/v2/albums/ | 
| 192 | 
            -
                    Details"}},"created_at":"2013-04- | 
| 167 | 
            +
                  string: ! '{"response":{"title":"Vote Details","version":2,"code":201,"href":"https://api.getchute.com/v2/albums/2412458/assets/79517672/votes?"},"data":{"id":16,"links":{"self":{"href":"http://api.getchute.com/v2/votes/16","title":"Vote
         | 
| 168 | 
            +
                    Details"}},"created_at":"2013-04-22T22:26:30Z","updated_at":"2013-04-22T22:26:30Z","identifier":"xvoddkzvgymtlhgqonwt1366669590","album_id":2412458,"asset_id":79517672}}'
         | 
| 193 169 | 
             
                http_version: 
         | 
| 194 | 
            -
              recorded_at: Mon,  | 
| 170 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:26:30 GMT
         | 
| 195 171 | 
             
            - request:
         | 
| 196 172 | 
             
                method: get
         | 
| 197 | 
            -
                uri: https://api.getchute.com/v2/albums/ | 
| 173 | 
            +
                uri: https://api.getchute.com/v2/albums/2412458/assets/79517672/votes
         | 
| 198 174 | 
             
                body:
         | 
| 199 175 | 
             
                  encoding: UTF-8
         | 
| 200 176 | 
             
                  string: ! '{}'
         | 
| 201 177 | 
             
                headers:
         | 
| 202 178 | 
             
                  Authorization:
         | 
| 203 | 
            -
                  -  | 
| 179 | 
            +
                  - Bearer API KEY
         | 
| 204 180 | 
             
                  Content-Type:
         | 
| 205 181 | 
             
                  - application/json
         | 
| 206 182 | 
             
                  Accepts:
         | 
| @@ -217,49 +193,41 @@ http_interactions: | |
| 217 193 | 
             
                  Content-Type:
         | 
| 218 194 | 
             
                  - application/json; charset=utf-8
         | 
| 219 195 | 
             
                  Date:
         | 
| 220 | 
            -
                  - Mon,  | 
| 196 | 
            +
                  - Mon, 22 Apr 2013 22:26:31 GMT
         | 
| 221 197 | 
             
                  Etag:
         | 
| 222 | 
            -
                  - ! '" | 
| 198 | 
            +
                  - ! '"3050f34b6a57baa469bd493b107006fa"'
         | 
| 223 199 | 
             
                  Server:
         | 
| 224 200 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 225 201 | 
             
                  Status:
         | 
| 226 202 | 
             
                  - '201'
         | 
| 227 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 228 | 
            -
                  - '4999844'
         | 
| 229 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 230 | 
            -
                  - '3719999785'
         | 
| 231 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 232 | 
            -
                  - '5000000'
         | 
| 233 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 234 | 
            -
                  - '3720000000'
         | 
| 235 203 | 
             
                  X-Powered-By:
         | 
| 236 204 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 237 205 | 
             
                  X-Rack-Cache:
         | 
| 238 206 | 
             
                  - miss
         | 
| 239 207 | 
             
                  X-Request-Id:
         | 
| 240 | 
            -
                  -  | 
| 208 | 
            +
                  - 518506ade87f31febd2556cb69f459a9
         | 
| 241 209 | 
             
                  X-Runtime:
         | 
| 242 | 
            -
                  - '0. | 
| 210 | 
            +
                  - '0.033838'
         | 
| 243 211 | 
             
                  X-Ua-Compatible:
         | 
| 244 212 | 
             
                  - IE=Edge,chrome=1
         | 
| 245 213 | 
             
                  Content-Length:
         | 
| 246 | 
            -
                  - ' | 
| 214 | 
            +
                  - '152'
         | 
| 247 215 | 
             
                  Connection:
         | 
| 248 216 | 
             
                  - keep-alive
         | 
| 249 217 | 
             
                body:
         | 
| 250 218 | 
             
                  encoding: US-ASCII
         | 
| 251 | 
            -
                  string: ! '{"response":{"title":"Vote Count","version":2,"code":201,"href":"https://api.getchute.com/v2/albums/ | 
| 219 | 
            +
                  string: ! '{"response":{"title":"Vote Count","version":2,"code":201,"href":"https://api.getchute.com/v2/albums/2412458/assets/79517672/votes?"},"data":{"count":1}}'
         | 
| 252 220 | 
             
                http_version: 
         | 
| 253 | 
            -
              recorded_at: Mon,  | 
| 221 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:26:31 GMT
         | 
| 254 222 | 
             
            - request:
         | 
| 255 223 | 
             
                method: delete
         | 
| 256 | 
            -
                uri: https://api.getchute.com/v2/albums/ | 
| 224 | 
            +
                uri: https://api.getchute.com/v2/albums/2412458/assets/79517672/votes
         | 
| 257 225 | 
             
                body:
         | 
| 258 226 | 
             
                  encoding: UTF-8
         | 
| 259 227 | 
             
                  string: ! '{}'
         | 
| 260 228 | 
             
                headers:
         | 
| 261 229 | 
             
                  Authorization:
         | 
| 262 | 
            -
                  -  | 
| 230 | 
            +
                  - Bearer API KEY
         | 
| 263 231 | 
             
                  Content-Type:
         | 
| 264 232 | 
             
                  - application/json
         | 
| 265 233 | 
             
                  Accepts:
         | 
| @@ -276,38 +244,30 @@ http_interactions: | |
| 276 244 | 
             
                  Content-Type:
         | 
| 277 245 | 
             
                  - application/json; charset=utf-8
         | 
| 278 246 | 
             
                  Date:
         | 
| 279 | 
            -
                  - Mon,  | 
| 247 | 
            +
                  - Mon, 22 Apr 2013 22:26:31 GMT
         | 
| 280 248 | 
             
                  Etag:
         | 
| 281 | 
            -
                  - ! '" | 
| 249 | 
            +
                  - ! '"3d8102700c66bdb1e90bdfe56d2b7f6c"'
         | 
| 282 250 | 
             
                  Server:
         | 
| 283 251 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 284 252 | 
             
                  Status:
         | 
| 285 253 | 
             
                  - '200'
         | 
| 286 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 287 | 
            -
                  - '4999843'
         | 
| 288 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 289 | 
            -
                  - '3719999784'
         | 
| 290 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 291 | 
            -
                  - '5000000'
         | 
| 292 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 293 | 
            -
                  - '3720000000'
         | 
| 294 254 | 
             
                  X-Powered-By:
         | 
| 295 255 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 296 256 | 
             
                  X-Rack-Cache:
         | 
| 297 257 | 
             
                  - invalidate, pass
         | 
| 298 258 | 
             
                  X-Request-Id:
         | 
| 299 | 
            -
                  -  | 
| 259 | 
            +
                  - 7d72f3fccc6a26e252cbc2f7e582c206
         | 
| 300 260 | 
             
                  X-Runtime:
         | 
| 301 | 
            -
                  - '0. | 
| 261 | 
            +
                  - '0.042415'
         | 
| 302 262 | 
             
                  X-Ua-Compatible:
         | 
| 303 263 | 
             
                  - IE=Edge,chrome=1
         | 
| 304 264 | 
             
                  Content-Length:
         | 
| 305 | 
            -
                  - ' | 
| 265 | 
            +
                  - '136'
         | 
| 306 266 | 
             
                  Connection:
         | 
| 307 267 | 
             
                  - keep-alive
         | 
| 308 268 | 
             
                body:
         | 
| 309 269 | 
             
                  encoding: US-ASCII
         | 
| 310 | 
            -
                  string: ! '{"response":{"title":"Heart Deleted","version":2,"code":200,"href":"https://api.getchute.com/v2/albums/ | 
| 270 | 
            +
                  string: ! '{"response":{"title":"Heart Deleted","version":2,"code":200,"href":"https://api.getchute.com/v2/albums/2412458/assets/79517672/votes?"}}'
         | 
| 311 271 | 
             
                http_version: 
         | 
| 312 | 
            -
              recorded_at: Mon,  | 
| 272 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:26:31 GMT
         | 
| 313 273 | 
             
            recorded_with: VCR 2.2.5
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: chute
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2.0. | 
| 4 | 
            +
              version: 2.0.1
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -11,7 +11,7 @@ authors: | |
| 11 11 | 
             
            autorequire: 
         | 
| 12 12 | 
             
            bindir: bin
         | 
| 13 13 | 
             
            cert_chain: []
         | 
| 14 | 
            -
            date: 2013-04- | 
| 14 | 
            +
            date: 2013-04-22 00:00:00.000000000 Z
         | 
| 15 15 | 
             
            dependencies:
         | 
| 16 16 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 17 17 | 
             
              name: httparty
         | 
| @@ -125,22 +125,6 @@ dependencies: | |
| 125 125 | 
             
                - - ! '>='
         | 
| 126 126 | 
             
                  - !ruby/object:Gem::Version
         | 
| 127 127 | 
             
                    version: '0'
         | 
| 128 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 129 | 
            -
              name: httparty
         | 
| 130 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 131 | 
            -
                none: false
         | 
| 132 | 
            -
                requirements:
         | 
| 133 | 
            -
                - - ! '>='
         | 
| 134 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 135 | 
            -
                    version: '0'
         | 
| 136 | 
            -
              type: :runtime
         | 
| 137 | 
            -
              prerelease: false
         | 
| 138 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 139 | 
            -
                none: false
         | 
| 140 | 
            -
                requirements:
         | 
| 141 | 
            -
                - - ! '>='
         | 
| 142 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 143 | 
            -
                    version: '0'
         | 
| 144 128 | 
             
            description: wrapper for the API for getchute.com
         | 
| 145 129 | 
             
            email: support@gmail.com
         | 
| 146 130 | 
             
            executables: []
         | 
| @@ -161,6 +145,7 @@ files: | |
| 161 145 | 
             
            - lib/chute/configuration.rb
         | 
| 162 146 | 
             
            - lib/chute/connection.rb
         | 
| 163 147 | 
             
            - lib/chute/response.rb
         | 
| 148 | 
            +
            - lib/chute/v2/accounts.rb
         | 
| 164 149 | 
             
            - lib/chute/v2/albums.rb
         | 
| 165 150 | 
             
            - lib/chute/v2/assets.rb
         | 
| 166 151 | 
             
            - lib/chute/v2/comments.rb
         | 
| @@ -230,7 +215,7 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 230 215 | 
             
                  version: '0'
         | 
| 231 216 | 
             
                  segments:
         | 
| 232 217 | 
             
                  - 0
         | 
| 233 | 
            -
                  hash:  | 
| 218 | 
            +
                  hash: 2650277714762767781
         | 
| 234 219 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 235 220 | 
             
              none: false
         | 
| 236 221 | 
             
              requirements:
         |