Skip to content

Commit

Permalink
use gem version as trigger to flush cache relaton/relaton#115
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew2net committed Sep 19, 2023
1 parent 53af607 commit 8083246
Show file tree
Hide file tree
Showing 22 changed files with 16,356 additions and 16,353 deletions.
8 changes: 4 additions & 4 deletions lib/relaton_itu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ class Error < StandardError; end
# Returns hash of XML reammar
# @return [String]
def self.grammar_hash
gem_path = File.expand_path "..", __dir__
grammars_path = File.join gem_path, "grammars", "*"
grammars = Dir[grammars_path].sort.map { |gp| File.read gp }.join
Digest::MD5.hexdigest grammars
# gem_path = File.expand_path "..", __dir__
# grammars_path = File.join gem_path, "grammars", "*"
# grammars = Dir[grammars_path].sort.map { |gp| File.read gp }.join
Digest::MD5.hexdigest RelatonItu::VERSION + RelatonBib::VERSION # grammars
end
end
1,012 changes: 506 additions & 506 deletions spec/vcr_cassettes/code.yml

Large diffs are not rendered by default.

1,160 changes: 580 additions & 580 deletions spec/vcr_cassettes/code_with_year.yml

Large diffs are not rendered by default.

1,085 changes: 539 additions & 546 deletions spec/vcr_cassettes/hit_xml.yml

Large diffs are not rendered by default.

10,181 changes: 5,091 additions & 5,090 deletions spec/vcr_cassettes/hits.yml

Large diffs are not rendered by default.

1,152 changes: 578 additions & 574 deletions spec/vcr_cassettes/itu_g_imp_712.yml

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions spec/vcr_cassettes/itu_r_1234.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions spec/vcr_cassettes/itu_r_bo_600_1.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions spec/vcr_cassettes/itu_r_rr_2014.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8083246

Please sign in to comment.