kybus-storage 0.2.0 → 0.2.1

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: 591101eea4d85239c641a75c954b36c887c2a55eaacec2e2715ab7e8ef67be49
4
- data.tar.gz: 81ed03bd6d576cd6dd724e6f23a444b827f428892c5b0d0b8d190e2f55a267df
3
+ metadata.gz: bc9a2960506781f77c4f21fbf1d6ae10706b38f60a95a663416139343bba2585
4
+ data.tar.gz: 6a7a1984c2bf1a88ab21b476dd529d07a9ecbc013d20ca39610e701385e42b03
5
5
  SHA512:
6
- metadata.gz: 6ce7b0638fd3f7612bd8c9adbed4797911228c587a2bb21a6c97aa626643abc98ca197532c1b4180dac37822ae86e7660b5e76fe4f8d11689cf3701299b054df
7
- data.tar.gz: 7e84e7e3f2ee6439f13b81c7da5303db7d507e814f0344b860026b8f9e0a996886e7728e08efd86b98e66c1f3c27bd3f4281fc52212fcdede02f35e4d7340063
6
+ metadata.gz: 15b324aef3547c83b5f4a9ad1a24ee538819116787646d092a756566e3bf60d4360adfc726c9f5ac38011a4cffa7b1fcde29065365cb002e8d99f1a4a39cd8c7
7
+ data.tar.gz: c4545c619974826646b5fca3ed9ad8916f3dedba49a6d316a4597c4799b23c6df9a40c99553920211d326b1876f7292717893e82049b9aa8cbb38316e53e5200
@@ -6,7 +6,7 @@ module Kybus
6
6
  module Exceptions
7
7
  # Exception used when there is an object trying to be created but it
8
8
  # already exists.
9
- class ObjectAlreadyExists < Kybus::Exceptions::AntFail
9
+ class ObjectAlreadyExists < Kybus::Exceptions::KybusFail
10
10
  attr_reader :id
11
11
 
12
12
  def initialize(id, object)
@@ -17,14 +17,14 @@ module Kybus
17
17
 
18
18
  # Exception used when a value on a model violates the restrictions
19
19
  # from the validators.
20
- class ValidationErrors < Kybus::Exceptions::AntFail
20
+ class ValidationErrors < Kybus::Exceptions::KybusFail
21
21
  def initialize(data)
22
22
  super('Error while validating object', 'ValidationErrors', data)
23
23
  end
24
24
  end
25
25
 
26
26
  # Exception used when it is requested an object that can not be found.
27
- class ObjectNotFound < Kybus::Exceptions::AntFail
27
+ class ObjectNotFound < Kybus::Exceptions::KybusFail
28
28
  attr_reader :id
29
29
 
30
30
  def initialize(id)
data/lib/kybus/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kybus
4
4
  module Storage
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kybus-storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gilberto Vargas
@@ -9,175 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2024-07-03 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: dynamoid
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: kybus-core
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: minitest
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: mocha
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: pry
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: rack-minitest
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: rake
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: rdoc
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: sequel
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: simplecov
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: sqlite3
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: webmock
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: '0'
12
+ dependencies: []
181
13
  description: |2
182
14
  This module helps to design persistance modules that are very configurable
183
15
  about where and how to store data.