peplum-template 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98ad2059ef9d2f8a27def0755a3cede49283b387877aae06c53786d34dbee5f2
|
4
|
+
data.tar.gz: 26e595152ae3e70495bbb69008a5d3b73b1c3826b4cb0e35bc2e0daea4aa659a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 739176a880d8ae56bbeccc44baeb947309c6f3554deacc285bf9f41c1eba0176ed99976b805e52a4c224955489303b929b16df90cfc58fd73f07303ca0125cab
|
7
|
+
data.tar.gz: 3db8aed3e72aff2e2719cefe84fa3311dd7c6d4bd9e766c0b129ce991c3f000f00f5ceb13884ea7a867b87edcf8d8b9dd3dffb131d782651ce3f92a65fab33e8
|
data/examples/rest.rb
CHANGED
data/examples/rpc.rb
CHANGED
@@ -6,7 +6,7 @@ module Peplum
|
|
6
6
|
class Template
|
7
7
|
|
8
8
|
class Application < Peplum::Application
|
9
|
-
require_relative "application/
|
9
|
+
require_relative "application/payload"
|
10
10
|
require_relative 'application/services/my_service'
|
11
11
|
|
12
12
|
# TODO: Adjust accordingly.
|
@@ -18,8 +18,8 @@ class Application < Peplum::Application
|
|
18
18
|
# TODO: Is a service necessary?
|
19
19
|
instance_service_for :my_service, Services::MyService
|
20
20
|
|
21
|
-
def
|
22
|
-
|
21
|
+
def payload
|
22
|
+
Payload
|
23
23
|
end
|
24
24
|
|
25
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peplum-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tasos Laskos
|
@@ -38,7 +38,7 @@ files:
|
|
38
38
|
- examples/rpc.rb
|
39
39
|
- lib/peplum/template.rb
|
40
40
|
- lib/peplum/template/application.rb
|
41
|
-
- lib/peplum/template/application/
|
41
|
+
- lib/peplum/template/application/payload.rb
|
42
42
|
- lib/peplum/template/application/services/my_service.rb
|
43
43
|
- lib/peplum/template/version.rb
|
44
44
|
- peplum-template.gemspec
|