pretty-api 0.4.1 → 0.5.1
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 +4 -4
- data/.rubocop.yml +3 -2
- data/CHANGELOG.md +8 -0
- data/lib/pretty_api/helpers.rb +3 -0
- data/lib/pretty_api/version.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 35add74c134b30bc2bd56716f35f8ae9c302643564d92f057bff6c1ea1d89596
|
|
4
|
+
data.tar.gz: d99ce2bd6368e0609e5de9c61fda96320f12e4bf301d8fbded4da1236e8240d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e839ed0243efb024f4e69a3f546470268cc00e81027c56057f5c4065ced1ca52ec501310cf6d1656ef82d53d47faf0678c5f28e25ea8a748c9a37c5282c4122f
|
|
7
|
+
data.tar.gz: 201bc34a94246b1a75d31656ad162125ece50b897f552713843729d3f7b860ed7ab5bb0ec3581188cbde3eddb16e5f599bfd5693c5f16b3ff007caf7e0373c29
|
data/.rubocop.yml
CHANGED
|
@@ -9,6 +9,7 @@ require:
|
|
|
9
9
|
- rubocop-rails
|
|
10
10
|
- rubocop-performance
|
|
11
11
|
- rubocop-rspec
|
|
12
|
+
# - rubocop-factory_bot
|
|
12
13
|
|
|
13
14
|
AllCops:
|
|
14
15
|
DisabledByDefault: false
|
|
@@ -19,8 +20,8 @@ AllCops:
|
|
|
19
20
|
- lib/templates/**/*
|
|
20
21
|
- public/**/*
|
|
21
22
|
|
|
22
|
-
FactoryBot/ConsistentParenthesesStyle:
|
|
23
|
-
EnforcedStyle: omit_parentheses
|
|
23
|
+
#FactoryBot/ConsistentParenthesesStyle:
|
|
24
|
+
# EnforcedStyle: omit_parentheses
|
|
24
25
|
|
|
25
26
|
Layout/LineLength:
|
|
26
27
|
Exclude:
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.5.1] - 2024-12-12
|
|
4
|
+
|
|
5
|
+
- Add Rails 8.0 support
|
|
6
|
+
|
|
7
|
+
## [0.5.0] - 2024-06-04
|
|
8
|
+
|
|
9
|
+
- Add new method aliases: `pretty_attrs` and `pretty_errors`
|
|
10
|
+
|
|
3
11
|
## [0.4.1] - 2024-06-04
|
|
4
12
|
|
|
5
13
|
- Fix `undefined method `each' for nil` when PrettyAPI is used on record that doesn't have associations
|
data/lib/pretty_api/helpers.rb
CHANGED
data/lib/pretty_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pretty-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James St-Pierre
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-12-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '7.0'
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '9.0'
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- - "
|
|
27
|
+
- - ">="
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
29
|
version: '7.0'
|
|
30
|
+
- - "<"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '9.0'
|
|
27
33
|
description: Simplify the usage of accepts_nested_attributes_for in Rails applications.
|
|
28
34
|
email:
|
|
29
35
|
- Jamesst20@gmail.com
|
|
@@ -70,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
70
76
|
- !ruby/object:Gem::Version
|
|
71
77
|
version: '0'
|
|
72
78
|
requirements: []
|
|
73
|
-
rubygems_version: 3.5.
|
|
79
|
+
rubygems_version: 3.5.16
|
|
74
80
|
signing_key:
|
|
75
81
|
specification_version: 4
|
|
76
82
|
summary: Pretty API for Rails
|