strum 0.0.43 → 0.0.44

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: e8ae432f99d56c58a8df77916a58a63f01e7f4dd3ddcf4be8c726ad0fa1e007f
4
- data.tar.gz: ed21b5f17ec5b20b8ba8d518038c8b247350a76f2552cddfc2f7e68129c5a45e
3
+ metadata.gz: a57301cc87c1615e5effe09364287317e208c3289cf496735be761795c232dd8
4
+ data.tar.gz: e2ee2320cd56d4870bb65148104f099b600c36bdd37df206f810e0c913a5d85f
5
5
  SHA512:
6
- metadata.gz: '07500480059c5a477d24f8a0cf676ce0e98353db644df4392ae9a17ef3208dc6d930d0e6a648748ec0e142505227391b0cdb817d754fd8adeec2cee1bbda9467'
7
- data.tar.gz: 1a47d7ec10cfde80bc26aad57c71c80b885db58bd473d57255562dae685632a1df360c39f22ebf67dd91e228361300dff1907fd73636097a222286d1fac7e98f
6
+ metadata.gz: b04b2e31d6f3e4930edcfe8f87df93d79a122d07edb4a736c7a247499e9cba488fe35692f7af3459ee65bbda8efb30d245baed977b691134a3da7e234324ee79
7
+ data.tar.gz: 1a4d4cce11ce1ab285fe7d2ff1d70f110610c496056e68c3baebcf66d18164fdb222f8754cb8862da436a7eb17cc8b78f998bdd663c25380b9a582a57837252c
data/.rakeTasks CHANGED
@@ -4,4 +4,4 @@ You are allowed to:
4
4
  1. Remove rake task
5
5
  2. Add existing rake tasks
6
6
  To add existing rake tasks automatically delete this file and reload the project.
7
- --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build strum-0.0.5.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install strum-0.0.5.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install strum-0.0.5.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.0.5 and build and push strum-0.0.5.gem to https://rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
7
+ --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build strum-0.0.43.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install strum-0.0.43.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install strum-0.0.43.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.0.43 and build and push strum-0.0.43.gem to https://rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
@@ -54,7 +54,7 @@ module Strum
54
54
  prepare_relationships = lambda { |hash|
55
55
  hash.each do |key, value|
56
56
  if value.is_a?(Hash)
57
- hash[key.to_sym] = (value.values_at(:attributes)&.first || value.values_at(:data)&.first)
57
+ hash[key.to_sym] = (value.values_at(:attributes)&.first || value.values_at(:data)&.first || value)
58
58
  end
59
59
  end
60
60
  }
data/lib/strum/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Strum
4
- VERSION = "0.0.43"
4
+ VERSION = "0.0.44"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.43
4
+ version: 0.0.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serhiy Nazarov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-06 00:00:00.000000000 Z
11
+ date: 2020-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-inflector