jekyll-code-example-tag 1.0.0 → 2.0.0

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
- SHA1:
3
- metadata.gz: f42a19e11086b9a4b159537e58c520eb27393c41
4
- data.tar.gz: 9f9356db90717330bafc701a94d2913fc8745d5f
2
+ SHA256:
3
+ metadata.gz: 7b13f017a8d87b58d301d173180b0f452f493d6d6ad68f54fdb90c1180beeae9
4
+ data.tar.gz: 33aa124a741ae846c6de84ac72c98890a24a62d6e0cb88eb365c0f45ec67ad16
5
5
  SHA512:
6
- metadata.gz: a17320e404494b5f44a63861e9b25dab3b3c36f964e73b0b5f378d177867aa8d9a81b4e90d195a49855a1f745d52acde50d698c91e71ae9fb1598ff704ca8271
7
- data.tar.gz: 314575887e48797f9498a310f07f364409fe26e89b3b494d0078052f4790b00350660f7ad7a4b8e3bb2b5c63e3da7d8a32abdef4d20eb6d628ed047897a7fd9b
6
+ metadata.gz: 5bcc845cacd4d956e588ac3ae782f5962fa7ba4b8a76fd31388d44362134bad7b52adbed67e3aeabaf31101a89dd20aa442f751eff07c50b4d30ccfa0e944bde
7
+ data.tar.gz: bb3e7e483adbe729dd47a8ae8a873a2c56d8ccc7ad9dc26ea4998e93eb86cd87ae3f451aebcef01c64440f4e53f78b8ab89b929b8de058bceb0b83a2b1458398
@@ -0,0 +1 @@
1
+ .bundle
@@ -1 +1 @@
1
- 2.2.0
1
+ 2.7.1
@@ -1,9 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3-p547
4
- - 2.1.5
5
- - 2.2.0
3
+ - 2.5.8
4
+ - 2.6.6
5
+ - 2.7.1
6
6
  script: "bundle exec rspec"
