wax_tasks 1.0.0.pre.beta → 1.1.2

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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +35 -0
  3. data/.github/ISSUE_TEMPLATE/feature_request.md +17 -0
  4. data/.gitignore +7 -0
  5. data/.rspec +3 -0
  6. data/.rubocop.yml +16 -0
  7. data/.travis.yml +27 -0
  8. data/CHANGELOG.md +42 -0
  9. data/CODE_OF_CONDUCT.md +74 -0
  10. data/Gemfile +5 -2
  11. data/LICENSE +21 -0
  12. data/README.md +171 -0
  13. data/lib/tasks/clobber.rake +16 -0
  14. data/lib/tasks/derivatives_iiif.rake +9 -4
  15. data/lib/tasks/derivatives_simple.rake +8 -4
  16. data/lib/tasks/pages.rake +23 -0
  17. data/lib/tasks/search.rake +23 -0
  18. data/lib/wax_tasks.rb +30 -36
  19. data/lib/wax_tasks/asset.rb +57 -0
  20. data/lib/wax_tasks/collection.rb +42 -73
  21. data/lib/wax_tasks/collection/images.rb +126 -0
  22. data/lib/wax_tasks/collection/metadata.rb +101 -0
  23. data/lib/wax_tasks/config.rb +79 -0
  24. data/lib/wax_tasks/error.rb +17 -31
  25. data/lib/wax_tasks/index.rb +45 -0
  26. data/lib/wax_tasks/item.rb +116 -0
  27. data/lib/wax_tasks/record.rb +69 -0
  28. data/lib/wax_tasks/site.rb +86 -0
  29. data/lib/wax_tasks/utils.rb +58 -107
  30. data/lib/wax_tasks/version.rb +5 -0
  31. data/spec/setup.rb +1 -1
  32. data/spec/spec_helper.rb +14 -9
  33. data/wax_tasks.gemspec +33 -0
  34. metadata +52 -44
  35. data/lib/tasks/jspackage.rake +0 -17
  36. data/lib/tasks/lunr.rake +0 -9
  37. data/lib/tasks/pagemaster.rake +0 -11
  38. data/lib/tasks/push.rake +0 -12
  39. data/lib/tasks/test.rake +0 -18
  40. data/lib/wax_tasks/branch.rb +0 -70
  41. data/lib/wax_tasks/iiif/derivatives.rb +0 -86
  42. data/lib/wax_tasks/iiif/manifest.rb +0 -26
  43. data/lib/wax_tasks/image_collection.rb +0 -137
  44. data/lib/wax_tasks/local_branch.rb +0 -21
  45. data/lib/wax_tasks/lunr/index.rb +0 -82
  46. data/lib/wax_tasks/lunr/page_set.rb +0 -57
  47. data/lib/wax_tasks/pagemaster_collection.rb +0 -60
  48. data/lib/wax_tasks/task_runner.rb +0 -148
  49. data/lib/wax_tasks/travis_branch.rb +0 -28
