doorkeeper 0.1.1 → 0.2.0
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.
Potentially problematic release.
This version of doorkeeper might be problematic. Click here for more details.
- data/README.md +42 -14
- data/Rakefile +1 -1
- data/app/assets/stylesheets/doorkeeper/application.css +4 -0
- data/app/controllers/doorkeeper/application_controller.rb +2 -2
- data/app/controllers/doorkeeper/application_controller.rbc +32 -20
- data/app/controllers/doorkeeper/authorizations_controller.rbc +86 -22
- data/app/controllers/doorkeeper/authorized_applications_controller.rb +13 -0
- data/app/controllers/doorkeeper/authorized_applications_controller.rbc +393 -0
- data/app/controllers/doorkeeper/tokens_controller.rb +4 -0
- data/app/models/access_grant.rb +8 -0
- data/app/models/access_grant.rbc +204 -39
- data/app/models/access_token.rb +31 -3
- data/app/models/access_token.rbc +270 -72
- data/app/models/application.rb +8 -1
- data/app/models/application.rbc +307 -61
- data/app/views/doorkeeper/authorizations/new.html.erb +17 -0
- data/app/views/doorkeeper/authorized_applications/index.html.erb +26 -0
- data/config/routes.rb +1 -0
- data/config/routes.rbc +48 -4
- data/lib/doorkeeper/config.rb +82 -22
- data/lib/doorkeeper/config.rbc +739 -295
- data/lib/doorkeeper/config/scope.rb +11 -0
- data/lib/doorkeeper/config/scopes.rb +57 -0
- data/lib/doorkeeper/config/scopes_builder.rb +18 -0
- data/lib/doorkeeper/doorkeeper_for.rb +96 -16
- data/lib/doorkeeper/oauth/access_token_request.rb +57 -18
- data/lib/doorkeeper/oauth/access_token_request.rbc +256 -67
- data/lib/doorkeeper/oauth/authorization_request.rb +31 -4
- data/lib/doorkeeper/oauth/authorization_request.rbc +230 -65
- data/lib/doorkeeper/version.rb +1 -1
- data/lib/doorkeeper/version.rbc +1 -1
- data/lib/generators/doorkeeper/templates/README +3 -0
- data/lib/generators/doorkeeper/templates/initializer.rb +13 -0
- data/lib/generators/doorkeeper/templates/migration.rb +4 -1
- metadata +35 -18
| @@ -0,0 +1,13 @@ | |
| 1 | 
            +
            class Doorkeeper::AuthorizedApplicationsController < Doorkeeper::ApplicationController
         | 
| 2 | 
            +
              before_filter :authenticate_resource_owner!
         | 
| 3 | 
            +
             | 
| 4 | 
            +
              def index
         | 
| 5 | 
            +
                @applications = Application.authorized_for(current_resource_owner)
         | 
| 6 | 
            +
              end
         | 
| 7 | 
            +
             | 
| 8 | 
            +
              def destroy
         | 
| 9 | 
            +
                token = AccessToken.authorized_for(params[:id], current_resource_owner)
         | 
| 10 | 
            +
                token.revoke
         | 
| 11 | 
            +
                redirect_to authorized_applications_path, :notice => "Application revoked."
         | 
| 12 | 
            +
              end
         | 
| 13 | 
            +
            end
         | 
| @@ -0,0 +1,393 @@ | |
| 1 | 
            +
            !RBIX
         | 
| 2 | 
            +
            9595534255132031488
         | 
| 3 | 
            +
            x
         | 
| 4 | 
            +
            M
         | 
| 5 | 
            +
            1
         | 
| 6 | 
            +
            n
         | 
| 7 | 
            +
            n
         | 
| 8 | 
            +
            x
         | 
| 9 | 
            +
            10
         | 
| 10 | 
            +
            __script__
         | 
| 11 | 
            +
            i
         | 
| 12 | 
            +
            35
         | 
| 13 | 
            +
            99
         | 
| 14 | 
            +
            7
         | 
| 15 | 
            +
            0
         | 
| 16 | 
            +
            45
         | 
| 17 | 
            +
            1
         | 
| 18 | 
            +
            2
         | 
| 19 | 
            +
            43
         | 
| 20 | 
            +
            3
         | 
| 21 | 
            +
            45
         | 
| 22 | 
            +
            1
         | 
| 23 | 
            +
            4
         | 
| 24 | 
            +
            49
         | 
| 25 | 
            +
            5
         | 
| 26 | 
            +
            3
         | 
| 27 | 
            +
            13
         | 
| 28 | 
            +
            99
         | 
| 29 | 
            +
            12
         | 
| 30 | 
            +
            7
         | 
| 31 | 
            +
            6
         | 
| 32 | 
            +
            12
         | 
| 33 | 
            +
            7
         | 
| 34 | 
            +
            7
         | 
