shill 0.2.0 → 0.2.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/CHANGELOG.md +8 -0
- data/lib/shill/version.rb +1 -1
- data/lib/shill.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 524172e34543e6279787babb3e191d017c60da59221f550c93057f7a0b223c98
|
4
|
+
data.tar.gz: f9a4ebc9597c2a32f7207d3920e66efcaec55472464228c4b0a796882525bf84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49d711dd937079351e88e3e1a1365d4b83057de33ab8699e73a9e1fb7de2c89d31de28d147e35d7d404b78bd483b8535c6cf1ccd7bdc63af2dbe594c1c57bbb8
|
7
|
+
data.tar.gz: e0896a8544989da97e060d903991d6b66fdb6348fff6345d3959ed0623f6fe89bb0160d35e917b5a60a3ebd40859e93b78f77f7fcb6572a00c66ef49b27575e2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.2.1] - 2025-05-15
|
4
|
+
|
5
|
+
- Change: `fetch_projects` now always raises `Shill::Error` on failure instead of silently returning `nil`. This prevents `Shill.projects` from ever returning `nil`.
|
6
|
+
|
7
|
+
## [0.2.0] - 2025-05-15
|
8
|
+
|
9
|
+
- Feature: `shill_projects` and `shill_random_project` view helpers auto-load in Rails apps.
|
10
|
+
|
3
11
|
## [0.1.1] - 2025-05-15
|
4
12
|
|
5
13
|
- Fix: Replace example URLs
|
data/lib/shill/version.rb
CHANGED
data/lib/shill.rb
CHANGED
@@ -106,8 +106,8 @@ module Shill
|
|
106
106
|
# Return an array of Project objects for nicer dot-notation access.
|
107
107
|
parsed.map { |attrs| Project.new(attrs) }
|
108
108
|
rescue StandardError => e
|
109
|
-
#
|
110
|
-
raise Error, e.message
|
109
|
+
# Always propagate as Shill::Error so callers never receive `nil`.
|
110
|
+
raise Error, e.message
|
111
111
|
end
|
112
112
|
|
113
113
|
# Ensure we have an array of hashes with required keys.
|