rdf-isomorphic 1.1.0.2 → 1.99.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rdf/isomorphic.rb +6 -6
  4. metadata +2 -20
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a5cc3ae3df3700f2e27e818e82fadd0607a7456
4
- data.tar.gz: 9099544627127772aa632b5a3a4749d0ebde5479
3
+ metadata.gz: d9b348fb60a050242ce875b54eecaf80296a5ed2
4
+ data.tar.gz: 06c15baaee28b71d8fdeac7dcb795a0e88abe3b9
5
5
  SHA512:
6
- metadata.gz: b92053cb06b8573938a481685775495efc5a13813e62bc8eec64443c113219adeeabe2f0795120d2046e1d7a36a97ca8f3a4219a3ad1f039478fa531354bb83c
7
- data.tar.gz: d0b5d15aaeca4ce2cf8a45d81de82ebf2b633d22e39df590c10d7117df28a3e7c8a227ecaa63d3fc748aa741676ec9a7b9737e953dcab5fb28e63f94b75f0ed4
6
+ metadata.gz: 58d840bf40cc4173d7216abb454fa69dcb50e2ce5d29801ddab6f4a1b656c4bf1701e50b6cfe312ecc42b7c9a38ffe83fd4603eefe806e7e6ac7c2b7f509f290
7
+ data.tar.gz: 82af51739d4c7427e34aac5a6d2357840e28bda48a3bbe894aa875d804793e71ac5f4cb92dff21e275bbf2c5874017e7d098a9de726938acf4616e4b0322d388
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0.2
1
+ 1.99.0
@@ -16,7 +16,7 @@ module RDF
16
16
 
17
17
  # Returns `true` if this RDF::Enumerable is isomorphic with another.
18
18
  #
19
- # Takes a :canonicalize => true argument. If true, RDF::Literals will be
19
+ # Takes a canonicalize: true argument. If true, RDF::Literals will be
20
20
  # canonicalized while producing a bijection. This results in broader
21
21
  # matches for isomorphism in the case of equivalent literals with different
22
22
  # representations.
@@ -33,11 +33,11 @@ module RDF
33
33
  alias_method :isomorphic?, :isomorphic_with?
34
34
 
35
35
 
36
- # Returns a hash of RDF::Nodes => RDF::Nodes representing an isomorphic
36
+ # Returns a hash of RDF:Nodes: RDF::Nodes representing an isomorphic
37
37
  # bijection of this RDF::Enumerable's to another RDF::Enumerable's blank
38
38
  # nodes, or nil if a bijection cannot be found.
39
39
  #
40
- # Takes a :canonicalize => true argument. If true, RDF::Literals will be
40
+ # Takes a canonicalize: true argument. If true, RDF::Literals will be
41
41
  # canonicalized while producing a bijection. This results in broader
42
42
  # matches for isomorphism in the case of equivalent literals with different
43
43
  # representations.
@@ -52,7 +52,7 @@ module RDF
52
52
  grounded_stmts_match = (count == other.count)
53
53
 
54
54
  grounded_stmts_match &&= each_statement.all? do | stmt |
55
- stmt.has_blank_nodes? || other.has_statement?(stmt)
55
+ stmt.node? || other.has_statement?(stmt)
56
56
  end
57
57
 
58
58
  if grounded_stmts_match
@@ -60,8 +60,8 @@ module RDF
60
60
  # consideration--we could just as well pass in self and other. But we
61
61
  # will be iterating over this list quite a bit during the algorithm, so
62
62
  # we break it down to the parts we're interested in.
63
- blank_stmts = find_all { |statement| statement.has_blank_nodes? }
64
- other_blank_stmts = other.find_all { |statement| statement.has_blank_nodes? }
63
+ blank_stmts = find_all { |statement| statement.node? }
64
+ other_blank_stmts = other.find_all { |statement| statement.node? }
65
65
 
66
66
  nodes = RDF::Isomorphic.blank_nodes_in(blank_stmts)
67
67
  other_nodes = RDF::Isomorphic.blank_nodes_in(other_blank_stmts)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-isomorphic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.2
4
+ version: 1.99.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Lavender
@@ -9,19 +9,13 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-11-09 00:00:00.000000000 Z
12
+ date: 2015-10-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdf
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: '1.1'
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 1.1.17
24
- - - "<"
25
19
  - !ruby/object:Gem::Version
26
20
  version: '1.99'
27
21
  type: :runtime
@@ -29,12 +23,6 @@ dependencies:
29
23
  version_requirements: !ruby/object:Gem::Requirement
30
24
  requirements:
31
25
  - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.1'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 1.1.17
37
- - - "<"
38
26
  - !ruby/object:Gem::Version
39
27
  version: '1.99'
40
28
  - !ruby/object:Gem::Dependency
@@ -42,9 +30,6 @@ dependencies:
42
30
  requirement: !ruby/object:Gem::Requirement
43
31
  requirements:
44
32
  - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '1.1'
47
- - - "<"
48
33
  - !ruby/object:Gem::Version
49
34
  version: '1.99'
50
35
  type: :development
@@ -52,9 +37,6 @@ dependencies:
52
37
  version_requirements: !ruby/object:Gem::Requirement
53
38
  requirements:
54
39
  - - "~>"
55
- - !ruby/object:Gem::Version
56
- version: '1.1'
57
- - - "<"
58
40
  - !ruby/object:Gem::Version
59
41
  version: '1.99'
60
42
  - !ruby/object:Gem::Dependency