rspec-activesupport 0.1.2 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de92d3516c6fdf33fdad2c1e848a7322c671b0e2d939ebbb5abd86c3969713dc
4
- data.tar.gz: 21b3cda5e66761771032c3e0619e060d8a5bd91264c42b0f25152c35ccec5e0e
3
+ metadata.gz: a4f6ad4137bb280fac909f4a8ec0cc219402de809d8b993bf044d7d56295f6be
4
+ data.tar.gz: 1c42ee3cd077d9bce1c26ca99610d9f929aff589d6a7e982dd912a87f1636ac2
5
5
  SHA512:
6
- metadata.gz: 47d00296a9168fce38059da9567c12dc821774fef4bf646cdaff9e8da435aa6d87eb6f22a44e5c3bf4f4a85bf339aefb01b66d8edb2d52b02268409c92a28300
7
- data.tar.gz: 22a792315df2b04a2550164f56d9f4c57707e30c328cf7c70fe8719c8332330e1d224318e5940a45bdd1113e8237691a8e1042a3d64703557efb2e4abf6734b7
6
+ metadata.gz: 2eb2cb16cdfb8cd2cc9d0786d384b07c63ebab7348daaef2daaa14160e1f1d7c88ab3596b1458ce30b019091ef43da09af9a40a8f4e5d672711183d0a802f8ff
7
+ data.tar.gz: a81802897be83d3cc977b2a7a0e164af177002ae810b8e97d1e26b513ee0b9e3c413365d1448d29c5e3cdeb38b12faf8d86e63f489d7a145017d81f09aefbadb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,83 @@
1
- ## [Unreleased]
1
+ # Changelog
2
2
 
3
- ## [0.1.0] - 2024-07-27
3
+ All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
4
4
 
