rest_rails 1.1.9 → 1.1.10

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: 4bbf6117c22067039afe036aba247c3f20ac9ba930e3d1140349e70aaaf67d01
4
- data.tar.gz: 88f538adec8d1fd23e67462434fd0845b511777313e30291937c6f89910a51a1
3
+ metadata.gz: 15427d21d0ab69d7e0c821473a2475a4ca8259c1a423e88c92d770936264ed44
4
+ data.tar.gz: 1eccff913bb3e4d706a96160799d30f9b292fb43f63df784e44a78c739161a2f
5
5
  SHA512:
6
- metadata.gz: 9edb560515e507117c98bab2b05d483ab0a0e9455ead8bc820a9ab6d66d608d62dd8c6e8f640e8cac4f7d3e02a2943edb8ce258136659bb999c4a8173478a254
7
- data.tar.gz: d8758148705b26ce8d1dbcf5cce5c55d501ddc326e417b2a19c65aab8165ddf7994a32bb949de530cd307fdfc5d3185f1af14a10064df937eaf5c601c93a70b2
6
+ metadata.gz: 414990b34dfbd2ae57760be6381926de28a4e59bc4ed30abd9e9e56a83e0168c28f76884cfa9f8acdabc55cd56b6e1aab9a535cf5239f3fa5254fda6ab54c429
7
+ data.tar.gz: 3bc09bedd290c23bcd917aada308a405e4c7e4f772faf863d6fbe506c759dd4cd870cce70521a3e5df047aea625cbd638310c51caff598d7ed664a20d736e70c
@@ -92,7 +92,7 @@ module RestRails
92
92
  raise RestRails::Error.new "Table '#{table_name}' does not exist in your database!" unless tables.keys.include?(table_name)
93
93
 
94
94
  # Take the tablename, and make the Model of the relative table_name
95
- table_name.classify.constantize # "users" => User
95
+ tables[table_name]
96
96
  end
97
97
 
98
98
  def verify_permitted!(table)
@@ -1,3 +1,3 @@
1
1
  module RestRails
2
- VERSION = '1.1.9'
2
+ VERSION = '1.1.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Rivas