@@ -0,0 +1,86 @@
1
+ # frozen_string_literal: true
2
+
3
+ #
4
+ module WaxTasks
5
+ #
6
+ class Site
7
+ attr_reader :config
8
+
9
+ #
10
+ #
11
+ def initialize(config = nil)
12
+ @config = WaxTasks::Config.new(config || WaxTasks.config_from_file)
13
+ end
14
+
15
+ #
16
+ #
17
+ def collections
18
+ @config.collections
19
+ end
20
+
21
+ #
22
+ #
23
+ def clobber(name)
24
+ collection = @config.find_collection name
25
+ raise WaxTasks::Error::InvalidCollection if collection.nil?
26
+
27
+ collection.clobber_pages
28
+ collection.clobber_derivatives
29
+
30
+ @config.self.fetch('search', {}).each do |_name, search|
31
+ next unless search.key? 'index'
32
+ index = Utils.safe_join @config.source, search['index']
33
+ next unless File.exist? index
34
+ puts Rainbow("Removing search index #{index}").cyan
35
+ FileUtils.rm index
36
+ end
37
+
38
+ puts Rainbow("\nDone ✔").green
39
+ end
40
+
41
+ #
42
+ #
43
+ def generate_pages(name)
44
+ result = 0
45
+ collection = @config.find_collection name
46
+ raise WaxTasks::Error::InvalidCollection if collection.nil?
47
+
48
+ collection.records_from_metadata.each do |record|
49
+ result += record.write_to_page(collection.page_source)
50
+ end
51
+
52
+ puts Rainbow("#{result} pages were generated to #{collection.page_source}.").cyan
53
+ puts Rainbow("\nDone ✔").green
54
+ end
55
+
56
+ #
57
+ #
58
+ def generate_static_search(name)
59
+ search_config = @config.search name
60
+ index = WaxTasks::Index.new(search_config)
61
+
62
+ puts Rainbow("Generating #{name} search index to #{index.path}").cyan
63
+ index.write_to @config.source
64
+
65
+ puts Rainbow("\nDone ✔").green
66
+ end
67
+
68
+ #
69
+ #
70
+ def generate_derivatives(name, type)
71
+ collection = @config.find_collection name
72
+ raise WaxTasks::Error::InvalidCollection if collection.nil?
73
+ raise WaxTasks::Error::InvalidConfig unless %w[iiif simple].include? type
74
+
75
+ records = case type
76
+ when 'iiif'
77
+ collection.write_iiif_derivatives
78
+ when 'simple'
79
+ collection.write_simple_derivatives
80
+ end
81
+
82
+ collection.update_metadata records
83
+ puts Rainbow("\nDone ✔").green
84
+ end
85
+ end
86
+ end
@@ -1,17 +1,24 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WaxTasks
2
4
  # Utility helper methods
3
5
  module Utils
4
- # Contructs permalink extension from site `permalink` variable
5
6
  #
6
- # @param site [Hash] the site config
7
- # @return [String] the end of the permalink, either '/' or '.html'
8
- def self.construct_permalink(site)
9
- case site.fetch(:permalink, false)
10
- when 'pretty' || '/'
11
- '/'
12
- else
13
- '.html'
14
- end
7
+ #
8
+ def self.ingest(source)
9
+ metadata = case File.extname source
10
+ when '.csv'
11
+ WaxTasks::Utils.validate_csv source
12
+ when '.json'
13
+ WaxTasks::Utils.validate_json source
14
+ when /\.ya?ml/
15
+ WaxTasks::Utils.validate_yaml source
16
+ else
17
+ raise Error::InvalidSource, "Can't load #{File.extname source} files. Culprit: #{source}"
18
+ end
19
+
20
+ WaxTasks::Utils.assert_pids metadata
21
+ WaxTasks::Utils.assert_unique metadata
15
22
  end
16
23
 
17
24
  # Checks and asserts presence of `pid` value for each item
@@ -20,7 +27,7 @@ module WaxTasks
20
27
  # @return [Array] same data unless a an item is missing the key `pid`
21
28
  # @raise WaxTasks::Error::MissingPid
22
29
  def self.assert_pids(data)
23
- data.each_with_index { |d, i| raise Error::MissingPid, "Collection #{@name} is missing pid for item #{i}." unless d.key? 'pid' }
30
+ data.each_with_index { |d, i| raise Error::MissingPid, "Collection is missing pid for item #{i}.\nHint: review common .csv formatting issues (such as hidden characters) in the documentation: https://minicomp.github.io/wiki/wax/preparing-your-collection-data/metadata/" unless d.key? 'pid' }
24
31
  data
25
32
  end
26
33
 
@@ -33,6 +40,7 @@ module WaxTasks
33
40
  pids = data.map { |d| d['pid'] }
34
41
  not_unique = pids.select { |p| pids.count(p) > 1 }.uniq! || []
35
42
  raise Error::NonUniquePid, "#{@name} has the following nonunique pids:\n#{not_unique}" unless not_unique.empty?
43
+
36
44
  data
37
45
  end
38
46
 