7
- branches:
8
- only:
9
- -master
@@ -5,6 +5,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  [How to use a CHANGELOG](http://keepachangelog.com/)
7
7
 
8
+ ## 2.0.0 - 2020-08-20
9
+
10
+ ## Changed
11
+
12
+ - Various dependency updates to address vulnerabilities
13
+ - Ruby version >= 2.3.0 now required
14
+
8
15
  ## 1.0.0 - 2017-01-30
9
16
 
10
17
  ### Changed
@@ -13,7 +20,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
13
20
 
14
21
  ### Added
15
22
 
16
- - CSS class applied to <li> and <ul> tags in language menus can be set via the
23
+ - CSS class applied to \<li> and \<ul> tags in language menus can be set via the
17
24
  `code_example_list_class` in _config.yml.
18
25
 
19
26
  ## 0.0.7 - 2015-03-18
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ gemspec
5
5
 
6
6
  group :test do
7
7
  gem "fakefs", require: "fakefs/safe"
8
- gem 'nokogiri'
8
+ gem 'nokogiri', '~>1.10.8'
9
9
  gem 'pry'
10
10
  gem 'rspec'
11
11
  end
@@ -1,79 +1,74 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jekyll-code-example-tag (0.0.6)
4
+ jekyll-code-example-tag (2.0.0)
5
5
  htmlentities
6
6
  jekyll
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- blankslate (2.1.2.4)
12
- celluloid (0.16.0)
13
- timers (~> 4.0.0)
14
- classifier-reborn (2.0.3)
15
- fast-stemmer (~> 1.0)
11
+ addressable (2.7.0)
12
+ public_suffix (>= 2.0.2, < 5.0)
16
13
  coderay (1.1.0)
17
- coffee-script (2.3.0)
18
- coffee-script-source
19
- execjs
20
- coffee-script-source (1.9.1)
21
- colorator (0.1)
14
+ colorator (1.1.0)
15
+ concurrent-ruby (1.1.7)
22
16
  diff-lcs (1.2.5)
23
- execjs (2.4.0)
17
+ em-websocket (0.5.1)
18
+ eventmachine (>= 0.12.9)
19
+ http_parser.rb (~> 0.6.0)
20
+ eventmachine (1.2.7)
24
21
  fakefs (0.6.5)
25
- fast-stemmer (1.0.2)
26
- ffi (1.9.8)
27
- hitimes (1.2.2)
28
- htmlentities (4.3.3)
29
- jekyll (2.5.3)
30
- classifier-reborn (~> 2.0)
31
- colorator (~> 0.1)
32
- jekyll-coffeescript (~> 1.0)
33
- jekyll-gist (~> 1.0)
34
- jekyll-paginate (~> 1.0)
35
- jekyll-sass-converter (~> 1.0)
36
- jekyll-watch (~> 1.1)
37
- kramdown (~> 1.3)
38
- liquid (~> 2.6.1)
39
- mercenary (~> 0.3.3)
40
- pygments.rb (~> 0.6.0)
41
- redcarpet (~> 3.1)
22
+ ffi (1.13.1)
23
+ forwardable-extended (2.6.0)
24
+ htmlentities (4.3.4)
25
+ http_parser.rb (0.6.0)
26
+ i18n (1.8.5)
27
+ concurrent-ruby (~> 1.0)
28
+ jekyll (4.1.1)
29
+ addressable (~> 2.4)
30
+ colorator (~> 1.0)
31
+ em-websocket (~> 0.5)
32
+ i18n (~> 1.0)
33
+ jekyll-sass-converter (~> 2.0)
34
+ jekyll-watch (~> 2.0)
35
+ kramdown (~> 2.1)
36
+ kramdown-parser-gfm (~> 1.0)
37
+ liquid (~> 4.0)
38
+ mercenary (~> 0.4.0)
39
+ pathutil (~> 0.9)
40
+ rouge (~> 3.0)
42
41
  safe_yaml (~> 1.0)
43
- toml (~> 0.1.0)
44
- jekyll-coffeescript (1.0.1)
45
- coffee-script (~> 2.2)
46
- jekyll-gist (1.1.0)
47
- jekyll-paginate (1.1.0)
48
- jekyll-sass-converter (1.3.0)
49
- sass (~> 3.2)
50
- jekyll-watch (1.2.1)
51
- listen (~> 2.7)
52
- kramdown (1.6.0)
53
- liquid (2.6.2)
54
- listen (2.9.0)
55
- celluloid (>= 0.15.2)
56
- rb-fsevent (>= 0.9.3)
57
- rb-inotify (>= 0.9)
58
- mercenary (0.3.5)
42
+ terminal-table (~> 1.8)
43
+ jekyll-sass-converter (2.1.0)
44
+ sassc (> 2.0.1, < 3.0)
45
+ jekyll-watch (2.2.1)
46
+ listen (~> 3.0)
47
+ kramdown (2.3.0)
48
+ rexml
49
+ kramdown-parser-gfm (1.1.0)
50
+ kramdown (~> 2.0)
51
+ liquid (4.0.3)
52
+ listen (3.2.1)
53
+ rb-fsevent (~> 0.10, >= 0.10.3)
54
+ rb-inotify (~> 0.9, >= 0.9.10)
55
+ mercenary (0.4.0)
59
56
  method_source (0.8.2)
60
- mini_portile (0.6.2)
61
- nokogiri (1.6.6.2)
62
- mini_portile (~> 0.6.0)
63
- parslet (1.5.0)
64
- blankslate (~> 2.0)
65
- posix-spawn (0.3.10)
57
+ mini_portile2 (2.4.0)
58
+ nokogiri (1.10.10)
59
+ mini_portile2 (~> 2.4.0)
60
+ pathutil (0.16.2)
61
+ forwardable-extended (~> 2.6)
66
62
  pry (0.10.1)
67
63
  coderay (~> 1.1.0)
68
64
  method_source (~> 0.8.1)
69
65
  slop (~> 3.4)
70
- pygments.rb (0.6.2)
71
- posix-spawn (~> 0.3.6)
72
- yajl-ruby (~> 1.2.0)
73
- rb-fsevent (0.9.4)
74
- rb-inotify (0.9.5)
75
- ffi (>= 0.5.0)
76
- redcarpet (3.2.2)
66
+ public_suffix (4.0.5)
67
+ rb-fsevent (0.10.4)
68
+ rb-inotify (0.10.1)
69
+ ffi (~> 1.0)
70
+ rexml (3.2.4)
71
+ rouge (3.22.0)
77
72
  rspec (3.2.0)
78
73
  rspec-core (~> 3.2.0)
79
74
  rspec-expectations (~> 3.2.0)
@@ -87,14 +82,13 @@ GEM
87
82
  diff-lcs (>= 1.2.0, < 2.0)
88
83
  rspec-support (~> 3.2.0)
89
84
  rspec-support (3.2.0)
90
- safe_yaml (1.0.4)
91
- sass (3.4.13)
85
+ safe_yaml (1.0.5)
86
+ sassc (2.4.0)
87
+ ffi (~> 1.9)
92
88
  slop (3.6.0)
93
- timers (4.0.1)
94
- hitimes
95
- toml (0.1.2)
96
- parslet (~> 1.5.0)
97
- yajl-ruby (1.2.1)
89
+ terminal-table (1.8.0)
90
+ unicode-display_width (~> 1.1, >= 1.1.1)
91
+ unicode-display_width (1.7.0)
98
92
 
99
93
  PLATFORMS
100
94
  ruby
@@ -102,6 +96,9 @@ PLATFORMS
102
96
  DEPENDENCIES
103
97
  fakefs
104
98
  jekyll-code-example-tag!
105
- nokogiri
99
+ nokogiri (~> 1.10.8)
106
100
  pry
107
101
  rspec
102
+
103
+ BUNDLED WITH
104
+ 2.1.4
@@ -1,15 +1,15 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'jekyll-code-example-tag'
3
- s.version = '1.0.0'
3
+ s.version = '2.0.0'
4
4
  s.date = '2015-02-03'
5
5
  s.authors = ['GovDelivery']
6
6
  s.email = 'support@govdelivery.com'
7
- s.homepage = 'https://github.com/govdelivery/jekyll-code-example-tag'
7
+ s.homepage = 'https://github.com/Granicus/jekyll-code-example-tag'
8
8
  s.license = 'BSD-3-Clause'
9
9
  s.summary = 'Tags for including code examples in posts and pages.'
10
10
  s.description = %q{Provides a tag that allows you to include in your posts
11
- and pages code examples for multiple langagues that are
12
- kept in seperate files. Another tag allows you to combine
11
+ and pages code examples for multiple languages that are
12
+ kept in separate files. Another tag allows you to combine
13
13
  all code examples that are on a page.}
14
14
 
15
15
  s.add_runtime_dependency 'jekyll'
@@ -17,4 +17,5 @@ Gem::Specification.new do |s|
17
17
 
18
18
  s.files = `git ls-files`.split($\)
19
19
  s.require_paths = ['lib']
20
+ s.required_ruby_version = '>= 2.3.0'
20
21
  end
@@ -3,10 +3,10 @@ require_relative './spec_helper.rb'
3
3
  def check_code_example_conditions(o_obj, buttons_class: 'buttons', button_class: 'button')
4
4
  expect(o_obj.xpath('/div[@class="code-examples"]/div[@class="'+buttons_class+' examples"]/ul/li/a[@class="'+button_class+'"][@target="ruby"][.="Ruby"]')).not_to be_empty
5
5
  expect(o_obj.xpath('/div[@class="code-examples"]/div[@class="'+buttons_class+' examples"]/ul/li/a[@class="'+button_class+'"][@target="python"][.="Python"]')).not_to be_empty
6
- ruby_example = o_obj.xpath('/div[@class="code-examples"]/div[@class="highlight example ruby"]/pre/code[@class="language ruby"][@data-lang="ruby"]')
6
+ ruby_example = o_obj.xpath('/div[@class="code-examples"]/div[@class="highlight example ruby"]/pre/code[@class="ruby"][@data-lang="ruby"]')
7
7
  expect(ruby_example).not_to be_empty
8
8
  expect(ruby_example.first.content).to eq 'puts "Hello World"'
9
- python_example = o_obj.xpath('/div[@class="code-examples"]/div[@class="highlight example python"]/pre/code[@class="language python"][@data-lang="python"]')
9
+ python_example = o_obj.xpath('/div[@class="code-examples"]/div[@class="highlight example python"]/pre/code[@class="python"][@data-lang="python"]')
10
10
  expect(python_example).not_to be_empty
11
11
  expect(python_example.first.content).to eq 'print "Hello World"'
12
12
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-code-example-tag
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GovDelivery
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2015-02-03 00:00:00.000000000 Z
@@ -39,14 +39,15 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: "Provides a tag that allows you to include in your posts \n and
42
- pages code examples for multiple langagues that are \n kept
43
- in seperate files. Another tag allows you to combine\n all code
42
+ pages code examples for multiple languages that are\n kept in
43
+ separate files. Another tag allows you to combine\n all code
44
44
  examples that are on a page."
45
45
  email: support@govdelivery.com
46
46
  executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
+ - ".gitignore"
50
51
  - ".ruby-version"
51
52
  - ".travis.yml"
52
53
  - CHANGELOG.md
@@ -60,11 +61,11 @@ files:
60
61
  - spec/all_page_code_examples_spec.rb
61
62
  - spec/code_example_spec.rb
62
63
  - spec/spec_helper.rb
63
- homepage: https://github.com/govdelivery/jekyll-code-example-tag
64
+ homepage: https://github.com/Granicus/jekyll-code-example-tag
64
65
  licenses:
65
66
  - BSD-3-Clause
66
67
  metadata: {}
67
- post_install_message:
68
+ post_install_message:
68
69
  rdoc_options: []
69
70
  require_paths:
70
71
  - lib
@@ -72,16 +73,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
72
73
  requirements:
73
74
  - - ">="
74
75
  - !ruby/object:Gem::Version
75
- version: '0'
76
+ version: 2.3.0
76
77
  required_rubygems_version: !ruby/object:Gem::Requirement
77
78
  requirements:
78
79
  - - ">="
79
80
  - !ruby/object:Gem::Version
80
81
  version: '0'
81
82
  requirements: []
82
- rubyforge_project:
83
- rubygems_version: 2.4.5
84
- signing_key:
83
+ rubygems_version: 3.1.2
84
+ signing_key:
85
85
  specification_version: 4
86
86
  summary: Tags for including code examples in posts and pages.
87
87
  test_files: []