tp_client 0.2.6 → 0.3.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 +4 -4
 - data/.travis.yml +12 -10
 - data/README.md +1 -1
 - data/lib/tiny_client/response_error.rb +4 -0
 - data/tp_client.gemspec +3 -3
 - metadata +19 -19
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 3b5185c4e16ff6f5ae480f6300067e3c52693df77276580d985d490603c08748
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 011101e52bd1a31970a5d5f2b1f4ef1bac69605c04b7eebbf0a1373de562add4
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 8a80ab585dfe039fd35149d630c387742747424d6a4404728f503fb88a130564833ae206cdda31b2bf430ad8ee07b99eb1b1711e595352de02011b0b5ae097f1
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: b7f4ceaed80575c6ca59e59e7ed0ddf7e12352cd699ed7b01cb7ccb349a09904383989cb1855f660cd940350a8f968211ada1ac4b38df24228065a3084d0c431
         
     | 
    
        data/.travis.yml
    CHANGED
    
    | 
         @@ -7,27 +7,29 @@ jobs: 
     | 
|
| 
       7 
7 
     | 
    
         
             
              fast_finish: true
         
     | 
| 
       8 
8 
     | 
    
         
             
              include:
         
     | 
| 
       9 
9 
     | 
    
         
             
                - stage: Test
         
     | 
| 
       10 
     | 
    
         
            -
                  rvm: 2.4. 
     | 
| 
      
 10 
     | 
    
         
            +
                  rvm: 2.4.10
         
     | 
| 
       11 
11 
     | 
    
         
             
                  gemfile: gemfiles/activesupport_4.2.gemfile
         
     | 
| 
       12 
     | 
    
         
            -
                - rvm: 2.4. 
     | 
| 
      
 12 
     | 
    
         
            +
                - rvm: 2.4.10
         
     | 
| 
       13 
13 
     | 
    
         
             
                  gemfile: gemfiles/activesupport_5.1.gemfile
         
     | 
| 
       14 
     | 
    
         
            -
                - rvm: 2.5. 
     | 
| 
      
 14 
     | 
    
         
            +
                - rvm: 2.5.9
         
     | 
| 
       15 
15 
     | 
    
         
             
                  gemfile: gemfiles/activesupport_5.1.gemfile
         
     | 
| 
       16 
     | 
    
         
            -
                - rvm: 2.5. 
     | 
| 
      
 16 
     | 
    
         
            +
                - rvm: 2.5.9
         
     | 
| 
       17 
17 
     | 
    
         
             
                  gemfile: gemfiles/activesupport_5.2.gemfile
         
     | 
| 
       18 
     | 
    
         
            -
                - rvm: 2.5. 
     | 
| 
      
 18 
     | 
    
         
            +
                - rvm: 2.5.9
         
     | 
| 
       19 
19 
     | 
    
         
             
                  gemfile: gemfiles/activesupport_6.gemfile
         
     | 
| 
       20 
     | 
    
         
            -
                - rvm: 2.6. 
     | 
| 
      
 20 
     | 
    
         
            +
                - rvm: 2.6.10
         
     | 
| 
       21 
21 
     | 
    
         
             
                  gemfile: gemfiles/activesupport_5.2.gemfile
         
     | 
| 
       22 
     | 
    
         
            -
                - rvm: 2.6. 
     | 
| 
      
 22 
     | 
    
         
            +
                - rvm: 2.6.10
         
     | 
| 
       23 
23 
     | 
    
         
             
                  gemfile: gemfiles/activesupport_6.gemfile
         
     | 
| 
       24 
     | 
    
         
            -
                - rvm: 2.7. 
     | 
| 
      
 24 
     | 
    
         
            +
                - rvm: 2.7.7
         
     | 
| 
       25 
25 
     | 
    
         
             
                  gemfile: gemfiles/activesupport_5.2.gemfile
         
     | 
| 
       26 
     | 
    
         
            -
                - rvm: 2.7. 
     | 
| 
      
 26 
     | 
    
         
            +
                - rvm: 2.7.7
         
     | 
