Skip to content

Commit 7b72c5a

Browse files
authored
Feature/3.0 dev (#69)
* 3.0 development branch; removes deprecation expectations. * Set version to 3.0.0, and soften dependencies to `>= 3.0', '< 4.0'. * Update dependencies (webmock). * Change Gemfile dep for rdf back to develop to prepare to merge back into develop branch. [ci skip]
1 parent caf513b commit 7b72c5a

3 files changed

Lines changed: 4 additions & 15 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.0
1+
3.0.0

lib/rdf/spec/enumerable.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -514,23 +514,11 @@
514514
context "when converting" do
515515
it {is_expected.to respond_to(:to_h)}
516516
it {is_expected.not_to respond_to(:to_hash)}
517-
its(:to_hash) {
518-
expect {
519-
is_expected.to be_instance_of(Hash)
520-
}.to write("DEPRECATION").to(:error)
521-
}
522517
describe "#to_h" do
523518
it "should have as many keys as subjects" do
524519
expect(subject.to_h.keys.size).to eq enumerable.subjects.to_a.size
525520
end
526521
end
527-
describe "#to_h" do
528-
it "should have as many keys as subjects (with deprecation)" do
529-
expect {
530-
expect(subject.to_hash.keys.size).to eq enumerable.subjects.to_a.size
531-
}.to write("DEPRECATION").to(:error)
532-
end
533-
end
534522
end
535523

536524
context "when dumping" do

rdf-spec.gemspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ Gem::Specification.new do |gem|
2626

2727
gem.required_ruby_version = '>= 2.2.2'
2828
gem.requirements = []
29-
gem.add_runtime_dependency 'rdf', '~> 2.2'
30-
gem.add_runtime_dependency 'rdf-isomorphic', '~> 2.0'
29+
gem.add_runtime_dependency 'rdf', '~> 3.0'
30+
#gem.add_runtime_dependency 'rdf-isomorphic', '~> 3.0'
31+
gem.add_runtime_dependency 'rdf-isomorphic', '>= 2.0', '< 4.0'
3132
gem.add_runtime_dependency 'rspec', '~> 3.7'
3233
gem.add_runtime_dependency 'rspec-its', '~> 1.2'
3334
gem.add_runtime_dependency 'webmock', '~> 3.0'

0 commit comments

Comments
 (0)