| 35 | 
            +
            12
         | 
| 36 | 
            +
            65
         | 
| 37 | 
            +
            12
         | 
| 38 | 
            +
            49
         | 
| 39 | 
            +
            8
         | 
| 40 | 
            +
            4
         | 
| 41 | 
            +
            15
         | 
| 42 | 
            +
            49
         | 
| 43 | 
            +
            6
         | 
| 44 | 
            +
            0
         | 
| 45 | 
            +
            15
         | 
| 46 | 
            +
            2
         | 
| 47 | 
            +
            11
         | 
| 48 | 
            +
            I
         | 
| 49 | 
            +
            6
         | 
| 50 | 
            +
            I
         | 
| 51 | 
            +
            0
         | 
| 52 | 
            +
            I
         | 
| 53 | 
            +
            0
         | 
| 54 | 
            +
            I
         | 
| 55 | 
            +
            0
         | 
| 56 | 
            +
            n
         | 
| 57 | 
            +
            p
         | 
| 58 | 
            +
            9
         | 
| 59 | 
            +
            x
         | 
| 60 | 
            +
            32
         | 
| 61 | 
            +
            AuthorizedApplicationsController
         | 
| 62 | 
            +
            x
         | 
| 63 | 
            +
            10
         | 
| 64 | 
            +
            Doorkeeper
         | 
| 65 | 
            +
            n
         | 
| 66 | 
            +
            x
         | 
| 67 | 
            +
            21
         | 
| 68 | 
            +
            ApplicationController
         | 
| 69 | 
            +
            n
         | 
| 70 | 
            +
            x
         | 
| 71 | 
            +
            16
         | 
| 72 | 
            +
            open_class_under
         | 
| 73 | 
            +
            x
         | 
| 74 | 
            +
            14
         | 
| 75 | 
            +
            __class_init__
         | 
| 76 | 
            +
            M
         | 
| 77 | 
            +
            1
         | 
| 78 | 
            +
            n
         | 
| 79 | 
            +
            n
         | 
| 80 | 
            +
            x
         | 
| 81 | 
            +
            32
         | 
| 82 | 
            +
            AuthorizedApplicationsController
         | 
| 83 | 
            +
            i
         | 
| 84 | 
            +
            38
         | 
| 85 | 
            +
            5
         | 
| 86 | 
            +
            66
         | 
| 87 | 
            +
            5
         | 
| 88 | 
            +
            7
         | 
| 89 | 
            +
            0
         | 
| 90 | 
            +
            47
         | 
| 91 | 
            +
            49
         | 
| 92 | 
            +
            1
         | 
| 93 | 
            +
            1
         | 
| 94 | 
            +
            15
         | 
| 95 | 
            +
            99
         | 
| 96 | 
            +
            7
         | 
| 97 | 
            +
            2
         | 
| 98 | 
            +
            7
         | 
| 99 | 
            +
            3
         | 
| 100 | 
            +
            65
         | 
| 101 | 
            +
            67
         | 
| 102 | 
            +
            49
         | 
| 103 | 
            +
            4
         | 
| 104 | 
            +
            0
         | 
| 105 | 
            +
            49
         | 
| 106 | 
            +
            5
         | 
| 107 | 
            +
            4
         | 
| 108 | 
            +
            15
         | 
| 109 | 
            +
            99
         | 
| 110 | 
            +
            7
         | 
| 111 | 
            +
            6
         | 
| 112 | 
            +
            7
         | 
| 113 | 
            +
            7
         | 
| 114 | 
            +
            65
         | 
| 115 | 
            +
            67
         | 
| 116 | 
            +
            49
         | 
| 117 | 
            +
            4
         | 
| 118 | 
            +
            0
         | 
| 119 | 
            +
            49
         | 
| 120 | 
            +
            5
         | 
| 121 | 
            +
            4
         | 
| 122 | 
            +
            11
         | 
| 123 | 
            +
            I
         | 
| 124 | 
            +
            5
         | 
| 125 | 
            +
            I
         | 
| 126 | 
            +
            0
         | 
| 127 | 
            +
            I
         | 
| 128 | 
            +
            0
         | 
| 129 | 
            +
            I
         | 
| 130 | 
            +
            0
         | 
| 131 | 
            +
            n
         | 
| 132 | 
            +
            p
         | 
| 133 | 
            +
            8
         | 
| 134 | 
            +
            x
         | 
| 135 | 
            +
            28
         | 
| 136 | 
            +
            authenticate_resource_owner!
         | 
| 137 | 
            +
            x
         | 
| 138 | 
            +
            13
         | 
| 139 | 
            +
            before_filter
         | 
| 140 | 
            +
            x
         | 
| 141 | 
            +
            5
         | 
| 142 | 
            +
            index
         | 
| 143 | 
            +
            M
         | 
| 144 | 
            +
            1
         | 
