dekorator 1.5.0 → 1.7.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: 1a8cf77e0e4432f46ef49b35fd5b33353baab42b6bae0422107fcdde1af45a56
4
- data.tar.gz: d37560a12fa9881661f0f819b59da82e31f6c54d2ef902642699eee6b5855085
3
+ metadata.gz: fdb57ee02711715960ce6e3d7ce0431db70527f4c312df6110d82e0716ae9885
4
+ data.tar.gz: 701725c582ab4c6dbfec7f76c162e7c518449414f11096b5c2b7cc266a802ba9
5
5
  SHA512:
6
- metadata.gz: 2376a0cfd846905cffc58b06c97606a5d2ffe1a10fd7161173fc626000617edfcf3a417c0e32f008bf5ab352803102cb8eeab6358f1bf1e5a2dc752838d1fbec
7
- data.tar.gz: 1424f697f9b2a6f82c341aaa2b21f6b860bab7dcdece497f611790ead322551e4559ce40c8e70262180b1e001afa7a08b2e8f3573da5b15f0f08aa04e38aa532
6
+ metadata.gz: de2974721456cde72032fe5820d4f1a215f63616a4c3568586ba98109e24208374d710ac5836048166dc26c2feab4ff76465b6369b0aa398ab12168e77ef3cc9
7
+ data.tar.gz: 060f22bb2afd16c004679bb698f926fbf45f6e1867ff4f2fa85481017f2b7902c0c9a4b472538b779f6a1ce6f2f380a0629eddeae9051321261d517ba7327ad1
data/CHANGELOG.md CHANGED
@@ -8,10 +8,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
  ## [Unreleased]
9
9
  Nothing yet.
10
10
 
11
+ ## [1.7.0] - 2024-11-10
12
+ ### Added
13
+ - Add Rails 8.0 support ([#55](https://github.com/komposable/dekorator/pull/55))
14
+
15
+ ## [1.6.0] - 2024-09-10
16
+ ### Added
17
+ - Add Rails 7.2 support ([#54](https://github.com/komposable/dekorator/pull/54))
18
+ ### Removed
19
+ - Drop Ruby 3.0 support ([#54](https://github.com/komposable/dekorator/pull/54))
20
+ - Drop Rails 6.1 support ([#54](https://github.com/komposable/dekorator/pull/54))
21
+
11
22
  ## [1.5.0] - 2024-03-06
12
23
  ### Added
13
24
  - Add Ruby 3.3 support ([#53](https://github.com/komposable/dekorator/pull/53))
14
25
  - Include `#decorated` method in `ActiveRecord::Base` ([#52](https://github.com/komposable/dekorator/pull/52))
26
+ ### Fixes
27
+ - Fix RSpec `decorator_spec.rb` template by using `File#exist?` instead `File#exists?` ([#51](https://github.com/komposable/dekorator/pull/51))
15
28
  ### Removed
16
29
  - Drop Ruby 2.7 support ([#53](https://github.com/komposable/dekorator/pull/53))
17
30
  - Drop Rails 6.0 support ([#53](https://github.com/komposable/dekorator/pull/53))
@@ -23,8 +36,6 @@ Nothing yet.
23
36
  ## [1.3.0] - 2023-11-06
24
37
  ### Added
25
38
  - Add Rails 7.1 support ([#49](https://github.com/komposable/dekorator/pull/49))
26
- ### Fixes
27
- - Fix RSpec `decorator_spec.rb` template by using `File#exist?` instead `File#exists?` ([#51](https://github.com/komposable/dekorator/pull/51))
28
39
  ### Removed
29
40
  - Add Rails 7.0 on CI tests via Appraisals ([#47](https://github.com/komposable/dekorator/pull/47))
30
41
  - Drop Ruby 2.5 and 2.6 support ([#47](https://github.com/komposable/dekorator/pull/47))
@@ -72,7 +83,9 @@ Nothing yet.
72
83
  - Create `dekorator:install` generator ([a2a36d66](https://github.com/komposable/dekorator/commit/a2a36d66c6de6cb0a00f783794cd29f899bc04b6))
73
84
  - Create `decorator` generator ([a2a36d66](https://github.com/komposable/dekorator/commit/a2a36d66c6de6cb0a00f783794cd29f899bc04b6))
74
85
 
75
- [Unreleased]: https://github.com/komposable/dekorator/compare/v1.5.0...main
86
+ [Unreleased]: https://github.com/komposable/dekorator/compare/v1.7.0...main
87
+ [1.7.0]: https://github.com/komposable/dekorator/compare/v1.6.0...v1.7.0
88
+ [1.6.0]: https://github.com/komposable/dekorator/compare/v1.5.0...v1.6.0
76
89
  [1.5.0]: https://github.com/komposable/dekorator/compare/v1.4.0...v1.5.0
77
90
  [1.4.0]: https://github.com/komposable/dekorator/compare/v1.3.0...v1.4.0
78
91
  [1.3.0]: https://github.com/komposable/dekorator/compare/v1.2.1...v1.3.0
data/README.md CHANGED
@@ -12,8 +12,8 @@ This gem has been inspired by our Rails development practices at [Pantographe](h
12
12
 
13
13
  ## Compatibility
14
14
 
15
- * Ruby 3.0+
16
- * Rails 6.1+
15
+ * Ruby 3.1+
16
+ * Rails 7.0+
17
17
 
18
18
  ## Installation
19
19
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dekorator
4
- VERSION = "1.5.0".freeze
4
+ VERSION = "1.7.0".freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dekorator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pantographe
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-06 00:00:00.000000000 Z
11
+ date: 2024-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -16,60 +16,60 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '6.1'
19
+ version: '7.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.2'
22
+ version: '8.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: '6.1'
29
+ version: '7.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.2'
32
+ version: '8.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activerecord
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '6.1'
39
+ version: '7.0'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '7.2'
42
+ version: '8.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: '6.1'
49
+ version: '7.0'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '7.2'
52
+ version: '8.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: activesupport
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: '6.1'
59
+ version: '7.0'
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
- version: '7.2'
62
+ version: '8.1'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '6.1'
69
+ version: '7.0'
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
- version: '7.2'
72
+ version: '8.1'
73
73
  description: An opinionated way of organizing model-view code in Ruby on Rails, based
74
74
  on decorators
75
75
  email:
@@ -105,7 +105,7 @@ metadata:
105
105
  source_code_uri: https://github.com/komposable/dekorator
106
106
  bug_tracker_uri: https://github.com/komposable/dekorator/issues
107
107
  rubygems_mfa_required: 'true'
108
- post_install_message:
108
+ post_install_message:
109
109
  rdoc_options: []
110
110
  require_paths:
111
111
  - lib
@@ -113,15 +113,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: 3.0.0
116
+ version: 3.1.0
117
117
  required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  requirements:
119
119
  - - ">="
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.5.6
124
- signing_key:
123
+ rubygems_version: 3.5.22
124
+ signing_key:
125
125
  specification_version: 4
126
126
  summary: An opinionated way of organizing model-view code in Ruby on Rails, based
127
127
  on decorators