5
- - Initial release
5
+ ---
6
+ ## [0.3.0](https://github.com/ryancyq/rspec-activesupport/compare/v0.2.0..v0.3.0) - 2026-05-16
7
+
8
+ ### Tests
9
+
10
+ - address rubocop violations - ([b488e99](https://github.com/ryancyq/rspec-activesupport/commit/b488e9916fd0ff679c8c669287b0e737aa60f862)) - Ryan Chang
11
+
12
+ ### Build
13
+
14
+ - **(deps)** bump orhun/git-cliff-action from 3 to 4 - ([2e84eed](https://github.com/ryancyq/rspec-activesupport/commit/2e84eed3a9011a4bf26d0e85c43d0d7a5626da3f)) - dependabot[bot]
15
+ - **(deps)** bump actions/checkout from 4 to 6 - ([1efe441](https://github.com/ryancyq/rspec-activesupport/commit/1efe44144ca7cc88984e8dee6ace7386b9b7f06f)) - dependabot[bot]
16
+
17
+ ### Lib
18
+
19
+ - update appraisal to support active support 8.x - ([e05bbd8](https://github.com/ryancyq/rspec-activesupport/commit/e05bbd8d073057a3d13bc43f2d910b93b9c2d651)) - Ryan Chang
20
+
21
+ ---
22
+ ## [0.2.0](https://github.com/ryancyq/rspec-activesupport/compare/v0.1.2..v0.2.0) - 2024-10-03
23
+
24
+ ### Documentation
25
+
26
+ - update spec_helper.rb file path - ([f37c6f7](https://github.com/ryancyq/rspec-activesupport/commit/f37c6f731d092f889e68168abbb0b32d8a79e5c2)) - Ryan Chang
27
+ - add codeclimate badge - ([b0b3f73](https://github.com/ryancyq/rspec-activesupport/commit/b0b3f731d821b15aabca32e703d2cc014a7822f2)) - Ryan Chang
28
+
29
+ ### Build
30
+
31
+ - **(deps)** bump rspec-expectations from 3.13.1 to 3.13.3 - ([0e6721a](https://github.com/ryancyq/rspec-activesupport/commit/0e6721a4da0afd5f7d7be4e0d49515f0a0387304)) - dependabot[bot]
32
+ - **(deps)** bump activesupport from 7.2.0 to 7.2.1 - ([ea73c43](https://github.com/ryancyq/rspec-activesupport/commit/ea73c4322a1d3285be36ea1781602e7c4bf821b3)) - dependabot[bot]
33
+ - **(deps-dev)** bump rubocop from 1.65.1 to 1.66.0 - ([0f8e701](https://github.com/ryancyq/rspec-activesupport/commit/0f8e7015772d6056be67114bde212aebcde57a52)) - dependabot[bot]
34
+ - **(deps-dev)** bump rubocop from 1.66.0 to 1.66.1 - ([1edaec3](https://github.com/ryancyq/rspec-activesupport/commit/1edaec33ae071df9eb37dd0a0b79ebef465a6ff1)) - dependabot[bot]
35
+ - **(deps-dev)** bump rubocop-rspec from 3.0.4 to 3.1.0 - ([2494e9a](https://github.com/ryancyq/rspec-activesupport/commit/2494e9aa3788fd1b9e14dab31a4c1c6ef3101506)) - dependabot[bot]
36
+
37
+ ### Lib
38
+
39
+ - relax to >= ruby 2.5, bump activesupport to >= 6.1 - ([84f1638](https://github.com/ryancyq/rspec-activesupport/commit/84f16381e8c5c95bf3936e2567a857fb995d38a6)) - Ryan Chang
40
+ - use ruby 2.5 syntax for instance type check - ([cea7322](https://github.com/ryancyq/rspec-activesupport/commit/cea73229a5d272df1e076a5f5fc31ba74d74b3b0)) - Ryan Chang
41
+ - use appraisal gem to generate Gemfile for different activesupport version - ([1d1f5c9](https://github.com/ryancyq/rspec-activesupport/commit/1d1f5c98901220d2af71bd21b8942026807d4465)) - Ryan Chang
42
+
43
+ ---
44
+ ## [0.1.2](https://github.com/ryancyq/rspec-activesupport/compare/v0.1.1..v0.1.2) - 2024-08-18
45
+
46
+ ### Documentation
47
+
48
+ - update readme - ([2aefc0a](https://github.com/ryancyq/rspec-activesupport/commit/2aefc0ac20d1e66386c50ea3af86578f7867c146)) - Ryan Chang
49
+ - update readme with grammar corrections - ([7bcff26](https://github.com/ryancyq/rspec-activesupport/commit/7bcff264cef2ac7dd4ed525c3b237bf25d4d6ad4)) - Ryan Chang
50
+ - update readme with correct CI link - ([d05b81f](https://github.com/ryancyq/rspec-activesupport/commit/d05b81fe85043a091f39f07cb12c0fcd803bc38d)) - Ryan Chang
51
+
52
+ ### Lib
53
+
54
+ - update gemspec description - ([9ce149d](https://github.com/ryancyq/rspec-activesupport/commit/9ce149d405f17803b2de5f05efe4a6a3c869159e)) - Ryan Chang
55
+
56
+ ---
57
+ ## [0.1.1] - 2024-08-18
58
+
59
+ ### Bug Fixes
60
+
61
+ - gemspec require statement for version - ([be1fe96](https://github.com/ryancyq/rspec-activesupport/commit/be1fe96f2639412e2199fd70283c7cdfa67fb0ef)) - Ryan Chang
62
+ - rename have_deprecated to warn_depreacation - ([88e3736](https://github.com/ryancyq/rspec-activesupport/commit/88e37363c4060ff7aec84b408628356ba6a4ff3d)) - Ryan Chang
63
+
64
+ ### Documentation
65
+
66
+ - update readme - ([40a8ec7](https://github.com/ryancyq/rspec-activesupport/commit/40a8ec7812384edc8feb52086060ca985dd1139c)) - Ryan Chang
67
+ - fix readme typo - ([2ef3ea2](https://github.com/ryancyq/rspec-activesupport/commit/2ef3ea239eb138be2b25d1721238d67dfaf2f981)) - Ryan Chang
68
+
69
+ ### Tests
70
+
71
+ - add test cases for the RSpec matcher - ([adcde12](https://github.com/ryancyq/rspec-activesupport/commit/adcde122e2fee76bea50d305d5b9504b65f460f4)) - Ryan Chang
72
+
73
+ ### Lib
74
+
75
+ - update gem file - ([0e6263f](https://github.com/ryancyq/rspec-activesupport/commit/0e6263f02d922ffd39039ea8ccb0bc1f579f73be)) - Ryan Chang
76
+ - update gemspec - ([90bd248](https://github.com/ryancyq/rspec-activesupport/commit/90bd248bdb8f5a4dfa7d4cc7a9d6acdf554d2bf6)) - Ryan Chang
77
+ - initialize lib and spec structure - ([e539cc7](https://github.com/ryancyq/rspec-activesupport/commit/e539cc7743028ad44447ee17625011aecf405c76)) - Ryan Chang
78
+ - ensure folder structure are following snake case for consistent require statements - ([146dd9a](https://github.com/ryancyq/rspec-activesupport/commit/146dd9a27ddf4aa35fa89d7f2c10c458f6ba33fc)) - Ryan Chang
79
+ - rename Rspec to RSpec - ([51780f0](https://github.com/ryancyq/rspec-activesupport/commit/51780f065a35358a01c16afd88a2b5478aefdc13)) - Ryan Chang
80
+ - use ruby 3.3.4 - ([cf54c61](https://github.com/ryancyq/rspec-activesupport/commit/cf54c6128fd58361fdd300e41a9f11e27f13b021)) - Ryan Chang
81
+ - update gemfile lock - ([e822fcb](https://github.com/ryancyq/rspec-activesupport/commit/e822fcb8c4088f44ec95c51e0746cbf631647f9a)) - Ryan Chang
82
+
83
+ <!-- generated by git-cliff -->
@@ -13,14 +13,14 @@ module RSpec
13
13
  attr_reader :expected, :deprecator, :deprecations
14
14
 
15
15
  def initialize(expected, deprecator)
16
- raise ArgumentError, "deprecator must be an instance, got: #{deprecator.inspect}" if deprecator in Class
16
+ raise ArgumentError, "deprecator must be an instance, got: #{deprecator.inspect}" if deprecator.is_a?(Class)
17
17
 
18
18
  @expected = expected
19
19
  @deprecator = deprecator || RSpec.configuration.deprecator
20
20
  end
21
21
 
22
22
  def matches?(actual)
23
- raise ArgumentError, "warn_deprecation only work with block arguments" unless actual in Proc
23
+ raise ArgumentError, "warn_deprecation only work with block arguments" unless actual.is_a?(Proc)
24
24
 
25
25
  _, @deprecations = collect_deprecations(deprecator, &actual)
26
26
  return false if deprecations.empty?
@@ -12,8 +12,8 @@ module RSpec
12
12
 
13
13
  module VERSION
14
14
  MAJOR = 0
15
- MINOR = 1
16
- BUILD = 2
15
+ MINOR = 3
16
+ BUILD = 0
17
17
  PRE = nil
18
18
 
19
19
  STRING = [MAJOR, MINOR, BUILD, PRE].compact.join(".")
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-activesupport
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Chang
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-08-18 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -16,28 +15,14 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: '5.0'
18
+ version: '6.1'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - ">="
25
24
  - !ruby/object:Gem::Version
26
- version: '5.0'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '11.0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '11.0'
25
+ version: '6.1'
41
26
  - !ruby/object:Gem::Dependency
42
27
  name: rspec-expectations
43
28
  requirement: !ruby/object:Gem::Requirement
@@ -77,7 +62,6 @@ metadata:
77
62
  homepage_uri: https://github.com/ryancyq/rspec-activesupport
78
63
  source_code_uri: https://github.com/ryancyq/rspec-activesupport
79
64
  changelog_uri: https://github.com/ryancyq/rspec-activesupport/blob/main/CHANGELOG.md
80
- post_install_message:
81
65
  rdoc_options: []
82
66
  require_paths:
83
67
  - lib
@@ -85,15 +69,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
69
  requirements:
86
70
  - - ">="
87
71
  - !ruby/object:Gem::Version
88
- version: 3.1.0
72
+ version: '2.5'
89
73
  required_rubygems_version: !ruby/object:Gem::Requirement
90
74
  requirements:
91
75
  - - ">="
92
76
  - !ruby/object:Gem::Version
93
77
  version: '0'
94
78
  requirements: []
95
- rubygems_version: 3.5.11
96
- signing_key:
79
+ rubygems_version: 3.6.9
97
80
  specification_version: 4
98
81
  summary: RSpec matcher for ActiveSupport test assertions
99
82
  test_files: []