meducation_sdk 0.3.3 → 0.3.4
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 +8 -8
- data/CHANGELOG.md +4 -0
- data/lib/meducation_sdk/configuration.rb +1 -1
- data/lib/meducation_sdk/resources/mesh_heading.rb +5 -1
- data/lib/meducation_sdk/version.rb +1 -1
- data/meducation_sdk.gemspec +1 -1
- data/test/configuration_test.rb +13 -1
- metadata +5 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,15 +1,15 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            !binary "U0hBMQ==":
         | 
| 3 3 | 
             
              metadata.gz: !binary |-
         | 
| 4 | 
            -
                 | 
| 4 | 
            +
                OTIxZTg2MmU3ZGFlOWZiYmNkODRiN2IzMDBlMWVhYjIyM2JiOTU2YQ==
         | 
| 5 5 | 
             
              data.tar.gz: !binary |-
         | 
| 6 | 
            -
                 | 
| 6 | 
            +
                YTRjZmE4MjAxZjRkMjM5YWE0ZjY5MTQyOTcyNWUxN2I4M2RiNjlmMA==
         | 
| 7 7 | 
             
            SHA512:
         | 
| 8 8 | 
             
              metadata.gz: !binary |-
         | 
| 9 | 
            -
                 | 
| 10 | 
            -
                 | 
| 11 | 
            -
                 | 
| 9 | 
            +
                MGM0ZjM3MDA3YjA0ZDIzYTY4MmY2OWU1NGJkZTIyNTJmNjY0NmM2MzA0M2Jh
         | 
| 10 | 
            +
                ZjE3ZjVjMjgyODYzYzgxYzc0OWQ5MGUwYTNkZjZhZWVkNmZjMzllZGI3YzI5
         | 
| 11 | 
            +
                ZTEwOGQ1ODhmOGYzYzhjNDRkMWJjOTI2OGYzYjc5MWZhNjYxY2Y=
         | 
| 12 12 | 
             
              data.tar.gz: !binary |-
         | 
| 13 | 
            -
                 | 
| 14 | 
            -
                 | 
| 15 | 
            -
                 | 
| 13 | 
            +
                NTE0MGY5YTJkNWFiZDFjYjhjNGFhZTFhOWZmNDQxNGE4MDE1YWVmYjY2OTY5
         | 
| 14 | 
            +
                N2Y4YTZiNmM4MTc4YjIxMWJjYTEyZjc0MTBmYWRkMmFkYjFiOTM1YmU1ZjA1
         | 
| 15 | 
            +
                MDFkZTQ5NTQ5NDI0YTFmNWI5ZDgzMGE1MzlhMDBmNzY5ZGU0NDQ=
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| @@ -16,7 +16,7 @@ module MeducationSDK | |
| 16 16 | 
             
                  self.logger = Filum.logger
         | 
| 17 17 | 
             
                end
         | 
| 18 18 |  | 
| 19 | 
            -
                [:access_id, :secret_key, :endpoint].each do |setting|
         | 
| 19 | 
            +
                [:access_id, :secret_key, :endpoint, :cache].each do |setting|
         | 
| 20 20 | 
             
                  define_method "#{setting}=" do |val|
         | 
| 21 21 | 
             
                    Loquor.config.send("#{setting}=", val)
         | 
| 22 22 | 
             
                  end
         | 
    
        data/meducation_sdk.gemspec
    CHANGED
    
    | @@ -19,7 +19,7 @@ Gem::Specification.new do |spec| | |
| 19 19 | 
             
              spec.require_paths = ["lib"]
         | 
| 20 20 |  | 
| 21 21 | 
             
              spec.add_dependency "activesupport", '~> 3.2.15'
         | 
| 22 | 
            -
              spec.add_dependency "loquor", '~> 0.5. | 
| 22 | 
            +
              spec.add_dependency "loquor", '~> 0.5.4'
         | 
| 23 23 |  | 
| 24 24 | 
             
              spec.add_development_dependency "bundler", "~> 1.3"
         | 
| 25 25 | 
             
              spec.add_development_dependency "rake"
         | 
    
        data/test/configuration_test.rb
    CHANGED
    
    | @@ -26,9 +26,21 @@ module MeducationSDK | |
| 26 26 | 
             
                end
         | 
| 27 27 |  | 
| 28 28 | 
             
                def test_access_id_proxies_to_loquor
         | 
| 29 | 
            -
                  access_id = "test-access- | 
| 29 | 
            +
                  access_id = "test-access-id"
         | 
| 30 30 | 
             
                  MeducationSDK.config.access_id = access_id
         | 
| 31 31 | 
             
                  assert_equal access_id, Loquor.config.access_id
         | 
| 32 32 | 
             
                end
         | 
| 33 | 
            +
             | 
| 34 | 
            +
                def test_secret_key_proxies_to_loquor
         | 
| 35 | 
            +
                  key = "test-secret-key"
         | 
| 36 | 
            +
                  MeducationSDK.config.secret_key = key
         | 
| 37 | 
            +
                  assert_equal key, Loquor.config.secret_key
         | 
| 38 | 
            +
                end
         | 
| 39 | 
            +
             | 
| 40 | 
            +
                def test_cache_proxies_to_loquor
         | 
| 41 | 
            +
                  cache = mock()
         | 
| 42 | 
            +
                  MeducationSDK.config.cache = cache
         | 
| 43 | 
            +
                  assert_equal cache, Loquor.config.cache
         | 
| 44 | 
            +
                end
         | 
| 33 45 | 
             
              end
         | 
| 34 46 | 
             
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: meducation_sdk
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.3. | 
| 4 | 
            +
              version: 0.3.4
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Jeremy Walker
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2013-12- | 
| 11 | 
            +
            date: 2013-12-13 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: activesupport
         | 
| @@ -30,14 +30,14 @@ dependencies: | |
| 30 30 | 
             
                requirements:
         | 
| 31 31 | 
             
                - - ~>
         | 
| 32 32 | 
             
                  - !ruby/object:Gem::Version
         | 
| 33 | 
            -
                    version: 0.5. | 
| 33 | 
            +
                    version: 0.5.4
         | 
| 34 34 | 
             
              type: :runtime
         | 
| 35 35 | 
             
              prerelease: false
         | 
| 36 36 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 37 | 
             
                requirements:
         | 
| 38 38 | 
             
                - - ~>
         | 
| 39 39 | 
             
                  - !ruby/object:Gem::Version
         | 
| 40 | 
            -
                    version: 0.5. | 
| 40 | 
            +
                    version: 0.5.4
         | 
| 41 41 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 42 42 | 
             
              name: bundler
         | 
| 43 43 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -192,3 +192,4 @@ test_files: | |
| 192 192 | 
             
            - test/resources/mesh_heading_test.rb
         | 
| 193 193 | 
             
            - test/resources/user_test.rb
         | 
| 194 194 | 
             
            - test/test_helper.rb
         | 
| 195 | 
            +
            has_rdoc: 
         |