File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22# coding: utf-8
3- lib = File . expand_path ( "../ lib" , __FILE__ )
3+ lib = File . expand_path ( "lib" , __FILE__ )
44$LOAD_PATH. unshift ( lib ) unless $LOAD_PATH. include? ( lib )
55require "asciidocsy/version"
66
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
1919
2020 spec . files = `git ls-files -z` . split ( "\x0 " ) . select { |f | f . match ( %r!^(lib|_docs|_data|assets|_sass|LICENSE|_config\. yml|_layouts|_includes)!i ) }
2121
22- spec . add_runtime_dependency "jekyll" , "~> 4.2"
2322 spec . add_runtime_dependency "jekyll-asciidoc" , "~> 3.0"
2423 spec . add_runtime_dependency "jekyll-liquify" , "=0.0.2"
2524 spec . add_runtime_dependency "jekyll-data" , "=1.1.1"
Original file line number Diff line number Diff line change 22# LATEST TO OLDEST
33revisions :
44
5- - code : 0.3.0 date: 2021-09-21
5+ - code : 0.3.0
6+ date : 2021-09-21
67 hash : 050b33f239a0756db37de2dcb7e4219684dc7a44
78 memo : |
89 The third minor release of AsciiDocsy refactors the entire theme as a proper Ruby gem!
Original file line number Diff line number Diff line change 44SafeYAML ::OPTIONS [ :default_mode ] = :safe
55
66module AsciiDocsy
7- releases = YAML . load_file ( 'lib/asciidocsy/data/releases.yml' )
7+ spec = Gem ::Specification . find_by_name ( "asciidocsy" )
8+ gem_root = spec . gem_dir
9+ releases = YAML . load_file ( gem_root + '/lib/asciidocsy/data/releases.yml' )
810 if releases [ 'revisions' ] [ 0 ] [ 'patches' ]
911 VERSION = releases [ 'revisions' ] [ 0 ] [ 'patches' ] [ 0 ] [ 'code' ]
1012 else
You can’t perform that action at this time.
0 commit comments