| 
      
 27 
     | 
    
         
            +
                  gemfile: gemfiles/activesupport_6.gemfile
         
     | 
| 
      
 28 
     | 
    
         
            +
                - rvm: 3.0.5
         
     | 
| 
       27 
29 
     | 
    
         
             
                  gemfile: gemfiles/activesupport_6.gemfile
         
     | 
| 
       28 
30 
     | 
    
         
             
                - if: tag IS present
         
     | 
| 
       29 
31 
     | 
    
         
             
                  stage: Release Gem
         
     | 
| 
       30 
     | 
    
         
            -
                  rvm: 2.5. 
     | 
| 
      
 32 
     | 
    
         
            +
                  rvm: 2.5.9
         
     | 
| 
       31 
33 
     | 
    
         
             
                  gemfile: gemfiles/activesupport_5.1.gemfile
         
     | 
| 
       32 
34 
     | 
    
         
             
                  script: skip
         
     | 
| 
       33 
35 
     | 
    
         
             
                  deploy:
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -16,7 +16,7 @@ gem install tp_client 
     | 
|
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
            ```ruby
         
     | 
| 
       18 
18 
     | 
    
         
             
            # As gem main class is different from gem name, we must require file name explicitly
         
     | 
| 
       19 
     | 
    
         
            -
            gem 'tp_client', '~> 0. 
     | 
| 
      
 19 
     | 
    
         
            +
            gem 'tp_client', '~> 0.3.0', require: 'tiny_client'
         
     | 
| 
       20 
20 
     | 
    
         
             
            ```
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
22 
     | 
    
         
             
            Please notice, we have 2 similar gems:
         
     | 
    
        data/tp_client.gemspec
    CHANGED
    
    | 
         @@ -1,8 +1,8 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Gem::Specification.new do |s|
         
     | 
| 
       2 
2 
     | 
    
         
             
              s.platform = Gem::Platform::RUBY
         
     | 
| 
       3 
3 
     | 
    
         
             
              s.name     = 'tp_client'
         
     | 
| 
       4 
     | 
    
         
            -
              s.version  = '0. 
     | 