| 145 | 
            +
            n
         | 
| 146 | 
            +
            n
         | 
| 147 | 
            +
            x
         | 
| 148 | 
            +
            5
         | 
| 149 | 
            +
            index
         | 
| 150 | 
            +
            i
         | 
| 151 | 
            +
            12
         | 
| 152 | 
            +
            45
         | 
| 153 | 
            +
            0
         | 
| 154 | 
            +
            1
         | 
| 155 | 
            +
            5
         | 
| 156 | 
            +
            48
         | 
| 157 | 
            +
            2
         | 
| 158 | 
            +
            49
         | 
| 159 | 
            +
            3
         | 
| 160 | 
            +
            1
         | 
| 161 | 
            +
            38
         | 
| 162 | 
            +
            4
         | 
| 163 | 
            +
            11
         | 
| 164 | 
            +
            I
         | 
| 165 | 
            +
            2
         | 
| 166 | 
            +
            I
         | 
| 167 | 
            +
            0
         | 
| 168 | 
            +
            I
         | 
| 169 | 
            +
            0
         | 
| 170 | 
            +
            I
         | 
| 171 | 
            +
            0
         | 
| 172 | 
            +
            n
         | 
| 173 | 
            +
            p
         | 
| 174 | 
            +
            5
         | 
| 175 | 
            +
            x
         | 
| 176 | 
            +
            11
         | 
| 177 | 
            +
            Application
         | 
| 178 | 
            +
            n
         | 
| 179 | 
            +
            x
         | 
| 180 | 
            +
            22
         | 
| 181 | 
            +
            current_resource_owner
         | 
| 182 | 
            +
            x
         | 
| 183 | 
            +
            14
         | 
| 184 | 
            +
            authorized_for
         | 
| 185 | 
            +
            x
         | 
| 186 | 
            +
            13
         | 
| 187 | 
            +
            @applications
         | 
| 188 | 
            +
            p
         | 
| 189 | 
            +
            5
         | 
| 190 | 
            +
            I
         | 
| 191 | 
            +
            -1
         | 
| 192 | 
            +
            I
         | 
| 193 | 
            +
            4
         | 
| 194 | 
            +
            I
         | 
| 195 | 
            +
            0
         | 
| 196 | 
            +
            I
         | 
| 197 | 
            +
            5
         | 
| 198 | 
            +
            I
         | 
| 199 | 
            +
            c
         | 
| 200 | 
            +
            x
         | 
| 201 | 
            +
            104
         | 
| 202 | 
            +
            /Users/felipeelias/Applicake/doorkeeper/app/controllers/doorkeeper/authorized_applications_controller.rb
         | 
| 203 | 
            +
            p
         | 
| 204 | 
            +
            0
         | 
| 205 | 
            +
            x
         | 
| 206 | 
            +
            17
         | 
| 207 | 
            +
            method_visibility
         | 
| 208 | 
            +
            x
         | 
| 209 | 
            +
            15
         | 
| 210 | 
            +
            add_defn_method
         | 
| 211 | 
            +
            x
         | 
| 212 | 
            +
            7
         | 
| 213 | 
            +
            destroy
         | 
| 214 | 
            +
            M
         | 
| 215 | 
            +
            1
         | 
| 216 | 
            +
            n
         | 
| 217 | 
            +
            n
         | 
| 218 | 
            +
            x
         | 
| 219 | 
            +
            7
         | 
| 220 | 
            +
            destroy
         | 
| 221 | 
            +
            i
         | 
| 222 | 
            +
            52
         | 
| 223 | 
            +
            45
         | 
| 224 | 
            +
            0
         | 
| 225 | 
            +
            1
         | 
| 226 | 
            +
            5
         | 
| 227 | 
            +
            48
         | 
| 228 | 
            +
            2
         | 
| 229 | 
            +
            7
         | 
| 230 | 
            +
            3
         | 
| 231 | 
            +
            49
         | 
| 232 | 
            +
            4
         | 
| 233 | 
            +
            1
         | 
| 234 | 
            +
            5
         | 
| 235 | 
            +
            48
         | 
| 236 | 
            +
            5
         | 
| 237 | 
            +
            49
         | 
| 238 | 
            +
            6
         | 
| 239 | 
            +
            2
         | 
| 240 | 
            +
            19
         | 
| 241 | 
            +
            0
         | 
| 242 | 
            +
            15
         | 
| 243 | 
            +
            20
         | 
| 244 | 
            +
            0
         | 
| 245 | 
            +
            49
         | 
| 246 | 
            +
            7
         | 
| 247 | 
            +
            0
         | 
| 248 | 
            +
            15
         | 
| 249 | 
            +
            5
         | 
| 250 | 
            +
            5
         | 
| 251 | 
            +
            48
         | 
| 252 | 
            +
            8
         | 
| 253 | 
            +
            44
         | 
