noid-rails 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +90 -0
- data/.github_changelog_generator +2 -0
- data/.rubocop.yml +8 -2
- data/.rubocop_todo.yml +30 -67
- data/CHANGELOG.md +306 -0
- data/Gemfile +15 -5
- data/README.md +54 -35
- data/lib/noid/rails/version.rb +1 -1
- data/noid-rails.gemspec +5 -5
- metadata +34 -34
- data/.coveralls.yml +0 -1
- data/.travis.yml +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a9c5330c3c96082abb5e4a0ad3ec80c003ed246615214e8ea89c2208e61a5424
|
4
|
+
data.tar.gz: f3d00baafb689a67eda11864b2773f1234e4ba9e3260c357ecb6cc7cc314ea0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4eab612b6608d12e31925fc168d60fcf264e1b483375c7d50e0a91a7822ba1a3cf84ce95367ee2b3e2ba58d1263112d2197c04b37b90bef1f922defa852c345
|
7
|
+
data.tar.gz: b4b0166a884902e1330380b7056e7e15a0f9cec50ff91f8fdbb0b829646965cb7ba63bb5010a4ed4e28f24afc0b9daa28c88a60099c4ae64f3a835b6e7f76cb8
|
@@ -0,0 +1,90 @@
|
|
1
|
+
version: 2.1
|
2
|
+
orbs:
|
3
|
+
samvera: samvera/circleci-orb@0
|
4
|
+
jobs:
|
5
|
+
bundle_and_test:
|
6
|
+
parameters:
|
7
|
+
ruby_version:
|
8
|
+
type: string
|
9
|
+
bundler_version:
|
10
|
+
type: string
|
11
|
+
default: 1.17.3
|
12
|
+
rails_version:
|
13
|
+
type: string
|
14
|
+
executor:
|
15
|
+
name: 'samvera/ruby'
|
16
|
+
ruby_version: << parameters.ruby_version >>
|
17
|
+
working_directory: ~/project
|
18
|
+
environment:
|
19
|
+
ENGINE_CART_RAILS_OPTIONS: --skip-git --skip-bundle --skip-listen --skip-spring --skip-yarn --skip-keeps --skip-coffee --skip-puma --skip-test
|
20
|
+
RAILS_VERSION: << parameters.rails_version >>
|
21
|
+
steps:
|
22
|
+
- samvera/cached_checkout
|
23
|
+
|
24
|
+
- samvera/bundle_for_gem:
|
25
|
+
ruby_version: << parameters.ruby_version >>
|
26
|
+
bundler_version: << parameters.bundler_version >>
|
27
|
+
project: noid-rails
|
28
|
+
|
29
|
+
- samvera/engine_cart_generate:
|
30
|
+
cache_key: v5-internal-test-app-{{ checksum "noid-rails.gemspec" }}-{{ checksum "spec/test_app_templates/lib/generators/test_app_generator.rb" }}-{{ checksum "lib/generators/noid/rails/install_generator.rb" }}-<< parameters.rails_version >>-<< parameters.ruby_version >>
|
31
|
+
|
32
|
+
- samvera/bundle_for_gem:
|
33
|
+
ruby_version: << parameters.ruby_version >>
|
34
|
+
bundler_version: << parameters.bundler_version >>
|
35
|
+
project: noid-rails
|
36
|
+
|
37
|
+
- samvera/rubocop
|
38
|
+
|
39
|
+
- samvera/parallel_rspec
|
40
|
+
|
41
|
+
workflows:
|
42
|
+
ci:
|
43
|
+
jobs:
|
44
|
+
- bundle_and_test:
|
45
|
+
name: ruby2-7_rails6-0
|
46
|
+
ruby_version: 2.7.1
|
47
|
+
rails_version: 6.0.3.1
|
48
|
+
- bundle_and_test:
|
49
|
+
name: ruby2-7_rails5-2
|
50
|
+
ruby_version: 2.7.1
|
51
|
+
rails_version: 5.2.4.3
|
52
|
+
- bundle_and_test:
|
53
|
+
name: ruby2-7_rails5-1
|
54
|
+
ruby_version: 2.7.1
|
55
|
+
rails_version: 5.1.7
|
56
|
+
|
57
|
+
- bundle_and_test:
|
58
|
+
name: ruby2-6_rails6-0
|
59
|
+
ruby_version: 2.6.6
|
60
|
+
rails_version: 6.0.3.1
|
61
|
+
- bundle_and_test:
|
62
|
+
name: ruby2-6_rails5-2
|
63
|
+
ruby_version: 2.6.6
|
64
|
+
rails_version: 5.2.4.3
|
65
|
+
- bundle_and_test:
|
66
|
+
name: ruby2-6_rails5-1
|
67
|
+
ruby_version: 2.6.6
|
68
|
+
rails_version: 5.1.7
|
69
|
+
|
70
|
+
- bundle_and_test:
|
71
|
+
name: ruby2-5_rails6-0
|
72
|
+
ruby_version: 2.5.8
|
73
|
+
rails_version: 6.0.3.1
|
74
|
+
- bundle_and_test:
|
75
|
+
name: ruby2-5_rails5-2
|
76
|
+
ruby_version: 2.5.8
|
77
|
+
rails_version: 5.2.4.3
|
78
|
+
- bundle_and_test:
|
79
|
+
name: ruby2-5_rails5-1
|
80
|
+
ruby_version: 2.5.8
|
81
|
+
rails_version: 5.1.7
|
82
|
+
|
83
|
+
- bundle_and_test:
|
84
|
+
name: ruby2-4_rails5-2
|
85
|
+
ruby_version: 2.4.10
|
86
|
+
rails_version: 5.2.4.3
|
87
|
+
- bundle_and_test:
|
88
|
+
name: ruby2-4_rails5-1
|
89
|
+
ruby_version: 2.4.10
|
90
|
+
rails_version: 5.1.7
|
data/.rubocop.yml
CHANGED
@@ -1,9 +1,15 @@
|
|
1
|
-
|
1
|
+
inherit_gem:
|
2
|
+
bixby: bixby_default.yml
|
3
|
+
|
2
4
|
inherit_from: .rubocop_todo.yml
|
3
5
|
|
4
6
|
AllCops:
|
5
|
-
TargetRubyVersion: 2.
|
7
|
+
TargetRubyVersion: 2.6
|
6
8
|
DisplayCopNames: true
|
9
|
+
Exclude:
|
10
|
+
- 'db/**/*'
|
11
|
+
- 'script/**/*'
|
12
|
+
- 'vendor/**/*'
|
7
13
|
|
8
14
|
Bundler/DuplicatedGem:
|
9
15
|
Enabled: false
|
data/.rubocop_todo.yml
CHANGED
@@ -1,19 +1,11 @@
|
|
1
|
-
require: rubocop-rspec
|
2
|
-
|
3
1
|
# This configuration was generated by
|
4
2
|
# `rubocop --auto-gen-config`
|
5
|
-
# on
|
3
|
+
# on 2020-06-11 15:56:41 -0400 using RuboCop version 0.85.1.
|
6
4
|
# The point is for the user to remove these configuration records
|
7
5
|
# one by one as the offenses are removed from the code base.
|
8
6
|
# Note that changes in the inspected code, or installation of new
|
9
7
|
# versions of RuboCop, may require this file to be generated again.
|
10
8
|
|
11
|
-
# Offense count: 47
|
12
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
|
13
|
-
# URISchemes: http, https
|
14
|
-
Metrics/LineLength:
|
15
|
-
Max: 120
|
16
|
-
|
17
9
|
# Offense count: 2
|
18
10
|
# Configuration parameters: Max.
|
19
11
|
RSpec/ExampleLength:
|
@@ -21,87 +13,58 @@ RSpec/ExampleLength:
|
|
21
13
|
- 'spec/unit/db_minter_spec.rb'
|
22
14
|
- 'spec/unit/file_minter_spec.rb'
|
23
15
|
|
24
|
-
RSpec/MessageSpies:
|
25
|
-
Enabled: false
|
26
|
-
|
27
|
-
RSpec/ExpectInHook:
|
28
|
-
Exclude:
|
29
|
-
- 'spec/support/shared_examples/minter.rb'
|
30
|
-
|
31
|
-
# Offense count: 6
|
32
|
-
# Configuration parameters: CustomTransform.
|
33
|
-
RSpec/FilePath:
|
34
|
-
Exclude:
|
35
|
-
- 'spec/unit/config_spec.rb'
|
36
|
-
- 'spec/unit/db_minter_spec.rb'
|
37
|
-
- 'spec/unit/file_minter_spec.rb'
|
38
|
-
- 'spec/unit/noid_spec.rb'
|
39
|
-
- 'spec/unit/service_spec.rb'
|
40
|
-
- 'spec/unit/rspec_spec.rb'
|
41
|
-
|
42
|
-
# Offense count: 9
|
43
|
-
RSpec/LeadingSubject:
|
44
|
-
Exclude:
|
45
|
-
- 'spec/unit/config_spec.rb'
|
46
|
-
- 'spec/unit/file_minter_spec.rb'
|
47
|
-
|
48
16
|
# Offense count: 3
|
17
|
+
# Configuration parameters: AssignmentOnly.
|
49
18
|
RSpec/InstanceVariable:
|
50
19
|
Exclude:
|
51
20
|
- 'spec/unit/rspec_spec.rb'
|
52
21
|
|
53
|
-
# Offense count:
|
54
|
-
|
22
|
+
# Offense count: 2
|
23
|
+
# Cop supports --auto-correct.
|
24
|
+
RSpec/LeadingSubject:
|
55
25
|
Exclude:
|
56
|
-
- 'spec/unit/
|
26
|
+
- 'spec/unit/db_minter_spec.rb'
|
27
|
+
- 'spec/unit/file_minter_spec.rb'
|
57
28
|
|
58
29
|
# Offense count: 5
|
59
|
-
# Configuration parameters:
|
60
|
-
# SupportedStyles:
|
61
|
-
RSpec/
|
62
|
-
|
63
|
-
- 'spec/support/shared_examples/minter.rb'
|
64
|
-
- 'spec/unit/service_spec.rb'
|
65
|
-
|
66
|
-
# Offense count: 7
|
67
|
-
RSpec/MultipleExpectations:
|
68
|
-
Max: 5
|
30
|
+
# Configuration parameters: .
|
31
|
+
# SupportedStyles: have_received, receive
|
32
|
+
RSpec/MessageSpies:
|
33
|
+
EnforcedStyle: receive
|
69
34
|
|
70
|
-
# Offense count:
|
35
|
+
# Offense count: 27
|
36
|
+
# Configuration parameters: IgnoreSharedExamples.
|
71
37
|
RSpec/NamedSubject:
|
72
38
|
Exclude:
|
73
|
-
- 'spec/support/shared_examples/minter.rb'
|
74
39
|
- 'spec/unit/config_spec.rb'
|
75
40
|
- 'spec/unit/db_minter_spec.rb'
|
76
41
|
- 'spec/unit/file_minter_spec.rb'
|
77
42
|
- 'spec/unit/noid_spec.rb'
|
78
43
|
- 'spec/unit/service_spec.rb'
|
79
44
|
|
80
|
-
# Offense count:
|
81
|
-
|
82
|
-
RSpec/NestedGroups:
|
45
|
+
# Offense count: 3
|
46
|
+
RSpec/SubjectStub:
|
83
47
|
Exclude:
|
84
|
-
- 'spec/
|
85
|
-
- 'spec/unit/noid_spec.rb'
|
86
|
-
- 'spec/unit/rspec_spec.rb'
|
48
|
+
- 'spec/support/shared_examples/minter.rb'
|
87
49
|
|
88
|
-
# Offense count:
|
89
|
-
# Configuration parameters: IgnoreSymbolicNames.
|
50
|
+
# Offense count: 1
|
51
|
+
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
|
90
52
|
RSpec/VerifiedDoubles:
|
91
53
|
Exclude:
|
92
|
-
- 'spec/unit/config_spec.rb'
|
93
54
|
- 'spec/unit/service_spec.rb'
|
94
55
|
|
95
|
-
# Offense count:
|
96
|
-
|
56
|
+
# Offense count: 1
|
57
|
+
# Cop supports --auto-correct.
|
58
|
+
Rails/ActiveRecordAliases:
|
97
59
|
Exclude:
|
98
|
-
- '
|
99
|
-
- 'test/**/*'
|
100
|
-
- 'app/models/minter_state.rb'
|
101
|
-
- 'db/migrate/20160610010003_create_minter_states.rb'
|
102
|
-
- 'db/migrate/20161021203429_rename_minter_state_random_to_rand.rb'
|
103
|
-
|
60
|
+
- 'lib/noid/rails/minter/db.rb'
|
104
61
|
|
105
|
-
|
62
|
+
# Offense count: 2
|
63
|
+
# Cop supports --auto-correct.
|
64
|
+
# Configuration parameters: Include.
|
65
|
+
# Include: **/Rakefile, **/*.rake
|
66
|
+
Rails/RakeEnvironment:
|
106
67
|
Exclude:
|
107
|
-
- '
|
68
|
+
- 'lib/capistrano/tasks/**/*.rake'
|
69
|
+
- 'Rakefile'
|
70
|
+
- 'lib/tasks/noid_tasks.rake'
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,306 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [3.0.2](https://github.com/samvera/noid-rails/tree/3.0.2) (2020-06-11)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v3.0.1...3.0.2)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Test against Ruby releases 2.6.3, 2.5.5, and 2.4.6 [\#90](https://github.com/samvera/noid-rails/issues/90)
|
10
|
+
|
11
|
+
**Closed issues:**
|
12
|
+
|
13
|
+
- Add support for Rails 6.0.z releases [\#94](https://github.com/samvera/noid-rails/issues/94)
|
14
|
+
- Add support for Ruby 2.7.z releases [\#93](https://github.com/samvera/noid-rails/issues/93)
|
15
|
+
- Use CircleCI for continuous integration [\#88](https://github.com/samvera/noid-rails/issues/88)
|
16
|
+
|
17
|
+
**Merged pull requests:**
|
18
|
+
|
19
|
+
- Align on current samvera style guide [\#96](https://github.com/samvera/noid-rails/pull/96) ([bess](https://github.com/bess))
|
20
|
+
- Adding Ruby 2.7.z and Rails 6.y.z releases to the CircleCI build configuration [\#95](https://github.com/samvera/noid-rails/pull/95) ([jrgriffiniii](https://github.com/jrgriffiniii))
|
21
|
+
- Update CircleCI Ruby and Rails versions [\#92](https://github.com/samvera/noid-rails/pull/92) ([botimer](https://github.com/botimer))
|
22
|
+
- Updates the CircleCI configuration to test against Ruby releases 2.6.3, 2.5.5, and 2.4.6 [\#91](https://github.com/samvera/noid-rails/pull/91) ([jrgriffiniii](https://github.com/jrgriffiniii))
|
23
|
+
- Use CircleCI over Travis [\#89](https://github.com/samvera/noid-rails/pull/89) ([tpendragon](https://github.com/tpendragon))
|
24
|
+
- Test on latest rails versions including 5.2.2 [\#87](https://github.com/samvera/noid-rails/pull/87) ([cjcolvar](https://github.com/cjcolvar))
|
25
|
+
|
26
|
+
## [v3.0.1](https://github.com/samvera/noid-rails/tree/v3.0.1) (2018-11-26)
|
27
|
+
|
28
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v3.0.0...v3.0.1)
|
29
|
+
|
30
|
+
**Fixed bugs:**
|
31
|
+
|
32
|
+
- Cannot override identifier\_in\_use lambda [\#85](https://github.com/samvera/noid-rails/issues/85)
|
33
|
+
|
34
|
+
**Closed issues:**
|
35
|
+
|
36
|
+
- Report code coverage to coveralls [\#80](https://github.com/samvera/noid-rails/issues/80)
|
37
|
+
- Update README/Code\_of\_Conduct/CONTRIBUTING/etc to CCMWG Templates [\#79](https://github.com/samvera/noid-rails/issues/79)
|
38
|
+
|
39
|
+
**Merged pull requests:**
|
40
|
+
|
41
|
+
- Allow override of identifier\_in\_use lambda [\#86](https://github.com/samvera/noid-rails/pull/86) ([elrayle](https://github.com/elrayle))
|
42
|
+
- Updates the documentation to be in compliance with the Component Maintenance WG templates [\#84](https://github.com/samvera/noid-rails/pull/84) ([jrgriffiniii](https://github.com/jrgriffiniii))
|
43
|
+
- Remove Gemnasium [\#83](https://github.com/samvera/noid-rails/pull/83) ([jcoyne](https://github.com/jcoyne))
|
44
|
+
- Change Hydra to Samvera, remove Gemnasium [\#82](https://github.com/samvera/noid-rails/pull/82) ([jcoyne](https://github.com/jcoyne))
|
45
|
+
- Adjusting the spec config. in order to report test coverage to Coveralls [\#81](https://github.com/samvera/noid-rails/pull/81) ([jrgriffiniii](https://github.com/jrgriffiniii))
|
46
|
+
- Update readme for samvera and the noid-rails change. [\#78](https://github.com/samvera/noid-rails/pull/78) ([jcoyne](https://github.com/jcoyne))
|
47
|
+
|
48
|
+
## [v3.0.0](https://github.com/samvera/noid-rails/tree/v3.0.0) (2017-12-13)
|
49
|
+
|
50
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v2.2.0...v3.0.0)
|
51
|
+
|
52
|
+
**Merged pull requests:**
|
53
|
+
|
54
|
+
- Don't calculate coverage on the generated test app [\#77](https://github.com/samvera/noid-rails/pull/77) ([jcoyne](https://github.com/jcoyne))
|
55
|
+
- Drop the dependency on active-fedora [\#76](https://github.com/samvera/noid-rails/pull/76) ([jcoyne](https://github.com/jcoyne))
|
56
|
+
- Allow running on ActiveFedora 12 [\#75](https://github.com/samvera/noid-rails/pull/75) ([jcoyne](https://github.com/jcoyne))
|
57
|
+
- Bump version to 2.2.0 [\#74](https://github.com/samvera/noid-rails/pull/74) ([jcoyne](https://github.com/jcoyne))
|
58
|
+
- Updating CONTRIBUTING.md as per Hydra v11.0.0 [\#64](https://github.com/samvera/noid-rails/pull/64) ([jeremyf](https://github.com/jeremyf))
|
59
|
+
|
60
|
+
## [v2.2.0](https://github.com/samvera/noid-rails/tree/v2.2.0) (2017-05-25)
|
61
|
+
|
62
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v2.1.0...v2.2.0)
|
63
|
+
|
64
|
+
**Merged pull requests:**
|
65
|
+
|
66
|
+
- Add a module mixin to make integration easier [\#73](https://github.com/samvera/noid-rails/pull/73) ([jcoyne](https://github.com/jcoyne))
|
67
|
+
- Bump version to 2.1.0 [\#72](https://github.com/samvera/noid-rails/pull/72) ([jcoyne](https://github.com/jcoyne))
|
68
|
+
|
69
|
+
## [v2.1.0](https://github.com/samvera/noid-rails/tree/v2.1.0) (2017-05-18)
|
70
|
+
|
71
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v2.0.2...v2.1.0)
|
72
|
+
|
73
|
+
**Merged pull requests:**
|
74
|
+
|
75
|
+
- Support rails 5.1 [\#71](https://github.com/samvera/noid-rails/pull/71) ([jcoyne](https://github.com/jcoyne))
|
76
|
+
|
77
|
+
## [v2.0.2](https://github.com/samvera/noid-rails/tree/v2.0.2) (2017-03-01)
|
78
|
+
|
79
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v2.0.1...v2.0.2)
|
80
|
+
|
81
|
+
**Closed issues:**
|
82
|
+
|
83
|
+
- DB minter locking logical problems [\#66](https://github.com/samvera/noid-rails/issues/66)
|
84
|
+
- Minter::Db\#read locks the object without freeing it [\#65](https://github.com/samvera/noid-rails/issues/65)
|
85
|
+
|
86
|
+
**Merged pull requests:**
|
87
|
+
|
88
|
+
- Bump version to 2.0.2 [\#70](https://github.com/samvera/noid-rails/pull/70) ([atz](https://github.com/atz))
|
89
|
+
- next\_id should only query once inside the transaction [\#69](https://github.com/samvera/noid-rails/pull/69) ([atz](https://github.com/atz))
|
90
|
+
- Relax rake dependency pinning [\#68](https://github.com/samvera/noid-rails/pull/68) ([cbeer](https://github.com/cbeer))
|
91
|
+
- Remove db:migrate from the generator [\#63](https://github.com/samvera/noid-rails/pull/63) ([jcoyne](https://github.com/jcoyne))
|
92
|
+
- Update README to be less specific about versions [\#62](https://github.com/samvera/noid-rails/pull/62) ([mjgiarlo](https://github.com/mjgiarlo))
|
93
|
+
|
94
|
+
## [v2.0.1](https://github.com/samvera/noid-rails/tree/v2.0.1) (2017-01-09)
|
95
|
+
|
96
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v2.0.0...v2.0.1)
|
97
|
+
|
98
|
+
**Closed issues:**
|
99
|
+
|
100
|
+
- Calling select on nil raises NoMethodError. [\#59](https://github.com/samvera/noid-rails/issues/59)
|
101
|
+
|
102
|
+
**Merged pull requests:**
|
103
|
+
|
104
|
+
- Bump version to 2.0.1 [\#61](https://github.com/samvera/noid-rails/pull/61) ([jcoyne](https://github.com/jcoyne))
|
105
|
+
- Automatically seed the database. Fixes \#59 [\#60](https://github.com/samvera/noid-rails/pull/60) ([jcoyne](https://github.com/jcoyne))
|
106
|
+
- Update README.md [\#58](https://github.com/samvera/noid-rails/pull/58) ([mjgiarlo](https://github.com/mjgiarlo))
|
107
|
+
- Sync up the master README and 2.x-stable README [\#56](https://github.com/samvera/noid-rails/pull/56) ([carrickr](https://github.com/carrickr))
|
108
|
+
- remove note 1 from the readme but use the more descriptive code block [\#55](https://github.com/samvera/noid-rails/pull/55) ([carrickr](https://github.com/carrickr))
|
109
|
+
- replace note 2 with the text from Sufia's minter doc [\#53](https://github.com/samvera/noid-rails/pull/53) ([carrickr](https://github.com/carrickr))
|
110
|
+
- update the version.rb file and mark the specific version in the README [\#52](https://github.com/samvera/noid-rails/pull/52) ([carrickr](https://github.com/carrickr))
|
111
|
+
|
112
|
+
## [v2.0.0](https://github.com/samvera/noid-rails/tree/v2.0.0) (2016-11-29)
|
113
|
+
|
114
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v1.1.3...v2.0.0)
|
115
|
+
|
116
|
+
**Closed issues:**
|
117
|
+
|
118
|
+
- Test gem in two configurations: with Rails and without Rails [\#36](https://github.com/samvera/noid-rails/issues/36)
|
119
|
+
- Conditionalize autoload of Engine and classes that depend on ActiveRecord [\#35](https://github.com/samvera/noid-rails/issues/35)
|
120
|
+
|
121
|
+
**Merged pull requests:**
|
122
|
+
|
123
|
+
- Rework RSpec module with enable/disable methods [\#51](https://github.com/samvera/noid-rails/pull/51) ([no-reply](https://github.com/no-reply))
|
124
|
+
- Stop spamming IRC with Travis builds [\#50](https://github.com/samvera/noid-rails/pull/50) ([mjgiarlo](https://github.com/mjgiarlo))
|
125
|
+
|
126
|
+
## [v1.1.3](https://github.com/samvera/noid-rails/tree/v1.1.3) (2016-10-26)
|
127
|
+
|
128
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v2.0.0.beta6...v1.1.3)
|
129
|
+
|
130
|
+
**Merged pull requests:**
|
131
|
+
|
132
|
+
- Treeify algorithm should raise ArgumentError when passed nil or empty string [\#49](https://github.com/samvera/noid-rails/pull/49) ([mjgiarlo](https://github.com/mjgiarlo))
|
133
|
+
|
134
|
+
## [v2.0.0.beta6](https://github.com/samvera/noid-rails/tree/v2.0.0.beta6) (2016-10-26)
|
135
|
+
|
136
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v2.0.0.beta5...v2.0.0.beta6)
|
137
|
+
|
138
|
+
**Closed issues:**
|
139
|
+
|
140
|
+
- Time to graduate out of labs? [\#22](https://github.com/samvera/noid-rails/issues/22)
|
141
|
+
|
142
|
+
**Merged pull requests:**
|
143
|
+
|
144
|
+
- Treeify algorithm should raise ArgumentError when passed nil or empty string [\#47](https://github.com/samvera/noid-rails/pull/47) ([mjgiarlo](https://github.com/mjgiarlo))
|
145
|
+
- Align README with other promoted gems' READMEs. Fixes \#22 [\#46](https://github.com/samvera/noid-rails/pull/46) ([mjgiarlo](https://github.com/mjgiarlo))
|
146
|
+
- Clarify the README: must run generator before using new minter [\#45](https://github.com/samvera/noid-rails/pull/45) ([mjgiarlo](https://github.com/mjgiarlo))
|
147
|
+
|
148
|
+
## [v2.0.0.beta5](https://github.com/samvera/noid-rails/tree/v2.0.0.beta5) (2016-10-24)
|
149
|
+
|
150
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v2.0.0.beta4...v2.0.0.beta5)
|
151
|
+
|
152
|
+
**Merged pull requests:**
|
153
|
+
|
154
|
+
- Use the File-backed minter as the default minter. [\#44](https://github.com/samvera/noid-rails/pull/44) ([mjgiarlo](https://github.com/mjgiarlo))
|
155
|
+
|
156
|
+
## [v2.0.0.beta4](https://github.com/samvera/noid-rails/tree/v2.0.0.beta4) (2016-10-21)
|
157
|
+
|
158
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v1.1.2...v2.0.0.beta4)
|
159
|
+
|
160
|
+
**Merged pull requests:**
|
161
|
+
|
162
|
+
- Use and test updated Rails versions: 4.2.7.1 and 5.0.0.1 [\#43](https://github.com/samvera/noid-rails/pull/43) ([mjgiarlo](https://github.com/mjgiarlo))
|
163
|
+
- Add CodeClimate badge to README [\#42](https://github.com/samvera/noid-rails/pull/42) ([mjgiarlo](https://github.com/mjgiarlo))
|
164
|
+
- Fix treeify algorithm [\#41](https://github.com/samvera/noid-rails/pull/41) ([mjgiarlo](https://github.com/mjgiarlo))
|
165
|
+
- Alignment and configuration [\#40](https://github.com/samvera/noid-rails/pull/40) ([mjgiarlo](https://github.com/mjgiarlo))
|
166
|
+
- Bump engine\_cart to 1.0.x [\#39](https://github.com/samvera/noid-rails/pull/39) ([atz](https://github.com/atz))
|
167
|
+
- Remove duplicate line from Gemfile [\#38](https://github.com/samvera/noid-rails/pull/38) ([atz](https://github.com/atz))
|
168
|
+
|
169
|
+
## [v1.1.2](https://github.com/samvera/noid-rails/tree/v1.1.2) (2016-10-21)
|
170
|
+
|
171
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v2.0.0.beta3...v1.1.2)
|
172
|
+
|
173
|
+
**Fixed bugs:**
|
174
|
+
|
175
|
+
- Pin for a CurationConcerns issue [\#34](https://github.com/samvera/noid-rails/issues/34)
|
176
|
+
|
177
|
+
**Closed issues:**
|
178
|
+
|
179
|
+
- Running generator raises an error. [\#37](https://github.com/samvera/noid-rails/issues/37)
|
180
|
+
- MinterState isn't requirable by implementors. [\#29](https://github.com/samvera/noid-rails/issues/29)
|
181
|
+
|
182
|
+
## [v2.0.0.beta3](https://github.com/samvera/noid-rails/tree/v2.0.0.beta3) (2016-09-13)
|
183
|
+
|
184
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v2.0.0.beta2...v2.0.0.beta3)
|
185
|
+
|
186
|
+
**Merged pull requests:**
|
187
|
+
|
188
|
+
- Loosen Active-fedora dependency to allow version 11 [\#33](https://github.com/samvera/noid-rails/pull/33) ([jcoyne](https://github.com/jcoyne))
|
189
|
+
- Remove the post\_install\_message [\#32](https://github.com/samvera/noid-rails/pull/32) ([jcoyne](https://github.com/jcoyne))
|
190
|
+
|
191
|
+
## [v2.0.0.beta2](https://github.com/samvera/noid-rails/tree/v2.0.0.beta2) (2016-08-09)
|
192
|
+
|
193
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v2.0.0.beta1...v2.0.0.beta2)
|
194
|
+
|
195
|
+
**Fixed bugs:**
|
196
|
+
|
197
|
+
- Generator fails with Active Fedora 10.1.0 [\#30](https://github.com/samvera/noid-rails/issues/30)
|
198
|
+
|
199
|
+
**Merged pull requests:**
|
200
|
+
|
201
|
+
- Relax the rails dependency to allow for Rails 5 [\#31](https://github.com/samvera/noid-rails/pull/31) ([jcoyne](https://github.com/jcoyne))
|
202
|
+
|
203
|
+
## [v2.0.0.beta1](https://github.com/samvera/noid-rails/tree/v2.0.0.beta1) (2016-06-22)
|
204
|
+
|
205
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v1.1.1...v2.0.0.beta1)
|
206
|
+
|
207
|
+
**Closed issues:**
|
208
|
+
|
209
|
+
- DB minter design questions [\#24](https://github.com/samvera/noid-rails/issues/24)
|
210
|
+
- default\_minter probably shouldn't set minter [\#20](https://github.com/samvera/noid-rails/issues/20)
|
211
|
+
|
212
|
+
**Merged pull requests:**
|
213
|
+
|
214
|
+
- database backed minter [\#25](https://github.com/samvera/noid-rails/pull/25) ([atz](https://github.com/atz))
|
215
|
+
|
216
|
+
## [v1.1.1](https://github.com/samvera/noid-rails/tree/v1.1.1) (2016-06-15)
|
217
|
+
|
218
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v1.1.0...v1.1.1)
|
219
|
+
|
220
|
+
**Closed issues:**
|
221
|
+
|
222
|
+
- translate\_uri\_to\_id is dropping anchors. [\#26](https://github.com/samvera/noid-rails/issues/26)
|
223
|
+
- new DB-backed minter [\#21](https://github.com/samvera/noid-rails/issues/21)
|
224
|
+
|
225
|
+
**Merged pull requests:**
|
226
|
+
|
227
|
+
- Preserve the hash when translating to id. Fixes \#26 [\#27](https://github.com/samvera/noid-rails/pull/27) ([jcoyne](https://github.com/jcoyne))
|
228
|
+
- Adding check for gone since that is also not a valid id to mint. [\#18](https://github.com/samvera/noid-rails/pull/18) ([carolyncole](https://github.com/carolyncole))
|
229
|
+
|
230
|
+
## [v1.1.0](https://github.com/samvera/noid-rails/tree/v1.1.0) (2016-05-10)
|
231
|
+
|
232
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v1.0.3...v1.1.0)
|
233
|
+
|
234
|
+
**Merged pull requests:**
|
235
|
+
|
236
|
+
- Allow active\_fedora-noid to work with active-fedora 10 [\#19](https://github.com/samvera/noid-rails/pull/19) ([jcoyne](https://github.com/jcoyne))
|
237
|
+
|
238
|
+
## [v1.0.3](https://github.com/samvera/noid-rails/tree/v1.0.3) (2015-12-04)
|
239
|
+
|
240
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v1.0.2...v1.0.3)
|
241
|
+
|
242
|
+
## [v1.0.2](https://github.com/samvera/noid-rails/tree/v1.0.2) (2015-08-11)
|
243
|
+
|
244
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v1.0.1...v1.0.2)
|
245
|
+
|
246
|
+
**Merged pull requests:**
|
247
|
+
|
248
|
+
- Append to minter state files in binary mode. Reverts \#16 [\#17](https://github.com/samvera/noid-rails/pull/17) ([mjgiarlo](https://github.com/mjgiarlo))
|
249
|
+
- Set default encoding of minter state files and allow overrides. [\#16](https://github.com/samvera/noid-rails/pull/16) ([mjgiarlo](https://github.com/mjgiarlo))
|
250
|
+
|
251
|
+
## [v1.0.1](https://github.com/samvera/noid-rails/tree/v1.0.1) (2015-08-06)
|
252
|
+
|
253
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v0.3.0...v1.0.1)
|
254
|
+
|
255
|
+
**Closed issues:**
|
256
|
+
|
257
|
+
- Remove treeifier workaround [\#13](https://github.com/samvera/noid-rails/issues/13)
|
258
|
+
- Wrong id for short ids [\#10](https://github.com/samvera/noid-rails/issues/10)
|
259
|
+
- I need access to push the gem [\#9](https://github.com/samvera/noid-rails/issues/9)
|
260
|
+
- Discuss the right way to "bucket" assets [\#5](https://github.com/samvera/noid-rails/issues/5)
|
261
|
+
|
262
|
+
**Merged pull requests:**
|
263
|
+
|
264
|
+
- Use Marshal to serialize minter state rather than YAML [\#15](https://github.com/samvera/noid-rails/pull/15) ([mjgiarlo](https://github.com/mjgiarlo))
|
265
|
+
- Revert treeifier functionality. Fixes \#13 [\#14](https://github.com/samvera/noid-rails/pull/14) ([mjgiarlo](https://github.com/mjgiarlo))
|
266
|
+
- Test default statefile option. \(Fixes typo -- previous test was a duplicate.\) [\#12](https://github.com/samvera/noid-rails/pull/12) ([mjgiarlo](https://github.com/mjgiarlo))
|
267
|
+
- Calculating baseurl length instead of assumig based on default settings [\#11](https://github.com/samvera/noid-rails/pull/11) ([escowles](https://github.com/escowles))
|
268
|
+
- translate\_uri\_to\_id should handle deeper paths. Fixes \#7 [\#8](https://github.com/samvera/noid-rails/pull/8) ([jcoyne](https://github.com/jcoyne))
|
269
|
+
|
270
|
+
## [v0.3.0](https://github.com/samvera/noid-rails/tree/v0.3.0) (2015-07-14)
|
271
|
+
|
272
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v1.0.0...v0.3.0)
|
273
|
+
|
274
|
+
**Closed issues:**
|
275
|
+
|
276
|
+
- When URI has nested nodes the id is wrong [\#7](https://github.com/samvera/noid-rails/issues/7)
|
277
|
+
- Should default\_solr\_param be overrideable? [\#4](https://github.com/samvera/noid-rails/issues/4)
|
278
|
+
|
279
|
+
## [v1.0.0](https://github.com/samvera/noid-rails/tree/v1.0.0) (2015-04-09)
|
280
|
+
|
281
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v0.2.0...v1.0.0)
|
282
|
+
|
283
|
+
**Closed issues:**
|
284
|
+
|
285
|
+
- Add Documentation About Configuring AF [\#2](https://github.com/samvera/noid-rails/issues/2)
|
286
|
+
|
287
|
+
**Merged pull requests:**
|
288
|
+
|
289
|
+
- Change "bucket" algorithm [\#3](https://github.com/samvera/noid-rails/pull/3) ([jechols](https://github.com/jechols))
|
290
|
+
- Fix coveralls by using spec\_helper. [\#1](https://github.com/samvera/noid-rails/pull/1) ([tpendragon](https://github.com/tpendragon))
|
291
|
+
|
292
|
+
## [v0.2.0](https://github.com/samvera/noid-rails/tree/v0.2.0) (2015-03-31)
|
293
|
+
|
294
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v0.1.0...v0.2.0)
|
295
|
+
|
296
|
+
## [v0.1.0](https://github.com/samvera/noid-rails/tree/v0.1.0) (2015-03-30)
|
297
|
+
|
298
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/v0.0.1...v0.1.0)
|
299
|
+
|
300
|
+
## [v0.0.1](https://github.com/samvera/noid-rails/tree/v0.0.1) (2015-02-14)
|
301
|
+
|
302
|
+
[Full Changelog](https://github.com/samvera/noid-rails/compare/fed66a332e7374c9b3d9aba53ed79f9db1d4986d...v0.0.1)
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Gemfile
CHANGED
@@ -6,20 +6,21 @@ source 'https://rubygems.org'
|
|
6
6
|
gemspec
|
7
7
|
|
8
8
|
group :development, :test do
|
9
|
-
gem 'byebug' unless ENV['CI']
|
10
9
|
gem 'coveralls', require: false
|
10
|
+
gem 'pry-byebug' unless ENV['CI']
|
11
11
|
end
|
12
12
|
|
13
13
|
# BEGIN ENGINE_CART BLOCK
|
14
14
|
# engine_cart: 1.0.1
|
15
15
|
# engine_cart stanza: 0.10.0
|
16
16
|
# the below comes from engine_cart, a gem used to test this Rails engine gem in the context of a Rails app.
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
internal_test_gemfile_path = File.expand_path('.internal_test_app', File.dirname(__FILE__))
|
18
|
+
gemfile_path = ENV['ENGINE_CART_DESTINATION'] || ENV['RAILS_ROOT'] || internal_test_gemfile_path
|
19
|
+
file = File.expand_path('Gemfile', gemfile_path)
|
20
|
+
|
20
21
|
if File.exist?(file)
|
21
22
|
begin
|
22
|
-
eval_gemfile
|
23
|
+
eval_gemfile(file)
|
23
24
|
rescue Bundler::GemfileError => e
|
24
25
|
Bundler.ui.warn '[EngineCart] Skipping Rails application dependencies:'
|
25
26
|
Bundler.ui.warn e.message
|
@@ -34,6 +35,15 @@ else
|
|
34
35
|
else
|
35
36
|
gem 'rails', ENV['RAILS_VERSION']
|
36
37
|
end
|
38
|
+
|
39
|
+
case ENV['RAILS_VERSION']
|
40
|
+
when /^5\.2/
|
41
|
+
gem 'sass-rails', '~> 5.1'
|
42
|
+
when /^5\.1/
|
43
|
+
gem 'sass-rails', '5.0.7'
|
44
|
+
else
|
45
|
+
gem 'sass-rails'
|
46
|
+
end
|
37
47
|
end
|
38
48
|
end
|
39
49
|
# END ENGINE_CART BLOCK
|
data/README.md
CHANGED
@@ -1,16 +1,8 @@
|
|
1
1
|
# Noid::Rails
|
2
2
|
|
3
|
-
Code:
|
4
|
-
|
5
|
-
[![
|
6
|
-
[![Coverage Status](https://coveralls.io/repos/github/samvera/noid-rails/badge.svg?branch=master)](https://coveralls.io/github/samvera/noid-rails?branch=master)
|
7
|
-
[![Code Climate](https://codeclimate.com/github/samvera/noid-rails/badges/gpa.svg)](https://codeclimate.com/github/samvera/noid-rails)
|
8
|
-
|
9
|
-
Docs:
|
10
|
-
[![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE)
|
11
|
-
[![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)
|
12
|
-
[![API Docs](http://img.shields.io/badge/API-docs-blue.svg)](http://rubydoc.info/gems/noid-rails)
|
13
|
-
[![Documentation Status](https://inch-ci.org/github/samvera/noid-rails.svg?branch=master)](https://inch-ci.org/github/samvera/noid-rails)
|
3
|
+
Code: [![Version](https://badge.fury.io/rb/noid-rails.png)](http://badge.fury.io/rb/noid-rails) [![Build Status](https://circleci.com/gh/samvera/noid-rails.svg?style=svg)](https://circleci.com/gh/samvera/noid-rails) [![Coverage Status](https://coveralls.io/repos/github/samvera/noid-rails/badge.svg?branch=master)](https://coveralls.io/github/samvera/noid-rails?branch=master) [![Code Climate](https://codeclimate.com/github/samvera/noid-rails/badges/gpa.svg)](https://codeclimate.com/github/samvera/noid-rails)
|
4
|
+
|
5
|
+
Docs: [![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE) [![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md) [![API Docs](http://img.shields.io/badge/API-docs-blue.svg)](http://rubydoc.info/gems/noid-rails) [![Documentation Status](https://inch-ci.org/github/samvera/noid-rails.svg?branch=master)](https://inch-ci.org/github/samvera/noid-rails)
|
14
6
|
|
15
7
|
Jump In: [![Slack Status](http://slack.samvera.org/badge.svg)](http://slack.samvera.org/)
|
16
8
|
|
@@ -21,39 +13,52 @@ This gem mints identifiers for models in your Rails-based application with opaqu
|
|
21
13
|
**This gem depends only upon Rails, not on ActiveFedora**
|
22
14
|
|
23
15
|
## Product Owner & Maintenance
|
24
|
-
|
25
|
-
what this means can be found
|
26
|
-
|
27
|
-
|
28
|
-
|
16
|
+
|
17
|
+
**noid-rails** is a Core Component of the Samvera community. The documentation for what this means can be found [here](http://samvera.github.io/core_components.html#requirements-for-a-core-component).
|
18
|
+
|
19
|
+
### Product Owner
|
20
|
+
|
21
|
+
[Justin Coyne](https://github.com/jcoyne)
|
29
22
|
|
30
23
|
## Table of Contents
|
31
24
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
25
|
+
- [Installation](#installation)
|
26
|
+
- [Usage](#usage)
|
27
|
+
|
28
|
+
- [Minting and validating identifiers](#minting-and-validating-identifiers)
|
29
|
+
- [ActiveFedora integration](#activefedora-integration)
|
30
|
+
|
31
|
+
- [Identifier/URI translation](#identifieruri-translation)
|
32
|
+
|
33
|
+
- [Overriding default behavior](#overriding-default-behavior)
|
34
|
+
|
35
|
+
- [Use database-based minter state](#use-database-based-minter-state)
|
36
|
+
- [Identifier template](#identifier-template)
|
37
|
+
- [Custom minters](#custom-minters)
|
38
|
+
|
39
|
+
- [Help](#help)
|
40
|
+
|
41
|
+
- [Acknowledgments](#acknowledgments)
|
43
42
|
|
44
43
|
## Installation
|
45
44
|
|
46
45
|
Add this line to your application's Gemfile:
|
47
46
|
|
48
|
-
|
47
|
+
```
|
48
|
+
gem 'noid-rails'
|
49
|
+
```
|
49
50
|
|
50
51
|
And then execute:
|
51
52
|
|
52
|
-
|
53
|
+
```
|
54
|
+
$ bundle install
|
55
|
+
```
|
53
56
|
|
54
57
|
Or install it yourself via:
|
55
58
|
|
56
|
-
|
59
|
+
```
|
60
|
+
$ gem install noid-rails
|
61
|
+
```
|
57
62
|
|
58
63
|
## Usage
|
59
64
|
|
@@ -66,7 +71,7 @@ noid_service = Noid::Rails::Service.new
|
|
66
71
|
noid = noid_service.mint
|
67
72
|
```
|
68
73
|
|
69
|
-
This creates a Noid with the default identifier template, which you can override (see below).
|
74
|
+
This creates a Noid with the default identifier template, which you can override (see below). Now that you have a service object with a template, you can also use it to validate identifiers to see if they conform to the template:
|
70
75
|
|
71
76
|
```ruby
|
72
77
|
noid_service.valid? 'xyz123foobar'
|
@@ -98,7 +103,7 @@ end
|
|
98
103
|
|
99
104
|
#### Identifier/URI translation
|
100
105
|
|
101
|
-
As Noid::Rails overrides the default identifier minting strategy in ActiveFedora, you will need to let ActiveFedora know how to translate identifiers into URIs and vice versa so that identifiers are laid out in a sustainable way in Fedora.
|
106
|
+
As Noid::Rails overrides the default identifier minting strategy in ActiveFedora, you will need to let ActiveFedora know how to translate identifiers into URIs and vice versa so that identifiers are laid out in a sustainable way in Fedora. Add the following to e.g. `config/initializers/active_fedora.rb`:
|
102
107
|
|
103
108
|
```ruby
|
104
109
|
baseparts = 2 + [(Noid::Rails::Config.template.gsub(/\.[rsz]/, '').length.to_f / 2).ceil, 4].min
|
@@ -178,7 +183,7 @@ For more information about the format of Noid patterns, see pages 8-10 of the [N
|
|
178
183
|
|
179
184
|
#### Custom minters
|
180
185
|
|
181
|
-
If you don't want your minter's state to be persisted, you may also write and configure your own minter.
|
186
|
+
If you don't want your minter's state to be persisted, you may also write and configure your own minter. First write up a minter class that looks like the following:
|
182
187
|
|
183
188
|
```ruby
|
184
189
|
class MyMinter < Noid::Rails::Minter::Base
|
@@ -214,13 +219,27 @@ end
|
|
214
219
|
|
215
220
|
And the service will delegate minting and validating to an instance of your customized minter class.
|
216
221
|
|
222
|
+
## Releasing
|
223
|
+
|
224
|
+
1. `bundle install`
|
225
|
+
2. Increase the version number in `lib/noid/rails/version.rb`
|
226
|
+
3. Increase the same version number in `.github_changelog_generator`
|
227
|
+
4. Update `CHANGELOG.md` by running this command:
|
228
|
+
|
229
|
+
```
|
230
|
+
github_changelog_generator --user samvera --project noid-rails --token YOUR_GITHUB_TOKEN_HERE
|
231
|
+
```
|
232
|
+
|
233
|
+
5. Commit these changes to the master branch
|
234
|
+
|
235
|
+
6. Run `rake release`
|
236
|
+
|
217
237
|
# Help
|
218
238
|
|
219
239
|
The Samvera community is here to help. Please see our [support guide](./SUPPORT.md).
|
220
240
|
|
221
241
|
# Acknowledgments
|
222
242
|
|
223
|
-
This software has been developed by and is brought to you by the Samvera community.
|
224
|
-
[Samvera website](http://samvera.org/).
|
243
|
+
This software has been developed by and is brought to you by the Samvera community. Learn more at the [Samvera website](http://samvera.org/).
|
225
244
|
|
226
245
|
![Samvera Logo](https://wiki.duraspace.org/download/thumbnails/87459292/samvera-fall-font2-200w.png?version=1&modificationDate=1498550535816&api=v2)
|
data/lib/noid/rails/version.rb
CHANGED
data/noid-rails.gemspec
CHANGED
@@ -18,14 +18,14 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^spec/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.add_dependency 'actionpack', '>= 5.0.0', '<
|
21
|
+
spec.add_dependency 'actionpack', '>= 5.0.0', '< 7'
|
22
22
|
spec.add_dependency 'noid', '~> 0.9'
|
23
23
|
|
24
|
-
spec.add_development_dependency '
|
25
|
-
spec.add_development_dependency '
|
24
|
+
spec.add_development_dependency 'bixby', '~> 3.0.0'
|
25
|
+
spec.add_development_dependency 'bundler', '>= 1.7'
|
26
|
+
spec.add_development_dependency 'engine_cart', '~> 2.2'
|
26
27
|
spec.add_development_dependency 'rake', '>= 11'
|
27
28
|
spec.add_development_dependency 'rspec', '~> 3.8'
|
28
|
-
spec.add_development_dependency '
|
29
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 1.20.1'
|
29
|
+
spec.add_development_dependency 'rspec_junit_formatter'
|
30
30
|
spec.add_development_dependency 'sqlite3'
|
31
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: noid-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael J. Giarlo
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 5.0.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '7'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 5.0.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '7'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: noid
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,17 +45,31 @@ dependencies:
|
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0.9'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
48
|
+
name: bixby
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: 3.0.0
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 3.0.0
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: bundler
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '1.7'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
59
73
|
- !ruby/object:Gem::Version
|
60
74
|
version: '1.7'
|
61
75
|
- !ruby/object:Gem::Dependency
|
@@ -64,14 +78,14 @@ dependencies:
|
|
64
78
|
requirements:
|
65
79
|
- - "~>"
|
66
80
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
81
|
+
version: '2.2'
|
68
82
|
type: :development
|
69
83
|
prerelease: false
|
70
84
|
version_requirements: !ruby/object:Gem::Requirement
|
71
85
|
requirements:
|
72
86
|
- - "~>"
|
73
87
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
88
|
+
version: '2.2'
|
75
89
|
- !ruby/object:Gem::Dependency
|
76
90
|
name: rake
|
77
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,33 +115,19 @@ dependencies:
|
|
101
115
|
- !ruby/object:Gem::Version
|
102
116
|
version: '3.8'
|
103
117
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: 0.52.0
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - "~>"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: 0.52.0
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rubocop-rspec
|
118
|
+
name: rspec_junit_formatter
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- - "
|
121
|
+
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version:
|
123
|
+
version: '0'
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
|
-
- - "
|
128
|
+
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version:
|
130
|
+
version: '0'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: sqlite3
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -149,12 +149,13 @@ executables: []
|
|
149
149
|
extensions: []
|
150
150
|
extra_rdoc_files: []
|
151
151
|
files:
|
152
|
-
- ".
|
152
|
+
- ".circleci/config.yml"
|
153
|
+
- ".github_changelog_generator"
|
153
154
|
- ".gitignore"
|
154
155
|
- ".rspec"
|
155
156
|
- ".rubocop.yml"
|
156
157
|
- ".rubocop_todo.yml"
|
157
|
-
-
|
158
|
+
- CHANGELOG.md
|
158
159
|
- CODE_OF_CONDUCT.md
|
159
160
|
- CONTRIBUTING.md
|
160
161
|
- Gemfile
|
@@ -194,7 +195,7 @@ homepage: https://github.com/samvera/noid-rails
|
|
194
195
|
licenses:
|
195
196
|
- Apache2
|
196
197
|
metadata: {}
|
197
|
-
post_install_message:
|
198
|
+
post_install_message:
|
198
199
|
rdoc_options: []
|
199
200
|
require_paths:
|
200
201
|
- lib
|
@@ -209,9 +210,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
210
|
- !ruby/object:Gem::Version
|
210
211
|
version: '0'
|
211
212
|
requirements: []
|
212
|
-
|
213
|
-
|
214
|
-
signing_key:
|
213
|
+
rubygems_version: 3.0.3
|
214
|
+
signing_key:
|
215
215
|
specification_version: 4
|
216
216
|
summary: Noid identifier services for Rails-based applications
|
217
217
|
test_files:
|
data/.coveralls.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
service_name: travis-ci
|