openstax_accounts 9.5.1 → 9.6.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.
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 1364b5315f92f25857db5723efd47da0dda8a8d00f9d03171b30f9138cdfabab
         | 
| 4 | 
            +
              data.tar.gz: 575fe4c6617a7f3e98ee876698cb8f719256d0d16982c9386692b98778cb92ac
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 981eda25a7e6aa4548d0a7af4d16bfeaead35d1626f7a4d22b1aad3288ad26af10b24cf84a84a456418f3a9ae0e1ae0afd0de2130f7c05d5cba314497c62ef0e
         | 
| 7 | 
            +
              data.tar.gz: fba052fb63636e613e25188c25010092ffa520ce7377e3089644cd2d9b8b44b70c3999d182bbbbe772c0ee3b8c6dc1ca6bdb9496d77521e40c600c46d3d8c3ac
         | 
| @@ -8,7 +8,7 @@ module OpenStax | |
| 8 8 | 
             
                    uid = attrs.delete('id')
         | 
| 9 9 | 
             
                    uuid = attrs.delete('uuid')
         | 
| 10 10 | 
             
                    account = Account.find_or_initialize_by(uuid: uuid)
         | 
| 11 | 
            -
                    account. | 
| 11 | 
            +
                    account.update!(attrs.slice(*Account.column_names))
         | 
| 12 12 | 
             
                    transfer_errors_from(account, {type: :verbatim})
         | 
| 13 13 | 
             
                    outputs.account = account
         | 
| 14 14 | 
             
                  end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,43 +1,49 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: openstax_accounts
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 9. | 
| 4 | 
            +
              version: 9.6.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - JP Slavinsky
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2021-01-20 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rails
         | 
| 15 15 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 16 | 
             
                requirements:
         | 
| 17 | 
            -
                - - " | 
| 17 | 
            +
                - - ">="
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 19 | 
             
                    version: '5.0'
         | 
| 20 | 
            +
                - - "<"
         | 
| 21 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 22 | 
            +
                    version: '7.0'
         | 
| 20 23 | 
             
              type: :runtime
         | 
| 21 24 | 
             
              prerelease: false
         | 
| 22 25 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 26 | 
             
                requirements:
         | 
| 24 | 
            -
                - - " | 
| 27 | 
            +
                - - ">="
         | 
| 25 28 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 29 | 
             
                    version: '5.0'
         | 
| 30 | 
            +
                - - "<"
         | 
| 31 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 32 | 
            +
                    version: '7.0'
         | 
| 27 33 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 34 | 
             
              name: omniauth
         | 
| 29 35 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 36 | 
             
                requirements:
         | 
| 31 | 
            -
                - - " | 
| 37 | 
            +
                - - "<"
         | 
| 32 38 | 
             
                  - !ruby/object:Gem::Version
         | 
| 33 | 
            -
                    version: '0'
         | 
| 39 | 
            +
                    version: '2.0'
         | 
| 34 40 | 
             
              type: :runtime
         | 
| 35 41 | 
             
              prerelease: false
         | 
| 36 42 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 43 | 
             
                requirements:
         | 
| 38 | 
            -
                - - " | 
| 44 | 
            +
                - - "<"
         | 
| 39 45 | 
             
                  - !ruby/object:Gem::Version
         | 
| 40 | 
            -
                    version: '0'
         | 
| 46 | 
            +
                    version: '2.0'
         | 
| 41 47 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 42 48 | 
             
              name: omniauth-oauth2
         | 
| 43 49 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -344,6 +350,7 @@ files: | |
| 344 350 | 
             
            - db/migrate/16_add_is_kip_to_openstax_accounts_accounts.rb
         | 
| 345 351 | 
             
            - db/migrate/17_add_school_location_to_openstax_accounts_accounts.rb
         | 
| 346 352 | 
             
            - db/migrate/18_add_grant_tutor_access_to_openstax_accounts_accounts.rb
         | 
| 353 | 
            +
            - db/migrate/19_add_is_administrator_to_openstax_accounts_accounts.rb
         | 
| 347 354 | 
             
            - db/migrate/1_create_openstax_accounts_groups.rb
         | 
| 348 355 | 
             
            - db/migrate/2_create_openstax_accounts_group_members.rb
         | 
| 349 356 | 
             
            - db/migrate/3_create_openstax_accounts_group_owners.rb
         | 
| @@ -386,7 +393,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 386 393 | 
             
                - !ruby/object:Gem::Version
         | 
| 387 394 | 
             
                  version: '0'
         | 
| 388 395 | 
             
            requirements: []
         | 
| 389 | 
            -
            rubygems_version: 3. | 
| 396 | 
            +
            rubygems_version: 3.1.4
         | 
| 390 397 | 
             
            signing_key: 
         | 
| 391 398 | 
             
            specification_version: 4
         | 
| 392 399 | 
             
            summary: Rails common code and bindings for the 'accounts' API
         |