yaccl 0.0.14 → 0.0.15

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjE0M2U4YmJkNzUyYzM4MTNjODEyOTBhMjdjNGU2ZDljYzY0YjE0Zg==
4
+ YTEzMjljNDVmODZjNjFkMzcwZjc0MWM4OGZiOThkMDg1MThhNDU0Mw==
5
5
  data.tar.gz: !binary |-
6
- ZTkxZTFiNjAzOTJmNjk0YTVmMDkxMjk3ZDBiZmRiZmFjODZkNmRjYw==
6
+ ZTM0NmVlM2QyNTBhYWFmYWMyZDE2OTIzMDcwYzkzNWY5NmFhMzk4Nw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZDBkZjY5NDIzZDI2M2UxZjYwZTk5ODM5ZjAwMjJjOGNjODEzMzQ5MzQyODdl
10
- ZjgyYThkNWUwOTk5YzU5Y2QwYTBjMTFmZGZlOGY3OWE3NmU3MmJkNGI3OTVl
11
- MDc1YmFlYWRiMWMxN2M1YzkwMTkyZjJjMWFlY2VmMDM0OGNhMTg=
9
+ ZmMxNDM1MmZlZGUxZmY0NmZlZDMwMjY4NWU5M2I5YzZmMjc4YWY0NzYyMTJi
10
+ YjNhMmY4ZDJiMTNlZmZhZDkwYTcyNjM5NjI0NWZmNjcyODQ0OWI5NjlmMzky
11
+ NGZhYzAxYTg5ODg4OGVmZmM3ZDgwMWE1OTRjYzhmNTdiNmNlMzU=
12
12
  data.tar.gz: !binary |-
13
- Y2QxMGIyMDdiYTM3ZTQ3YTEwNDk1ZjgzZGRmNWMzMGNjYzlmNmYwMzMxNGNl
14
- YjFkYTFiMGQ2YzY0ODhiNDNhYjg1ZmZiY2E0ZjA1MWNmYjhhYmM4ZGZkMTEw
15
- ODU0MWViMzg2OWE0MzQxODViNWFmM2I5MmFlZjU3YTg2M2RkOWU=
13
+ YmE2OTQwYTk3NDk3YjZjODRhODJjMDA4YTVmMzY5YTdjMmNlYjkxNjNhZjNh
14
+ MjUwM2U0ZDc2ZGNjNDAxNTdmN2E0NmRkOTU2ODhlNTQ1MWY3YmIyOTI4Y2Rj
15
+ M2I0M2YxNGZlMzc5ZDhlNmEwNjQwZWI5ZDQxZDY4ZmMyNTFhMzQ=
@@ -26,12 +26,11 @@ module YACCL
26
26
  attr_accessor :allowed_target_types
27
27
 
28
28
  def self.create(repository_id, raw)
29
- Type.new(repository_id, raw)
30
- end
31
-
32
- def initialize(repository_id, hash={})
33
29
  @repository_id = repository_id
30
+ Type.new(raw)
31
+ end
34
32
 
33
+ def initialize(hash={})
35
34
  @id = hash[:id]
36
35
  @local_name = hash[:localName]
37
36
  @local_namespace = hash[:localNamespace]
data/lib/yaccl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module YACCL
2
- VERSION = '0.0.14'
2
+ VERSION = '0.0.15'
3
3
  end
data/spec/helper.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'yaccl'
2
2
  require 'json'
3
3
 
4
- YACCL.init('http://localhost:8080/upncmis/browser')
4
+ YACCL.init('http://localhost:8080/browser')
5
5
 
6
6
  def create_repository(id)
7
7
  meta = YACCL::Model::Server.repository('meta')
@@ -14,7 +14,7 @@ def create_repository(id)
14
14
  f.object_type_id = repo_type.id
15
15
  f.properties[:supportsRelationships] = true if property_definitions.include?(:supportsRelationships)
16
16
  f.properties[:supportsPolicies] = true if property_definitions.include?(:supportsPolicies)
17
- f.properties[:supportsItem] = true if property_definitions.include?(:supportsItems)
17
+ f.properties[:supportsItems] = true if property_definitions.include?(:supportsItems)
18
18
  meta.root.create(f)
19
19
 
20
20
  YACCL::Model::Server.repository(id)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaccl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenneth Geerts