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: f3112cdda0292cda0db626c31d7a02f5857a51dc
4
- data.tar.gz: fb3e69799b34841231f20abfefb4495ae10af712
3
+ metadata.gz: 32c783b19e253749061de0ed580d340a53e08274
4
+ data.tar.gz: 4abe5de950c2a0f10acd84b142a7bb7d89eb54c8
5
5
  SHA512:
6
- metadata.gz: 659587c99edeb9aaabd36118968865249b6656fb328118ddb4718a434eb815101a1eac5189f1676c340497e2ba4ebf86fdc234e5c04b1bc178367d27198135da
7
- data.tar.gz: 4b59eeeead5333ebacafb90a2aab6e0d5e28d0dd43cd543c8c2e7ea7d065ec53061ed9b8c880f46e49c3f5ec8775dcbc90789c9e88b1f72647b20c5cb9e2a688
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
- model_class = "Models::#{type.capitalize}".constantize
4
- serializer_class = "Serializers::#{type.capitalize}".constantize
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
 
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Service
3
- VERSION = "0.0.50"
3
+ VERSION = "0.0.51"
4
4
  end
5
5
  end
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.50
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-13 00:00:00.000000000 Z
11
+ date: 2013-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mutations