Skip to content

Commit a563fa6

Browse files
committed
Update Rakefile with deploy tasks and updates to gemspec.
1 parent 4c7b1c3 commit a563fa6

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

Rakefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
11
require "bundler/gem_tasks"
2+
3+
namespace :gem do
4+
desc "Build the rdf-virtuoso-#{File.read('VERSION').chomp}.gem file"
5+
task :build do
6+
sh "gem build rdf-virtuoso.gemspec && mv rdf-virtuoso-#{File.read('VERSION').chomp}.gem pkg/"
7+
end
8+
9+
desc "Release the rdf-virtuoso-#{File.read('VERSION').chomp}.gem file"
10+
task :release do
11+
sh "gem push pkg/rdf-virtuoso-#{File.read('VERSION').chomp}.gem"
12+
end
13+
end

rdf-virtuoso.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ Gem::Specification.new do |s|
77
s.date = File.mtime('VERSION').strftime('%Y-%m-%d')
88
s.authors = ['Benjamin Rokseth', 'Peter Kordel']
99
s.email = ['benjamin.rokseth@kul.oslo.kommune.no']
10-
s.homepage = 'https://github.com/digibib/rdf-virtuoso'
10+
s.homepage = 'https://github.com/ruby-rdf/rdf-virtuoso'
1111
s.summary = %q{An RDF.rb extension library for interacting with a Virtuoso rdf store}
1212
s.description = %q{An RDF.rb extension library for interacting with a Virtuoso rdf store.\nSupports SPARQL 1.1 UPDATE extensions and some Virtuoso specific commands.}
13-
s.licenses = ['GPL-3']
13+
s.licenses = ['GPL-3.0']
1414

15-
s.files = %w(README.md VERSION) + Dir.glob('lib/**/*.rb')
15+
s.files = %w(README.md LICENSE VERSION) + Dir.glob('lib/**/*.rb')
1616
s.require_paths = ['lib']
1717

1818
s.add_runtime_dependency 'rdf', '~> 3.1'

0 commit comments

Comments
 (0)