snow-data 1.3.0 → 1.3.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 +0 -4
- data/lib/snow-data/fiddle.rb +0 -0
- data/lib/snow-data/memory.rb +7 -1
- data/lib/snow-data/version.rb +1 -1
- metadata +15 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9464a623ce04b224a7c2d062510d0770bb9451a1
|
4
|
+
data.tar.gz: 65bcbc3de37a02017f0d5793b21c4381c5032219
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37e7a930fe00ff8685d736b4f6a4f447f533bb1c3dee49dcf17bd9c5217c1fc6cbb7b38283fe096bb71e3f78d15f5ab2d02254b869c4e9c1da57b46356799588
|
7
|
+
data.tar.gz: a4aed617373a91a9c6b84a0d1fb202a02806825b0669c00a63b49c07f13f311a5452b5d0650065088874a424d7162f34878c4e35a1c42b53b6d5db0906f675b7
|
data/README.md
CHANGED
@@ -119,7 +119,3 @@ Snow-Data is licensed under a simplified BSD license, like most of my gems.
|
|
119
119
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
120
120
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
121
121
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
122
|
-
|
123
|
-
The views and conclusions contained in the software and documentation are those
|
124
|
-
of the authors and should not be interpreted as representing official policies,
|
125
|
-
either expressed or implied, of the FreeBSD Project.
|
File without changes
|
data/lib/snow-data/memory.rb
CHANGED
@@ -77,7 +77,13 @@ class Snow::Memory
|
|
77
77
|
# overlap, refer to different chunks of memory, one might be null, etc.
|
78
78
|
#
|
79
79
|
def ==(other)
|
80
|
-
|
80
|
+
return false unless other
|
81
|
+
|
82
|
+
if other.kind_of?(::Snow::Memory) || (other.respond_to?(:address) && other.respond_to?(:bytesize))
|
83
|
+
self.address == other.address && self.bytesize == other.bytesize
|
84
|
+
else
|
85
|
+
false
|
86
|
+
end
|
81
87
|
end
|
82
88
|
|
83
89
|
|
data/lib/snow-data/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snow-data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noel Raymond Cower
|
@@ -24,44 +24,45 @@ extra_rdoc_files:
|
|
24
24
|
- README.md
|
25
25
|
- COPYING
|
26
26
|
files:
|
27
|
+
- COPYING
|
28
|
+
- README.md
|
29
|
+
- ext/extconf.rb
|
30
|
+
- ext/snow-data/snow-data.c
|
31
|
+
- lib/snow-data.rb
|
32
|
+
- lib/snow-data/c_struct.rb
|
27
33
|
- lib/snow-data/c_struct/array_base.rb
|
28
34
|
- lib/snow-data/c_struct/builder.rb
|
29
35
|
- lib/snow-data/c_struct/struct_base.rb
|
30
|
-
- lib/snow-data/
|
36
|
+
- lib/snow-data/fiddle.rb
|
31
37
|
- lib/snow-data/memory.rb
|
32
38
|
- lib/snow-data/version.rb
|
33
|
-
- lib/snow-data.rb
|
34
|
-
- ext/snow-data/snow-data.c
|
35
|
-
- ext/extconf.rb
|
36
|
-
- COPYING
|
37
|
-
- README.md
|
38
39
|
homepage: https://github.com/nilium/ruby-snowdata
|
39
40
|
licenses:
|
40
41
|
- Simplified BSD
|
41
42
|
metadata: {}
|
42
43
|
post_install_message:
|
43
44
|
rdoc_options:
|
44
|
-
- --title
|
45
|
+
- "--title"
|
45
46
|
- snow-data -- C Data Types
|
46
|
-
- --main
|
47
|
+
- "--main"
|
47
48
|
- README.md
|
48
|
-
- --markup=markdown
|
49
|
-
- --line-numbers
|
49
|
+
- "--markup=markdown"
|
50
|
+
- "--line-numbers"
|
50
51
|
require_paths:
|
51
52
|
- lib
|
52
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
53
54
|
requirements:
|
54
|
-
- -
|
55
|
+
- - ">="
|
55
56
|
- !ruby/object:Gem::Version
|
56
57
|
version: 2.0.0
|
57
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
|
-
- -
|
60
|
+
- - ">="
|
60
61
|
- !ruby/object:Gem::Version
|
61
62
|
version: '0'
|
62
63
|
requirements: []
|
63
64
|
rubyforge_project:
|
64
|
-
rubygems_version: 2.
|
65
|
+
rubygems_version: 2.2.1
|
65
66
|
signing_key:
|
66
67
|
specification_version: 4
|
67
68
|
summary: 'Snow-Data: for working with memory like you''ve got nothing to lose.'
|