restpack_service 0.0.50 → 0.0.51
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32c783b19e253749061de0ed580d340a53e08274
|
4
|
+
data.tar.gz: 4abe5de950c2a0f10acd84b142a7bb7d89eb54c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51402634513f94e8f893609a94ad47012b6755ad22c00852bb61c43ddccc196e8cbb6a9e9817f7ead7380e0106dcba2bbcc2c61e5f796357ca56bedbfffae261
|
7
|
+
data.tar.gz: 45b20d0201c2875a06c7ac9188e9dd26b1508ff983b681da1b6933027826fb7caee810726c5fd08ebbe8250e0dc3cce36a20b8d8aefef48c69de94095b9292f6
|
@@ -1,7 +1,8 @@
|
|
1
1
|
def it_acts_as_create_command(type)
|
2
2
|
plural = "#{type}s".to_sym
|
3
|
-
|
4
|
-
|
3
|
+
|
4
|
+
model_class = "Models::#{type.to_s.camelize}".constantize
|
5
|
+
serializer_class = "Serializers::#{type.to_s.camelize}".constantize
|
5
6
|
|
6
7
|
let(:response) { subject.class.run(params) }
|
7
8
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restpack_service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gavin Joyce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mutations
|