cocina-models 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -31
- data/cocina-models.gemspec +0 -12
- data/lib/cocina/models/version.rb +1 -1
- data/lib/cocina/models.rb +2 -0
- metadata +3 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88852e29f63eec2983df0a4c6e7a9453d1cf38382899469fc7d7e5699a6964f8
|
4
|
+
data.tar.gz: 33259a2ea826852f38bee282d367443aee4611db1ecb59fa1f83b0213f419cb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcb43ae3ec2e8053bd674cfe893c6844f84642fe8d96099b432be6569299a009bb918920da9a087a324089929718261073aef216f88bb786d1ec35e938e8eedd
|
7
|
+
data.tar.gz: 33041208f7ec19d9704f2c98090757366ed971aebbf21e6726c5279d93f572e561b2035d4798cb81272aa71973a6fe3bc983c72a4a8eb17cdb3479862d48b972
|
data/README.md
CHANGED
@@ -1,35 +1,8 @@
|
|
1
1
|
# Cocina::Models
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/cocina-models.svg)](https://badge.fury.io/rb/cocina-models)
|
2
3
|
|
3
|
-
|
4
|
+
This is the models for transporting digital repository objects using the Cocina application profile.
|
4
5
|
|
5
|
-
|
6
|
+
This is a work in progress and will eventually implement the full Cocina data model. See https://github.com/sul-dlss/taco-truck/blob/master/COCINA.md#cocina-data-models--shapes
|
6
7
|
|
7
|
-
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'cocina-models'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install cocina-models
|
22
|
-
|
23
|
-
## Usage
|
24
|
-
|
25
|
-
TODO: Write usage instructions here
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/cocina-models.
|
8
|
+
See also https://github.com/sul-dlss-labs/taco/tree/master/maps
|
data/cocina-models.gemspec
CHANGED
@@ -14,18 +14,6 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.description = 'SDR data models that can be validated'
|
15
15
|
spec.homepage = 'https://github.com/sul-dlss-labs/cocina-models'
|
16
16
|
|
17
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
-
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
-
if spec.respond_to?(:metadata)
|
20
|
-
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
-
|
22
|
-
spec.metadata['homepage_uri'] = spec.homepage
|
23
|
-
spec.metadata['source_code_uri'] = 'https://github.com/sul-dlss-labs/cocina-models'
|
24
|
-
else
|
25
|
-
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
26
|
-
'public gem pushes.'
|
27
|
-
end
|
28
|
-
|
29
17
|
# Specify which files should be added to the gem when it is released.
|
30
18
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
31
19
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
data/lib/cocina/models.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocina-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|
@@ -116,9 +116,7 @@ files:
|
|
116
116
|
- lib/cocina/models/version.rb
|
117
117
|
homepage: https://github.com/sul-dlss-labs/cocina-models
|
118
118
|
licenses: []
|
119
|
-
metadata:
|
120
|
-
homepage_uri: https://github.com/sul-dlss-labs/cocina-models
|
121
|
-
source_code_uri: https://github.com/sul-dlss-labs/cocina-models
|
119
|
+
metadata: {}
|
122
120
|
post_install_message:
|
123
121
|
rdoc_options: []
|
124
122
|
require_paths:
|