zm-ruby-client 2.2.2 → 2.2.3

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: 5fdf02fb20f0f89b311f4326447866c86d37039d18e2bb66cca6917e7c41c179
4
- data.tar.gz: 6f6acc4bcc8d9ce8a81a7f684f2cc2d92cd0393e79fbd75e55c4d7a3f6ca4ec4
3
+ metadata.gz: c2e230cc508aac1aed324b8af691d7d681e110f9e7124b048e84c917c28863a2
4
+ data.tar.gz: c481a9f54e7f13d8c0d9d8ca00ffe457958f7a76379fe13f35a8fa7451e92bd2
5
5
  SHA512:
6
- metadata.gz: 80472bc1cb7179e730fedaf6f74fded7266510c9f7bdc3de36b789bff92077ab17ab8dc3c418a57cda2c92bfc7000cd4aaa1253c213539a5fef1adb2f79ca6f2
7
- data.tar.gz: 979e0c707d865fa5b0cb44f5f0a7835441e5306c4f2adf8fb99d2c08a0a6dfa27de7c944d4c6eaa00aff57232b742b235288c45179101073692db5c57c58ea26
6
+ metadata.gz: 8a1efc8ec41c509af9e1f395725ec4a38c4366c2685b582c82529ef8994f397ab80cf5f4e0efc9b75f9068bde8d1e0ce4d631f748f054a1848751ef158851802
7
+ data.tar.gz: 381740a42f02a55c4b96d93ea34cdc7272b659af6a9bba6a020f82910020ea28c153ff47906204f7d077ea8eadab66bbcf75ba0fbd3da3944dd1710d5bb1f432
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  ruby ">= 2.7"
4
4
 
5
- gem 'addressable', '>= 2.8.6'
6
- gem 'faraday', '~> 2.9'
7
- gem 'faraday-multipart', '>= 1.0.4'
8
- gem 'version_sorter', '~> 2.3'
5
+ gem 'addressable', '2.8.7'
6
+ gem 'faraday', '2.8.1'
7
+ gem 'faraday-multipart', '1.0.4'
8
+ gem 'version_sorter', '2.3.0'
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 2.2.3
data/bin/console ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ lib = File.expand_path('../lib/', __dir__)
5
+ $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
6
+
7
+ require 'zm-ruby-client'
8
+ puts "Zm::Client.version=#{Zm::Client.version}"
9
+
10
+ require 'irb'
11
+ IRB.start(__FILE__)
@@ -3,16 +3,11 @@
3
3
  module Zm
4
4
  # module client Zm::Client
5
5
  module Client
6
- def self.gem_version
7
- Gem::Version.new VERSION::STRING
8
- end
9
-
10
- module VERSION
11
- MAJOR = 2
12
- MINOR = 2
13
- TINY = 2
14
-
15
- STRING = [MAJOR, MINOR, TINY].compact.join('.')
6
+ class << self
7
+ def version
8
+ File.read(File.expand_path('../../../VERSION', __dir__)).strip
9
+ end
10
+ alias gem_version version
16
11
  end
17
12
  end
18
13
  end
@@ -1,3 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'zm/client'
4
+
5
+ Kernel.warn "⚠️ [DEPRECATION] memorization will not be supported in zm-ruby-client 3.0. Please do not use .all method as memorized items."
6
+ Kernel.warn "⚠️ [DEPRECATION] zm-ruby-client 3.0 will not support Ruby < 3.1"
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
- lib = File.expand_path('../lib/', __FILE__)
3
- $:.unshift lib unless $:.include?(lib)
2
+ lib = File.expand_path('./lib/', __dir__)
3
+ $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
4
4
 
5
- require './lib/zm-ruby-client'
5
+ require 'zm-ruby-client'
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.name = 'zm-ruby-client'
10
- s.version = Zm::Client::gem_version.to_s
10
+ s.version = Zm::Client.version
11
11
  s.date = `date '+%Y-%m-%d'`
12
12
  s.summary = 'zm-ruby-client'
13
13
  s.description = 'Zimbra Soap Librairy using SOAP Json interface'
@@ -24,9 +24,9 @@ Gem::Specification.new do |s|
24
24
  s.files = `git ls-files`.split("\n").reject { |path| path.start_with?('test/', 'examples/') }
25
25
  s.require_paths = ['lib']
26
26
 
27
- s.add_dependency 'addressable', '>= 2.8.6'
28
- s.add_dependency 'version_sorter', '~> 2.3'
29
- s.add_dependency 'faraday', '~> 2.9'
30
- s.add_dependency 'faraday-multipart', '>= 1.0.4'
27
+ s.add_dependency 'addressable', '2.8.7'
28
+ s.add_dependency 'version_sorter', '2.3.0'
29
+ s.add_dependency 'faraday', '2.8.1'
30
+ s.add_dependency 'faraday-multipart', '1.0.4'
31
31
  s.add_dependency "bundler", ">= 1.15.0"
32
32
  end
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zm-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxime Désécot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-17 00:00:00.000000000 Z
11
+ date: 2024-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.8.6
19
+ version: 2.8.7
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.8.6
26
+ version: 2.8.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: version_sorter
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: '2.3'
33
+ version: 2.3.0
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: '2.3'
40
+ version: 2.3.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: faraday
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: '2.9'
47
+ version: 2.8.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: '2.9'
54
+ version: 2.8.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: faraday-multipart
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '='
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.0.4
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 1.0.4
69
69
  - !ruby/object:Gem::Dependency
@@ -91,6 +91,8 @@ files:
91
91
  - LICENSE
92
92
  - README.md
93
93
  - SECURITY.md
94
+ - VERSION
95
+ - bin/console
94
96
  - lib/zm-ruby-client.rb
95
97
  - lib/zm/client.rb
96
98
  - lib/zm/client/account.rb
@@ -338,7 +340,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
338
340
  - !ruby/object:Gem::Version
339
341
  version: 1.8.11
340
342
  requirements: []
341
- rubygems_version: 3.5.6
343
+ rubygems_version: 3.1.6
342
344
  signing_key:
343
345
  specification_version: 4
344
346
  summary: zm-ruby-client