red_blocks 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/red_blocks/enum_set.rb +1 -1
- data/lib/red_blocks/version.rb +1 -1
- metadata +4 -4
- data/Gemfile.lock +0 -78
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e5999a1d988d1a0c1e9ccfc4bb2e0f77b8a72f9
|
4
|
+
data.tar.gz: 9c8d490789e704b849d70c1fc02d039ff94ea1c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2409a00c71f96c4a98b6f558efab10c91a6deb86101ea8f6f35cf9a42660318fdcf15213a72818f6bd4c3a8a826df5f345e44741ece3c8ff777fd1bb8e7056be
|
7
|
+
data.tar.gz: 4f91c72495ab346a4053170ee8daddfcd76f8ad9d43ecc8595e85f0bef096be7b4ceb7b289c37672012eb6aaba85e23c4e8eef25a684c574c2dab51331ceb1e7
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Gemfile.lock
|
data/lib/red_blocks/enum_set.rb
CHANGED
@@ -4,7 +4,7 @@ module RedBlocks
|
|
4
4
|
|
5
5
|
def initialize(value)
|
6
6
|
unless self.class.available_values.include?(value)
|
7
|
-
raise RedBlocks::
|
7
|
+
raise RedBlocks::DomainError.new(value, self.class.available_values)
|
8
8
|
end
|
9
9
|
@value = value
|
10
10
|
end
|
data/lib/red_blocks/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red_blocks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Altech
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -130,9 +130,9 @@ executables: []
|
|
130
130
|
extensions: []
|
131
131
|
extra_rdoc_files: []
|
132
132
|
files:
|
133
|
+
- ".gitignore"
|
133
134
|
- CHANGELOG.md
|
134
135
|
- Gemfile
|
135
|
-
- Gemfile.lock
|
136
136
|
- Guardfile
|
137
137
|
- LICENSE.txt
|
138
138
|
- README.md
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
version: '0'
|
180
180
|
requirements: []
|
181
181
|
rubyforge_project:
|
182
|
-
rubygems_version: 2.
|
182
|
+
rubygems_version: 2.6.13
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: Object-oriented abstraction of Redis sorted set.
|
data/Gemfile.lock
DELETED
@@ -1,78 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
red_blocks (0.1.0)
|
5
|
-
redis (~> 3.3)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
coderay (1.1.2)
|
11
|
-
diff-lcs (1.3)
|
12
|
-
ffi (1.9.18)
|
13
|
-
formatador (0.2.5)
|
14
|
-
guard (2.14.1)
|
15
|
-
formatador (>= 0.2.4)
|
16
|
-
listen (>= 2.7, < 4.0)
|
17
|
-
lumberjack (~> 1.0)
|
18
|
-
nenv (~> 0.1)
|
19
|
-
notiffany (~> 0.0)
|
20
|
-
pry (>= 0.9.12)
|
21
|
-
shellany (~> 0.0)
|
22
|
-
thor (>= 0.18.1)
|
23
|
-
guard-compat (1.2.1)
|
24
|
-
guard-rspec (4.7.3)
|
25
|
-
guard (~> 2.1)
|
26
|
-
guard-compat (~> 1.1)
|
27
|
-
rspec (>= 2.99.0, < 4.0)
|
28
|
-
listen (3.1.5)
|
29
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
30
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
31
|
-
ruby_dep (~> 1.2)
|
32
|
-
lumberjack (1.0.12)
|
33
|
-
method_source (0.9.0)
|
34
|
-
mock_redis (0.17.3)
|
35
|
-
nenv (0.3.0)
|
36
|
-
notiffany (0.1.1)
|
37
|
-
nenv (~> 0.1)
|
38
|
-
shellany (~> 0.0)
|
39
|
-
pry (0.11.1)
|
40
|
-
coderay (~> 1.1.0)
|
41
|
-
method_source (~> 0.9.0)
|
42
|
-
rake (10.5.0)
|
43
|
-
rb-fsevent (0.10.2)
|
44
|
-
rb-inotify (0.9.10)
|
45
|
-
ffi (>= 0.5.0, < 2)
|
46
|
-
redis (3.3.3)
|
47
|
-
rspec (3.6.0)
|
48
|
-
rspec-core (~> 3.6.0)
|
49
|
-
rspec-expectations (~> 3.6.0)
|
50
|
-
rspec-mocks (~> 3.6.0)
|
51
|
-
rspec-core (3.6.0)
|
52
|
-
rspec-support (~> 3.6.0)
|
53
|
-
rspec-expectations (3.6.0)
|
54
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
-
rspec-support (~> 3.6.0)
|
56
|
-
rspec-mocks (3.6.0)
|
57
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
58
|
-
rspec-support (~> 3.6.0)
|
59
|
-
rspec-support (3.6.0)
|
60
|
-
ruby_dep (1.5.0)
|
61
|
-
shellany (0.0.1)
|
62
|
-
thor (0.20.0)
|
63
|
-
|
64
|
-
PLATFORMS
|
65
|
-
ruby
|
66
|
-
|
67
|
-
DEPENDENCIES
|
68
|
-
bundler (~> 1.13)
|
69
|
-
guard
|
70
|
-
guard-rspec
|
71
|
-
mock_redis (~> 0.17)
|
72
|
-
pry
|
73
|
-
rake (~> 10.0)
|
74
|
-
red_blocks!
|
75
|
-
rspec (~> 3.0)
|
76
|
-
|
77
|
-
BUNDLED WITH
|
78
|
-
1.13.6
|