Skip to content

Commit

Permalink
Modify where gem version is set and remove date from gemspec
Browse files Browse the repository at this point in the history
Added a version file/constant to set gem version
Remove gemspec `date` assingment. `date` no longer seems to be documented in
http://guides.rubygems.org/specification-reference/ as a required or optional field.
  • Loading branch information
ashoda committed Feb 9, 2017
1 parent c32bd11 commit 1baac89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apivore.gemspec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
$:.push File.expand_path("../lib", __FILE__)
require 'apivore/version'

Gem::Specification.new do |s|
s.name = 'apivore'
s.version = '1.6.1'
s.date = '2016-02-24'
s.version = Apivore::VERSION
s.summary = "Tests your API against its OpenAPI (Swagger) 2.0 spec"
s.description = "Tests your rails API using its OpenAPI (Swagger) description of end-points, models, and query parameters."
s.authors = ["Charles Horn"]
Expand Down
3 changes: 3 additions & 0 deletions lib/apivore/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Apivore
VERSION = "1.6.1"
end

0 comments on commit 1baac89

Please sign in to comment.