Making a version file to manage version. Also not adding date as it defaults to current UTC date

https://ruby-doc.org/stdlib-2.2.3/libdoc/rubygems/rdoc/Gem/Specification.html#method-i-date
This commit is contained in:
Ankit Gupta 2018-04-20 14:46:13 -07:00 committed by Shishir Kakaraddi
parent 4fdf5a221c
commit 0008c5a165
2 changed files with 9 additions and 2 deletions

View File

@ -1,12 +1,16 @@
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "fast_jsonapi/version"
Gem::Specification.new do |gem|
gem.name = "fast_jsonapi"
gem.version = "1.1.1"
gem.version = FastJsonapi::VERSION
gem.required_rubygems_version = Gem::Requirement.new(">= 0") if gem.respond_to? :required_rubygems_version=
gem.metadata = { "allowed_push_host" => "https://rubygems.org" } if gem.respond_to? :metadata=
gem.require_paths = ["lib"]
gem.authors = ["Shishir Kakaraddi", "Srinivas Raghunathan", "Adam Gross"]
gem.date = "2018-02-01"
gem.description = "JSON API(jsonapi.org) serializer that works with rails and can be used to serialize any kind of ruby objects"
gem.email = ""
gem.extra_rdoc_files = [

View File

@ -0,0 +1,3 @@
module FastJsonapi
VERSION = "1.1.1"
end