apiql 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/apiql.gemspec +1 -1
  3. data/lib/apiql.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b56d0b44618a6a8578144285d3db2c78622c92bfc837fe48c1e1ac9aee681bb8
4
- data.tar.gz: fbf923f84c2201c4bba5bdf62f495d128b393659d251383b4da6f9b6d8d788e4
3
+ metadata.gz: 7977f078878d37f46e6dded842bf85288f7fdee000abde71d8f3766177117f29
4
+ data.tar.gz: 3b6e485bd617489cb9188674442b12a87068a35fcaa1a45f3e8bfff34f446b96
5
5
  SHA512:
6
- metadata.gz: 749b0adf7b7fdc048df3612ab0427020ddd61e5c3e2a160f2574bede8a217d1868bacc110cc96bc434168d1688c63bcca74806ff7ec010053d3733c4ed49d065
7
- data.tar.gz: e8b94e128b15856463e490b5ebd03ce1328925fd1b5708c733a0b7d2e1ea8a1a9486ba87083fb4d6bf044612c45003c55944055af5ebe6576b8df84a8e76de16
6
+ metadata.gz: 4f098cde91578124e2b0688277530de051ef3164c83d646dfc002fd9f2606595a0854a618a29e12477ac012d2f831081dae19c7ef357a05eda935884ffdb82f6
7
+ data.tar.gz: 1e421e715bec58eabe4a6488f25bc67932e63c26e99ecc6bdf76c214d38a5eaba6e8d33d8167aee53b5a446d93f242328de8b13abe03d2a9c9524363fc643ec9
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'apiql'
7
- spec.version = '0.1.2'
7
+ spec.version = '0.1.3'
8
8
  spec.authors = ['Dmitry Silchenko']
9
9
  spec.email = ['dmitry@desofto.com']
10
10
 
@@ -264,7 +264,7 @@ class APIQL
264
264
  HashEntity.new(value, self).render(schema)
265
265
  elsif value.respond_to?(:each) && value.respond_to?(:map)
266
266
  value.map do |object|
267
- "#{object.class.name}::Entity".constantize.new(object, self).render(schema)
267
+ render_value(object, schema)
268
268
  end
269
269
  elsif APIQL::simple_class?(value)
270
270
  value
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Silchenko