yodatra 0.2.2 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yodatra/models_controller.rb +2 -2
- data/lib/yodatra/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8240525f02de795c9ed1797d8877c28013b54d33
|
4
|
+
data.tar.gz: 120a6466d5d5d68adb3bafdaca0c0e5d44ba9c8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52a3a01dfb5e39b366742bb7a17660692a921191a395a48392612fac532b00df135d871fa59cdd9343eee44710a96a0ab90b32dd6e3090813a1e7609546801d8
|
7
|
+
data.tar.gz: 69896da77b0e39f0d1dfda73a13dc174f16deb04fc1f394ad54f5bfaba38e36fc3ed21ebff42be0637d8967dd1db943295c0e1beef4101b54bbb51dae1de6e93
|
@@ -55,7 +55,7 @@ module Yodatra
|
|
55
55
|
post ALL_ROUTE do
|
56
56
|
retrieve_resources CREATE_ONE do |resource|
|
57
57
|
hash = self.send("#{model_name.underscore}_params".to_sym)
|
58
|
-
@one = resource.
|
58
|
+
@one = resource.create hash
|
59
59
|
|
60
60
|
if @one.save
|
61
61
|
@one.as_json(read_scope).to_json
|
@@ -196,4 +196,4 @@ module Yodatra
|
|
196
196
|
end
|
197
197
|
|
198
198
|
end
|
199
|
-
end
|
199
|
+
end
|
data/lib/yodatra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yodatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Bonaud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|