gibbler 0.10.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION.yml +2 -2
- data/gibbler.gemspec +2 -1
- metadata +15 -2
- data/CHANGELOG.md +0 -211
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3d6f71db3e48bcde87e146541ecd62dcf2bd607efa9cc77aee6c91ddb0186a1
|
4
|
+
data.tar.gz: 779b390460dc341160aac1a43d7c3b5d46b259813811b86a603eeafbace83a24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4413c609e6b7c66460365e48414ba132bc472196c184ce92f237e02fa13e59fc76700e250d2bbcb82ccd8f3b2af47267233d293c6f22e40de89deaa3a670246a
|
7
|
+
data.tar.gz: aad713d6d5e6a1b27f85ffc625f7db9f99e96a90c944dfc6c868483116bd3b43eb3232a8f88815abb5d232022b0471a10da735506800e5dc12046f5ad288cc57
|
data/VERSION.yml
CHANGED
data/gibbler.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "gibbler"
|
3
|
-
s.version = "0.
|
3
|
+
s.version = "1.0.0"
|
4
4
|
s.summary = "Git-like hashes for Ruby objects"
|
5
5
|
s.description = "About Gibbler: Git-like hashes for Ruby objects"
|
6
6
|
s.authors = ["Delano Mandelbaum"]
|
@@ -16,6 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.required_ruby_version = Gem::Requirement.new(">= 2.6.8")
|
17
17
|
|
18
18
|
s.add_dependency "rake", "~> 13.0"
|
19
|
+
s.add_dependency "attic", "~> 1.0"
|
19
20
|
|
20
21
|
s.add_development_dependency "rubocop", "~> 1.0"
|
21
22
|
s.add_development_dependency "tryouts", "~> 2.2"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gibbler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Delano Mandelbaum
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '13.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: attic
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rubocop
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -63,7 +77,6 @@ files:
|
|
63
77
|
- ".gitignore"
|
64
78
|
- ".pre-commit-config.yaml"
|
65
79
|
- ".rubocop.yml"
|
66
|
-
- CHANGELOG.md
|
67
80
|
- CODE_OF_CONDUCT.md
|
68
81
|
- Gemfile
|
69
82
|
- Gemfile.lock
|
data/CHANGELOG.md
DELETED
@@ -1,211 +0,0 @@
|
|
1
|
-
# GIBBLER, CHANGES
|
2
|
-
|
3
|
-
## Releases
|
4
|
-
|
5
|
-
### 0.9.0 (2012-04-20)
|
6
|
-
|
7
|
-
* FIXED: Gibbler::Complex now checks has_method? and will use that before instance variables.
|
8
|
-
* CHANGE: Gibbler is now a class which supplies the default standalone usage
|
9
|
-
* CHANGE: Ruby object mixins must now be explicitly loaded via "require 'gibbler/mixins'"
|
10
|
-
* CHANGE: Removed Gibbler.enable_debug/disable_debug
|
11
|
-
* CHANGE: Gibbler.digest now returns nil for an empty Array
|
12
|
-
* ADDED: Gibbler.delimiter
|
13
|
-
|
14
|
-
### 0.8.10 (2011-10-23)
|
15
|
-
|
16
|
-
* CHANGE: Gibbler::Hash and Gibbler::Array now skip values that have no __gibbler method
|
17
|
-
|
18
|
-
### 0.8.9 (2011-02-11)
|
19
|
-
|
20
|
-
* FIXED: Remove debug output.
|
21
|
-
|
22
|
-
### 0.8.8 (2011-02-11)
|
23
|
-
|
24
|
-
* FIXED: Bundler calls freeze on an instance of Gem::Platform
|
25
|
-
|
26
|
-
### 0.8.7 (2011-02-07)
|
27
|
-
|
28
|
-
* CHANGE: Only call gibbler_debug when in debug mode
|
29
|
-
|
30
|
-
### 0.8.6 (2010-12-24)
|
31
|
-
|
32
|
-
* FIXED: Gibber::VERSION (File error)
|
33
|
-
|
34
|
-
### 0.8.5 (2010-12-23)
|
35
|
-
|
36
|
-
* CHANGE: Gibbler::Complex will skip fields with no __gibbler method
|
37
|
-
* ADDED: Gibbler.debug=
|
38
|
-
|
39
|
-
### 0.8.4 (2010-06-19)
|
40
|
-
|
41
|
-
ADDED: Support for Gibbler.default_base which affects all generated digests.
|
42
|
-
|
43
|
-
### 0.8.3 (2010-05-04)
|
44
|
-
|
45
|
-
* ADDED: Support for global secret (Gibbler.secret) which is prepended to all digests.
|
46
|
-
|
47
|
-
### 0.8.2 (2010-04-29)
|
48
|
-
|
49
|
-
* FIXED: test exception for "String has list of attic vars" tryouts when bundled with my other libraries.
|
50
|
-
* CHANGE: Gibbler::Complex.gibbler will now append fields when called multiple times.
|
51
|
-
|
52
|
-
### 0.8.1 (2010-04-11)
|
53
|
-
|
54
|
-
NOTE: Digest calculation for Range objects has changed.
|
55
|
-
Ranges or objects containing Ranges will have different
|
56
|
-
digests than those created in previous releases.
|
57
|
-
|
58
|
-
* FIXED: "can't iterate from Float" error for Ranges containing a Float
|
59
|
-
* CHANGE: Range digests are now based on the format "CLASS:FIRST:LAST:VALUE"
|
60
|
-
|
61
|
-
### 0.8.0 (2010-04-08)
|
62
|
-
|
63
|
-
* CHANGE: Gibber::Object#__gibbler now accepts only 1 optional argument: digest_type
|
64
|
-
* ADDED: Gibbler::Digest#to_i which assumes base 16
|
65
|
-
* ADDED: Gibbler::Object#gibbler now accepts a digest type
|
66
|
-
* ADDED: Gibbler::Digest#to_s and #base can take a base argument
|
67
|
-
|
68
|
-
### 0.7.7 (2010-03-29)
|
69
|
-
|
70
|
-
* ADDED: Gibbler::Digest#shorten
|
71
|
-
|
72
|
-
### 0.7.6 (2010-03-18)
|
73
|
-
|
74
|
-
* FIXED: The previous fix missed the case where gibbler_fields was null
|
75
|
-
|
76
|
-
### 0.7.5 (2010-03-18)
|
77
|
-
|
78
|
-
* FIXED: :undefined method `each' for :fieldname:Symbol when only one element in gibbler_fields
|
79
|
-
|
80
|
-
### 0.7.4 (2010-02-12)
|
81
|
-
|
82
|
-
* CHANGE: Remove hanna dependency [Diego Elio 'Flameeyes' Pettenò]
|
83
|
-
|
84
|
-
### 0.7.3 (2010-01-15)
|
85
|
-
|
86
|
-
* ADDED: Support for base36 representations of digests
|
87
|
-
|
88
|
-
### 0.7.2 (2009-12-08)
|
89
|
-
|
90
|
-
* FIXED: Gibbler::Complex no longer includes the '@' for instance
|
91
|
-
variable names used in digest calculation.
|
92
|
-
* ADDED: Gibbler::Complex support for specifying which fields
|
93
|
-
to use in digest calculation.
|
94
|
-
|
95
|
-
### 0.7.1 (2009-10-09)
|
96
|
-
|
97
|
-
* FIXED: Gibbler::Complex now sorts instance variables before processing.
|
98
|
-
This resolves the issue of digest compatibility between 1.8, 1.9, and JRuby.
|
99
|
-
|
100
|
-
### 0.7.0 (2009-10-07)
|
101
|
-
|
102
|
-
NOTE: Digest calculation for Proc objects has changed. Procs
|
103
|
-
or objects containing Procs will have different digests than
|
104
|
-
those created in previous releases.
|
105
|
-
|
106
|
-
* CHANGE: Proc digests are now based on the values of obj.class
|
107
|
-
and obj.name (if available).
|
108
|
-
|
109
|
-
### 0.6.4 (2009-10-07)
|
110
|
-
|
111
|
-
* FIXED: Now using correct superclass for DateTime (Date)
|
112
|
-
* CHANGE: aliases.rb will now require gibbler so you don't need to specify both.
|
113
|
-
i.e. require 'gibbler'
|
114
|
-
require 'gibbler/aliases'
|
115
|
-
* CHANGE: Gibbler::Object#gibbler returns the value of gibbler_cache when
|
116
|
-
the object is frozen, without calculation.
|
117
|
-
* ADDED: Gibbler::Object#freeze to create digest before freezing.
|
118
|
-
* ADDED: Out of the box support for Regexp (Gibbler::String)
|
119
|
-
* ADDED: Gibbler::Object#digest_cache alias for gibbler_cache
|
120
|
-
|
121
|
-
### 0.6.3 (2009-09-30)
|
122
|
-
|
123
|
-
* FIXED: Won't save digest to cache if the object is frozen
|
124
|
-
* CHANGE: Renamed __gibbler_cache to gibbler_cache (with backwards compatability)
|
125
|
-
* CHANGE: Gibbler::Digest#== now returns true only for exact matches
|
126
|
-
* ADDED: Gibbler::Digest#shorter, Gibbler::Digest#tiny, Gibbler::Digest#===
|
127
|
-
|
128
|
-
### 0.6.2 (2009-09-15)
|
129
|
-
|
130
|
-
* FIXED: Enforce specific string format for Time objects. Fixes
|
131
|
-
an issue with Ruby 1.8.7 which formats the to_s value differently
|
132
|
-
than 1.8.6 and 1.9.1.
|
133
|
-
* ADDED: Support for NilClass, File, and URI
|
134
|
-
|
135
|
-
### 0.6.1 (2009-08-25)
|
136
|
-
|
137
|
-
* ADDED: Support for Date, Time, and DateTime. Time and DateTime
|
138
|
-
refers to times in UTC.
|
139
|
-
* ADDED: Support for Range.
|
140
|
-
|
141
|
-
### 0.6.0 (2009-07-20)
|
142
|
-
|
143
|
-
NOTE: Digest calculation for Proc and Class objects have changed.
|
144
|
-
Digests created for these types will not match previous releases.
|
145
|
-
|
146
|
-
* FIXED: Proc digests no longer refer to Proc#binding
|
147
|
-
* CHANGE: The Gibbler module now raises an exception if it's included
|
148
|
-
* CHANGE: Module and Class now use the default Gibbler::Object digest
|
149
|
-
* ADDED: Gibbler::Object now contains a default digest method
|
150
|
-
|
151
|
-
### 0.5.4 (2009-07-17)
|
152
|
-
|
153
|
-
* FIXED: Improved support for Symbol and Fixnum objects with Attic 0.4
|
154
|
-
|
155
|
-
### 0.5.3 (2009-07-12)
|
156
|
-
|
157
|
-
* FIXED: Updated gemspec to fix missing files (aliases)
|
158
|
-
* CHANGE: conversion to attic instead of weirdo instance
|
159
|
-
variables (@__gibbler__ and @__gibbler_history)
|
160
|
-
* NEW DEPENDENCY: attic
|
161
|
-
|
162
|
-
### 0.5.2 (2009-07-07)
|
163
|
-
|
164
|
-
* CHANGE: Moved Gibbler instance methods to Gibbler::Object
|
165
|
-
* ADDED: Proc.gibbler which is included by default
|
166
|
-
* ADDED: gibbler aliases to allow shorter methods by request.
|
167
|
-
|
168
|
-
### 0.5.1 (2009-07-06)
|
169
|
-
|
170
|
-
* CHANGE: Renamed gibbler_revert to gibbler_revert! (Thanks ivey)
|
171
|
-
|
172
|
-
### 0.5 (2009-07-01)
|
173
|
-
|
174
|
-
NOTE: This is a significant change from 0.4. Many method names
|
175
|
-
have been modified so this release is not backwards compatible.
|
176
|
-
|
177
|
-
* CHANGE: Now refer to "gibble" as "digest" in all docs and methods.
|
178
|
-
* CHANGE: Gibbler#gibble -> Gibbler#gibbler
|
179
|
-
* CHANGE: Gibble is now Gibbler::Digest
|
180
|
-
* ADDED: Gibbler::History, supporting gibbler_snapshots and gibbler_revert
|
181
|
-
for the following objects: Array, Hash
|
182
|
-
* ADDED: Support for short, 8-character digests
|
183
|
-
* ADDED: Expanded test coverage
|
184
|
-
|
185
|
-
### 0.4 (2009-06-30)
|
186
|
-
|
187
|
-
NOTE: Calculated digests have changed since 0.3. Most digests created with
|
188
|
-
0.3 and earlier will not match those created in 0.4 for the same object
|
189
|
-
|
190
|
-
* FIXED: Hash and Array now use the class of the value for hashing
|
191
|
-
rather than Hash or Array (respectively).
|
192
|
-
* FIXED: __gibbler methods now return a digest based on their own class.
|
193
|
-
Previously, all digests were created by String.__gibbler so the class
|
194
|
-
name from the original object got lost.
|
195
|
-
* CHANGE: Gibbler methods are no longer available to all Ruby classes
|
196
|
-
by default. The default list is now: String, Hash, Array, Symbol,
|
197
|
-
Class, Fixnum, Bignum.
|
198
|
-
* CHANGE: Renamed Gibbler.digest_type to Gibbler.digest_type
|
199
|
-
* ADDED: Custom objects can now "include Gibbler::Complex"
|
200
|
-
|
201
|
-
### 0.3 (2009-06-29)
|
202
|
-
|
203
|
-
* CHANGE: Renamed to_gibble -> gibble
|
204
|
-
* CHANGE: Renamed __default_gibbler to__gibbler
|
205
|
-
* CHANGE: Created Gibbler module, all other modules can
|
206
|
-
include its junk into their namespace.
|
207
|
-
* ADDED: Object#hash and performance tryouts
|
208
|
-
|
209
|
-
### 0.2 (2009-06-25)
|
210
|
-
|
211
|
-
NOTE: Initial release
|