pygments.rb 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68bbaf00ae347f4be0aa0915c3c91d3702fb1018
4
- data.tar.gz: 3a35c538fdf8ceec9ad26f3ac86cb708e73f7109
3
+ metadata.gz: 4a0effd0abf9485e9c25411abd292c5d1afa9368
4
+ data.tar.gz: 5f891032766ff9e99578a13862a1900a2cd8da14
5
5
  SHA512:
6
- metadata.gz: 1ab74f4da1c783693f827b3245abf4a9d88c75fc92fbaeba78950f29638f36e85e61cef83d936537937e33749237d12b139ec46c1df3d03e8aa0a38cb629be0c
7
- data.tar.gz: 0afd2f0409c4932453582ab242f8501601528a266411b6bcd1b1fc235da82074832a5d71d9adce682f0dcd099e23286e22342236c132dc9cd73b635b78878b25
6
+ metadata.gz: 66361ecc1d441298caa88f34d5be181a5c17b723106825de4d4030778823a77a2829da3139006c9e8e8458bbabebd408bf427b7cee663ffb58b4ffecf105bf8e
7
+ data.tar.gz: 9c98ac0f6fc5d88cb47d7305d99053cc27ffb0c788da6d31c5ddcc6a37e7845bca163d47bfb6090c6bfa90aa893fe4412fca0151cde753cff96525fed156e7ff
data/.gitignore CHANGED
@@ -4,3 +4,4 @@ lib/pygments_ext.*
4
4
  tmp
5
5
  pkg
6
6
  *.pyc
7
+ lexers
@@ -1,6 +1,12 @@
1
1
  CHANGELOG
2
2
  ===========
3
3
 
4
+ Version 1.2.1 (2017/12/07)
5
+ -----------------------------
6
+
7
+ * Automatically update `lexers` cache on build [186](https://github.com/tmm1/pygments.rb/pull/186)
8
+ * See [#185](https://github.com/tmm1/pygments.rb/pull/185) for the reason
9
+
4
10
  Version 1.2.0 (2017/09/13)
5
11
  -----------------------------
6
12
 
data/Rakefile CHANGED
@@ -38,6 +38,9 @@ task :lexers do
38
38
  sh "ruby cache-lexers.rb"
39
39
  end
40
40
 
41
+ task test: :lexers
42
+ task release: :lexers
43
+
41
44
  # ==========================================================
42
45
  # Vendor
43
46
  # ==========================================================
data/lexers CHANGED
Binary file
@@ -1,5 +1,5 @@
1
1
  # coding: utf-8
2
2
  # frozen_string_literal: true
3
3
  module Pygments
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
5
5
  end
@@ -21,5 +21,5 @@ Gem::Specification.new do |s|
21
21
  # s.extensions = ['ext/extconf.rb']
22
22
  s.require_paths = ['lib']
23
23
 
24
- s.files = `git ls-files`.split("\n").select { |f| !File.symlink?(f) }
24
+ s.files = `git ls-files`.split("\n").select { |f| !File.symlink?(f) } + ['lexers']
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pygments.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aman Gupta
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-09-13 00:00:00.000000000 Z
12
+ date: 2017-12-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json