@@ -53,8 +61,8 @@ module WaxTasks
53
61
  # @return [Array] validated JSON data as an Array of Hashes
54
62
  # @raise WaxTasks::Error::InvalidJSON
55
63
  def self.validate_json(source)
56
- file = File.read(source)
57
- JSON.parse(file)
64
+ file = File.read source
65
+ JSON.parse file
58
66
  rescue StandardError => e
59
67
  raise Error::InvalidJSON, " #{e}"
60
68
  end
@@ -65,36 +73,24 @@ module WaxTasks
65
73
  # @return [Array] validated YAML data as an Array of Hashes
66
74
  # @raise WaxTasks::Error::InvalidYAML
67
75
  def self.validate_yaml(source)
68
- YAML.load_file(source)
76
+ SafeYAML.load_file source
69
77
  rescue StandardError => e
70
78
  raise WaxTasks::Error::InvalidYAML, " #{e}"
71
79
  end
72
80
 
73
- # Creates a file path valid file path with empty strings and
74
- # null values dropped
75
- #
76
- # @param args [Array] items to concatenate in path
77
- # @return [String] file path
78
- def self.root_path(*args)
79
- ['.'].concat(args).compact.reject(&:empty?).join('/').gsub(%r{/+}, '/')
80
- end
81
-
82
81
  # Removes YAML front matter from a string
83
82
  # @return [String]
84
83
  def self.remove_yaml(str)
85
84
  str.to_s.gsub!(/\A---(.|\n)*?---/, '')
86
85
  end
87
86
 
88
- def self.rm_liquid(str)
89
- str.gsub(/{{.*}}/, '')
90
- end
91
-
92
- # Cleans YAML front matter + markdown pages for lunr indexing
87
+ # Scrubs yaml, liquid, html, and etc from content strings
93
88
  # @return [String]
94
- def self.html_strip(str)
89
+ def self.content_clean(str)
95
90
  str.gsub!(/\A---(.|\n)*?---/, '') # remove yaml front matter
96
91
  str.gsub!(/{%(.*)%}/, '') # remove functional liquid
97
- str.gsub!(%r{<\/?[^>]*>}, '') # remove html
92
+ str.gsub!(/{{.*}}/, '') # remove referential liquid
93
+ str.gsub!(%r{</?[^>]*>}, '') # remove html
98
94
  str.gsub!('\\n', '') # remove newlines
99
95
  str.gsub!(/\s+/, ' ') # remove extra space
100
96
  str.tr!('"', "'") # replace double quotes with single
@@ -106,95 +102,50 @@ module WaxTasks
106
102
  def self.remove_diacritics(str)
107
103
  to_replace = 'ÀÁÂÃÄÅàáâãäåĀāĂ㥹ÇçĆćĈĉĊċČčÐðĎďĐđÈÉÊËèéêëĒēĔĕĖėĘęĚěĜĝĞğĠġĢģĤĥĦħÌÍÎÏìíîïĨĩĪīĬĭĮįİıĴĵĶķĸĹĺĻļĽľĿŀŁłÑñŃńŅņŇňʼnŊŋÒÓÔÕÖØòóôõöøŌōŎŏŐőŔŕŖŗŘřŚśŜŝŞşŠšſŢţŤťŦŧÙÚÛÜùúûüŨũŪūŬŭŮůŰűŲųŴŵÝýÿŶŷŸŹźŻżŽž'
108
104
  replaced_by = 'AAAAAAaaaaaaAaAaAaCcCcCcCcCcDdDdDdEEEEeeeeEeEeEeEeEeGgGgGgGgHhHhIIIIiiiiIiIiIiIiIiJjKkkLlLlLlLlLlNnNnNnNnnNnOOOOOOooooooOoOoOoRrRrRrSsSsSsSssTtTtTtUUUUuuuuUuUuUuUuUuUuWwYyyYyYZzZzZz'
109
- str.to_s.tr(to_replace, replaced_by)
105
+ str.to_s.tr to_replace, replaced_by
110
106
  end
111
107
 
112
108
  # Converts string to snake case and swaps out special chars
