vident 0.12.0 → 0.12.1

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: 503019b8aac7501339acff5c350afbca9abb55599a696f348321554da15183c0
4
- data.tar.gz: 175ffd2794c1b7c81bf879a8bb3c9f65c42fa16cc92748be77df255c0b5fdcff
3
+ metadata.gz: 8f7d8ace3954ce0426a72c2b2d82c847955a78744a88b79bae5c3fa89bc9376c
4
+ data.tar.gz: 18ea411abbd7d1ecc4a052fe7278a4be99d120bb359a93c069a15d6519fd3c6f
5
5
  SHA512:
6
- metadata.gz: 0c76ae38a7c66032e99b130e21d67ba52f6c9fc946e3476fc945b682e5916ad406f90c12e0db2ab189ddf961e8c4f1a6e2cd64fc7e79bd6464ea5ccb1387e0de
7
- data.tar.gz: f25903b4f38418a6752f33190713f0d8c9b3f5c2e251fb83476a35b2894df4dc848a3e104c13cf1d10ad448e774f924194020781f23b2c6d9732b061e0351e34
6
+ metadata.gz: 56cb329e6bb4b3d0a1111b8015f5d6e2c768087a9c67258dc53016ce04823a2bb1c5b6a96a3983bb2b53b99308ed79191b04727cf518ac97196b3ed8e73f080b
7
+ data.tar.gz: 5b627477ac164a072b0faf035ef20df401340d4d6fecf6523645908aa3cbe6f5bde8037c9371f194a0ec14e04a669e23abeeaa77a81261f04306b07a4874ca2a
data/CHANGELOG.md CHANGED
@@ -14,6 +14,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
14
14
 
15
15
  ### Fixed
16
16
 
17
+ ## [0.12.1] - 2024-06-12
18
+
19
+ ### Fixed
20
+
21
+ - parsing of targets where the controller is also specified
17
22
 
18
23
  ## [0.12.0] - 2024-02-25
19
24
 
@@ -229,7 +229,11 @@ module Vident
229
229
 
230
230
  def parse_target(raw_target)
231
231
  return raw_target if raw_target.is_a?(String)
232
- return raw_target if raw_target.is_a?(Hash)
232
+ if raw_target.is_a?(Hash)
233
+ raw_target[:name] = js_name(raw_target[:name]) if raw_target[:name].is_a?(Symbol)
234
+ return raw_target
235
+ end
236
+ return target(*raw_target) if raw_target.is_a?(Array)
233
237
  target(raw_target)
234
238
  end
235
239
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Vident
4
- VERSION = "0.12.0"
4
+ VERSION = "0.12.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vident
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Ierodiaconou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties