graphiti 1.7.1 → 1.7.3

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: fb08a2d097076d868284efb475a82bfb9f44b697bc322dda5a654a6d259384cf
4
- data.tar.gz: ef60e4a509d87c76973a15a59105a50d9de7635d3084afe2621f23008ff46580
3
+ metadata.gz: c7874f65f873c3cf6217899d42cedad8cf3fc69645195ed4c3899e289b354a17
4
+ data.tar.gz: 622ad37d76ce90489a1d4f241a594bb00b57bf918070e7af6884a0ac6e92c879
5
5
  SHA512:
6
- metadata.gz: bd5489249c9c768f83e05bfcd6be59bacfef2a50826c9eb547ae6a9b12cdfc25fbd54e36d54e0a37264e77458cfdc4415e707aacdeb6377179cf44a7480850a3
7
- data.tar.gz: 7be1d2008f1f74b3a5203053eb4dc91efe013a33e5c2cada66f409f9de1a515f720e357ef619b8459f1451d90f9fb39c3a130502304f7ce2eb408a421d29f511
6
+ metadata.gz: 8ea3416f5e0294bf72513b2452b499ab8010619a0cc3bc9a1fee7c69efc2dcd2f71bb22d5a7c9f624d993fa1f957fbf0ea90e5abcdd033e4deacb3d0199f4987
7
+ data.tar.gz: b01d4ff3035bd62cf77e41f4550a6060a9731f2a4ce19b57071e5cbbfffd1aa093e4504c9ee9f7834e93c835c184f365e8f8fcf1b7e33f688df23de2159de27d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  graphiti changelog
2
2
 
3
+ ## [1.7.3](https://github.com/graphiti-api/graphiti/compare/v1.7.2...v1.7.3) (2024-06-26)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * require OpenStruct explicitly ([#475](https://github.com/graphiti-api/graphiti/issues/475)) ([e0fa18a](https://github.com/graphiti-api/graphiti/commit/e0fa18a8d7f051e385e6e081f79f2ecae92a9260))
9
+
10
+ ## [1.7.2](https://github.com/graphiti-api/graphiti/compare/v1.7.1...v1.7.2) (2024-06-11)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * require necessary ActiveSupport parts in proper order ([bb2a488](https://github.com/graphiti-api/graphiti/commit/bb2a48874a6533522df6eb027d0df8ec14c80a20))
16
+
3
17
  ## [1.7.1](https://github.com/graphiti-api/graphiti/compare/v1.7.0...v1.7.1) (2024-04-18)
4
18
 
5
19
 
@@ -102,7 +102,7 @@ module Graphiti
102
102
  Graphiti.log(e)
103
103
  end
104
104
 
105
- return updated_time || Time.now
105
+ updated_time || Time.now
106
106
  end
107
107
  alias_method :last_modified_at, :updated_at
108
108
 
@@ -1,3 +1,3 @@
1
1
  module Graphiti
2
- VERSION = "1.7.1"
2
+ VERSION = "1.7.3"
3
3
  end
data/lib/graphiti.rb CHANGED
@@ -1,13 +1,17 @@
1
1
  require "json"
2
2
  require "forwardable"
3
3
  require "uri"
4
+ require "ostruct" unless defined?(::OpenStruct)
5
+
6
+ require "active_support/version"
7
+ require "active_support/deprecation"
8
+ require "active_support/deprecator" if ::ActiveSupport.version >= Gem::Version.new("7.1")
4
9
  require "active_support/core_ext/string"
5
10
  require "active_support/core_ext/enumerable"
6
11
  require "active_support/core_ext/class/attribute"
7
12
  require "active_support/core_ext/hash/conversions" # to_xml
8
13
  require "active_support/concern"
9
14
  require "active_support/time"
10
- require "active_support/deprecation"
11
15
 
12
16
  require "dry-types"
13
17
  require "graphiti_errors"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-18 00:00:00.000000000 Z
11
+ date: 2024-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jsonapi-serializable
@@ -361,7 +361,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
361
361
  - !ruby/object:Gem::Version
362
362
  version: '0'
363
363
  requirements: []
364
- rubygems_version: 3.3.26
364
+ rubygems_version: 3.3.27
365
365
  signing_key:
366
366
  specification_version: 4
367
367
  summary: Easily build jsonapi.org-compatible APIs