TriviaMD 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/trivia_parser.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c43cf4d56eb0fe781d75dd776f4103bf5d3a2203d921a1dc85ee1d6416bbf0e
4
- data.tar.gz: 1bdf7f25c07891ca63b054bb37549c9da11650561a984e44d7ba7d46ad7593d2
3
+ metadata.gz: 0e11f369f370f2a2d704f14f444bef3e97e75b1ca4d81566bbf315267439266d
4
+ data.tar.gz: d4744ce4e6f5597c906ec9924ba4f788d24c62f1b04e5bb27339baf7434c868a
5
5
  SHA512:
6
- metadata.gz: f47d83838c50aa037c121082cb08c8ebf5f6a42483ad61eb36c92053608b9697b6aa54786d35b6ea6ab81cafd500597e3306ef3074b071fde6c31beb3d555f0c
7
- data.tar.gz: 8d52a84648be05ed6f29b613a331c560c87e11c1fddd3e0d221b9afcd760ad2e4129bde6cf62180a13766bdc5cea19d21d46413ca9bc4678c9700c9945819906
6
+ metadata.gz: b0580793cff07b0f6e3b521bfaf182af89ed10c3cf0dd96df931975f0235bb2ab65c1af899653911636604421bf0bc0256bd3cd8ff8750441563c2fd438c0fc1
7
+ data.tar.gz: 4a86d66ed13b1b8b0cb541317a63348989b7d0fef75b9cc0086d1fd35f4b85a3fbf9d3103eb1715f7c0226dfcc6f0fd7cb5f1615c3513376fa775bc942e3f272
data/lib/trivia_parser.rb CHANGED
@@ -19,13 +19,13 @@ class TriviaParser
19
19
  end
20
20
 
21
21
 
22
- def markdown_gitlies_url
23
- "#{ENV.fetch('GITLIES_PROJECT_URL', 'https://gitlies.com/')}#{@file_path}"
22
+ def markdown_gitiles_url
23
+ "#{ENV.fetch('GITILES_PROJECT_URL', 'https://gitiles.com/')}#{@file_path}"
24
24
  end
25
25
 
26
26
  def parse_reason(c)
27
27
  if c.options[:lang] == "html"
28
- c.value.strip.gsub(/{GITLIES_MD}/,markdown_gitlies_url)
28
+ c.value.strip.gsub(/{GITILES_MD}/,markdown_gitiles_url)
29
29
  else
30
30
  escape_html(c.value.strip)
31
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: TriviaMD
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bence Pjatacsuk