comprehend 0.0.2 → 0.0.3
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/ext/comprehend/comprehend.c +1 -1
- metadata +15 -10
- checksums.yaml +0 -7
data/ext/comprehend/comprehend.c
CHANGED
@@ -49,7 +49,7 @@ static void ary_resize_capa(VALUE ary, long capacity)
|
|
49
49
|
VALUE *ptr = RARRAY_PTR(ary);
|
50
50
|
if (len > capacity) len = capacity;
|
51
51
|
MEMCPY(RARRAY(ary)->as.ary, ptr, VALUE, len);
|
52
|
-
|
52
|
+
FL_SET(ary, RARRAY_EMBED_FLAG);
|
53
53
|
ARY_SET_LEN(ary, len);
|
54
54
|
xfree(ptr);
|
55
55
|
}
|
metadata
CHANGED
@@ -1,30 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comprehend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Aaron Weiner
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-07-03 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rspec
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- - '>='
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '0'
|
20
22
|
type: :development
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- - '>='
|
27
|
+
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '0'
|
27
|
-
description: '[1,2,3].comprehend{ |i| i.to_s if i<3 } == ["1","2"]'
|
30
|
+
description: ! '[1,2,3].comprehend{ |i| i.to_s if i<3 } == ["1","2"]'
|
28
31
|
email: aweiner@mdsol.com
|
29
32
|
executables: []
|
30
33
|
extensions:
|
@@ -37,7 +40,6 @@ files:
|
|
37
40
|
homepage: http://github.com/mdsol-share/comprehend
|
38
41
|
licenses:
|
39
42
|
- MIT
|
40
|
-
metadata: {}
|
41
43
|
post_install_message:
|
42
44
|
rdoc_options:
|
43
45
|
- --exclude=lib/comprehend
|
@@ -46,19 +48,22 @@ require_paths:
|
|
46
48
|
- lib
|
47
49
|
- ext
|
48
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
49
52
|
requirements:
|
50
|
-
- - '>='
|
53
|
+
- - ! '>='
|
51
54
|
- !ruby/object:Gem::Version
|
52
55
|
version: 1.9.3
|
53
56
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
54
58
|
requirements:
|
55
|
-
- - '>='
|
59
|
+
- - ! '>='
|
56
60
|
- !ruby/object:Gem::Version
|
57
61
|
version: '0'
|
58
62
|
requirements: []
|
59
63
|
rubyforge_project:
|
60
|
-
rubygems_version:
|
64
|
+
rubygems_version: 1.8.24
|
61
65
|
signing_key:
|
62
|
-
specification_version:
|
66
|
+
specification_version: 3
|
63
67
|
summary: Transform and compact an array in one iteration
|
64
68
|
test_files: []
|
69
|
+
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 047758c55d8f6ff523b66c1dcd28979a1a6236eb
|
4
|
-
data.tar.gz: 1e1c36b557b4e430194f11cdbab19e3c50566ae9
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 321a148f52a5abc3c363450bf0ce549bd3eeb3ab16f856d31ecb201b9d96a7c462c86d75da8cd119e7af78203c57dff26b039140c50053ed271ee3662cb2d21a
|
7
|
-
data.tar.gz: d16cd329e737f81e1cbdd47a8e8b45efb18259cca71a7760b619fa5b3b394b312e2b78d09ad2a38e72146caa9bccd79868d0336388858777767536806ec52b52
|