Skip to content

Commit cab5cc1

Browse files
committed
Change .gemspec to json-ld.gemspec for Windows compatibility
1 parent 7ab16ab commit cab5cc1

File tree

4 files changed

+44
-45
lines changed

4 files changed

+44
-45
lines changed

.gemspec

Lines changed: 0 additions & 42 deletions
This file was deleted.

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source "https://rubygems.org"
22

3-
gemspec :name => ""
3+
gemspec
44
gem 'rdf', :git => "git://github.com/ruby-rdf/rdf.git", :branch => "develop"
55
gem 'rdf-spec', :git => "git://github.com/ruby-rdf/rdf-spec.git", :branch => "develop"
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ To get a local working copy of the development repository, do:
268268
* Don't use hard tabs, and don't leave trailing whitespace on any line.
269269
* Do document every method you add using [YARD][] annotations. Read the
270270
[tutorial][YARD-GS] or just look at the existing code for examples.
271-
* Don't touch the `.gemspec`, `VERSION` or `AUTHORS` files. If you need to
271+
* Don't touch the `json-ld.gemspec`, `VERSION` or `AUTHORS` files. If you need to
272272
change them, do so on your private branch only.
273273
* Do feel free to add yourself to the `CREDITS` file and the corresponding
274274
list in the the `README`. Alphabetical order applies.

json-ld.gemspec

Lines changed: 0 additions & 1 deletion
This file was deleted.

json-ld.gemspec

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/usr/bin/env ruby -rubygems
2+
# -*- encoding: utf-8 -*-
3+
4+
Gem::Specification.new do |gem|
5+
gem.version = File.read('VERSION').chomp
6+
gem.date = File.mtime('VERSION').strftime('%Y-%m-%d')
7+
8+
gem.name = "json-ld"
9+
gem.homepage = "http://github.com/ruby-rdf/json-ld"
10+
gem.license = 'Public Domain' if gem.respond_to?(:license=)
11+
gem.summary = "JSON-LD reader/writer for Ruby."
12+
gem.description = "JSON::LD parses and serializes JSON-LD into RDF and implements expansion, compaction and framing API interfaces."
13+
gem.rubyforge_project = 'json-ld'
14+
15+
gem.authors = ['Gregg Kellogg']
16+
gem.email = 'public-linked-json@w3.org'
17+
18+
gem.platform = Gem::Platform::RUBY
19+
gem.files = %w(AUTHORS README.md UNLICENSE VERSION) + Dir.glob('lib/**/*.rb')
20+
gem.bindir = %q(bin)
21+
gem.executables = %w(jsonld)
22+
gem.default_executable = gem.executables.first
23+
gem.require_paths = %w(lib)
24+
gem.extensions = %w()
25+
gem.test_files = Dir.glob('spec/**/*.rb') + Dir.glob('spec/test-files/*')
26+
gem.has_rdoc = false
27+
28+
gem.required_ruby_version = '>= 1.9.2'
29+
gem.requirements = []
30+
gem.add_runtime_dependency 'rdf', '~> 1.1'
31+
gem.add_development_dependency 'equivalent-xml' , '~> 0.4'
32+
gem.add_development_dependency 'open-uri-cached', '~> 0.0', '>= 0.0.5'
33+
gem.add_development_dependency 'yard' , '~> 0.8'
34+
gem.add_development_dependency 'rspec', '~> 2.14'
35+
gem.add_development_dependency 'rdf-spec', '~> 1.1'
36+
gem.add_development_dependency 'rdf-turtle', '~> 1.1'
37+
gem.add_development_dependency 'rdf-trig', '~> 1.1'
38+
gem.add_development_dependency 'rdf-isomorphic', '~> 1.1'
39+
gem.add_development_dependency 'rdf-xsd', '~> 1.1'
40+
41+
gem.post_install_message = nil
42+
end

0 commit comments

Comments
 (0)