valkyrie 3.0.0.pre.rc.1 → 3.0.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 +4 -4
- data/.circleci/config.yml +69 -23
- data/CHANGELOG.md +10 -0
- data/README.md +4 -1
- data/Rakefile +1 -1
- data/lib/valkyrie/persistence/fedora/ordered_list.rb +2 -2
- data/lib/valkyrie/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 164c8d0f5f60ac345b130a8846dd19c53a81198bdfd74e22b6c9fa50d39ae3ef
|
|
4
|
+
data.tar.gz: dffd79acb68fb74b91d80fc0a5052aa4e1c5e8f459bb213f3244843a9ca7d512
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 888d56f33224c3d60e301dbcee9650e0fb7a7c79a9f76369e70b7622b46f838dc0f871dac754547ab44c611701a91c47a04774174524c9eb035e0e8faaf5778c
|
|
7
|
+
data.tar.gz: 37c964c511aa91b5fd09cd8a0d2feee9e186303eb72aa08d81050f0e5a31c1bf7651f37741fd381a0105757fff4de58741141b02185c9f80e84ba99c6e779215
|
data/.circleci/config.yml
CHANGED
|
@@ -9,7 +9,7 @@ jobs:
|
|
|
9
9
|
type: "string"
|
|
10
10
|
ruby:
|
|
11
11
|
description: "Ruby version"
|
|
12
|
-
default: "2.
|
|
12
|
+
default: "2.7.7"
|
|
13
13
|
type: "string"
|
|
14
14
|
docker:
|
|
15
15
|
- image: cimg/ruby:<< parameters.ruby >>
|
|
@@ -38,6 +38,7 @@ jobs:
|
|
|
38
38
|
BUNDLE_GEMFILE: << parameters.gemfile >>
|
|
39
39
|
POSTGRES_PORT: 5432
|
|
40
40
|
FEDORA_6_PORT: 8080
|
|
41
|
+
resource_class: medium+
|
|
41
42
|
steps:
|
|
42
43
|
- checkout
|
|
43
44
|
|
|
@@ -94,38 +95,59 @@ workflows:
|
|
|
94
95
|
version: 2
|
|
95
96
|
build:
|
|
96
97
|
jobs:
|
|
98
|
+
- build:
|
|
99
|
+
gemfile: "gemfiles/activerecord_7_0.gemfile"
|
|
100
|
+
ruby: 3.2.0
|
|
101
|
+
name: "Ruby3-2_rails7-0"
|
|
97
102
|
- build:
|
|
98
103
|
gemfile: "gemfiles/activerecord_6_0.gemfile"
|
|
99
|
-
ruby: 2.
|
|
100
|
-
name: "
|
|
104
|
+
ruby: 3.2.0
|
|
105
|
+
name: "Ruby3-2_Rails6-0"
|
|
101
106
|
- build:
|
|
102
107
|
gemfile: "gemfiles/activerecord_7_0.gemfile"
|
|
103
|
-
ruby:
|
|
108
|
+
ruby: 3.1.3
|
|
109
|
+
name: "Ruby3-1_rails7-0"
|
|
110
|
+
- build:
|
|
111
|
+
gemfile: "gemfiles/activerecord_6_0.gemfile"
|
|
112
|
+
ruby: 3.1.3
|
|
113
|
+
name: "Ruby3-1_Rails6-0"
|
|
114
|
+
- build:
|
|
115
|
+
gemfile: "gemfiles/activerecord_7_0.gemfile"
|
|
116
|
+
ruby: 3.0.5
|
|
117
|
+
name: "Ruby3-0_rails7-0"
|
|
118
|
+
- build:
|
|
119
|
+
gemfile: "gemfiles/activerecord_6_0.gemfile"
|
|
120
|
+
ruby: 3.0.5
|
|
121
|
+
name: "Ruby3-0_Rails6-0"
|
|
122
|
+
- build:
|
|
123
|
+
gemfile: "gemfiles/activerecord_7_0.gemfile"
|
|
124
|
+
ruby: 2.7.7
|
|
104
125
|
name: "Ruby2-7_rails7-0"
|
|
126
|
+
- build:
|
|
127
|
+
gemfile: "gemfiles/activerecord_6_0.gemfile"
|
|
128
|
+
ruby: 2.7.7
|
|
129
|
+
name: "Ruby2-7_Rails6-0"
|
|
105
130
|
- build:
|
|
106
131
|
gemfile: "gemfiles/faraday_1.gemfile"
|
|
107
|
-
ruby: 2.7.
|
|
132
|
+
ruby: 2.7.7
|
|
108
133
|
name: "Faraday1"
|
|
109
134
|
- build:
|
|
110
135
|
gemfile: "gemfiles/faraday_0.gemfile"
|
|
111
|
-
ruby: 2.7.
|
|
136
|
+
ruby: 2.7.7
|
|
112
137
|
name: "Faraday0"
|
|
113
138
|
- build:
|
|
114
139
|
gemfile: "gemfiles/activerecord_6_0.gemfile"
|
|
115
|
-
ruby: 2.6.
|
|
140
|
+
ruby: 2.6.10
|
|
116
141
|
name: "Ruby2-6_Rails6-0"
|
|
117
142
|
- build:
|
|
118
143
|
gemfile: "gemfiles/activerecord_5_2.gemfile"
|
|
119
|
-
ruby: 2.7.
|
|
144
|
+
ruby: 2.7.7
|
|
120
145
|
name: "Ruby2-7_Rails5-2"
|
|
121
146
|
- build:
|
|
122
147
|
gemfile: "gemfiles/activerecord_5_2.gemfile"
|
|
123
|
-
ruby: 2.6.
|
|
148
|
+
ruby: 2.6.10
|
|
124
149
|
name: "Ruby2-6_Rails5-2"
|
|
125
|
-
|
|
126
|
-
gemfile: "gemfiles/activerecord_5_2.gemfile"
|
|
127
|
-
ruby: 2.5.7
|
|
128
|
-
name: "Ruby2-5_Rails5-2"
|
|
150
|
+
|
|
129
151
|
nightly:
|
|
130
152
|
triggers:
|
|
131
153
|
- schedule:
|
|
@@ -135,31 +157,55 @@ workflows:
|
|
|
135
157
|
only:
|
|
136
158
|
- master
|
|
137
159
|
jobs:
|
|
160
|
+
- build:
|
|
161
|
+
gemfile: "gemfiles/activerecord_7_0.gemfile"
|
|
162
|
+
ruby: 3.2.0
|
|
163
|
+
name: "Ruby3-2_rails7-0"
|
|
138
164
|
- build:
|
|
139
165
|
gemfile: "gemfiles/activerecord_6_0.gemfile"
|
|
140
|
-
ruby: 2.
|
|
166
|
+
ruby: 3.2.0
|
|
167
|
+
name: "Ruby3-2_Rails6-0"
|
|
168
|
+
- build:
|
|
169
|
+
gemfile: "gemfiles/activerecord_7_0.gemfile"
|
|
170
|
+
ruby: 3.1.3
|
|
171
|
+
name: "Ruby3-1_rails7-0"
|
|
172
|
+
- build:
|
|
173
|
+
gemfile: "gemfiles/activerecord_6_0.gemfile"
|
|
174
|
+
ruby: 3.1.3
|
|
175
|
+
name: "Ruby3-1_Rails6-0"
|
|
176
|
+
- build:
|
|
177
|
+
gemfile: "gemfiles/activerecord_7_0.gemfile"
|
|
178
|
+
ruby: 3.0.5
|
|
179
|
+
name: "Ruby3-0_rails7-0"
|
|
180
|
+
- build:
|
|
181
|
+
gemfile: "gemfiles/activerecord_6_0.gemfile"
|
|
182
|
+
ruby: 3.0.5
|
|
183
|
+
name: "Ruby3-0_Rails6-0"
|
|
184
|
+
- build:
|
|
185
|
+
gemfile: "gemfiles/activerecord_7_0.gemfile"
|
|
186
|
+
ruby: 2.7.7
|
|
187
|
+
name: "Ruby2-7_rails7-0"
|
|
188
|
+
- build:
|
|
189
|
+
gemfile: "gemfiles/activerecord_6_0.gemfile"
|
|
190
|
+
ruby: 2.7.7
|
|
141
191
|
name: "Ruby2-7_Rails6-0"
|
|
142
192
|
- build:
|
|
143
193
|
gemfile: "gemfiles/faraday_1.gemfile"
|
|
144
|
-
ruby: 2.7.
|
|
194
|
+
ruby: 2.7.7
|
|
145
195
|
name: "Faraday1"
|
|
146
196
|
- build:
|
|
147
197
|
gemfile: "gemfiles/faraday_0.gemfile"
|
|
148
|
-
ruby: 2.7.
|
|
198
|
+
ruby: 2.7.7
|
|
149
199
|
name: "Faraday0"
|
|
150
200
|
- build:
|
|
151
201
|
gemfile: "gemfiles/activerecord_6_0.gemfile"
|
|
152
|
-
ruby: 2.6.
|
|
202
|
+
ruby: 2.6.10
|
|
153
203
|
name: "Ruby2-6_Rails6-0"
|
|
154
204
|
- build:
|
|
155
205
|
gemfile: "gemfiles/activerecord_5_2.gemfile"
|
|
156
|
-
ruby: 2.7.
|
|
206
|
+
ruby: 2.7.7
|
|
157
207
|
name: "Ruby2-7_Rails5-2"
|
|
158
208
|
- build:
|
|
159
209
|
gemfile: "gemfiles/activerecord_5_2.gemfile"
|
|
160
|
-
ruby: 2.6.
|
|
210
|
+
ruby: 2.6.10
|
|
161
211
|
name: "Ruby2-6_Rails5-2"
|
|
162
|
-
- build:
|
|
163
|
-
gemfile: "gemfiles/activerecord_5_2.gemfile"
|
|
164
|
-
ruby: 2.5.7
|
|
165
|
-
name: "Ruby2-5_Rails5-2"
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
# v3.0.0 2023-01-24
|
|
2
|
+
|
|
3
|
+
## Changes since last release
|
|
4
|
+
|
|
5
|
+
* Full Ruby 3.0 support: #919 ([cjcolvar](https://github.com/cjcolvar))
|
|
6
|
+
* Fixed Ruby 2.7.x support: #916 ([tpendragon](https://github.com/tpendragon)), #918
|
|
7
|
+
([jrgriffiniii](https://github.com/jrgriffiniii))
|
|
8
|
+
* Dropped support for Ruby 2.5.x: #916 ([tpendragon](https://github.com/tpendragon))
|
|
9
|
+
* see previous 3.0.0 beta release notes for further changes
|
|
10
|
+
|
|
1
11
|
# v3.0.0.rc1 2022-08-09
|
|
2
12
|
|
|
3
13
|
## Unchanged from 3.0.0.beta3
|
data/README.md
CHANGED
|
@@ -243,7 +243,7 @@ using Docker containers for development.
|
|
|
243
243
|
### Running Tests
|
|
244
244
|
|
|
245
245
|
1. Install the latest released > 3.0 version of Lando from [here](https://github.com/lando/lando/releases).
|
|
246
|
-
2. `bundle install`
|
|
246
|
+
2. `bundle install`(Ruby 2.6+ required)
|
|
247
247
|
3. `bundle exec rake server:start`
|
|
248
248
|
4. `bundle exec rspec spec`
|
|
249
249
|
|
|
@@ -270,4 +270,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/samver
|
|
|
270
270
|
|
|
271
271
|
If you're working on PR for this project, create a feature branch off of `main`.
|
|
272
272
|
|
|
273
|
+
If you’re developing an application that uses Valkyrie, consider adding it to
|
|
274
|
+
the [list of Valkyrie apps](https://github.com/samvera/valkyrie/wiki/Valkyrie-Apps)!
|
|
275
|
+
|
|
273
276
|
This repository follows the [Samvera Community Code of Conduct](https://samvera.atlassian.net/wiki/spaces/samvera/pages/405212316/Code+of+Conduct) and [language recommendations](https://github.com/samvera/maintenance/blob/master/templates/CONTRIBUTING.md#language). Please ***do not*** create a branch called `master` for this repository or as part of your pull request; the branch will either need to be removed or renamed before it can be considered for inclusion in the code base and history of this repository.
|
data/Rakefile
CHANGED
|
@@ -26,7 +26,7 @@ namespace :db do
|
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
task configuration: :environment do
|
|
29
|
-
@config = YAML.safe_load(ERB.new(File.read("db/config.yml")).result,
|
|
29
|
+
@config = YAML.safe_load(ERB.new(File.read("db/config.yml")).result, aliases: true)[DATABASE_ENV]
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
task configure_connection: :configuration do
|
|
@@ -156,7 +156,7 @@ module Valkyrie::Persistence::Fedora
|
|
|
156
156
|
# @param parent [Valkyrie::Persistence::Fedora::OrderedList]
|
|
157
157
|
# @param next_node [ListNode]
|
|
158
158
|
# @param prev_node [ListNode]
|
|
159
|
-
def initialize(*args)
|
|
159
|
+
def initialize(*args, **kwargs)
|
|
160
160
|
super
|
|
161
161
|
@next ||= TailSentinel.new(parent, prev_node: self)
|
|
162
162
|
end
|
|
@@ -166,7 +166,7 @@ module Valkyrie::Persistence::Fedora
|
|
|
166
166
|
# @param parent [Valkyrie::Persistence::Fedora::OrderedList]
|
|
167
167
|
# @param next_node [ListNode]
|
|
168
168
|
# @param prev_node [ListNode]
|
|
169
|
-
def initialize(*args)
|
|
169
|
+
def initialize(*args, **kwargs)
|
|
170
170
|
super
|
|
171
171
|
prev.next = self if prev&.next != self
|
|
172
172
|
end
|
data/lib/valkyrie/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: valkyrie
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.0
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Trey Pendragon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-01-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dry-struct
|
|
@@ -575,11 +575,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
575
575
|
version: '0'
|
|
576
576
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
577
577
|
requirements:
|
|
578
|
-
- - "
|
|
578
|
+
- - ">="
|
|
579
579
|
- !ruby/object:Gem::Version
|
|
580
|
-
version:
|
|
580
|
+
version: '0'
|
|
581
581
|
requirements: []
|
|
582
|
-
rubygems_version: 3.
|
|
582
|
+
rubygems_version: 3.3.26
|
|
583
583
|
signing_key:
|
|
584
584
|
specification_version: 4
|
|
585
585
|
summary: An ORM using the Data Mapper pattern, specifically built to solve Digital
|