113
109
  # @return [String]
114
110
  def self.slug(str)
115
- str.to_s.downcase.tr(' ', '_').gsub(/[^\w-]/, '')
111
+ Utils.remove_diacritics(str).to_s.downcase.tr(' ', '_').gsub(/[^\w-]/, '')
116
112
  end
117
- end
118
- end
119
-
120
- # Monkey-patched String class
121
- class String
122
- # Normalizes string without diacritics for lunr indexing
123
- # @return [String]
124
- def lunr_normalize
125
- WaxTasks::Utils.remove_diacritics(self)
126
- end
127
-
128
- # Colorizes console output to magenta (errors)
129
- # @return [String]
130
- def magenta
131
- "\e[35m#{self}\e[0m"
132
- end
133
-
134
- # Colorizes console output to cyan (messages)
135
- # @return [String]
136
- def cyan
137
- "\e[36m#{self}\e[0m"
138
- end
139
-
140
- # Colorizes console output to orange (warnings)
141
- # @return [String]
142
- def orange
143
- "\e[33m#{self}\e[0m"
144
- end
145
- end
146
113
 
147
- # Monkey-patched Array class
148
- class Array
149
- # Normalizes an array as a string or array of hashes
150
- # without diacritics for lunr indexing
151
- # @return [Hash || String] description
152
- def lunr_normalize
153
- if self.first.is_a? Hash
154
- self
155
- else
156
- WaxTasks::Utils.remove_diacritics(self.join(', '))
114
+ #
115
+ #
116
+ def self.safe_join(*args)
117
+ File.join(args.compact).sub %r{^/}, ''
157
118
  end
158
- end
159
119
 
160
- def except(value)
161
- self - value
162
- end
163
- end
164
-
165
- # Monkey-patched Hash class
166
- class Hash
167
- # Normalizes hash as itself for lunr indexing
168
- # @return [Hash]
169
- def lunr_normalize
170
- self
171
- end
120
+ # Constructs the order variable for each page (if the collection
121
+ # needs to preserve the order of items from the file)
122
+ #
123
+ # @return [Integer] the order if the item padded with '0's for sorting
124
+ def self.padded_int(idx, max_idx)
125
+ idx.to_s.rjust(Math.log10(max_idx).to_i + 1, '0')
126
+ end
172
127
 
173
- # Converts hash keys to symbols
174
- # @return [Hash]
175
- def symbolize_keys
176
- hash = self
177
- hash.clone.each_key do |key|
178
- hash[key.to_sym || key] = hash.delete(key)
128
+ def self.lunr_normalize(val)
129
+ case val
130
+ when String || Integer
131
+ WaxTasks::Utils.remove_diacritics val.to_s
132
+ when Array
133
+ return val if val.first.is_a? Hash
134
+ WaxTasks::Utils.remove_diacritics val.join(', ')
135
+ else
136
+ val
137
+ end
179
138
  end
180
- hash
181
- end
182
- end
183
139
 
184
- # Monkey-patched Integer class
185
- class Integer
186
- # Normalizes integer as a string for lunr indexing
187
- # @return [String]
188
- def lunr_normalize
189
- self.to_s
190
- end
191
- end
140
+ def self.add_yaml_front_matter_to_file(file)
141
+ front_matter = "---\nlayout: none\n---\n"
142
+ filestring = File.read file
143
+ return if filestring.start_with? front_matter
192
144
 
193
- # Monkey-patched Nil class
194
- class NilClass
195
- # Normalizes integer as a string for lunr indexing
196
- # @return [String]
197
- def lunr_normalize
198
- self.to_s
145
+ File.open(file, 'w') do |f|
146
+ f.puts front_matter
147
+ f.puts filestring
148
+ end
149
+ end
199
150
  end
200
151
  end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WaxTasks
4
+ VERSION = '1.1.2'
5
+ end
@@ -28,7 +28,7 @@ def quiet_stdout
28
28
  end
29
29
  end
30
30
 
31
- module WaxTasks::Test
31
+ module Test
32
32
  def self.reset
33
33
  Dir.chdir(ROOT)
34
34
  FileUtils.rm_r(BUILD) if File.directory?(BUILD)
@@ -3,21 +3,26 @@
3
3
  QUIET = !ENV['DEBUG']
4
4
 
5
5
  # use codecov + add requirements
6
+ require 'setup'
6
7
  require 'simplecov'
7
8
  SimpleCov.start do
8
9
  add_filter 'spec'
9
- add_filter 'branch'
10
10
  end
11
-
12
- # load + setup
13
11
  require 'wax_tasks'
14
- require 'setup'
15
12
 
16
13
  # provide shared context for tests
17
14
  shared_context 'shared', :shared_context => :metadata do
18
- let(:task_runner) { WaxTasks::TaskRunner.new }
19
- let(:default_site) { task_runner.site }
20
- let(:args) { default_site[:collections].map{ |c| c[0] } }
21
- let(:index_path) { "#{BUILD}/js/lunr-index.json" }
22
- let(:ui_path) { "#{BUILD }/js/lunr-ui.js" }
15
+ let(:config_from_file) { WaxTasks.config_from_file }
16
+ let(:invalid_content_config) { WaxTasks.config_from_file("#{BUILD}/_invalid_content_config.yml") }
17
+ let(:invalid_format_config) { WaxTasks.config_from_file("#{BUILD}/_invalid_format_config.yml") }
18
+ let(:empty_config) { Hash.new }
19
+
20
+ let(:site_from_config_file) { WaxTasks::Site.new(config_from_file) }
21
+ let(:site_from_empty_config) { WaxTasks::Site.new(empty_config) }
22
+ let(:site_from_invalid_config) { WaxTasks::Site.new(invalid_content_config) }
23
+
24
+ let(:args_from_file) { %w[csv_collection json_collection yaml_collection] }
25
+ let(:csv) { args_from_file.first }
26
+ let(:json) { args_from_file[1] }
27
+ let(:yaml) { args_from_file[2] }
23
28
  end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/wax_tasks/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'wax_tasks'
7
+ spec.version = WaxTasks::VERSION
8
+ spec.authors = ['Marii Nyrop']
9
+ spec.email = ['marii@nyu.edu']
10
+ spec.license = 'MIT'
11
+ spec.homepage = 'https://github.com/minicomp/wax_tasks'
12
+ spec.summary = 'Rake tasks for minimal exhibition sites with Minicomp/Wax.'
13
+ spec.description = 'Rake tasks for minimal exhibition sites with Minicomp/Wax.'
14
+
15
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
16
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ end
18
+
19
+ spec.test_files = Dir['spec/*']
20
+ spec.required_ruby_version = '>= 2.4'
21
+ spec.metadata['yard.run'] = 'yri'
22
+
23
+ spec.requirements << 'imagemagick'
24
+ spec.requirements << 'ghostscript'
25
+
26
+ spec.add_runtime_dependency 'progress_bar', '~> 1.3'
27
+ spec.add_runtime_dependency 'rainbow', '~> 3.0'
28
+ spec.add_runtime_dependency 'rake', '~> 13.0'
29
+ spec.add_runtime_dependency 'safe_yaml', '~> 1.0'
30
+ spec.add_runtime_dependency 'wax_iiif', '~> 0.2'
31
+
32
+ spec.add_development_dependency 'rspec', '~> 3'
33
+ end
metadata CHANGED
@@ -1,85 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wax_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.beta
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marii Nyrop
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-11 00:00:00.000000000 Z
11
+ date: 2020-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: html-proofer
14
+ name: progress_bar
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.9'
19
+ version: '1.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.9'
26
+ version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
- name: jekyll
28
+ name: rainbow
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '3.8'
33
+ version: '3.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '3.8'
40
+ version: '3.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '12.3'
47
+ version: '13.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '12.3'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: wax_iiif
56
+ name: safe_yaml
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.0
61
+ version: '1.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.1.0
68
+ version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: bundler
70
+ name: wax_iiif
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1'
76
- type: :development
75
+ version: '0.2'
76
+ type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1'
82
+ version: '0.2'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -94,42 +94,51 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '3'
97
- description: Rake tasks for minimal exhibition sites with Jekyll Wax.
97
+ description: Rake tasks for minimal exhibition sites with Minicomp/Wax.
98
98
  email:
