namebox 0.1.8 → 0.1.9
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.
- data/lib/namebox.rb +2 -2
- metadata +27 -42
data/lib/namebox.rb
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
# This software is released "AS IS", without any warranty.
|
|
9
9
|
# The author is not responsible for the consequences of use of this software.
|
|
10
10
|
#
|
|
11
|
-
# Version 0.1.
|
|
11
|
+
# Version 0.1.9 - This is the last version compatible with Ruby 1.8.7 and 1.9.1.
|
|
12
12
|
# It's slow, memory-consuming and it has some issues about loosing 'self'
|
|
13
13
|
# when in class methods changed by extending modules in subclasses
|
|
14
14
|
# (self will be the class instead of subclass when namebox is closed).
|
|
15
|
-
# Next versions will be only 1.9
|
|
15
|
+
# Next versions will be only compatible with Ruby 1.9.2 or greater.
|
|
16
16
|
|
|
17
17
|
class Namebox
|
|
18
18
|
|
metadata
CHANGED
|
@@ -1,70 +1,55 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: namebox
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 0
|
|
8
|
-
- 1
|
|
9
|
-
- 8
|
|
10
|
-
version: 0.1.8
|
|
11
6
|
platform: ruby
|
|
12
|
-
authors:
|
|
7
|
+
authors:
|
|
13
8
|
- Sony Santos
|
|
14
9
|
autorequire:
|
|
15
10
|
bindir: bin
|
|
16
11
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
date: 2013-01-20 00:00:00 Z
|
|
12
|
+
date: 2013-01-20 00:00:00.000000000 Z
|
|
19
13
|
dependencies: []
|
|
14
|
+
description: ! 'Create namespace boxes to protect the core classes'' methods from
|
|
15
|
+
changes, like refinements.
|
|
16
|
+
|
|
20
17
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
Note: this is the last version compatible with Ruby 1.8.7 and 1.9.1. It''s slow,
|
|
19
|
+
memory-consuming and it has some issues about loosing ''self'' when in class methods
|
|
20
|
+
changed by extending modules in subclasses (self will be the class instead of subclass
|
|
21
|
+
when namebox is closed). Next versions will be only compatible with Ruby 1.9.2 or
|
|
22
|
+
greater.'
|
|
25
23
|
email: sony.fermino@gmail.com
|
|
26
24
|
executables: []
|
|
27
|
-
|
|
28
25
|
extensions: []
|
|
29
|
-
|
|
30
26
|
extra_rdoc_files: []
|
|
31
|
-
|
|
32
|
-
files:
|
|
27
|
+
files:
|
|
33
28
|
- lib/namebox.rb
|
|
34
29
|
homepage: http://rubychallenger.blogspot.com.br/2013/01/namebox.html
|
|
35
|
-
licenses:
|
|
30
|
+
licenses:
|
|
36
31
|
- Public Domain
|
|
37
32
|
post_install_message:
|
|
38
33
|
rdoc_options: []
|
|
39
|
-
|
|
40
|
-
require_paths:
|
|
34
|
+
require_paths:
|
|
41
35
|
- lib
|
|
42
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
36
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
43
37
|
none: false
|
|
44
|
-
requirements:
|
|
45
|
-
- -
|
|
46
|
-
- !ruby/object:Gem::Version
|
|
47
|
-
hash: 57
|
|
48
|
-
segments:
|
|
49
|
-
- 1
|
|
50
|
-
- 8
|
|
51
|
-
- 7
|
|
38
|
+
requirements:
|
|
39
|
+
- - ! '>='
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
52
41
|
version: 1.8.7
|
|
53
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
42
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
43
|
none: false
|
|
55
|
-
requirements:
|
|
56
|
-
- -
|
|
57
|
-
- !ruby/object:Gem::Version
|
|
58
|
-
|
|
59
|
-
segments:
|
|
60
|
-
- 0
|
|
61
|
-
version: "0"
|
|
44
|
+
requirements:
|
|
45
|
+
- - ! '>='
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
62
48
|
requirements: []
|
|
63
|
-
|
|
64
49
|
rubyforge_project:
|
|
65
50
|
rubygems_version: 1.8.24
|
|
66
51
|
signing_key:
|
|
67
52
|
specification_version: 3
|
|
68
|
-
summary: Create namespace boxes to protect the core classes' methods from changes,
|
|
53
|
+
summary: Create namespace boxes to protect the core classes' methods from changes,
|
|
54
|
+
like refinements.
|
|
69
55
|
test_files: []
|
|
70
|
-
|