active_fedora_relsint 0.2.0 → 0.3.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.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.travis.yml +17 -0
- data/CONTRIBUTING.md +113 -0
- data/README.textile +3 -3
- data/active_fedora_relsint.gemspec +2 -4
- data/lib/active_fedora_relsint/datastream.rb +5 -3
- data/lib/active_fedora_relsint/version.rb +1 -1
- data/spec/spec_helper.rb +1 -2
- data/spec/unit/relsint_spec.rb +40 -30
- metadata +31 -71
- data/Gemfile.lock +0 -119
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f01dbfd58f89fe8539e9d748b2fad95db757c77f
|
4
|
+
data.tar.gz: bcb42f5b69d1b341ae50a612a6434d1f4ddeff69
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0d4bf18d87c77e972dfecc06508d71cc3a9b8de69c6b9018d12d2e98ac0d8677ff01e9a86e1b0d9d0071ec188b1765c32eef17a53ef0792b1f64fc9819cee912
|
7
|
+
data.tar.gz: 42a31a268af8b1ae96d1019a25cf456fe1c4ca96d9563381c996ed590b21d542257ee10596c2d02147b454c3c1bfcf93ae8e666c3d532f3dd93e48dc31d8c8d5
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Gemfile.lock
|
data/.travis.yml
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
language: ruby
|
2
|
+
rvm:
|
3
|
+
- 1.9.3
|
4
|
+
- 2.0.0
|
5
|
+
notifications:
|
6
|
+
email:
|
7
|
+
recipients:
|
8
|
+
- "ul-dlt-applications@lists.psu.edu"
|
9
|
+
- "michael@psu.edu"
|
10
|
+
on_success: "change"
|
11
|
+
on_failure: "always"
|
12
|
+
irc:
|
13
|
+
channels:
|
14
|
+
- "irc.freenode.org#scholarsphere"
|
15
|
+
- "irc.freenode.org#projecthydra"
|
16
|
+
template:
|
17
|
+
- "%{repository}//%{branch}@%{commit} by %{author}: %{message} - %{build_url}"
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
# How to Contribute
|
2
|
+
|
3
|
+
We want your help to make Project Hydra great.
|
4
|
+
There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.
|
5
|
+
|
6
|
+
## Hydra Project Intellectual Property Licensing and Ownership
|
7
|
+
|
8
|
+
All code contributors must have an Individual Contributor License Agreement (iCLA) on file with the Hydra Project Steering Group.
|
9
|
+
If the contributor works for an institution, the institution must have a Corporate Contributor License Agreement (cCLA) on file.
|
10
|
+
|
11
|
+
https://wiki.duraspace.org/display/hydra/Hydra+Project+Intellectual+Property+Licensing+and+Ownership
|
12
|
+
|
13
|
+
You should also add yourself to the `CONTRIBUTORS.md` file in the root of the project.
|
14
|
+
|
15
|
+
## Contribution Tasks
|
16
|
+
|
17
|
+
* Reporting Issues
|
18
|
+
* Making Changes
|
19
|
+
* Submitting Changes
|
20
|
+
* Merging Changes
|
21
|
+
|
22
|
+
### Reporting Issues
|
23
|
+
|
24
|
+
* Make sure you have a [GitHub account](https://github.com/signup/free)
|
25
|
+
* Submit a [Github issue](./issues) by:
|
26
|
+
* Clearly describing the issue
|
27
|
+
* Provide a descriptive summary
|
28
|
+
* Explain the expected behavior
|
29
|
+
* Explain the actual behavior
|
30
|
+
* Provide steps to reproduce the actual behavior
|
31
|
+
|
32
|
+
### Making Changes
|
33
|
+
|
34
|
+
* Fork the repository on GitHub
|
35
|
+
* Create a topic branch from where you want to base your work.
|
36
|
+
* This is usually the master branch.
|
37
|
+
* To quickly create a topic branch based on master; `git branch fix/master/my_contribution master`
|
38
|
+
* Then checkout the new branch with `git checkout fix/master/my_contribution`.
|
39
|
+
* Please avoid working directly on the `master` branch.
|
40
|
+
* You may find the [hub suite of commands](https://github.com/defunkt/hub) helpful
|
41
|
+
* Make commits of logical units.
|
42
|
+
* Your commit should include a high level description of your work in HISTORY.textile
|
43
|
+
* Check for unnecessary whitespace with `git diff --check` before committing.
|
44
|
+
* Make sure your commit messages are [well formed](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
|
45
|
+
* If you created an issue, you can close it by including "Closes #issue" in your commit message. See [Github's blog post for more details](https://github.com/blog/1386-closing-issues-via-commit-messages)
|
46
|
+
|
47
|
+
```
|
48
|
+
Present tense short summary (50 characters or less)
|
49
|
+
|
50
|
+
More detailed description, if necessary. It should be wrapped to 72
|
51
|
+
characters. Try to be as descriptive as you can, even if you think that
|
52
|
+
the commit content is obvious, it may not be obvious to others. You
|
53
|
+
should add such description also if it's already present in bug tracker,
|
54
|
+
it should not be necessary to visit a webpage to check the history.
|
55
|
+
|
56
|
+
Include Closes #<issue-number> when relavent.
|
57
|
+
|
58
|
+
Description can have multiple paragraphs and you can use code examples
|
59
|
+
inside, just indent it with 4 spaces:
|
60
|
+
|
61
|
+
class PostsController
|
62
|
+
def index
|
63
|
+
respond_with Post.limit(10)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
You can also add bullet points:
|
68
|
+
|
69
|
+
- you can use dashes or asterisks
|
70
|
+
|
71
|
+
- also, try to indent next line of a point for readability, if it's too
|
72
|
+
long to fit in 72 characters
|
73
|
+
```
|
74
|
+
|
75
|
+
* Make sure you have added the necessary tests for your changes.
|
76
|
+
* Run _all_ the tests to assure nothing else was accidentally broken.
|
77
|
+
* When you are ready to submit a pull request
|
78
|
+
|
79
|
+
### Submitting Changes
|
80
|
+
|
81
|
+
[Detailed Walkthrough of One Pull Request per Commit](http://ndlib.github.io/practices/one-commit-per-pull-request/)
|
82
|
+
|
83
|
+
* Read the article ["Using Pull Requests"](https://help.github.com/articles/using-pull-requests) on GitHub.
|
84
|
+
* Make sure your branch is up to date with its parent branch (i.e. master)
|
85
|
+
* `git checkout master`
|
86
|
+
* `git pull --rebase`
|
87
|
+
* `git checkout <your-branch>`
|
88
|
+
* `git rebase master`
|
89
|
+
* It is likely a good idea to run your tests again.
|
90
|
+
* Squash the commits for your branch into one commit
|
91
|
+
* `git rebase --interactive HEAD~<number-of-commits>` ([See Github help](https://help.github.com/articles/interactive-rebase))
|
92
|
+
* To determine the number of commits on your branch: `git log master..<your-branch> --oneline | wc -l`
|
93
|
+
* Squashing your branch's changes into one commit is "good form" and helps the person merging your request to see everything that is going on.
|
94
|
+
* Push your changes to a topic branch in your fork of the repository.
|
95
|
+
* Submit a pull request from your fork to the project.
|
96
|
+
|
97
|
+
### Merging Changes
|
98
|
+
|
99
|
+
* It is considered "poor from" to merge your own request.
|
100
|
+
* Please take the time to review the changes and get a sense of what is being changed. Things to consider:
|
101
|
+
* Does the commit message explain what is going on?
|
102
|
+
* Does the code changes have tests? _Not all changes need new tests, some changes are refactorings_
|
103
|
+
* Does the commit contain more than it should? Are two separate concerns being addressed in one commit?
|
104
|
+
* Did the Travis tests complete successfully?
|
105
|
+
* If you are uncertain, bring other contributors into the conversation by creating a comment that includes their @username.
|
106
|
+
* If you like the pull request, but want others to chime in, create a +1 comment and tag a user.
|
107
|
+
|
108
|
+
# Additional Resources
|
109
|
+
|
110
|
+
* [General GitHub documentation](http://help.github.com/)
|
111
|
+
* [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
|
112
|
+
* [Pro Git](http://git-scm.com/book) is both a free and excellent book about Git.
|
113
|
+
* [A Git Config for Contributing](http://ndlib.github.io/practices/my-typical-per-project-git-config/)
|
data/README.textile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
ActiveFedora::RelsInt
|
2
|
-
|
1
|
+
h1. ActiveFedora::RelsInt
|
2
|
+
!https://travis-ci.org/projecthydra/active_fedora_relsint.png?branch=master!:https://travis-ci.org/projecthydra/active_fedora_relsint !https://badge.fury.io/rb/active_fedora_relsint.png!:http://badge.fury.io/rb/active_fedora_relsint
|
3
3
|
A mixin for ActiveFedora to allow use and updating of the RELS-INT datastream.
|
4
4
|
|
5
5
|
RELS-INT is similar to RELS-EXT: A shallow (depth = 1) XML serialization of a RDF graph.
|
@@ -43,4 +43,4 @@ end
|
|
43
43
|
|
44
44
|
You can also add or delete statements to the RELS-INT graph as tested in spec/unit/relsint_spec.rb
|
45
45
|
|
46
|
-
Note that the RELS-INT datastream is not able to monitor the object, so datastream deletions would require a seperate removal of the deleted datastreams subgraph in RELS-INT.
|
46
|
+
Note that the RELS-INT datastream is not able to monitor the object, so datastream deletions would require a seperate removal of the deleted datastreams subgraph in RELS-INT.
|
@@ -14,14 +14,12 @@ Gem::Specification.new do |s|
|
|
14
14
|
|
15
15
|
s.rubygems_version = %q{1.3.7}
|
16
16
|
|
17
|
-
s.add_dependency('active-fedora', '
|
18
|
-
s.add_dependency("activesupport", '
|
19
|
-
s.add_dependency("rubydora", '~>1.2.0')
|
17
|
+
s.add_dependency('active-fedora', '>= 6.6')
|
18
|
+
s.add_dependency("activesupport", '>= 3.2.0', "< 5.0")
|
20
19
|
s.add_development_dependency("yard")
|
21
20
|
s.add_development_dependency("RedCloth") # for RDoc formatting
|
22
21
|
s.add_development_dependency("rake")
|
23
22
|
s.add_development_dependency("rspec", ">= 2.9.0")
|
24
|
-
s.add_development_dependency("mocha", "0.10.5")
|
25
23
|
s.add_development_dependency("loggable")
|
26
24
|
|
27
25
|
s.files = `git ls-files`.split("\n")
|
@@ -4,7 +4,7 @@ module ActiveFedora
|
|
4
4
|
class_attribute :profile_solr_name
|
5
5
|
attr_accessor :relationships_loaded
|
6
6
|
|
7
|
-
self.profile_solr_name = ActiveFedora::SolrService.solr_name("rels_int_profile", :
|
7
|
+
self.profile_solr_name = ActiveFedora::SolrService.solr_name("rels_int_profile", :stored_searchable)
|
8
8
|
|
9
9
|
def serialize!
|
10
10
|
self.content = to_rels_int() if changed_attributes.include? 'relationships'
|
@@ -123,13 +123,15 @@ module ActiveFedora
|
|
123
123
|
end
|
124
124
|
|
125
125
|
def from_solr(solr_doc)
|
126
|
-
|
126
|
+
predicate_symbol = self.profile_solr_name
|
127
|
+
value = (solr_doc[predicate_symbol].nil? ? solr_doc[predicate_symbol.to_s]: solr_doc[predicate_symbol])
|
128
|
+
@solr_hash = value.blank? ? nil : JSON.parse(value[0])
|
127
129
|
end
|
128
130
|
|
129
131
|
def solrize_relationships(solr_doc=Hash.new)
|
130
132
|
rel_hash = {} # the rels_int_profile is a hash of hashes in json
|
131
133
|
graph.each_statement do |statement|
|
132
|
-
predicate =
|
134
|
+
predicate = Predicates.short_predicate(statement.predicate)
|
133
135
|
literal = statement.object.kind_of?(RDF::Literal)
|
134
136
|
val = literal ? statement.object.value : statement.object.to_str
|
135
137
|
rel_hash[statement.subject] ||= {}
|
data/spec/spec_helper.rb
CHANGED
data/spec/unit/relsint_spec.rb
CHANGED
@@ -25,25 +25,25 @@ describe ActiveFedora::RelsInt do
|
|
25
25
|
|
26
26
|
it "should serialize to appropriate RDF-XML on a new object" do
|
27
27
|
blank_relsint = fixture('rels_int_blank.xml').read
|
28
|
-
inner =
|
29
|
-
inner.
|
30
|
-
inner.
|
31
|
-
repo =
|
32
|
-
inner.
|
28
|
+
inner = double("DigitalObject")
|
29
|
+
inner.stub(:new?).and_return(true)
|
30
|
+
inner.stub(:pid).and_return("test:relsint")
|
31
|
+
repo = double("Repository")
|
32
|
+
inner.stub(:repository).and_return(repo)
|
33
33
|
test_obj = ActiveFedora::RelsInt::Datastream.new(inner,"RELS-INT")
|
34
34
|
Nokogiri::XML.parse(test_obj.content).should be_equivalent_to Nokogiri::XML.parse(blank_relsint)
|
35
35
|
end
|
36
36
|
|
37
37
|
it "should serialize to appropriate RDF-XML when added to an existing obect" do
|
38
38
|
blank_relsint = fixture('rels_int_blank.xml').read
|
39
|
-
inner =
|
40
|
-
inner.
|
41
|
-
inner.
|
42
|
-
repo =
|
39
|
+
inner = double("DigitalObject")
|
40
|
+
inner.stub(:new?).and_return(false)
|
41
|
+
inner.stub(:pid).and_return("test:relsint")
|
42
|
+
repo = double("Repository")
|
43
43
|
# new datastream, no profile
|
44
|
-
repo.
|
45
|
-
repo.
|
46
|
-
inner.
|
44
|
+
repo.should_receive(:datastream).with(:pid=>inner.pid,:dsid=>"RELS-INT").and_return(nil)
|
45
|
+
repo.should_receive(:config).and_return({})
|
46
|
+
inner.stub(:repository).and_return(repo)
|
47
47
|
test_obj = ActiveFedora::RelsInt::Datastream.new(inner,"RELS-INT")
|
48
48
|
Nokogiri::XML.parse(test_obj.content).should be_equivalent_to Nokogiri::XML.parse(blank_relsint)
|
49
49
|
end
|
@@ -51,16 +51,16 @@ describe ActiveFedora::RelsInt do
|
|
51
51
|
describe ActiveFedora::RelsInt::Datastream do
|
52
52
|
before :each do
|
53
53
|
@test_relsint = fixture('rels_int_test.xml').read
|
54
|
-
@inner =
|
55
|
-
@inner.
|
56
|
-
@inner.
|
57
|
-
@inner.
|
58
|
-
repo =
|
54
|
+
@inner = double("DigitalObject")
|
55
|
+
@inner.stub(:new?).and_return(false)
|
56
|
+
@inner.stub(:pid).and_return("test:relsint")
|
57
|
+
@inner.stub(:internal_uri).and_return("info:fedora/test:relsint")
|
58
|
+
repo = double("Repository")
|
59
59
|
profile_xml = fixture('rels_int_profile.xml').read
|
60
|
-
repo.
|
61
|
-
repo.
|
62
|
-
repo.
|
63
|
-
@inner.
|
60
|
+
repo.should_receive(:datastream).with(:pid=>@inner.pid,:dsid=>"RELS-INT").and_return(profile_xml)
|
61
|
+
repo.stub(:datastream_dissemination).with(:pid=>@inner.pid,:dsid=>"RELS-INT").and_return(@test_relsint)
|
62
|
+
repo.stub(:config).and_return({})
|
63
|
+
@inner.stub(:repository).and_return(repo)
|
64
64
|
end
|
65
65
|
it "should load relationships from foxml into the appropriate graphs" do
|
66
66
|
test_obj = ActiveFedora::RelsInt::Datastream.new(@inner,"RELS-INT")
|
@@ -73,9 +73,9 @@ describe ActiveFedora::RelsInt do
|
|
73
73
|
end
|
74
74
|
it "should load relationships into appropriate graphs when assigned content" do
|
75
75
|
#test_relsint = fixture('rels_int_test.xml').read
|
76
|
-
#inner =
|
77
|
-
#inner.
|
78
|
-
#inner.
|
76
|
+
#inner = double("DigitalObject")
|
77
|
+
#inner.stub(:pid).and_return("test:relsint")
|
78
|
+
#inner.stub(:internal_uri).and_return("info:fedora/test:relsint")
|
79
79
|
test_obj = ActiveFedora::RelsInt::Datastream.new(@inner,"RELS-INT")
|
80
80
|
test_obj.content=@test_relsint
|
81
81
|
test_obj.changed?.should be_true
|
@@ -87,9 +87,9 @@ describe ActiveFedora::RelsInt do
|
|
87
87
|
end
|
88
88
|
it "should propagate relationship changes to the appropriate graph in RELS-INT" do
|
89
89
|
#test_relsint = fixture('rels_int_test.xml').read
|
90
|
-
#inner =
|
91
|
-
#inner.
|
92
|
-
#inner.
|
90
|
+
#inner = double("DigitalObject")
|
91
|
+
#inner.stub(:pid).and_return("test:relsint")
|
92
|
+
#inner.stub(:internal_uri).and_return("info:fedora/test:relsint")
|
93
93
|
test_obj = ActiveFedora::RelsInt::Datastream.new(@inner,"RELS-INT")
|
94
94
|
dc = ActiveFedora::Datastream.new(@inner,"DC")
|
95
95
|
rels_ext = ActiveFedora::Datastream.new(@inner,"RELS-EXT")
|
@@ -97,9 +97,19 @@ describe ActiveFedora::RelsInt do
|
|
97
97
|
test_obj.add_relationship(rels_ext,:asserts, "FOO", true)
|
98
98
|
test_obj.add_relationship(test_obj,:asserts, "BAR", true)
|
99
99
|
test_obj.serialize!
|
100
|
-
test_obj.changed?.should be_true
|
101
|
-
puts test_obj.content
|
102
100
|
Nokogiri::XML.parse(test_obj.content).should be_equivalent_to Nokogiri::XML.parse(@test_relsint)
|
103
101
|
end
|
102
|
+
it "should run to_solr" do
|
103
|
+
test_obj = ActiveFedora::RelsInt::Datastream.new(@inner,"RELS-INT")
|
104
|
+
test_obj.content=@test_relsint
|
105
|
+
test_obj.changed?.should be_true
|
106
|
+
expect{test_obj.to_solr}.to_not raise_error
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
|
111
|
+
it "should load from solr" do
|
112
|
+
f = Foo.create
|
113
|
+
Foo.load_instance_from_solr(f.id).should_not be_nil
|
104
114
|
end
|
105
|
-
end
|
115
|
+
end
|
metadata
CHANGED
@@ -1,158 +1,117 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_fedora_relsint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Benjamin Armintor
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-10-25 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: active-fedora
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
19
|
+
version: '6.6'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
26
|
+
version: '6.6'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: activesupport
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 3.2.0
|
34
|
+
- - <
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '5.0'
|
38
37
|
type: :runtime
|
39
38
|
prerelease: false
|
40
39
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
40
|
requirements:
|
43
|
-
- -
|
41
|
+
- - '>='
|
44
42
|
- !ruby/object:Gem::Version
|
45
43
|
version: 3.2.0
|
46
|
-
-
|
47
|
-
name: rubydora
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ~>
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.2.0
|
54
|
-
type: :runtime
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
44
|
+
- - <
|
60
45
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
46
|
+
version: '5.0'
|
62
47
|
- !ruby/object:Gem::Dependency
|
63
48
|
name: yard
|
64
49
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
50
|
requirements:
|
67
|
-
- -
|
51
|
+
- - '>='
|
68
52
|
- !ruby/object:Gem::Version
|
69
53
|
version: '0'
|
70
54
|
type: :development
|
71
55
|
prerelease: false
|
72
56
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
57
|
requirements:
|
75
|
-
- -
|
58
|
+
- - '>='
|
76
59
|
- !ruby/object:Gem::Version
|
77
60
|
version: '0'
|
78
61
|
- !ruby/object:Gem::Dependency
|
79
62
|
name: RedCloth
|
80
63
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
64
|
requirements:
|
83
|
-
- -
|
65
|
+
- - '>='
|
84
66
|
- !ruby/object:Gem::Version
|
85
67
|
version: '0'
|
86
68
|
type: :development
|
87
69
|
prerelease: false
|
88
70
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
71
|
requirements:
|
91
|
-
- -
|
72
|
+
- - '>='
|
92
73
|
- !ruby/object:Gem::Version
|
93
74
|
version: '0'
|
94
75
|
- !ruby/object:Gem::Dependency
|
95
76
|
name: rake
|
96
77
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
78
|
requirements:
|
99
|
-
- -
|
79
|
+
- - '>='
|
100
80
|
- !ruby/object:Gem::Version
|
101
81
|
version: '0'
|
102
82
|
type: :development
|
103
83
|
prerelease: false
|
104
84
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
85
|
requirements:
|
107
|
-
- -
|
86
|
+
- - '>='
|
108
87
|
- !ruby/object:Gem::Version
|
109
88
|
version: '0'
|
110
89
|
- !ruby/object:Gem::Dependency
|
111
90
|
name: rspec
|
112
91
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
92
|
requirements:
|
115
|
-
- -
|
93
|
+
- - '>='
|
116
94
|
- !ruby/object:Gem::Version
|
117
95
|
version: 2.9.0
|
118
96
|
type: :development
|
119
97
|
prerelease: false
|
120
98
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
99
|
requirements:
|
123
|
-
- -
|
100
|
+
- - '>='
|
124
101
|
- !ruby/object:Gem::Version
|
125
102
|
version: 2.9.0
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: mocha
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
|
-
requirements:
|
131
|
-
- - '='
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: 0.10.5
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
|
-
requirements:
|
139
|
-
- - '='
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: 0.10.5
|
142
103
|
- !ruby/object:Gem::Dependency
|
143
104
|
name: loggable
|
144
105
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
106
|
requirements:
|
147
|
-
- -
|
107
|
+
- - '>='
|
148
108
|
- !ruby/object:Gem::Version
|
149
109
|
version: '0'
|
150
110
|
type: :development
|
151
111
|
prerelease: false
|
152
112
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
113
|
requirements:
|
155
|
-
- -
|
114
|
+
- - '>='
|
156
115
|
- !ruby/object:Gem::Version
|
157
116
|
version: '0'
|
158
117
|
description: ActiveFedora library to allow use of RELS-INT to track RDF assertions
|
@@ -165,8 +124,10 @@ extra_rdoc_files:
|
|
165
124
|
- LICENSE.txt
|
166
125
|
- README.textile
|
167
126
|
files:
|
127
|
+
- .gitignore
|
128
|
+
- .travis.yml
|
129
|
+
- CONTRIBUTING.md
|
168
130
|
- Gemfile
|
169
|
-
- Gemfile.lock
|
170
131
|
- LICENSE.txt
|
171
132
|
- README.textile
|
172
133
|
- Rakefile
|
@@ -202,27 +163,26 @@ files:
|
|
202
163
|
- spec/unit/relsint_spec.rb
|
203
164
|
homepage: https://github.com/cul/active_fedora_rels_int
|
204
165
|
licenses: []
|
166
|
+
metadata: {}
|
205
167
|
post_install_message:
|
206
168
|
rdoc_options: []
|
207
169
|
require_paths:
|
208
170
|
- lib
|
209
171
|
required_ruby_version: !ruby/object:Gem::Requirement
|
210
|
-
none: false
|
211
172
|
requirements:
|
212
|
-
- -
|
173
|
+
- - '>='
|
213
174
|
- !ruby/object:Gem::Version
|
214
175
|
version: '0'
|
215
176
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
|
-
none: false
|
217
177
|
requirements:
|
218
|
-
- -
|
178
|
+
- - '>='
|
219
179
|
- !ruby/object:Gem::Version
|
220
180
|
version: '0'
|
221
181
|
requirements: []
|
222
182
|
rubyforge_project:
|
223
|
-
rubygems_version:
|
183
|
+
rubygems_version: 2.0.3
|
224
184
|
signing_key:
|
225
|
-
specification_version:
|
185
|
+
specification_version: 4
|
226
186
|
summary: ActiveFedora library supporting RELS-INT datastreams
|
227
187
|
test_files:
|
228
188
|
- spec/spec_helper.rb
|
data/Gemfile.lock
DELETED
@@ -1,119 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
active_fedora_relsint (0.2.0)
|
5
|
-
active-fedora (~> 5.0)
|
6
|
-
activesupport (~> 3.2.0)
|
7
|
-
rubydora (~> 1.2.0)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: http://rubygems.org/
|
11
|
-
specs:
|
12
|
-
RedCloth (4.2.9)
|
13
|
-
active-fedora (5.5.0)
|
14
|
-
activeresource (>= 3.0.0)
|
15
|
-
activesupport (>= 3.0.0)
|
16
|
-
builder (~> 3.0.0)
|
17
|
-
deprecation
|
18
|
-
mediashelf-loggable
|
19
|
-
nom-xml (>= 0.5.1)
|
20
|
-
om (~> 1.8.0)
|
21
|
-
rdf
|
22
|
-
rdf-rdfxml (~> 0.3.8)
|
23
|
-
rsolr
|
24
|
-
rubydora (~> 1.2)
|
25
|
-
solrizer (~> 2.1.0)
|
26
|
-
activemodel (3.2.11)
|
27
|
-
activesupport (= 3.2.11)
|
28
|
-
builder (~> 3.0.0)
|
29
|
-
activeresource (3.2.11)
|
30
|
-
activemodel (= 3.2.11)
|
31
|
-
activesupport (= 3.2.11)
|
32
|
-
activesupport (3.2.11)
|
33
|
-
i18n (~> 0.6)
|
34
|
-
multi_json (~> 1.0)
|
35
|
-
addressable (2.3.2)
|
36
|
-
backports (2.7.1)
|
37
|
-
builder (3.0.4)
|
38
|
-
daemons (1.1.9)
|
39
|
-
deprecation (0.0.5)
|
40
|
-
activesupport
|
41
|
-
diff-lcs (1.1.3)
|
42
|
-
equivalent-xml (0.3.0)
|
43
|
-
nokogiri (>= 1.4.3)
|
44
|
-
fastercsv (1.5.5)
|
45
|
-
hooks (0.2.2)
|
46
|
-
i18n (0.6.1)
|
47
|
-
loggable (0.3.0)
|
48
|
-
mediashelf-loggable (0.4.9)
|
49
|
-
metaclass (0.0.1)
|
50
|
-
mime-types (1.19)
|
51
|
-
mocha (0.10.5)
|
52
|
-
metaclass (~> 0.0.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
|
63
|
-
mediashelf-loggable
|
64
|
-
nokogiri (>= 1.4.2)
|
65
|
-
rake (0.9.2.2)
|
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
|
-
backports
|
73
|
-
nokogiri (>= 1.5.0)
|
74
|
-
rdf (>= 0.3.4)
|
75
|
-
rest-client (1.6.7)
|
76
|
-
mime-types (>= 1.16)
|
77
|
-
rsolr (1.0.8)
|
78
|
-
builder (>= 2.1.2)
|
79
|
-
rspec (2.11.0)
|
80
|
-
rspec-core (~> 2.11.0)
|
81
|
-
rspec-expectations (~> 2.11.0)
|
82
|
-
rspec-mocks (~> 2.11.0)
|
83
|
-
rspec-core (2.11.1)
|
84
|
-
rspec-expectations (2.11.1)
|
85
|
-
diff-lcs (~> 1.1.3)
|
86
|
-
rspec-mocks (2.11.1)
|
87
|
-
rubydora (1.2.1)
|
88
|
-
activemodel
|
89
|
-
activesupport
|
90
|
-
deprecation
|
91
|
-
equivalent-xml
|
92
|
-
fastercsv
|
93
|
-
hooks
|
94
|
-
mime-types
|
95
|
-
nokogiri
|
96
|
-
rest-client
|
97
|
-
solrizer (2.1.0)
|
98
|
-
activesupport
|
99
|
-
daemons
|
100
|
-
mediashelf-loggable (~> 0.4.7)
|
101
|
-
nokogiri
|
102
|
-
om (>= 1.5.0)
|
103
|
-
stomp
|
104
|
-
xml-simple
|
105
|
-
stomp (1.2.8)
|
106
|
-
xml-simple (1.1.2)
|
107
|
-
yard (0.8.2.1)
|
108
|
-
|
109
|
-
PLATFORMS
|
110
|
-
ruby
|
111
|
-
|
112
|
-
DEPENDENCIES
|
113
|
-
RedCloth
|
114
|
-
active_fedora_relsint!
|
115
|
-
loggable
|
116
|
-
mocha (= 0.10.5)
|
117
|
-
rake
|
118
|
-
rspec (>= 2.9.0)
|
119
|
-
yard
|