simple_service 1.3.4 → 1.3.5
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 +4 -4
- data/README.md +6 -6
- data/lib/simple_service/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e1514b79696714aafd45fff845b99bec82fdaed6
|
|
4
|
+
data.tar.gz: 9112d1c52ea2a363902fc1cef9ddc156e314614f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c77250b7a9b986ed103c1cf495dcf4d0ea89361a3a04beaf9396e14ea960013e5bf7f7f82deb30e96adf0a68eceafdcb900cabfa93a11f6414e9bdec59062ef0
|
|
7
|
+
data.tar.gz: 33b0125a37d8e7947fb4fad5195ad0afe08a7bc3a9ed100986b45a203d04cef6f7091383245e5020e4a74ca440fbbc8a009babed7ded46a19ccd536bcc648141
|
data/README.md
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
[](https://travis-ci.org/jspillers/simple_service)
|
|
7
7
|
<!---->
|
|
8
8
|
|
|
9
|
-
SimpleService
|
|
10
|
-
|
|
11
|
-
that perform multiple tasks, SimpleService
|
|
12
|
-
set of sequentially performed "Command" objects.
|
|
13
|
-
that perform exactly one task. When properly designed,
|
|
14
|
-
objects can be reused in multiple organizers minimizing code duplication.
|
|
9
|
+
SimpleService provides a way to organize Ruby service objects into highly reusable
|
|
10
|
+
and composable classes that are easy to implement and easy to read. Instead of
|
|
11
|
+
writing large service objects that perform multiple tasks, SimpleService
|
|
12
|
+
helps you breakdown tasks into a set of sequentially performed "Command" objects.
|
|
13
|
+
Commands are very small classes that perform exactly one task. When properly designed,
|
|
14
|
+
these command objects can be reused in multiple organizers minimizing code duplication.
|
|
15
15
|
|
|
16
16
|
When an organizer is instantiated a hash is passed in containing initial arguments.
|
|
17
17
|
This hash is referred to as the context. The context hash is carried along throughout
|