ecfr 1.0.12 → 1.0.13

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: 44ee6584017e9a07702bb19c563a67803534b903cc767ed4b0cc12195b672a4b
4
- data.tar.gz: e695f87cb60ef043bff46563fe87a7d356fcf505665921a08cca959498469dd0
3
+ metadata.gz: 0dfaa32b0ddc1df48587434c4ac948e073b91474e8bef1f709a206f06342db89
4
+ data.tar.gz: c7b6e16a5858ad9e0b4b1c12b062da7ca92491d2551eaad0654e8a84188291e8
5
5
  SHA512:
6
- metadata.gz: 92adb0e55e0f28f73f131c718c708436a36c75f568132add0aa1d33203d5744fc02fee26ebf7b99c86ed6a72356c777691dd63eb4a719773b93f6d64f394e8ce
7
- data.tar.gz: bc82b515d235b30fbb06096ab2a666df28c133c0d5b6dae0efd38f790c13d76f0e28130007c1840eacdbfb47230c26532fb770a089df9dfbc88d5fa0df449a65
6
+ metadata.gz: 861d6119026f3e701218612e4bff5af1caf885e907919da5e2fd2c85edaabec534618250e83ccc371fafac2aa4f4a5e6bf465819726395e3ab0351560243a7b6
7
+ data.tar.gz: 21352e8752996819180b84f8ff4530a1cf18c0901e05f5d7a99d9681f5c043f72f60f54d9742c3653fdf1bded88ecf4d4f5a890080d107dd409b7b6569decd4b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.0.13] - 2023-11-30
4
+ ### Updates
5
+ - Add additional keys to Agency response. Update search result to document agency filtering (70e4bcc1)
6
+
3
7
  ## [1.0.12] - 2023-09-11
4
8
  ### Updates
5
9
  - Support retry-after header (e00ab2d)
@@ -5,6 +5,8 @@ module Ecfr
5
5
 
6
6
  attribute :display_name, desc: "official name of agency, including parent (if any)"
7
7
  attribute :name, desc: "official name of agency"
8
+ attribute :short_name, desc: "agency acronym"
9
+ attribute :slug, desc: "normalized, unique agency identifier in the eCFR system"
8
10
  attribute :sortable_name, desc: "sortable version of agency name"
9
11
 
10
12
  attribute :cfr_references, type: Array(Ecfr::Common::Hierarchy),
@@ -83,6 +83,7 @@ module Ecfr
83
83
  # Retrieve results of search query
84
84
  #
85
85
  # @param [<Hash>] args supported search parameters; supported params:
86
+ # @option args [Array] :agency_slugs limit search to portions of the CFR these agencies are currently associated with (see Ecfr::AdminService::Agency)
86
87
  # @option args [String] :date ISO date or 'current'
87
88
  # @option args [String] :last_modified_after ISO date
88
89
  # @option args [String] :last_modified_before ISO date
data/lib/ecfr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ecfr
4
- VERSION = "1.0.12"
4
+ VERSION = "1.0.13"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecfr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peregrinator
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-11 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel