active_fedora_relsint 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,74 +1,74 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_fedora_relsint (0.1.0)
5
- active-fedora (>= 4.2.0)
4
+ active_fedora_relsint (0.2.0)
5
+ active-fedora (~> 5.0)
6
6
  activesupport (~> 3.2.0)
7
- rubydora (~> 0.5.11)
7
+ rubydora (~> 1.2.0)
8
8
 
9
9
  GEM
10
10
  remote: http://rubygems.org/
11
11
  specs:
12
12
  RedCloth (4.2.9)
13
- active-fedora (4.4.1)
13
+ active-fedora (5.5.0)
14
14
  activeresource (>= 3.0.0)
15
15
  activesupport (>= 3.0.0)
16
+ builder (~> 3.0.0)
16
17
  deprecation
17
- equivalent-xml
18
18
  mediashelf-loggable
19
- om (~> 1.6.0)
19
+ nom-xml (>= 0.5.1)
20
+ om (~> 1.8.0)
20
21
  rdf
21
22
  rdf-rdfxml (~> 0.3.8)
22
23
  rsolr
23
- rubydora (~> 0.5.11)
24
- solrizer (~> 1.2.0)
25
- activemodel (3.2.6)
26
- activesupport (= 3.2.6)
24
+ rubydora (~> 1.2)
25
+ solrizer (~> 2.1.0)
26
+ activemodel (3.2.11)
27
+ activesupport (= 3.2.11)
27
28
  builder (~> 3.0.0)
28
- activeresource (3.2.6)
29
- activemodel (= 3.2.6)
30
- activesupport (= 3.2.6)
31
- activesupport (3.2.6)
29
+ activeresource (3.2.11)
30
+ activemodel (= 3.2.11)
31
+ activesupport (= 3.2.11)
32
+ activesupport (3.2.11)
32
33
  i18n (~> 0.6)
33
34
  multi_json (~> 1.0)
34
- addressable (2.3.1)
35
- akami (1.2.0)
36
- gyoku (>= 0.4.0)
37
- nokogiri (>= 1.4.0)
38
- backports (2.6.2)
39
- builder (3.0.0)
40
- daemons (1.1.8)
35
+ addressable (2.3.2)
36
+ backports (2.7.1)
37
+ builder (3.0.4)
38
+ daemons (1.1.9)
41
39
  deprecation (0.0.5)
42
40
  activesupport
43
41
  diff-lcs (1.1.3)
44
- equivalent-xml (0.2.9)
42
+ equivalent-xml (0.3.0)
45
43
  nokogiri (>= 1.4.3)
46
44
  fastercsv (1.5.5)
47
- gyoku (0.4.6)
48
- builder (>= 2.1.2)
49
- hooks (0.2.0)
50
- httpi (1.1.1)
51
- rack
52
- i18n (0.6.0)
45
+ hooks (0.2.2)
46
+ i18n (0.6.1)
47
+ loggable (0.3.0)
53
48
  mediashelf-loggable (0.4.9)
54
49
  metaclass (0.0.1)
55
50
  mime-types (1.19)
56
51
  mocha (0.10.5)
57
52
  metaclass (~> 0.0.1)
58
- multi_json (1.3.6)
59
- nokogiri (1.5.5)
60
- nori (1.1.3)
61
- om (1.6.1)
53
+ multi_json (1.5.0)
54
+ nokogiri (1.5.6)
55
+ nom-xml (0.5.1)
56
+ activesupport
57
+ i18n
58
+ nokogiri
59
+ om (1.8.0)
60
+ activemodel
61
+ activesupport
62
+ deprecation
62
63
  mediashelf-loggable
63
64
  nokogiri (>= 1.4.2)
64
- rack (1.4.1)
65
65
  rake (0.9.2.2)
66
- rdf (0.3.7)
67
- addressable (>= 2.2.6)
68
- rdf-rdfxml (0.3.8)
69
- rdf (>= 0.3.4)
70
- rdf-xsd (>= 0.3.5)
71
- rdf-xsd (0.3.7)
66
+ rdf (1.0.0)
67
+ addressable (>= 2.2)
68
+ rdf-rdfxml (0.3.9)
69
+ rdf (>= 0.3.11)
70
+ rdf-xsd (>= 0.3.8)
71
+ rdf-xsd (1.0.0)
72
72
  backports
73
73
  nokogiri (>= 1.5.0)
74
74
  rdf (>= 0.3.4)
@@ -84,36 +84,26 @@ GEM
84
84
  rspec-expectations (2.11.1)
85
85
  diff-lcs (~> 1.1.3)
86
86
  rspec-mocks (2.11.1)
87
- rubydora (0.5.12)
87
+ rubydora (1.2.1)
88
88
  activemodel
89
89
  activesupport
90
90
  deprecation
91
+ equivalent-xml
91
92
  fastercsv
92
93
  hooks
93
94
  mime-types
94
95
  nokogiri
95
96
  rest-client
96
- savon
97
- savon (1.1.0)
98
- akami (~> 1.2.0)
99
- builder (>= 2.1.2)
100
- gyoku (~> 0.4.5)
101
- httpi (~> 1.1.0)
102
- nokogiri (>= 1.4.0)
103
- nori (~> 1.1.0)
104
- wasabi (~> 2.5.0)
105
- solrizer (1.2.2)
97
+ solrizer (2.1.0)
98
+ activesupport
106
99
  daemons
107
100
  mediashelf-loggable (~> 0.4.7)
108
101
  nokogiri
109
102
  om (>= 1.5.0)
110
103
  stomp
111
104
  xml-simple
112
- stomp (1.2.4)
113
- wasabi (2.5.0)
114
- httpi (~> 1.0)
115
- nokogiri (>= 1.4.0)
116
- xml-simple (1.1.1)
105
+ stomp (1.2.8)
106
+ xml-simple (1.1.2)
117
107
  yard (0.8.2.1)
118
108
 
119
109
  PLATFORMS
@@ -122,6 +112,7 @@ PLATFORMS
122
112
  DEPENDENCIES
123
113
  RedCloth
124
114
  active_fedora_relsint!
115
+ loggable
125
116
  mocha (= 0.10.5)
126
117
  rake
127
118
  rspec (>= 2.9.0)
data/Rakefile ADDED
@@ -0,0 +1,18 @@
1
+ require 'rake/clean'
2
+ require 'rubygems'
3
+ require 'bundler'
4
+ require "bundler/setup"
5
+ require "active_fedora_relsint"
6
+
7
+ Bundler::GemHelper.install_tasks
8
+
9
+ # load rake tasks defined in lib/tasks that are not loaded in lib/active_fedora.rb
10
+ load "lib/tasks/active_fedora_relsint_dev.rake" if defined?(Rake)
11
+
12
+ CLEAN.include %w[**/.DS_Store tmp *.log *.orig *.tmp **/*~]
13
+
14
+ task :spec => ['active_fedora_relsint:rspec']
15
+ task :rcov => ['active_fedora_relsint:rcov']
16
+
17
+
18
+ task :default => [:spec]
@@ -14,14 +14,15 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.rubygems_version = %q{1.3.7}
16
16
 
17
- s.add_dependency('active-fedora', '>=4.2.0')
17
+ s.add_dependency('active-fedora', '~>5.0')
18
18
  s.add_dependency("activesupport", '~>3.2.0')
19
- s.add_dependency("rubydora", '~>0.5.11')
19
+ s.add_dependency("rubydora", '~>1.2.0')
20
20
  s.add_development_dependency("yard")
21
21
  s.add_development_dependency("RedCloth") # for RDoc formatting
22
22
  s.add_development_dependency("rake")
23
23
  s.add_development_dependency("rspec", ">= 2.9.0")
24
24
  s.add_development_dependency("mocha", "0.10.5")
25
+ s.add_development_dependency("loggable")
25
26
 
26
27
  s.files = `git ls-files`.split("\n")
27
28
  s.test_files = `git ls-files -- {test,spec}/*`.split("\n")
@@ -0,0 +1,117 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Module: ActiveFedora
8
+
9
+ &mdash; Documentation by YARD 0.8.2.1
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index (A)</a> &raquo;
35
+
36
+
37
+ <span class="title">ActiveFedora</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Module: ActiveFedora
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ <dt class="r1 last">Defined in:</dt>
82
+ <dd class="r1 last">/Users/ba2213/Github/cul/active_fedora_relsint/lib/active_fedora_relsint.rb<span class="defines">,<br />
83
+ /Users/ba2213/Github/cul/active_fedora_relsint/lib/active_fedora_relsint/version.rb,<br /> /Users/ba2213/Github/cul/active_fedora_relsint/lib/active_fedora_relsint/datastream.rb</span>
84
+ </dd>
85
+
86
+ </dl>
87
+ <div class="clear"></div>
88
+
89
+ <h2>Defined Under Namespace</h2>
90
+ <p class="children">
91
+
92
+
93
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="ActiveFedora/RelsInt.html" title="ActiveFedora::RelsInt (module)">RelsInt</a></span>
94
+
95
+
96
+
97
+
98
+ </p>
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+ </div>
109
+
110
+ <div id="footer">
111
+ Generated on Thu Jan 24 11:22:14 2013 by
112
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
113
+ 0.8.2.1 (ruby-1.9.3).
114
+ </div>
115
+
116
+ </body>
117
+ </html>
@@ -0,0 +1,211 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Module: ActiveFedora::RelsInt
8
+
9
+ &mdash; Documentation by YARD 0.8.2.1
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../';
20
+ framesUrl = "../frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../_index.html">Index (R)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../ActiveFedora.html" title="ActiveFedora (module)">ActiveFedora</a></span></span>
36
+ &raquo;
37
+ <span class="title">RelsInt</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Module: ActiveFedora::RelsInt
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+
75
+
76
+ <dt class="r1">Extended by:</dt>
77
+ <dd class="r1">ActiveSupport::Concern</dd>
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+ <dt class="r2 last">Defined in:</dt>
86
+ <dd class="r2 last">/Users/ba2213/Github/cul/active_fedora_relsint/lib/active_fedora_relsint.rb<span class="defines">,<br />
87
+ /Users/ba2213/Github/cul/active_fedora_relsint/lib/active_fedora_relsint/version.rb,<br /> /Users/ba2213/Github/cul/active_fedora_relsint/lib/active_fedora_relsint/datastream.rb</span>
88
+ </dd>
89
+
90
+ </dl>
91
+ <div class="clear"></div>
92
+
93
+ <h2>Defined Under Namespace</h2>
94
+ <p class="children">
95
+
96
+
97
+
98
+
99
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="RelsInt/Datastream.html" title="ActiveFedora::RelsInt::Datastream (class)">Datastream</a></span>
100
+
101
+
102
+ </p>
103
+
104
+ <h2>Constant Summary</h2>
105
+
106
+ <dl class="constants">
107
+
108
+ <dt id="VERSION-constant" class="">VERSION =
109
+
110
+ </dt>
111
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.2.0</span><span class='tstring_end'>'</span></span></pre></dd>
112
+
113
+ </dl>
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+ <h2>
124
+ Instance Method Summary
125
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
126
+ </h2>
127
+
128
+ <ul class="summary">
129
+
130
+ <li class="public ">
131
+ <span class="summary_signature">
132
+
133
+ <a href="#rels_int-instance_method" title="#rels_int (instance method)">- (Object) <strong>rels_int</strong> </a>
134
+
135
+
136
+
137
+ </span>
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+ <span class="summary_desc"><div class='inline'></div></span>
148
+
149
+ </li>
150
+
151
+
152
+ </ul>
153
+
154
+
155
+
156
+
157
+
158
+ <div id="instance_method_details" class="method_details_list">
159
+ <h2>Instance Method Details</h2>
160
+
161
+
162
+ <div class="method_details first">
163
+ <h3 class="signature first" id="rels_int-instance_method">
164
+
165
+ - (<tt>Object</tt>) <strong>rels_int</strong>
166
+
167
+
168
+
169
+
170
+
171
+ </h3><table class="source_code">
172
+ <tr>
173
+ <td>
174
+ <pre class="lines">
175
+
176
+
177
+ 10
178
+ 11
179
+ 12
180
+ 13
181
+ 14
182
+ 15
183
+ 16</pre>
184
+ </td>
185
+ <td>
186
+ <pre class="code"><span class="info file"># File '/Users/ba2213/Github/cul/active_fedora_relsint/lib/active_fedora_relsint.rb', line 10</span>
187
+
188
+ <span class='kw'>def</span> <span class='id identifier rubyid_rels_int'>rels_int</span>
189
+ <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_datastreams'>datastreams</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>RELS-INT</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
190
+ <span class='id identifier rubyid_ds'>ds</span> <span class='op'>=</span> <span class='const'>ActiveFedora</span><span class='op'>::</span><span class='const'>RelsInt</span><span class='op'>::</span><span class='const'>Datastream</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@inner_object</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>RELS-INT</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
191
+ <span class='id identifier rubyid_add_datastream'>add_datastream</span><span class='lparen'>(</span><span class='id identifier rubyid_ds'>ds</span><span class='rparen'>)</span>
192
+ <span class='kw'>end</span>
193
+ <span class='kw'>return</span> <span class='id identifier rubyid_datastreams'>datastreams</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>RELS-INT</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
194
+ <span class='kw'>end</span></pre>
195
+ </td>
196
+ </tr>
197
+ </table>
198
+ </div>
199
+
200
+ </div>
201
+
202
+ </div>
203
+
204
+ <div id="footer">
205
+ Generated on Thu Jan 24 11:22:14 2013 by
206
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
207
+ 0.8.2.1 (ruby-1.9.3).
208
+ </div>
209
+
210
+ </body>
211
+ </html>