jekyll-indico 0.4.0 → 0.4.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: 42dd6e02ca0145cbd0ab2678b896340909141d15
4
- data.tar.gz: 91e3c5ae03e1508c8fb515281ca2ade408c1d453
3
+ metadata.gz: 0dcfd6b6c484e7b1733fa6ac09b3b1835c64127f
4
+ data.tar.gz: 71a26d70ac96e8a8c0b1d6110af6c9b24373680d
5
5
  SHA512:
6
- metadata.gz: 63de08c462ef249ee2e0502aefd8c8104861b3c14f209df3df876875b61f8d6f5632a3ea8c1ae7cb21433c00b2f337cca7bf30163aca07ae5503d3d5ef8c8527
7
- data.tar.gz: c3cec693a86e94decf78b38af462ef7632ba567242171297feeba47af30f49d640f9c75da3d082ce575f045d2a979eeec680db49932c37afafe6dee845a5cb9b
6
+ metadata.gz: 22be7365dca3c8491af78d56164cc4b5eeffa4e969d2436792cd30ae3b2a2b79ed474198d00b9636b9fa2b9fa9bbf37b3e989b96b5026dc11faaeed010508b89
7
+ data.tar.gz: eaa61758e36bf45ffd78ed807bd1acdd4e1d678a41d4c88765f057bf622391ec7bc4b90e41f5c2c72fc97637cba2581749304b59da78c76f6840b4715d0d80ea
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # Version 0.4.1
2
+
3
+ Fix a few issues in Jekyll generator.
4
+
1
5
  # Version 0.4.0
2
6
 
3
7
  Support `INDICO_TOKEN`, replaces the [deprecated indico URL
data/Gemfile.lock CHANGED
@@ -1,28 +1,28 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jekyll-indico (0.4.0)
4
+ jekyll-indico (0.4.1)
5
5
  jekyll (>= 3.8, < 5.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- addressable (2.7.0)
10
+ addressable (2.8.0)
11
11
  public_suffix (>= 2.0.2, < 5.0)
12
12
  ast (2.4.2)
13
13
  colorator (1.1.0)
14
- concurrent-ruby (1.1.8)
15
- diff-lcs (1.4.4)
16
- em-websocket (0.5.2)
14
+ concurrent-ruby (1.1.9)
15
+ diff-lcs (1.5.0)
16
+ em-websocket (0.5.3)
17
17
  eventmachine (>= 0.12.9)
18
- http_parser.rb (~> 0.6.0)
18
+ http_parser.rb (~> 0)
19
19
  eventmachine (1.2.7)
20
- ffi (1.15.0)
20
+ ffi (1.15.5)
21
21
  forwardable-extended (2.6.0)
22
- http_parser.rb (0.6.0)
22
+ http_parser.rb (0.8.0)
23
23
  i18n (0.9.5)
24
24
  concurrent-ruby (~> 1.0)
25
- jekyll (3.9.0)
25
+ jekyll (3.9.1)
26
26
  addressable (~> 2.4)
27
27
  colorator (~> 1.0)
28
28
  em-websocket (~> 0.5)
@@ -42,38 +42,38 @@ GEM
42
42
  kramdown (2.3.1)
43
43
  rexml
44
44
  liquid (4.0.3)
45
- listen (3.4.1)
45
+ listen (3.7.1)
46
46
  rb-fsevent (~> 0.10, >= 0.10.3)
47
47
  rb-inotify (~> 0.9, >= 0.9.10)
48
48
  mercenary (0.3.6)
49
49
  parallel (1.20.1)
50
- parser (3.0.0.0)
50
+ parser (3.1.0.0)
51
51
  ast (~> 2.4.1)
52
52
  pathutil (0.16.2)
53
53
  forwardable-extended (~> 2.6)
54
54
  public_suffix (4.0.6)
55
- rainbow (3.0.0)
56
- rake (13.0.3)
57
- rb-fsevent (0.10.4)
55
+ rainbow (3.1.1)
56
+ rake (13.0.6)
57
+ rb-fsevent (0.11.0)
58
58
  rb-inotify (0.10.1)
59
59
  ffi (~> 1.0)
60
- regexp_parser (2.0.3)
61
- rexml (3.2.4)
62
- rouge (3.26.0)
60
+ regexp_parser (2.2.0)
61
+ rexml (3.2.5)
62
+ rouge (3.27.0)
63
63
  rspec (3.10.0)
64
64
  rspec-core (~> 3.10.0)
65
65
  rspec-expectations (~> 3.10.0)
66
66
  rspec-mocks (~> 3.10.0)
67
- rspec-core (3.10.1)
67
+ rspec-core (3.10.2)
68
68
  rspec-support (~> 3.10.0)
69
- rspec-expectations (3.10.1)
69
+ rspec-expectations (3.10.2)
70
70
  diff-lcs (>= 1.2.0, < 2.0)
71
71
  rspec-support (~> 3.10.0)
72
- rspec-mocks (3.10.2)
72
+ rspec-mocks (3.10.3)
73
73
  diff-lcs (>= 1.2.0, < 2.0)
74
74
  rspec-support (~> 3.10.0)
75
- rspec-support (3.10.2)
76
- rubocop (1.9.1)
75
+ rspec-support (3.10.3)
76
+ rubocop (1.12.1)
77
77
  parallel (~> 1.10)
78
78
  parser (>= 3.0.0.0)
79
79
  rainbow (>= 2.2.2, < 4.0)
@@ -96,7 +96,7 @@ GEM
96
96
  sass-listen (4.0.0)
97
97
  rb-fsevent (~> 0.9, >= 0.9.4)
98
98
  rb-inotify (~> 0.9, >= 0.9.7)
99
- unicode-display_width (2.0.0)
99
+ unicode-display_width (2.1.0)
100
100
 
101
101
  PLATFORMS
102
102
  ruby
@@ -20,8 +20,8 @@ module JekyllIndico
20
20
  Net::HTTP.read_timeout = timeout if timeout
21
21
 
22
22
  meeting_ids = @site.config.dig('indico', 'ids')
23
- raise MissingIDs('indico: ids: MISSING from your config!') unless meeting_ids
24
- raise MissingIDs('indico: ids: must be a list!') unless meeting_ids.is_a?(Array)
23
+ raise MissingIDs, 'indico: ids: MISSING from your config!' unless meeting_ids
24
+ raise MissingIDs, 'indico: ids: must be a hash!' unless meeting_ids.is_a?(Hash)
25
25
 
26
26
  meeting_ids.each do |name, number|
27
27
  collect_meeting(name.to_s, number)
@@ -32,7 +32,7 @@ module JekyllIndico
32
32
 
33
33
  def collect_meeting(name, number)
34
34
  base_url = @site.config.dig('indico', 'url')
35
- raise MissingURL('indico: url: MISSING from your config!') unless url
35
+ raise MissingURL, 'indico: url: MISSING from your config!' unless base_url
36
36
 
37
37
  data_path = @site.config.dig('indico', 'data') || 'indico'
38
38
  @site.data[data_path] = {} unless @site.data.key? data_path
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllIndico
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-indico
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henry Schreiner