restpack_service 0.0.56 → 0.0.57

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: f3f1d057a09d2f8224e21cf93a5653a1ed604731
4
- data.tar.gz: aa8528eebd096def9bf67873733033030b3466c6
3
+ metadata.gz: 3df7387fd3f97b5c93ab2219340fff53fff5a93b
4
+ data.tar.gz: f73d1c59333b6259c2f3d6d642a2d2dbcf4a34d3
5
5
  SHA512:
6
- metadata.gz: 5fd30cbad5729bc56224a1aa0f913ec96152a71ed6fd02d73905a3e54c3219a66664b1f11b1b146a08cc9969451cca574602864b04839b1ef1efb831ddeaff77
7
- data.tar.gz: a078c1de9fcf58e6d5dd61c8a1a0d2899d0936035aeb653b61d1c8d3a5c0f6bb1b973567bc6f5bf68da6d4c5f76166e64de0224c2fde206ac53bec0ae5b88065
6
+ metadata.gz: c70a005158f062786a0c5e642c103c1c1c22337aa9c8000e8905ceb416b4fb41736e1e612178d5bece2ade0633fe471b75099759e61477d4f944c21520d0eb5d
7
+ data.tar.gz: b9394f833be733d1d637369667ce0458d7b2e03df2bc7041dd75b64e2def87d1cc36f324796bc52ed61f584ac33bcf0e17a53209cdd4268d9f63ae3d95194c50
@@ -6,20 +6,19 @@ module Tasks;end
6
6
  module RestPack::Service
7
7
  class Loader
8
8
 
9
- def self.load(name)
9
+ def self.load(gem_name, module_name)
10
10
  require 'require_all'
11
11
 
12
12
  require 'restpack_serializer'
13
13
  require 'active_support/core_ext'
14
14
 
15
- restpack_service_name = "restpack_#{name}_service"
16
- service_path = self.get_service_path(caller, restpack_service_name)
15
+ service_path = self.get_service_path(caller, gem_name)
17
16
 
18
17
  require "#{service_path}/version"
19
18
  require "#{service_path}/configuration"
20
19
  require_all "#{service_path}/tasks"
21
20
 
22
- modularize "Commands::#{name.capitalize}"
21
+ modularize "Commands::#{module_name}"
23
22
 
24
23
  require_service_module 'models', service_path
25
24
  require_service_module 'serializers', service_path
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Service
3
- VERSION = "0.0.56"
3
+ VERSION = "0.0.57"
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.56
4
+ version: 0.0.57
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-11-13 00:00:00.000000000 Z
11
+ date: 2013-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mutations