pdd.gemspec in pdd-0.3 vs pdd.gemspec in pdd-0.4
- old
+ new
@@ -19,18 +19,22 @@
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'pdd/version'
+
Gem::Specification.new do |s|
s.specification_version = 2 if s.respond_to? :specification_version=
if s.respond_to? :required_rubygems_version=
s.required_rubygems_version = Gem::Requirement.new('>= 0')
end
s.rubygems_version = '2.2.2'
s.required_ruby_version = '>= 1.9.3'
s.name = 'pdd'
- s.version = '0.3'
+ s.version = PDD::VERSION
s.license = 'MIT'
s.summary = 'Puzzle Driven Development collector'
s.description = 'Collects puzzles from source code base'
s.authors = ['Yegor Bugayenko']
s.email = 'yegor@teamed.io'