| 
       5 
     | 
    
         
            -
              s.authors  = ['TINYpulse  
     | 
| 
      
 4 
     | 
    
         
            +
              s.version  = '0.3.0'
         
     | 
| 
      
 5 
     | 
    
         
            +
              s.authors  = ['TINYpulse DevOps']
         
     | 
| 
       6 
6 
     | 
    
         
             
              s.email    = 'devops@tinypulse.com'
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
              s.license = 'MIT'
         
     | 
| 
         @@ -29,7 +29,7 @@ Gem::Specification.new do |s| 
     | 
|
| 
       29 
29 
     | 
    
         
             
              s.rdoc_options     = ['--main', 'README.md']
         
     | 
| 
       30 
30 
     | 
    
         
             
              s.extra_rdoc_files = ['LICENSE', 'README.md']
         
     | 
| 
       31 
31 
     | 
    
         | 
| 
       32 
     | 
    
         
            -
              s.add_runtime_dependency 'curb',          ' 
     | 
| 
      
 32 
     | 
    
         
            +
              s.add_runtime_dependency 'curb',          '>= 0.9.11', '< 1.1'
         
     | 
| 
       33 
33 
     | 
    
         
             
              s.add_runtime_dependency 'activesupport', '>= 4.0',  '< 7.0'
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
35 
     | 
    
         
             
              s.add_development_dependency 'appraisal', '~> 2.2', '>= 2.2.0'
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,35 +1,35 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: tp_client
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.3.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
     | 
    
         
            -
            - TINYpulse  
     | 
| 
       8 
     | 
    
         
            -
            autorequire: 
     | 
| 
      
 7 
     | 
    
         
            +
            - TINYpulse DevOps
         
     | 
| 
      
 8 
     | 
    
         
            +
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-02-25 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: curb
         
     | 
| 
       15 
15 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       16 
16 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
     | 
    
         
            -
                - - " 
     | 
| 
      
 17 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       18 
18 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
     | 
    
         
            -
                    version: 0. 
     | 
| 
      
 19 
     | 
    
         
            +
                    version: 0.9.11
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - "<"
         
     | 
| 
       21 
21 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
     | 
    
         
            -
                    version: 1. 
     | 
| 
      
 22 
     | 
    
         
            +
                    version: '1.1'
         
     | 
| 
       23 
23 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       24 
24 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       25 
25 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       26 
26 
     | 
    
         
             
                requirements:
         
     | 
| 
       27 
     | 
    
         
            -
                - - " 
     | 
| 
      
 27 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       28 
28 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       29 
     | 
    
         
            -
                    version: 0. 
     | 
| 
      
 29 
     | 
    
         
            +
                    version: 0.9.11
         
     | 
| 
       30 
30 
     | 
    
         
             
                - - "<"
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
     | 
    
         
            -
                    version: 1. 
     | 
| 
      
 32 
     | 
    
         
            +
                    version: '1.1'
         
     | 
| 
       33 
33 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       34 
34 
     | 
    
         
             
              name: activesupport
         
     | 
| 
       35 
35 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -54,22 +54,22 @@ dependencies: 
     | 
|
| 
       54 
54 
     | 
    
         
             
              name: appraisal
         
     | 
| 
       55 
55 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       56 
56 
     | 
    
         
             
                requirements:
         
     | 
| 
       57 
     | 
    
         
            -
                - - ">="
         
     | 
| 
       58 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       59 
     | 
    
         
            -
                    version: 2.2.0
         
     | 
| 
       60 
57 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       61 
58 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       62 
59 
     | 
    
         
             
                    version: '2.2'
         
     | 
| 
      
 60 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 61 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 62 
     | 
    
         
            +
                    version: 2.2.0
         
     | 
| 
       63 
63 
     | 
    
         
             
              type: :development
         
     | 
| 
       64 
64 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       65 
65 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       66 
66 
     | 
    
         
             
                requirements:
         
     | 
| 
       67 
     | 
    
         
            -
                - - ">="
         
     | 
| 
       68 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       69 
     | 
    
         
            -
                    version: 2.2.0
         
     | 
| 
       70 
67 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       71 
68 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       72 
69 
     | 
    
         
             
                    version: '2.2'
         
     | 
| 
      
 70 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 71 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 72 
     | 
    
         
            +
                    version: 2.2.0
         
     | 
| 
       73 
73 
     | 
    
         
             
            description: TINYclient is an HTTP/JSON crud toolkit inspired by ActiveRecord and
         
     | 
| 
       74 
74 
     | 
    
         
             
              based on Curb.
         
     | 
| 
       75 
75 
     | 
    
         
             
            email: devops@tinypulse.com
         
     | 
| 
         @@ -112,7 +112,7 @@ licenses: 
     | 
|
| 
       112 
112 
     | 
    
         
             
            metadata:
         
     | 
| 
       113 
113 
     | 
    
         
             
              allowed_push_host: https://rubygems.org
         
     | 
| 
       114 
114 
     | 
    
         
             
              homepage_uri: https://github.com/TINYhr/tiny_client
         
     | 
| 
       115 
     | 
    
         
            -
            post_install_message: 
     | 
| 
      
 115 
     | 
    
         
            +
            post_install_message:
         
     | 
| 
       116 
116 
     | 
    
         
             
            rdoc_options:
         
     | 
| 
       117 
117 
     | 
    
         
             
            - "--main"
         
     | 
| 
       118 
118 
     | 
    
         
             
            - README.md
         
     | 
| 
         @@ -130,8 +130,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       130 
130 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       131 
131 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       132 
132 
     | 
    
         
             
            requirements: []
         
     | 
| 
       133 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
       134 
     | 
    
         
            -
            signing_key: 
     | 
| 
      
 133 
     | 
    
         
            +
            rubygems_version: 3.2.3
         
     | 
| 
      
 134 
     | 
    
         
            +
            signing_key:
         
     | 
| 
       135 
135 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       136 
136 
     | 
    
         
             
            summary: TINYclient, an HTTP/JSON crud client toolkit.
         
     | 
| 
       137 
137 
     | 
    
         
             
            test_files: []
         
     |