lite-service 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/Gemfile.lock +1 -1
- data/README.md +6 -1
- data/lib/lite/service/base.rb +5 -0
- data/lib/lite/service/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 122acd6543eaaf0ac66c979f6233f1c026a3ba051fc958de3cc3c307ae66c188
|
4
|
+
data.tar.gz: 2b2e1a181939525c73f804682077a02a42a91725e2c0d7e82840a942c3aac56a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc97f416cef81f1d7bfa4a5d7ede40788db5f7f045543e0bc74551368715380849b13f9ede1408e6fa1163fa64141d84a3fbdf363d4b822ba61069eaa5ce0be3
|
7
|
+
data.tar.gz: 97f7c060c2d3e84102fa57bb4cdcef7f559e59b4e8fe759ea2891ef2e66e3d139652ce811bcfc27dbaef5933be24d390be1156b3034eed4c7d423e122c392740
|
data/CHANGELOG.md
CHANGED
@@ -6,10 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
-
## [1.0.
|
9
|
+
## [1.0.3] - 2019-07-12
|
10
|
+
### Added
|
11
|
+
- Added `self.run` method that is like call but returns the result instead of its self.
|
12
|
+
|
13
|
+
## [1.0.2] - 2019-06-25
|
10
14
|
### Changed
|
11
15
|
- Changed command module to class so that it's inheritable
|
12
16
|
|
17
|
+
## [1.0.1] - 2019-06-25
|
18
|
+
### Changed
|
19
|
+
- Rename `run` to `command`
|
20
|
+
|
13
21
|
## [1.0.0] - 2019-06-24
|
14
22
|
### Added
|
15
23
|
- Initial project version
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -67,11 +67,16 @@ service.called? #=> false
|
|
67
67
|
service.call #=> { 'fingerprint_1' => [ 'Toy Story 1', ... ] }
|
68
68
|
service.called? #=> true
|
69
69
|
|
70
|
-
# or
|
70
|
+
# - or -
|
71
71
|
|
72
72
|
service = SearchMovies.call('Toy Story')
|
73
73
|
service.called? #=> true
|
74
74
|
service.call #=> { 'fingerprint_1' => [ 'Toy Story 1', ... ] }
|
75
|
+
|
76
|
+
# - or -
|
77
|
+
|
78
|
+
# Use full when you are not using the Errors mixin.
|
79
|
+
SearchMovies.run('Toy Story') #=> { 'fingerprint_1' => [ 'Toy Story 1', ... ] }
|
75
80
|
```
|
76
81
|
|
77
82
|
**Result**
|
data/lib/lite/service/base.rb
CHANGED
data/lib/lite/service/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lite-service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lite-errors
|