rocketchat 0.2.4 → 0.2.6

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: c8dcf3e2e38671372e85fa5f8791ef9014ee5e7a506fa8b4ab896e4e6658afea
4
- data.tar.gz: ac550d2d5baae28a8dfa2337c67ae4498b05871c9b5089ae57f1dd07cf6aecd7
3
+ metadata.gz: 58be912aa49c26e7bcdeb16dccf49ac37f6ebf10a0cdf3995b5c17b06dd65150
4
+ data.tar.gz: 1a4bc850d191c64aec79fd1813de95217fd5c044a1e2e60a53caad1841846bd6
5
5
  SHA512:
6
- metadata.gz: ab31a6c39910bb896658c1ea78342a25b6dcaf1e931260700871ff3b6e90b343a781175cc1115df260e2ce03b7a30373c28c446dc5e02455dc2e5abb62c720e2
7
- data.tar.gz: 6c173e1f07a55d49ffad6d0c8f9db83b6b0d29340ca475bf0fcfc1792e5f3b5d20af7d1d9fb3f0aa32f059fe963924c35007748082132f6949dd9441d2c8d16b
6
+ metadata.gz: 12dd37e92876acb63ecd1340b93ffca32affd98cdd393a91cdfd53f67e011abf41b1c861153ef2aa8fe64315c6cdd61425a67ce4342dbd94e84a321acb6dd57e
7
+ data.tar.gz: c966913e698f77264fdf14c631a0cf946244378354edc6dae10c54ccd02e40873e51cc6804a864da633434907adbda9ec045dc9c435395f4500c0b16bba45475
@@ -11,10 +11,10 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2']
14
+ ruby-version: ['3.0', '3.1', '3.2', '3.3', '3.4']
15
15
 
16
16
  steps:
17
- - uses: actions/checkout@v2
17
+ - uses: actions/checkout@v4
18
18
 
19
19
  - name: Set up Ruby
20
20
  uses: ruby/setup-ruby@v1
data/.rubocop.yml CHANGED
@@ -5,7 +5,7 @@ require:
5
5
 
6
6
  AllCops:
7
7
  NewCops: enable
8
- TargetRubyVersion: 2.5
8
+ TargetRubyVersion: 3.0
9
9
 
10
10
  Layout/EmptyLinesAroundAttributeAccessor:
11
11
  Enabled: true
data/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  ## Unreleased
4
4
  - None
5
5
 
6
+ ## [0.2.6](releases/tag/v0.2.6) - 2025-01-14
7
+ ### Added
8
+ - [#49] Add Ruby 3.4 support ([@abrom][])
9
+
10
+ ## [0.2.5](releases/tag/v0.2.5) - 2024-04-15
11
+ ### Added
12
+ - [#48] Add Ruby 3.3 support ([@reist][])
13
+
6
14
  ## [0.2.4](releases/tag/v0.2.4) - 2023-12-22
7
15
  ### Added
8
16
  - [#47] Add content-type and filename params for file upload ([@MrRTI][])
data/Gemfile CHANGED
@@ -8,10 +8,10 @@ gemspec
8
8
  gem 'bundler', ['>= 1.11', '< 3.0']
9
9
  gem 'rake', '>= 12.3.3'
10
10
  gem 'rspec', '~> 3.0'
11
- gem 'rubocop', '~> 1.28'
12
- gem 'rubocop-performance', '~> 1.13'
11
+ gem 'rubocop', '~> 1.70'
12
+ gem 'rubocop-performance', '~> 1.23'
13
13
  gem 'rubocop-rake', '~> 0.6'
14
- gem 'rubocop-rspec', '~> 2.10'
14
+ gem 'rubocop-rspec', '~> 3.3'
15
15
  gem 'simplecov', '~> 0.16', '< 0.18'
16
- gem 'webmock', '~> 3.12'
16
+ gem 'webmock', '~> 3.24'
17
17
  gem 'yard', '~> 0.9.11'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RocketChat
4
- VERSION = '0.2.4'
4
+ VERSION = '0.2.6'
5
5
  end
@@ -36,7 +36,7 @@ module RocketChat
36
36
  }
37
37
  )
38
38
 
39
- value if response['success']
39
+ value if response['success'] # rubocop:disable Lint/Void
40
40
  end
41
41
 
42
42
  private
@@ -135,7 +135,7 @@ module RocketChat
135
135
  end
136
136
 
137
137
  def reject_nils(data)
138
- data&.reject { |_key, value| value.nil? }
138
+ data&.compact
139
139
  end
140
140
  end
141
141
  end
data/rocketchat.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.description = 'Rocket.Chat REST API v1 for Ruby'
16
16
  spec.homepage = 'https://github.com/abrom/rocketchat-ruby'
17
17
  spec.license = 'MIT'
18
- spec.required_ruby_version = ['>= 2.5.0', '< 3.3.0']
18
+ spec.required_ruby_version = ['>= 3.0.0', '< 3.5.0']
19
19
 
20
20
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
21
21
  # delete this section to allow pushing this gem to any host.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocketchat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - int512
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-12-22 00:00:00.000000000 Z
12
+ date: 2025-01-13 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Rocket.Chat REST API v1 for Ruby
15
15
  email:
@@ -68,10 +68,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: 2.5.0
71
+ version: 3.0.0
72
72
  - - "<"
73
73
  - !ruby/object:Gem::Version
74
- version: 3.3.0
74
+ version: 3.5.0
75
75
  required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="