uwdc 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjgxNTYxOTUyYmQ0NjIwNDRhOTJkNmEyZWIyYjhlMWNkMmMyOTdkYw==
4
+ ODcwNDk4ZDEyOTUxM2I4Nzg4MmJiNTU3OWRiZjUxZDg4Nzg3ZTZhNw==
5
5
  data.tar.gz: !binary |-
6
- YjRlZThjYmQ0ZmZhZDU5ZjIwODVlMDVhNDc4NTc2MGM5MDM0NGYyYw==
6
+ YWJhMzdhM2EyYTQzNWI5YTA2NmZmNTE0MmQwNGY1YTk0ZDg2MmExOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MzEzZWNlYWIzNTc5NGU4NzM1ZTlmOThhOTZmN2Y4ZTVmMjRhNzY4MjBlYjg2
10
- ZjA2ZThkNjUxMDk0NzVhYWNjMjEwOTIzNzY1ZDAxNjllYWZiZjkzYzQ3OTk1
11
- NjM1OTdmNmRmYjJlMDYwZWZkNWM2ODRlMGNlNDQxYzBjNWU3YzE=
9
+ ZjNjYmIzMmJjYWJhN2RiYzVlMjQyNmIxM2ZhMTRkNDg4YjU4NDhkYjc2ZDdl
10
+ YTM3ZGFlN2MxOTZmYTM5ZDExZWY5YmNiN2VlMTYwMzFlYTUwM2M1YjY1YTA4
11
+ YmMzMTc1ZGMxZTNjM2E2ZGQ3NGQ0M2RhNzc5NGYzOTljMWZhYzM=
12
12
  data.tar.gz: !binary |-
13
- NGVkNzkzY2M1OTlhNzU1ZjA1OWU2YTU1YmNkNDNlN2VkYzAzNjllOTk3Yzcy
14
- MmMzMDcxM2Q2NjQyMzdhYTYxZGFmODUyYjc1MjczZWM2YzhkYTliZjQ5YTYx
15
- OTliMTMyN2ZhM2NhYTlhZjVmOWE3ZmFjYTBjOGE4MTVhMDVlNDM=
13
+ ODkzZTE4MTk3ZjkzMTQwOGYzMWQ2MmMwZWMwOWRjM2FjNzIxZmE2ZGMzMTFl
14
+ ZjFlY2QwM2U1MTMyYTZhYjU4ZDBjMzk0MmRmZGRhOTlkNjIxOGQ0MWUzNzkw
15
+ ZjI4OTNkYjBlZDU2OGE3OWM0ZjBhZjIzYzdmZTYwNzFjZTAyNWY=
@@ -83,6 +83,18 @@ module UWDC
83
83
  @mods = Mods.new(@id)
84
84
  end
85
85
 
86
+ # Public: Access the Origin metadata XML nodes
87
+ #
88
+ # Example
89
+ #
90
+ # @mets.origin
91
+ # # => UWDC::Origin
92
+ #
93
+ # Returns a UWDC::Origin object
94
+ def origin
95
+ @origin = Origin.new(@id)
96
+ end
97
+
86
98
  # Public: Access the StructMap structural map section XML nodes
87
99
  #
88
100
  # Example
@@ -1,3 +1,3 @@
1
1
  module UWDC
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -3,7 +3,7 @@ require File.expand_path(File.dirname(__FILE__) + '../../spec_helper')
3
3
  require 'uwdc'
4
4
 
5
5
  def klass_methods
6
- [:mods, :struct_map, :rels_ext, :file_sec, :dublin_core]
6
+ [:mods, :origin, :struct_map, :rels_ext, :file_sec, :dublin_core]
7
7
  end
8
8
 
9
9
  def formats
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uwdc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Larson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-16 00:00:00.000000000 Z
11
+ date: 2013-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient