lhc 6.7.1 → 6.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lhc.rb +1 -0
- data/lib/lhc/version.rb +1 -1
- data/spec/basic_methods/request_without_rails_spec.rb +9 -0
- data/spec/spec_helper.rb +1 -0
- metadata +4 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 8e6b09ef7b4e0f1b03515fa76038d15d26b20362
         | 
| 4 | 
            +
              data.tar.gz: 8963d07d786b7636b3d4366b4dec2767aa965f93
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: b06fd0687be3c9f1664fd0b432f47f56c4ed626ef8ee7a03cd19942d441de0f33a8e3028005b53b12bf324df1a18d5b2fc18813ff8917d4a7d1b941f5e1a2f95
         | 
| 7 | 
            +
              data.tar.gz: 0b97fa787029486bb7c728013382781e011857d1b72ed9338b0000e7518678eb2d1190bd5edd24a2116a63abb6c6f63a9be6607b91edccde57e594d602849886
         | 
    
        data/lib/lhc.rb
    CHANGED
    
    
    
        data/lib/lhc/version.rb
    CHANGED
    
    
| @@ -0,0 +1,9 @@ | |
| 1 | 
            +
            require 'spec_helper'
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            describe LHC do
         | 
| 4 | 
            +
              context 'request' do
         | 
| 5 | 
            +
                it "is able to call .request without LHC raising NoMethodError: undefined method `blank?' for nil:NilClass when calling it outside of the rails context" do
         | 
| 6 | 
            +
                  expect { LHC.request(url: "http://datastore/v2/feedbacks", method: :get) }.not_to raise_error(NoMethodError)
         | 
| 7 | 
            +
                end
         | 
| 8 | 
            +
              end
         | 
| 9 | 
            +
            end
         | 
    
        data/spec/spec_helper.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: lhc
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 6.7. | 
| 4 | 
            +
              version: 6.7.2
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - https://github.com/local-ch/lhc/contributors
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2017- | 
| 11 | 
            +
            date: 2017-12-12 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: typhoeus
         | 
| @@ -224,6 +224,7 @@ files: | |
| 224 224 | 
             
            - spec/basic_methods/post_spec.rb
         | 
| 225 225 | 
             
            - spec/basic_methods/put_spec.rb
         | 
| 226 226 | 
             
            - spec/basic_methods/request_spec.rb
         | 
| 227 | 
            +
            - spec/basic_methods/request_without_rails_spec.rb
         | 
| 227 228 | 
             
            - spec/config/endpoints_spec.rb
         | 
| 228 229 | 
             
            - spec/config/placeholders_spec.rb
         | 
| 229 230 | 
             
            - spec/dummy/README.rdoc
         | 
| @@ -354,6 +355,7 @@ test_files: | |
| 354 355 | 
             
            - spec/basic_methods/post_spec.rb
         | 
| 355 356 | 
             
            - spec/basic_methods/put_spec.rb
         | 
| 356 357 | 
             
            - spec/basic_methods/request_spec.rb
         | 
| 358 | 
            +
            - spec/basic_methods/request_without_rails_spec.rb
         | 
| 357 359 | 
             
            - spec/config/endpoints_spec.rb
         | 
| 358 360 | 
             
            - spec/config/placeholders_spec.rb
         | 
| 359 361 | 
             
            - spec/dummy/README.rdoc
         |