| 254 | 
            +
            43
         | 
| 255 | 
            +
            9
         | 
| 256 | 
            +
            79
         | 
| 257 | 
            +
            49
         | 
| 258 | 
            +
            10
         | 
| 259 | 
            +
            1
         | 
| 260 | 
            +
            13
         | 
| 261 | 
            +
            7
         | 
| 262 | 
            +
            11
         | 
| 263 | 
            +
            7
         | 
| 264 | 
            +
            12
         | 
| 265 | 
            +
            64
         | 
| 266 | 
            +
            49
         | 
| 267 | 
            +
            13
         | 
| 268 | 
            +
            2
         | 
| 269 | 
            +
            15
         | 
| 270 | 
            +
            47
         | 
| 271 | 
            +
            49
         | 
| 272 | 
            +
            14
         | 
| 273 | 
            +
            2
         | 
| 274 | 
            +
            11
         | 
| 275 | 
            +
            I
         | 
| 276 | 
            +
            7
         | 
| 277 | 
            +
            I
         | 
| 278 | 
            +
            1
         | 
| 279 | 
            +
            I
         | 
| 280 | 
            +
            0
         | 
| 281 | 
            +
            I
         | 
| 282 | 
            +
            0
         | 
| 283 | 
            +
            n
         | 
| 284 | 
            +
            p
         | 
| 285 | 
            +
            15
         | 
| 286 | 
            +
            x
         | 
| 287 | 
            +
            11
         | 
| 288 | 
            +
            AccessToken
         | 
| 289 | 
            +
            n
         | 
| 290 | 
            +
            x
         | 
| 291 | 
            +
            6
         | 
| 292 | 
            +
            params
         | 
| 293 | 
            +
            x
         | 
| 294 | 
            +
            2
         | 
| 295 | 
            +
            id
         | 
| 296 | 
            +
            x
         | 
| 297 | 
            +
            2
         | 
| 298 | 
            +
            []
         | 
| 299 | 
            +
            x
         | 
| 300 | 
            +
            22
         | 
| 301 | 
            +
            current_resource_owner
         | 
| 302 | 
            +
            x
         | 
| 303 | 
            +
            14
         | 
| 304 | 
            +
            authorized_for
         | 
| 305 | 
            +
            x
         | 
| 306 | 
            +
            6
         | 
| 307 | 
            +
            revoke
         | 
| 308 | 
            +
            x
         | 
| 309 | 
            +
            28
         | 
| 310 | 
            +
            authorized_applications_path
         | 
| 311 | 
            +
            x
         | 
| 312 | 
            +
            4
         | 
| 313 | 
            +
            Hash
         | 
| 314 | 
            +
            x
         | 
| 315 | 
            +
            16
         | 
| 316 | 
            +
            new_from_literal
         | 
| 317 | 
            +
            x
         | 
| 318 | 
            +
            6
         | 
| 319 | 
            +
            notice
         | 
| 320 | 
            +
            s
         | 
| 321 | 
            +
            20
         | 
| 322 | 
            +
            Application revoked.
         | 
| 323 | 
            +
            x
         | 
| 324 | 
            +
            3
         | 
| 325 | 
            +
            []=
         | 
| 326 | 
            +
            x
         | 
| 327 | 
            +
            11
         | 
| 328 | 
            +
            redirect_to
         | 
| 329 | 
            +
            p
         | 
| 330 | 
            +
            9
         | 
| 331 | 
            +
            I
         | 
| 332 | 
            +
            -1
         | 
| 333 | 
            +
            I
         | 
| 334 | 
            +
            8
         | 
| 335 | 
            +
            I
         | 
| 336 | 
            +
            0
         | 
| 337 | 
            +
            I
         | 
| 338 | 
            +
            9
         | 
| 339 | 
            +
            I
         | 
| 340 | 
            +
            14
         | 
| 341 | 
            +
            I
         | 
| 342 | 
            +
            a
         | 
| 343 | 
            +
            I
         | 
| 344 | 
            +
            1a
         | 
| 345 | 
            +
            I
         | 
| 346 | 
            +
            b
         | 
| 347 | 
            +
            I
         | 
| 348 | 
            +
            34
         | 
| 349 | 
            +
            x
         | 
| 350 | 
            +
            104
         | 
| 351 | 
            +
            /Users/felipeelias/Applicake/doorkeeper/app/controllers/doorkeeper/authorized_applications_controller.rb
         | 
| 352 | 
            +
            p
         | 
| 353 | 
            +
            1
         | 
| 354 | 
            +
            x
         | 
| 355 | 
            +
            5
         | 
| 356 | 
            +
            token
         | 
| 357 | 
            +
            p
         | 
| 358 | 
            +
            7
         | 
| 359 | 
            +
            I
         | 
| 360 | 
            +
            2
         | 
