tp_client 0.1.1 → 0.2.1

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: 7b6e1a1452c2f80721a7d00464e719cd537e959b81fda87cd8a073b02ea5ad73
4
- data.tar.gz: d50c95716224df623cd4924703cac548c8f206415afc1831f8be397b89c38b4e
3
+ metadata.gz: 7b765d3f9f06f29277b67ec0ea96365bdda9704b4e90148c6991792d2f6a51c6
4
+ data.tar.gz: 4547c0b6a2d07f7660cbd52e8541f01a4b557fe2b6ff45ea2bc9bb67832e5740
5
5
  SHA512:
6
- metadata.gz: a4061292d6d68ab89cf31d7104579ecb958b0aec38e2ae5f887b9724cf9c76709c291222c8caf330295405ac535337c887398d32db6c733891b659ab04fc9c5a
7
- data.tar.gz: 107e315e52118de4326c16c4a5da7aaa3c0dc3f08257f272e92fa3e4d1cde58b284d5440359a81a285feb228e097d161fc4c2bd9f0e284614517ceb997412deb
6
+ metadata.gz: 96557e0910061a8806c3d5f818cb1d4ba2e7a50f6d48b5d4f506c9c99723898dc3847874501b1afbbcec2670b349e16f3473d95150879e3ce2ee2f21f10771c7
7
+ data.tar.gz: 17e20f30e59efe07f05b73e0dcde3c235d4b740afcfe296f55039f0563a72459a3549629c77f70ede279794c63683bc68f992653ed6335abf5ddc5111b4b5ea4
data/.travis.yml CHANGED
@@ -1,7 +1,11 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.4.0
4
+ - 2.5.3
5
+ gemfile:
6
+ - gemfiles/activesupport_4.gemfile
7
+ - gemfiles/activesupport_5.gemfile
8
+ - gemfiles/activesupport_6.gemfile
5
9
  deploy:
6
10
  provider: rubygems
7
11
  api_key:
data/Appraisals ADDED
@@ -0,0 +1,11 @@
1
+ appraise "activesupport-4" do
2
+ gem 'activesupport', '~> 4.0'
3
+ end
4
+
5
+ appraise "activesupport-5" do
6
+ gem 'activesupport', '~> 5.0'
7
+ end
8
+
9
+ appraise "activesupport-6" do
10
+ gem 'activesupport', '~> 6.0'
11
+ end
data/README.md CHANGED
@@ -9,9 +9,21 @@ TINYclient is inspired by [Active Record](http://guides.rubyonrails.org/active_r
9
9
  * install the gem
10
10
 
11
11
  ```sh
12
- gem install tiny_client
12
+ gem install tp_client
13
13
  ```
14
14
 
15
+ * Or in Gemfile
16
+
17
+ ```ruby
18
+ # As gem main class is different from gem name, we must require file name explicitly
19
+ gem 'tp_client', '~> 0.1', require: 'tiny_client'
20
+ ```
21
+
22
+ Please notice, we have 2 similar gems:
23
+
24
+ * [tp_client](https://rubygems.org/gems/tp_client) active, maintained by TINYpulse
25
+ * [tiny_client](https://rubygems.org/gems/tiny_client) inactive. **PLEASE DO NOT USE tiny_client GEM**.
26
+
15
27
  ### Getting Started
16
28
 
17
29
 
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -0,0 +1,16 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activesupport", "~> 4.0"
6
+
7
+ group :test, :development do
8
+ gem "byebug"
9
+ gem "minitest"
10
+ gem "mocha"
11
+ gem "rake"
12
+ gem "webmock"
13
+ gem "yard"
14
+ end
15
+
16
+ gemspec path: "../"
@@ -0,0 +1,62 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ tp_client (0.2.1)
5
+ activesupport (>= 4.0, < 7.0)
6
+ curb (> 0.7.0, < 1.0.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activesupport (4.2.11.1)
12
+ i18n (~> 0.7)
13
+ minitest (~> 5.1)
14
+ thread_safe (~> 0.3, >= 0.3.4)
15
+ tzinfo (~> 1.1)
16
+ addressable (2.6.0)
17
+ public_suffix (>= 2.0.2, < 4.0)
18
+ appraisal (2.2.0)
19
+ bundler
20
+ rake
21
+ thor (>= 0.14.0)
22
+ byebug (11.0.1)
23
+ concurrent-ruby (1.1.5)
24
+ crack (0.4.3)
25
+ safe_yaml (~> 1.0.0)
26
+ curb (0.9.10)
27
+ hashdiff (1.0.0)
28
+ i18n (0.9.5)
29
+ concurrent-ruby (~> 1.0)
30
+ metaclass (0.0.4)
31
+ minitest (5.11.3)
32
+ mocha (1.9.0)
33
+ metaclass (~> 0.0.1)
34
+ public_suffix (3.1.1)
35
+ rake (12.3.3)
36
+ safe_yaml (1.0.5)
37
+ thor (0.20.3)
38
+ thread_safe (0.3.6)
39
+ tzinfo (1.2.5)
40
+ thread_safe (~> 0.1)
41
+ webmock (3.7.0)
42
+ addressable (>= 2.3.6)
43
+ crack (>= 0.3.2)
44
+ hashdiff (>= 0.4.0, < 2.0.0)
45
+ yard (0.9.20)
46
+
47
+ PLATFORMS
48
+ ruby
49
+
50
+ DEPENDENCIES
51
+ activesupport (~> 4.0)
52
+ appraisal (~> 2.2, >= 2.2.0)
53
+ byebug
54
+ minitest
55
+ mocha
56
+ rake
57
+ tp_client!
58
+ webmock
59
+ yard
60
+
61
+ BUNDLED WITH
62
+ 1.17.3
@@ -0,0 +1,16 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activesupport", "~> 5.0"
6
+
7
+ group :test, :development do
8
+ gem "byebug"
9
+ gem "minitest"
10
+ gem "mocha"
11
+ gem "rake"
12
+ gem "webmock"
13
+ gem "yard"
14
+ end
15
+
16
+ gemspec path: "../"
@@ -0,0 +1,62 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ tp_client (0.2.1)
5
+ activesupport (>= 4.0, < 7.0)
6
+ curb (> 0.7.0, < 1.0.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activesupport (5.2.3)
12
+ concurrent-ruby (~> 1.0, >= 1.0.2)
13
+ i18n (>= 0.7, < 2)
14
+ minitest (~> 5.1)
15
+ tzinfo (~> 1.1)
16
+ addressable (2.6.0)
17
+ public_suffix (>= 2.0.2, < 4.0)
18
+ appraisal (2.2.0)
19
+ bundler
20
+ rake
21
+ thor (>= 0.14.0)
22
+ byebug (11.0.1)
23
+ concurrent-ruby (1.1.5)
24
+ crack (0.4.3)
25
+ safe_yaml (~> 1.0.0)
26
+ curb (0.9.10)
27
+ hashdiff (1.0.0)
28
+ i18n (1.6.0)
29
+ concurrent-ruby (~> 1.0)
30
+ metaclass (0.0.4)
31
+ minitest (5.11.3)
32
+ mocha (1.9.0)
33
+ metaclass (~> 0.0.1)
34
+ public_suffix (3.1.1)
35
+ rake (12.3.3)
36
+ safe_yaml (1.0.5)
37
+ thor (0.20.3)
38
+ thread_safe (0.3.6)
39
+ tzinfo (1.2.5)
40
+ thread_safe (~> 0.1)
41
+ webmock (3.7.0)
42
+ addressable (>= 2.3.6)
43
+ crack (>= 0.3.2)
44
+ hashdiff (>= 0.4.0, < 2.0.0)
45
+ yard (0.9.20)
46
+
47
+ PLATFORMS
48
+ ruby
49
+
50
+ DEPENDENCIES
51
+ activesupport (~> 5.0)
52
+ appraisal (~> 2.2, >= 2.2.0)
53
+ byebug
54
+ minitest
55
+ mocha
56
+ rake
57
+ tp_client!
58
+ webmock
59
+ yard
60
+
61
+ BUNDLED WITH
62
+ 1.17.3
@@ -0,0 +1,16 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activesupport", "~> 6.0"
6
+
7
+ group :test, :development do
8
+ gem "byebug"
9
+ gem "minitest"
10
+ gem "mocha"
11
+ gem "rake"
12
+ gem "webmock"
13
+ gem "yard"
14
+ end
15
+
16
+ gemspec path: "../"
@@ -0,0 +1,64 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ tp_client (0.2.1)
5
+ activesupport (>= 4.0, < 7.0)
6
+ curb (> 0.7.0, < 1.0.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activesupport (6.0.0)
12
+ concurrent-ruby (~> 1.0, >= 1.0.2)
13
+ i18n (>= 0.7, < 2)
14
+ minitest (~> 5.1)
15
+ tzinfo (~> 1.1)
16
+ zeitwerk (~> 2.1, >= 2.1.8)
17
+ addressable (2.6.0)
18
+ public_suffix (>= 2.0.2, < 4.0)
19
+ appraisal (2.2.0)
20
+ bundler
21
+ rake
22
+ thor (>= 0.14.0)
23
+ byebug (11.0.1)
24
+ concurrent-ruby (1.1.5)
25
+ crack (0.4.3)
26
+ safe_yaml (~> 1.0.0)
27
+ curb (0.9.10)
28
+ hashdiff (1.0.0)
29
+ i18n (1.6.0)
30
+ concurrent-ruby (~> 1.0)
31
+ metaclass (0.0.4)
32
+ minitest (5.11.3)
33
+ mocha (1.9.0)
34
+ metaclass (~> 0.0.1)
35
+ public_suffix (3.1.1)
36
+ rake (12.3.3)
37
+ safe_yaml (1.0.5)
38
+ thor (0.20.3)
39
+ thread_safe (0.3.6)
40
+ tzinfo (1.2.5)
41
+ thread_safe (~> 0.1)
42
+ webmock (3.7.0)
43
+ addressable (>= 2.3.6)
44
+ crack (>= 0.3.2)
45
+ hashdiff (>= 0.4.0, < 2.0.0)
46
+ yard (0.9.20)
47
+ zeitwerk (2.1.9)
48
+
49
+ PLATFORMS
50
+ ruby
51
+
52
+ DEPENDENCIES
53
+ activesupport (~> 6.0)
54
+ appraisal (~> 2.2, >= 2.2.0)
55
+ byebug
56
+ minitest
57
+ mocha
58
+ rake
59
+ tp_client!
60
+ webmock
61
+ yard
62
+
63
+ BUNDLED WITH
64
+ 1.17.3
data/tp_client.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'tp_client'
3
3
  s.authors = ['TINYpulse Devops']
4
- s.version = '0.1.1'
4
+ s.version = '0.2.1'
5
5
 
6
6
  s.summary = 'TINYclient, an HTTP/JSON crud client toolkit.'
7
7
  s.description = 'TINYclient is an HTTP/JSON crud toolkit inspired by ActiveRecord and based on Curb.'
@@ -31,5 +31,7 @@ Gem::Specification.new do |s|
31
31
  s.license = 'MIT'
32
32
 
33
33
  s.add_runtime_dependency 'curb', '> 0.7.0', '< 1.0.0'
34
- s.add_runtime_dependency 'activesupport', '>= 4.0', '< 6.0'
34
+ s.add_runtime_dependency 'activesupport', '>= 4.0', '< 7.0'
35
+
36
+ s.add_development_dependency "appraisal", '~> 2.2', '>= 2.2.0'
35
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tp_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TINYpulse Devops
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-17 00:00:00.000000000 Z
11
+ date: 2019-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curb
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '4.0'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '6.0'
42
+ version: '7.0'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,27 @@ dependencies:
49
49
  version: '4.0'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '6.0'
52
+ version: '7.0'
53
+ - !ruby/object:Gem::Dependency
54
+ name: appraisal
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '2.2'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 2.2.0
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '2.2'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 2.2.0
53
73
  description: TINYclient is an HTTP/JSON crud toolkit inspired by ActiveRecord and
54
74
  based on Curb.
55
75
  email: devops@tinypulse.com
@@ -62,10 +82,18 @@ files:
62
82
  - ".gitignore"
63
83
  - ".rubocop.yml"
64
84
  - ".travis.yml"
85
+ - Appraisals
65
86
  - Gemfile
66
87
  - LICENSE
67
88
  - README.md
68
89
  - Rakefile
90
+ - gemfiles/.bundle/config
91
+ - gemfiles/activesupport_4.gemfile
92
+ - gemfiles/activesupport_4.gemfile.lock
93
+ - gemfiles/activesupport_5.gemfile
94
+ - gemfiles/activesupport_5.gemfile.lock
95
+ - gemfiles/activesupport_6.gemfile
96
+ - gemfiles/activesupport_6.gemfile.lock
69
97
  - lib/tiny_client.rb
70
98
  - lib/tiny_client/base_error.rb
71
99
  - lib/tiny_client/configuration.rb
@@ -104,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
132
  version: '0'
105
133
  requirements: []
106
134
  rubyforge_project: tiny_client
107
- rubygems_version: 2.7.6
135
+ rubygems_version: 2.7.7
108
136
  signing_key:
109
137
  specification_version: 4
110
138
  summary: TINYclient, an HTTP/JSON crud client toolkit.