standardapi 5.0.0 → 5.0.0.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
  SHA1:
3
- metadata.gz: b36f880979bf42f01bf760a716e446580c28e640
4
- data.tar.gz: bf9b2403a472cc7e3aa27a7accb8123dbf8d81a8
3
+ metadata.gz: 6fb19acee2f7719925f317f6216eb76470595a9b
4
+ data.tar.gz: 4cfcfe38537d730c751acf798b92d41e6cd0836e
5
5
  SHA512:
6
- metadata.gz: 1c407ac90c71b0d6c43806c064b8b74c0b19ecbe2b2d842b6d0bade57303061e4d56b633c4948d5ee9642407ebcc4cb67693e2224c9a51cb6181fea2855ca3be
7
- data.tar.gz: 542ef97bdf8d1cd448bb245c334c04d246e86a9827af2fd9eed918df5201d12b36b273f156ade841bcd8cc31a5cda7181b336de86fb477ebb51581b530589d6e
6
+ metadata.gz: 9234d5aa1d3ffa61c938490d4d28a21761768218984361ec9f4484956f8fb97485ffce618c36f513bb9bf35e3814ac1cee92691c0ceef730fd80debd8d15a212
7
+ data.tar.gz: 1defc2e8a650b15039b99696a7d9122c949456ab922067318c76626121014eeeec69931da7b4c146a224a9102431060b73104fbd98dbccc522dd77d209c248cf
@@ -137,7 +137,7 @@ module StandardAPI
137
137
  end
138
138
 
139
139
  def resources
140
- model.filter(params[:where]).where(current_mask[model.table_name])
140
+ model.filter(params[:where]).filter(current_mask[model.table_name])
141
141
  end
142
142
 
143
143
  def includes
@@ -86,7 +86,6 @@ module StandardAPI
86
86
  assert_equal model.where(id: m.id).to_sql, assigns(plural_name).to_sql
87
87
  @controller.current_mask.delete(plural_name)
88
88
  end
89
-
90
89
  end
91
90
  end
92
91
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standardapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Bracy