| 361 | 
            +
            I
         | 
| 362 | 
            +
            2
         | 
| 363 | 
            +
            I
         | 
| 364 | 
            +
            a
         | 
| 365 | 
            +
            I
         | 
| 366 | 
            +
            4
         | 
| 367 | 
            +
            I
         | 
| 368 | 
            +
            18
         | 
| 369 | 
            +
            I
         | 
| 370 | 
            +
            8
         | 
| 371 | 
            +
            I
         | 
| 372 | 
            +
            26
         | 
| 373 | 
            +
            x
         | 
| 374 | 
            +
            104
         | 
| 375 | 
            +
            /Users/felipeelias/Applicake/doorkeeper/app/controllers/doorkeeper/authorized_applications_controller.rb
         | 
| 376 | 
            +
            p
         | 
| 377 | 
            +
            0
         | 
| 378 | 
            +
            x
         | 
| 379 | 
            +
            13
         | 
| 380 | 
            +
            attach_method
         | 
| 381 | 
            +
            p
         | 
| 382 | 
            +
            3
         | 
| 383 | 
            +
            I
         | 
| 384 | 
            +
            0
         | 
| 385 | 
            +
            I
         | 
| 386 | 
            +
            1
         | 
| 387 | 
            +
            I
         | 
| 388 | 
            +
            23
         | 
| 389 | 
            +
            x
         | 
| 390 | 
            +
            104
         | 
| 391 | 
            +
            /Users/felipeelias/Applicake/doorkeeper/app/controllers/doorkeeper/authorized_applications_controller.rb
         | 
| 392 | 
            +
            p
         | 
| 393 | 
            +
            0
         | 
    
        data/app/models/access_grant.rb
    CHANGED
    
    
    
        data/app/models/access_grant.rbc
    CHANGED
    
    | @@ -78,7 +78,7 @@ x | |
| 78 78 | 
             
            11
         | 
| 79 79 | 
             
            AccessGrant
         | 
| 80 80 | 
             
            i
         | 
| 81 | 
            -
             | 
| 81 | 
            +
            174
         | 
| 82 82 | 
             
            5
         | 
| 83 83 | 
             
            66
         | 
| 84 84 | 
             
            5
         | 
| @@ -97,16 +97,11 @@ i | |
| 97 97 | 
             
            5
         | 
| 98 98 | 
             
            7
         | 
| 99 99 | 
             
            5
         | 
| 100 | 
            -
            64
         | 
| 101 | 
            -
            13
         | 
| 102 | 
            -
            18
         | 
| 103 | 
            -
            2
         | 
| 104 100 | 
             
            47
         | 
| 105 101 | 
             
            49
         | 
| 106 102 | 
             
            6
         | 
| 107 103 | 
             
            1
         | 
| 108 104 | 
             
            15
         | 
| 109 | 
            -
            15
         | 
| 110 105 | 
             
            5
         | 
| 111 106 | 
             
            7
         | 
| 112 107 | 
             
            7
         | 
| @@ -198,15 +193,43 @@ i | |
| 198 193 | 
             
            26
         | 
| 199 194 | 
             
            4
         | 
| 200 195 | 
             
            15
         | 
| 196 | 
            +
            99
         | 
| 197 | 
            +
            7
         | 
| 198 | 
            +
            29
         | 
| 199 | 
            +
            7
         | 
| 200 | 
            +
            30
         | 
| 201 | 
            +
            65
         | 
| 202 | 
            +
            67
         | 
| 203 | 
            +
            49
         | 
| 204 | 
            +
            25
         | 
| 205 | 
            +
            0
         | 
| 206 | 
            +
            49
         | 
| 207 | 
            +
            26
         | 
| 208 | 
            +
            4
         | 
| 209 | 
            +
            15
         | 
| 210 | 
            +
            99
         | 
| 211 | 
            +
            7
         | 
| 212 | 
            +
            31
         | 
| 213 | 
            +
            7
         | 
| 214 | 
            +
            32
         | 
| 215 | 
            +
            65
         | 
| 216 | 
            +
            67
         | 
| 217 | 
            +
            49
         | 
| 218 | 
            +
            25
         | 
| 219 | 
            +
            0
         | 
| 220 | 
            +
            49
         | 
| 221 | 
            +
            26
         | 
| 222 | 
            +
            4
         | 
| 223 | 
            +
            15
         | 
| 201 224 | 
             
            5
         | 
| 202 225 | 
             
            48
         | 
| 203 | 
            -
             | 
| 226 | 
            +
            33
         | 
| 204 227 | 
             
            15
         | 
| 205 228 | 
             
            99
         | 
| 206 229 | 
             
            7
         | 
| 207 | 
            -
             | 
| 230 | 
            +
            34
         | 
| 208 231 | 
             
            7
         | 
| 209 | 
            -
             | 
| 232 | 
            +
            35
         | 
