ruby_multiton 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/multiton/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a812ca7a43770abfdfc13392af7f488579453d7
|
4
|
+
data.tar.gz: a291f4b5a980d76c27547c710ea968a83d18b9aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d14e17cc08d3a1b08276fb55cce8ebcdd480b563177b6a16151d23d7b84884cf5243960bbdee42c6080676cdc4100a0e5f0dba8d62f825ed0ec475d444c1dfd8
|
7
|
+
data.tar.gz: 551a524e3d4d02d87bd1565bf87da57ed42eb5be54e5c404ae28e8cd4fd5459ec9211ab49c5d2fc93bf6aeffa534de40884d781d0c48fc82847fe765e144fd47
|
data/README.md
CHANGED
@@ -8,11 +8,11 @@
|
|
8
8
|
|
9
9
|
Multiton is an implementation of the [multiton pattern][multiton] in pure Ruby. Some its features include:
|
10
10
|
|
11
|
-
- Can be used to implement the [singleton pattern][singleton] in a very straightforwad way
|
12
|
-
- Transparent interface that makes designing multiton classes as easy as designing regular ones
|
13
|
-
- Support for [serializing][marshal_dump] and [deserializing][marshal_load] multiton instances
|
14
|
-
- Clonning, duplicating and inheriting from a multiton class will create a *new* multiton class
|
15
|
-
- Thread safety, implemented via [shared/exclusive locks][sync]
|
11
|
+
- Can be used to implement the [singleton pattern][singleton] in a very straightforwad way.
|
12
|
+
- Transparent interface that makes designing multiton classes as easy as designing regular ones.
|
13
|
+
- Support for [serializing][marshal_dump] and [deserializing][marshal_load] multiton instances.
|
14
|
+
- Clonning, duplicating and inheriting from a multiton class will create a *new* multiton class.
|
15
|
+
- Thread safety, implemented via [shared/exclusive locks][sync].
|
16
16
|
- [Compatible with MRI, JRuby and other Ruby implementations][travis].
|
17
17
|
|
18
18
|
## Installation
|
data/lib/multiton/version.rb
CHANGED