tp_client 0.2.6 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45d071ddd6ff993e8ccaec2877044dfaad106f5dc462dfb631081a07cb970d84
4
- data.tar.gz: 830446aaa112228e6380c3226839e5cbf17fbdc1c31c6921ad37ea2b3e455d38
3
+ metadata.gz: 3b5185c4e16ff6f5ae480f6300067e3c52693df77276580d985d490603c08748
4
+ data.tar.gz: 011101e52bd1a31970a5d5f2b1f4ef1bac69605c04b7eebbf0a1373de562add4
5
5
  SHA512:
6
- metadata.gz: 73d4cfa097d479f970e191ab323d82acc5f451ab3753c0e7fb143b3f83001e97d92930218c85fce4c4bd96b681f98cb2473dd94737efd23e3e18c35422fe62dc
7
- data.tar.gz: 71f71cd5f623af3dbae81064d268443055cc0fa34b399387c8840454a8469794282642d46fb7ab72d791b81f7c966e64664f9f3f86063d8df06a038e6394e917
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.9
10
+ rvm: 2.4.10
11
11
  gemfile: gemfiles/activesupport_4.2.gemfile
12
- - rvm: 2.4.9
12
+ - rvm: 2.4.10
13
13
  gemfile: gemfiles/activesupport_5.1.gemfile
14
- - rvm: 2.5.7
14
+ - rvm: 2.5.9
15
15
  gemfile: gemfiles/activesupport_5.1.gemfile
16
- - rvm: 2.5.7
16
+ - rvm: 2.5.9
17
17
  gemfile: gemfiles/activesupport_5.2.gemfile
18
- - rvm: 2.5.7
18
+ - rvm: 2.5.9
19
19
  gemfile: gemfiles/activesupport_6.gemfile
20
- - rvm: 2.6.5
20
+ - rvm: 2.6.10
21
21
  gemfile: gemfiles/activesupport_5.2.gemfile
22
- - rvm: 2.6.5
22
+ - rvm: 2.6.10
23
23
  gemfile: gemfiles/activesupport_6.gemfile
24
- - rvm: 2.7.0
24
+ - rvm: 2.7.7
25
25
  gemfile: gemfiles/activesupport_5.2.gemfile
26
- - rvm: 2.7.0
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.7
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.2.6', require: 'tiny_client'
19
+ gem 'tp_client', '~> 0.3.0', require: 'tiny_client'
20
20
  ```
21
21
 
22
22
  Please notice, we have 2 similar gems:
@@ -9,5 +9,9 @@ module TinyClient
9
9
  @response = response
10
10
  super("Error #{response.status} occured when calling #{response.url}")
11
11
  end
12
+
13
+ def to_hash
14
+ response.to_hash
15
+ end
12
16
  end
13
17
  end
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.2.6'
5
- s.authors = ['TINYpulse Devops']
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', '> 0.7.0', '< 1.0.0'
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.2.6
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
- - TINYpulse Devops
8
- autorequire:
7
+ - TINYpulse DevOps
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-28 00:00:00.000000000 Z
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.7.0
19
+ version: 0.9.11
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 1.0.0
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.7.0
29
+ version: 0.9.11
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 1.0.0
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.0.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: []