| 210 233 | 
             
            65
         | 
| 211 234 | 
             
            67
         | 
| 212 235 | 
             
            49
         | 
| @@ -220,7 +243,7 @@ i | |
| 220 243 | 
             
            7
         | 
| 221 244 | 
             
            19
         | 
| 222 245 | 
             
            7
         | 
| 223 | 
            -
             | 
| 246 | 
            +
            36
         | 
| 224 247 | 
             
            65
         | 
| 225 248 | 
             
            67
         | 
| 226 249 | 
             
            49
         | 
| @@ -240,7 +263,7 @@ I | |
| 240 263 | 
             
            0
         | 
| 241 264 | 
             
            n
         | 
| 242 265 | 
             
            p
         | 
| 243 | 
            -
             | 
| 266 | 
            +
            37
         | 
| 244 267 | 
             
            x
         | 
| 245 268 | 
             
            10
         | 
| 246 269 | 
             
            Doorkeeper
         | 
| @@ -254,12 +277,12 @@ RandomString | |
| 254 277 | 
             
            x
         | 
| 255 278 | 
             
            7
         | 
| 256 279 | 
             
            include
         | 
| 257 | 
            -
             | 
| 280 | 
            +
            x
         | 
| 258 281 | 
             
            19
         | 
| 259 282 | 
             
            oauth_access_grants
         | 
| 260 283 | 
             
            x
         | 
| 261 | 
            -
             | 
| 262 | 
            -
             | 
| 284 | 
            +
            14
         | 
| 285 | 
            +
            set_table_name
         | 
| 263 286 | 
             
            x
         | 
| 264 287 | 
             
            11
         | 
| 265 288 | 
             
            application
         | 
| @@ -406,7 +429,7 @@ x | |
| 406 429 | 
             
            11
         | 
| 407 430 | 
             
            accessible?
         | 
| 408 431 | 
             
            i
         | 
| 409 | 
            -
             | 
| 432 | 
            +
            27
         | 
| 410 433 | 
             
            5
         | 
| 411 434 | 
             
            47
         | 
| 412 435 | 
             
            49
         | 
| @@ -418,9 +441,24 @@ i | |
| 418 441 | 
             
            8
         | 
| 419 442 | 
             
            11
         | 
| 420 443 | 
             
            3
         | 
| 444 | 
            +
            13
         | 
| 445 | 
            +
            9
         | 
| 446 | 
            +
            26
         | 
| 447 | 
            +
            15
         | 
| 448 | 
            +
            5
         | 
| 449 | 
            +
            47
         | 
| 450 | 
            +
            49
         | 
| 451 | 
            +
            1
         | 
| 452 | 
            +
            0
         | 
| 453 | 
            +
            10
         | 
| 454 | 
            +
            25
         | 
| 455 | 
            +
            2
         | 
| 456 | 
            +
            8
         | 
| 457 | 
            +
            26
         | 
| 458 | 
            +
            3
         | 
| 421 459 | 
             
            11
         | 
| 422 460 | 
             
            I
         | 
| 423 | 
            -
             | 
| 461 | 
            +
            2
         | 
| 424 462 | 
             
            I
         | 
| 425 463 | 
             
            0
         | 
| 426 464 | 
             
            I
         | 
| @@ -429,10 +467,13 @@ I | |
| 429 467 | 
             
            0
         | 
| 430 468 | 
             
            n
         | 
| 431 469 | 
             
            p
         | 
| 432 | 
            -
             | 
| 470 | 
            +
            2
         | 
| 433 471 | 
             
            x
         | 
| 434 472 | 
             
            8
         | 
| 435 473 | 
             
            expired?
         | 
| 474 | 
            +
            x
         | 
| 475 | 
            +
            8
         | 
| 476 | 
            +
            revoked?
         | 
| 436 477 | 
             
            p
         | 
| 437 478 | 
             
            5
         | 
| 438 479 | 
             
            I
         | 
| @@ -444,7 +485,127 @@ I | |
| 444 485 | 
             
            I
         | 
| 445 486 | 
             
            11
         | 
| 446 487 | 
             
            I
         | 
| 447 | 
            -
             | 
| 488 | 
            +
            1b
         | 
| 489 | 
            +
            x
         | 
| 490 | 
            +
            66
         | 
| 491 | 
            +
            /Users/felipeelias/Applicake/doorkeeper/app/models/access_grant.rb
         | 
| 492 | 
            +
            p
         | 
| 493 | 
            +
            0
         | 
| 494 | 
            +
            x
         | 
| 495 | 
            +
            6
         | 
| 496 | 
            +
            revoke
         | 
| 497 | 
            +
            M
         | 
| 498 | 
            +
            1
         | 
| 499 | 
            +
            n
         | 
| 500 | 
            +
            n
         | 
| 501 | 
            +
            x
         | 
