overture 0.1.5 → 0.1.6

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
  SHA256:
3
- metadata.gz: fa0c51c57ea7d2b919d0bf5ce4b5fa3b304242edc0d1933fb52585c9cf22e70f
4
- data.tar.gz: a17470b2d33205aabd1f8e3da68c1d18dd5cb336a2e02e3f0f998968d03983ba
3
+ metadata.gz: 4162a0c95318564102aa7e9f969807b3de0db5137f2b3d55147604d478cc330f
4
+ data.tar.gz: df0d926928a2e898b315ba2193fdedc0480a964efc6722bba2d7dea46f2f3845
5
5
  SHA512:
6
- metadata.gz: 74666c6be5320849896a75db8067a17e94eb6f3aaad92644b7e28f85e6c59ac59e366c620d883dd21d1cb4f86310c9e3fca069f2a1dc2515904481eaec62528c
7
- data.tar.gz: 843b5dfaa68f6e544772d65a9a71d92a6d7854975fa2752606ccd28b6cceb6f0934985e7cc29be0bc3ee3527734ed448535989d7bc5182e3656aa66edc618cde
6
+ metadata.gz: 40e2fd8ea32ba37f3bc443af646ce84e820f87db6cf81c38076dcbbf80d48963c03daff2bfe295a34aa5c03e012d9fddc7da8894b2a8bf88b3f1d0e5a5a3de6d
7
+ data.tar.gz: 9c0155a8f48bbdd4e306456a5393a1736954b45dd960dfd32881a26058e5b9578bdc30a2182c515ec3c24c60e6d62a58a728790206a29b32eca5eabb1b4e9c24
@@ -24,8 +24,8 @@ module Overture
24
24
  end
25
25
  end
26
26
 
27
- def fail!(message)
28
- context.fail!(error: message)
27
+ def fail!(message, meta = {})
28
+ context.fail!(meta.merge(error: message))
29
29
  end
30
30
  end
31
31
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Overture
4
- VERSION = '0.1.5'
4
+ VERSION = '0.1.6'
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: overture
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
- - edgarjs
7
+ - Edgar JS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-01 00:00:00.000000000 Z
11
+ date: 2019-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.1'
19
+ version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.1'
26
+ version: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dotenv
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.5'
33
+ version: '2.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '2.5'
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: interactor
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.1'
47
+ version: '3.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '3.1'
54
+ version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sequel_pg
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.11'
61
+ version: '1.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.11'
68
+ version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: tzinfo
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -84,66 +84,69 @@ dependencies:
84
84
  name: tzinfo-data
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '1.2018'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '1.2018'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: minitest
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '5.11'
103
+ version: '5.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '5.11'
110
+ version: '5.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: minitest-reporters
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '1.3'
117
+ version: '1.0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '1.3'
124
+ version: '1.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rake
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '0'
131
+ version: '12.0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ">="
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '0'
138
+ version: '12.0'
139
139
  description: |
140
- Tools and configurations based on the Clean Architecture.
140
+ Compilation of tools and configurations that will help you
141
+ get started with your back-end setup.
141
142
 
142
143
  This gem contains the basic configuration options and file
143
- organization to create a Ruby application.
144
+ organization to create an HTTP layer and also a layer for
145
+ the business rules (a.k.a. interactors).
144
146
 
145
- Sinatra is used as a delivery layer, but it can be easily
146
- replaced. Core business rules live in the Interactors.
147
+ Sinatra is used as a HTTP layer, but it can be easily
148
+ replaced. [Interactor](https://rubygems.org/gems/interactor)
149
+ is used for the business rules.
147
150
  email: edgar.js@gmail.com
148
151
  executables:
149
152
  - overture-migration