99
- - m.nyrop@columbia.edu
99
+ - marii@nyu.edu
100
100
  executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
105
+ - ".github/ISSUE_TEMPLATE/feature_request.md"
106
+ - ".gitignore"
107
+ - ".rspec"
108
+ - ".rubocop.yml"
109
+ - ".travis.yml"
110
+ - CHANGELOG.md
111
+ - CODE_OF_CONDUCT.md
104
112
  - Gemfile
113
+ - LICENSE
114
+ - README.md
115
+ - lib/tasks/clobber.rake
105
116
  - lib/tasks/derivatives_iiif.rake
106
117
  - lib/tasks/derivatives_simple.rake
107
- - lib/tasks/jspackage.rake
108
- - lib/tasks/lunr.rake
109
- - lib/tasks/pagemaster.rake
110
- - lib/tasks/push.rake
111
- - lib/tasks/test.rake
118
+ - lib/tasks/pages.rake
119
+ - lib/tasks/search.rake
112
120
  - lib/wax_tasks.rb
113
- - lib/wax_tasks/branch.rb
121
+ - lib/wax_tasks/asset.rb
114
122
  - lib/wax_tasks/collection.rb
123
+ - lib/wax_tasks/collection/images.rb
124
+ - lib/wax_tasks/collection/metadata.rb
125
+ - lib/wax_tasks/config.rb
115
126
  - lib/wax_tasks/error.rb
116
- - lib/wax_tasks/iiif/derivatives.rb
117
- - lib/wax_tasks/iiif/manifest.rb
118
- - lib/wax_tasks/image_collection.rb
119
- - lib/wax_tasks/local_branch.rb
120
- - lib/wax_tasks/lunr/index.rb
121
- - lib/wax_tasks/lunr/page_set.rb
122
- - lib/wax_tasks/pagemaster_collection.rb
123
- - lib/wax_tasks/task_runner.rb
124
- - lib/wax_tasks/travis_branch.rb
127
+ - lib/wax_tasks/index.rb
128
+ - lib/wax_tasks/item.rb
129
+ - lib/wax_tasks/record.rb
130
+ - lib/wax_tasks/site.rb
125
131
  - lib/wax_tasks/utils.rb
132
+ - lib/wax_tasks/version.rb
126
133
  - spec/setup.rb
127
134
  - spec/spec_helper.rb
135
+ - wax_tasks.gemspec
128
136
  homepage: https://github.com/minicomp/wax_tasks
129
137
  licenses:
130
138
  - MIT
131
- metadata: {}
132
- post_install_message:
139
+ metadata:
140
+ yard.run: yri
141
+ post_install_message:
133
142
  rdoc_options: []
134
143
  require_paths:
135
144
  - lib
@@ -137,20 +146,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
137
146
  requirements:
138
147
  - - ">="
139
148
  - !ruby/object:Gem::Version
140
- version: '0'
149
+ version: '2.4'
141
150
  required_rubygems_version: !ruby/object:Gem::Requirement
142
151
  requirements:
143
- - - ">"
152
+ - - ">="
144
153
  - !ruby/object:Gem::Version
145
- version: 1.3.1
154
+ version: '0'
146
155
  requirements:
147
156
  - imagemagick
148
157
  - ghostscript
149
- rubyforge_project:
150
- rubygems_version: 2.7.6
151
- signing_key:
158
+ rubygems_version: 3.1.4
159
+ signing_key:
152
160
  specification_version: 4
153
- summary: Rake tasks for minimal exhibition sites with Jekyll Wax.
161
+ summary: Rake tasks for minimal exhibition sites with Minicomp/Wax.
154
162
  test_files:
155
163
  - spec/spec_helper.rb
156
164
  - spec/setup.rb