| 502 | 
            +
            6
         | 
| 503 | 
            +
            revoke
         | 
| 504 | 
            +
            i
         | 
| 505 | 
            +
            14
         | 
| 506 | 
            +
            5
         | 
| 507 | 
            +
            7
         | 
| 508 | 
            +
            0
         | 
| 509 | 
            +
            45
         | 
| 510 | 
            +
            1
         | 
| 511 | 
            +
            2
         | 
| 512 | 
            +
            49
         | 
| 513 | 
            +
            3
         | 
| 514 | 
            +
            0
         | 
| 515 | 
            +
            47
         | 
| 516 | 
            +
            49
         | 
| 517 | 
            +
            4
         | 
| 518 | 
            +
            2
         | 
| 519 | 
            +
            11
         | 
| 520 | 
            +
            I
         | 
| 521 | 
            +
            3
         | 
| 522 | 
            +
            I
         | 
| 523 | 
            +
            0
         | 
| 524 | 
            +
            I
         | 
| 525 | 
            +
            0
         | 
| 526 | 
            +
            I
         | 
| 527 | 
            +
            0
         | 
| 528 | 
            +
            n
         | 
| 529 | 
            +
            p
         | 
| 530 | 
            +
            5
         | 
| 531 | 
            +
            x
         | 
| 532 | 
            +
            10
         | 
| 533 | 
            +
            revoked_at
         | 
| 534 | 
            +
            x
         | 
| 535 | 
            +
            8
         | 
| 536 | 
            +
            DateTime
         | 
| 537 | 
            +
            n
         | 
| 538 | 
            +
            x
         | 
| 539 | 
            +
            3
         | 
| 540 | 
            +
            now
         | 
| 541 | 
            +
            x
         | 
| 542 | 
            +
            16
         | 
| 543 | 
            +
            update_attribute
         | 
| 544 | 
            +
            p
         | 
| 545 | 
            +
            5
         | 
| 546 | 
            +
            I
         | 
| 547 | 
            +
            -1
         | 
| 548 | 
            +
            I
         | 
| 549 | 
            +
            14
         | 
| 550 | 
            +
            I
         | 
| 551 | 
            +
            0
         | 
| 552 | 
            +
            I
         | 
| 553 | 
            +
            15
         | 
| 554 | 
            +
            I
         | 
| 555 | 
            +
            e
         | 
| 556 | 
            +
            x
         | 
| 557 | 
            +
            66
         | 
| 558 | 
            +
            /Users/felipeelias/Applicake/doorkeeper/app/models/access_grant.rb
         | 
| 559 | 
            +
            p
         | 
| 560 | 
            +
            0
         | 
| 561 | 
            +
            x
         | 
| 562 | 
            +
            8
         | 
| 563 | 
            +
            revoked?
         | 
| 564 | 
            +
            M
         | 
| 565 | 
            +
            1
         | 
| 566 | 
            +
            n
         | 
| 567 | 
            +
            n
         | 
| 568 | 
            +
            x
         | 
| 569 | 
            +
            8
         | 
| 570 | 
            +
            revoked?
         | 
| 571 | 
            +
            i
         | 
| 572 | 
            +
            7
         | 
| 573 | 
            +
            5
         | 
| 574 | 
            +
            48
         | 
| 575 | 
            +
            0
         | 
| 576 | 
            +
            49
         | 
| 577 | 
            +
            1
         | 
| 578 | 
            +
            0
         | 
| 579 | 
            +
            11
         | 
| 580 | 
            +
            I
         | 
| 581 | 
            +
            1
         | 
| 582 | 
            +
            I
         | 
| 583 | 
            +
            0
         | 
| 584 | 
            +
            I
         | 
| 585 | 
            +
            0
         | 
| 586 | 
            +
            I
         | 
| 587 | 
            +
            0
         | 
| 588 | 
            +
            n
         | 
| 589 | 
            +
            p
         | 
| 590 | 
            +
            2
         | 
| 591 | 
            +
            x
         | 
| 592 | 
            +
            10
         | 
| 593 | 
            +
            revoked_at
         | 
| 594 | 
            +
            x
         | 
| 595 | 
            +
            8
         | 
| 596 | 
            +
            present?
         | 
| 597 | 
            +
            p
         | 
| 598 | 
            +
            5
         | 
| 599 | 
            +
            I
         | 
| 600 | 
            +
            -1
         | 
| 601 | 
            +
            I
         | 
| 602 | 
            +
            18
         | 
| 603 | 
            +
            I
         | 
| 604 | 
            +
            0
         | 
| 605 | 
            +
            I
         | 
| 606 | 
            +
            19
         | 
| 607 | 
            +
            I
         | 
| 608 | 
            +
            7
         | 
| 448 609 | 
             
            x
         | 
| 449 610 | 
             
            66
         | 
