ruby_multiton 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +0 -2
- data/lib/multiton/version.rb +1 -1
- data/ruby_multiton.gemspec +15 -12
- metadata +55 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 114ec3a8dc239ba084a044e60bb40bcf4c2bec71d5f08336bbe02d8c90ef23fa
|
4
|
+
data.tar.gz: c43df270fb431d5eaa1da0755c5364367d4ebf2983d18fb831423d78df0b643e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a1c64035a23a37468835d7c0f26352bc02c1606b500f7ef2bf5ba9d50f53d8f418381730ba1165c42748671b8029d3efe4776c970c10b5966c93b04a08dcc29
|
7
|
+
data.tar.gz: bccc6ef098116e40abd6249305cc07a206801f41729bff2b034d058ab9bb2e403dd64c8e24f360393e0985e93466b1465c4d00611f3a054ad6bc71dd40f94862
|
data/README.md
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
|
3
3
|
[![Gem Version](http://img.shields.io/gem/v/ruby_multiton.svg)][gem]
|
4
4
|
[![Build Status](http://img.shields.io/travis/gdeoliveira/ruby_multiton/master.svg)][travis]
|
5
|
-
[![Code Climate](http://img.shields.io/codeclimate/github/gdeoliveira/ruby_multiton.svg)][codeclimate]
|
6
|
-
[![Test Coverage](http://img.shields.io/codeclimate/coverage/github/gdeoliveira/ruby_multiton.svg)][codeclimate]
|
7
5
|
[![Inline docs](http://inch-ci.org/github/gdeoliveira/ruby_multiton.svg?branch=master)][inch-ci]
|
8
6
|
|
9
7
|
Multiton is an implementation of the [multiton pattern][multiton] in pure Ruby. Some its features include:
|
data/lib/multiton/version.rb
CHANGED
data/ruby_multiton.gemspec
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: false
|
2
2
|
|
3
3
|
lib = File.expand_path("../lib/".freeze, __FILE__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
@@ -31,16 +31,19 @@ Gem::Specification.new do |spec|
|
|
31
31
|
"lib/".freeze
|
32
32
|
].freeze
|
33
33
|
|
34
|
-
spec.add_runtime_dependency "extensible".freeze, "~> 0.1".freeze
|
34
|
+
spec.add_runtime_dependency "extensible".freeze, "~> 0.1.3".freeze
|
35
|
+
spec.add_runtime_dependency "sync".freeze, "~> 0.5.0".freeze if RUBY_VERSION >= "2.7".freeze
|
35
36
|
|
36
|
-
spec.add_development_dependency "bundler".freeze, "~> 1.
|
37
|
-
spec.add_development_dependency "codeclimate-test-reporter".freeze, "~> 1.0".freeze
|
38
|
-
spec.add_development_dependency "
|
39
|
-
spec.add_development_dependency "guard-
|
40
|
-
spec.add_development_dependency "
|
41
|
-
spec.add_development_dependency "
|
42
|
-
spec.add_development_dependency "
|
43
|
-
spec.add_development_dependency "
|
44
|
-
spec.add_development_dependency "
|
45
|
-
spec.add_development_dependency "
|
37
|
+
spec.add_development_dependency "bundler".freeze, "~> 2.1.4".freeze
|
38
|
+
spec.add_development_dependency "codeclimate-test-reporter".freeze, "~> 1.0.7".freeze
|
39
|
+
spec.add_development_dependency "etc".freeze, "~> 1.1.0".freeze
|
40
|
+
spec.add_development_dependency "guard-rspec".freeze, "~> 4.7.3".freeze
|
41
|
+
spec.add_development_dependency "guard-rubocop".freeze, "~> 1.3.0".freeze
|
42
|
+
spec.add_development_dependency "io-console".freeze, "~> 0.5.5".freeze
|
43
|
+
spec.add_development_dependency "json".freeze, "~> 2.3.0".freeze
|
44
|
+
spec.add_development_dependency "pry-byebug".freeze, "~> 3.8.0".freeze
|
45
|
+
spec.add_development_dependency "rake".freeze, "~> 13.0.1".freeze
|
46
|
+
spec.add_development_dependency "rdoc".freeze, "~> 6.2.1".freeze
|
47
|
+
spec.add_development_dependency "simplecov".freeze, "~> 0.18.1".freeze
|
48
|
+
spec.add_development_dependency "webrick".freeze, "~> 1.6.0".freeze
|
46
49
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_multiton
|
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
|
- Gabriel de Oliveira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: extensible
|
@@ -16,154 +16,182 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.1.3
|
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:
|
26
|
+
version: 0.1.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.1.4
|
34
34
|
type: :development
|
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:
|
40
|
+
version: 2.1.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: codeclimate-test-reporter
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.0.7
|
48
48
|
type: :development
|
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:
|
54
|
+
version: 1.0.7
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: etc
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.1.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.1.0
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: guard-rspec
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
75
|
+
version: 4.7.3
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
80
|
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
82
|
+
version: 4.7.3
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: guard-rubocop
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
89
|
+
version: 1.3.0
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
94
|
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
96
|
+
version: 1.3.0
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: io-console
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
103
|
+
version: 0.5.5
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.5.5
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: json
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 2.3.0
|
90
118
|
type: :development
|
91
119
|
prerelease: false
|
92
120
|
version_requirements: !ruby/object:Gem::Requirement
|
93
121
|
requirements:
|
94
122
|
- - "~>"
|
95
123
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
124
|
+
version: 2.3.0
|
97
125
|
- !ruby/object:Gem::Dependency
|
98
126
|
name: pry-byebug
|
99
127
|
requirement: !ruby/object:Gem::Requirement
|
100
128
|
requirements:
|
101
129
|
- - "~>"
|
102
130
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
131
|
+
version: 3.8.0
|
104
132
|
type: :development
|
105
133
|
prerelease: false
|
106
134
|
version_requirements: !ruby/object:Gem::Requirement
|
107
135
|
requirements:
|
108
136
|
- - "~>"
|
109
137
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
138
|
+
version: 3.8.0
|
111
139
|
- !ruby/object:Gem::Dependency
|
112
140
|
name: rake
|
113
141
|
requirement: !ruby/object:Gem::Requirement
|
114
142
|
requirements:
|
115
143
|
- - "~>"
|
116
144
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
145
|
+
version: 13.0.1
|
118
146
|
type: :development
|
119
147
|
prerelease: false
|
120
148
|
version_requirements: !ruby/object:Gem::Requirement
|
121
149
|
requirements:
|
122
150
|
- - "~>"
|
123
151
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
152
|
+
version: 13.0.1
|
125
153
|
- !ruby/object:Gem::Dependency
|
126
154
|
name: rdoc
|
127
155
|
requirement: !ruby/object:Gem::Requirement
|
128
156
|
requirements:
|
129
157
|
- - "~>"
|
130
158
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
159
|
+
version: 6.2.1
|
132
160
|
type: :development
|
133
161
|
prerelease: false
|
134
162
|
version_requirements: !ruby/object:Gem::Requirement
|
135
163
|
requirements:
|
136
164
|
- - "~>"
|
137
165
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
166
|
+
version: 6.2.1
|
139
167
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
168
|
+
name: simplecov
|
141
169
|
requirement: !ruby/object:Gem::Requirement
|
142
170
|
requirements:
|
143
171
|
- - "~>"
|
144
172
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
173
|
+
version: 0.18.1
|
146
174
|
type: :development
|
147
175
|
prerelease: false
|
148
176
|
version_requirements: !ruby/object:Gem::Requirement
|
149
177
|
requirements:
|
150
178
|
- - "~>"
|
151
179
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
180
|
+
version: 0.18.1
|
153
181
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
182
|
+
name: webrick
|
155
183
|
requirement: !ruby/object:Gem::Requirement
|
156
184
|
requirements:
|
157
185
|
- - "~>"
|
158
186
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
187
|
+
version: 1.6.0
|
160
188
|
type: :development
|
161
189
|
prerelease: false
|
162
190
|
version_requirements: !ruby/object:Gem::Requirement
|
163
191
|
requirements:
|
164
192
|
- - "~>"
|
165
193
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
194
|
+
version: 1.6.0
|
167
195
|
description: Multiton provides a transparent, thread safe and highly compatible implementation
|
168
196
|
of the multiton (and singleton) patterns in pure Ruby.
|
169
197
|
email: deoliveira.gab@gmail.com
|
@@ -204,8 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
232
|
- !ruby/object:Gem::Version
|
205
233
|
version: '0'
|
206
234
|
requirements: []
|
207
|
-
|
208
|
-
rubygems_version: 2.6.11
|
235
|
+
rubygems_version: 3.1.2
|
209
236
|
signing_key:
|
210
237
|
specification_version: 4
|
211
238
|
summary: Multiton pattern implementation for Ruby
|