| 450 611 | 
             
            /Users/felipeelias/Applicake/doorkeeper/app/models/access_grant.rb
         | 
| @@ -506,11 +667,11 @@ p | |
| 506 667 | 
             
            I
         | 
| 507 668 | 
             
            -1
         | 
| 508 669 | 
             
            I
         | 
| 509 | 
            -
             | 
| 670 | 
            +
            1e
         | 
| 510 671 | 
             
            I
         | 
| 511 672 | 
             
            0
         | 
| 512 673 | 
             
            I
         | 
| 513 | 
            -
             | 
| 674 | 
            +
            1f
         | 
| 514 675 | 
             
            I
         | 
| 515 676 | 
             
            d
         | 
| 516 677 | 
             
            x
         | 
| @@ -569,15 +730,15 @@ p | |
| 569 730 | 
             
            I
         | 
| 570 731 | 
             
            -1
         | 
| 571 732 | 
             
            I
         | 
| 572 | 
            -
             | 
| 733 | 
            +
            22
         | 
| 573 734 | 
             
            I
         | 
| 574 735 | 
             
            0
         | 
| 575 736 | 
             
            I
         | 
| 576 | 
            -
             | 
| 737 | 
            +
            25
         | 
| 577 738 | 
             
            I
         | 
| 578 739 | 
             
            1
         | 
| 579 740 | 
             
            I
         | 
| 580 | 
            -
             | 
| 741 | 
            +
            23
         | 
| 581 742 | 
             
            I
         | 
| 582 743 | 
             
            11
         | 
| 583 744 | 
             
            x
         | 
| @@ -586,7 +747,7 @@ x | |
| 586 747 | 
             
            p
         | 
| 587 748 | 
             
            0
         | 
| 588 749 | 
             
            p
         | 
| 589 | 
            -
             | 
| 750 | 
            +
            25
         | 
| 590 751 | 
             
            I
         | 
| 591 752 | 
             
            2
         | 
| 592 753 | 
             
            I
         | 
| @@ -594,45 +755,49 @@ I | |
| 594 755 | 
             
            I
         | 
| 595 756 | 
             
            f
         | 
| 596 757 | 
             
            I
         | 
| 597 | 
            -
            1d
         | 
| 598 | 
            -
            I
         | 
| 599 | 
            -
            10
         | 
| 600 | 
            -
            I
         | 
| 601 758 | 
             
            4
         | 
| 602 759 | 
             
            I
         | 
| 603 | 
            -
             | 
| 760 | 
            +
            17
         | 
| 604 761 | 
             
            I
         | 
| 605 762 | 
             
            6
         | 
| 606 763 | 
             
            I
         | 
| 607 | 
            -
             | 
| 764 | 
            +
            1f
         | 
| 608 765 | 
             
            I
         | 
| 609 766 | 
             
            8
         | 
| 610 767 | 
             
            I
         | 
| 611 | 
            -
             | 
| 768 | 
            +
            3e
         | 
| 612 769 | 
             
            I
         | 
| 613 770 | 
             
            a
         | 
| 614 771 | 
             
            I
         | 
| 615 | 
            -
             | 
| 772 | 
            +
            56
         | 
| 616 773 | 
             
            I
         | 
| 617 774 | 
             
            c
         | 
| 618 775 | 
             
            I
         | 
| 619 | 
            -
             | 
| 776 | 
            +
            64
         | 
| 620 777 | 
             
            I
         | 
| 621 778 | 
             
            10
         | 
| 622 779 | 
             
            I
         | 
| 623 | 
            -
             | 
| 780 | 
            +
            72
         | 
| 624 781 | 
             
            I
         | 
| 625 782 | 
             
            14
         | 
| 626 783 | 
             
            I
         | 
| 627 | 
            -
             | 
| 784 | 
            +
            80
         | 
| 628 785 | 
             
            I
         | 
| 629 | 
            -
             | 
| 786 | 
            +
            18
         | 
| 630 787 | 
             
            I
         | 
| 631 | 
            -
             | 
| 788 | 
            +
            8e
         | 
| 632 789 | 
             
            I
         | 
| 633 | 
            -
             | 
| 790 | 
            +
            1c
         | 
| 791 | 
            +
            I
         | 
| 792 | 
            +
            92
         | 
| 793 | 
            +
            I
         | 
| 794 | 
            +
            1e
         | 
| 795 | 
            +
            I
         | 
| 796 | 
            +
            a0
         | 
| 797 | 
            +
            I
         | 
| 798 | 
            +
            22
         | 
| 634 799 | 
             
            I
         | 
| 635 | 
            -
             | 
| 800 | 
            +
            ae
         | 
| 636 801 | 
             
            x
         | 
| 637 802 | 
             
            66
         | 
| 638 803 | 
             
            /Users/felipeelias/Applicake/doorkeeper/app/models/access_grant.rb
         |