resme 0.5.0 → 1.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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.org +43 -2
  3. data/Gemfile.lock +20 -0
  4. data/README.org +27 -41
  5. data/lib/resme/cli/command_semantics.rb +23 -26
  6. data/lib/resme/version.rb +4 -1
  7. data/resme.gemspec +4 -2
  8. metadata +20 -45
  9. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Achievement.xsd +0 -91
  10. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Certificate.xsd +0 -62
  11. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/CommonTypes.xsd +0 -139
  12. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/ComputerSkill.xsd +0 -112
  13. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/ContactInformation.xsd +0 -321
  14. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Demographics.xsd +0 -122
  15. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DigitalContent.xsd +0 -164
  16. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DocumentInformation.xsd +0 -119
  17. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Documentation.xsd +0 -122
  18. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DrivingSkill.xsd +0 -71
  19. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EducationalExperience.xsd +0 -137
  20. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EmploymentExperience.xsd +0 -65
  21. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassCoverLetter.xsd +0 -70
  22. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassLearnerInformation.xsd +0 -91
  23. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassPrintingPreferences.xsd +0 -247
  24. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassSchema.xsd +0 -133
  25. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Experience.xsd +0 -75
  26. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Headline.xsd +0 -97
  27. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Identification.xsd +0 -54
  28. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Language.xsd +0 -107
  29. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Letter.xsd +0 -129
  30. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/LinguisticSkill.xsd +0 -189
  31. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/OccupationalField.xsd +0 -68
  32. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Organisation.xsd +0 -129
  33. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/PersonName.xsd +0 -71
  34. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Skill.xsd +0 -71
  35. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/EQF_08_V1.0.0.xsd +0 -115
  36. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/EUDrivingLicence_V1.1.0.xsd +0 -28
  37. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/ISCED97_V1.0.0.xsd +0 -981
  38. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/NACE_COM_V1.0.0.xsd +0 -5630
  39. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassAddressFormats_V1.3.0.xsd +0 -117
  40. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISCO_88_COM_V1.4.0.xsd +0 -15116
  41. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISOCountries_V1.6.0.xsd +0 -6180
  42. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISOLanguages_V1.8.0.xsd +0 -7645
  43. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassNationalities_V1.6.0.xsd +0 -6179
  44. data/lib/resme/templates/europass/europass-xml-schema-doc-v3.3.0.pdf +0 -0
  45. data/lib/resme/templates/resume.xml.erb +0 -496
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27d07b29ff7369747e8f43ad9cbdc29efe1023cca20de554f94c02fdc33c57f8
4
- data.tar.gz: fc048d5417183cba079e387caa3c08d2540fb937a384aae05759622b91b82846
3
+ metadata.gz: 66f3a4918e997473187573c54c2b20296068013f716dd7892eaa76e1ba817cbb
4
+ data.tar.gz: 75355b94617c3ff3f4f5ee60caa82d59208b9179eb5af018041eec222e7d9442
5
5
  SHA512:
6
- metadata.gz: 77bab2cbc35e21bb7ce669100d6b0f66d4b9f60e496814b35aec3a1fb3346730bbfe0700d884cde697500a479007cbac61dc834dcd358b3b1ab4375e59ee60db
7
- data.tar.gz: fa2c84c4358a0c86469f83f11cb8c361a8a90602ed58eadf8cf53701757d4525d1f27f27599fdf361af46a2fcce0243c2e014395375c84a82489834be5b56118
6
+ metadata.gz: 4e2ff1e179c492a07a140c1027a320131da9de9018d135ac3517c25b686e3d2a68d48d9157789e536e0f4bd965b7515494762290cd82cf49a5ecea0fd6f00222
7
+ data.tar.gz: 7db312c08533de4e73ce8a630c9eb3a3256ebb386312e5c142bec59a333c2263db25e9802ae960c57e19f8274676bc52232b4436e3697d12a119de788acbfffa
data/CHANGELOG.org CHANGED
@@ -1,13 +1,32 @@
1
1
  #+TITLE: CHANGELOG
2
2
  #+AUTHOR: Adolfo Villafiorita
3
3
 
4
- * Version 1.5.0
4
+ * Version 0.5.1
5
+
6
+ A bug-fixing release.
7
+
8
+ More in details:
9
+
10
+ - [bug] Add dependency to =classy_hash=
11
+ - [doc] Fix links to source code and Changelog.
12
+ - [doc] Merge Release History and Changelog.
13
+ - [doc] Fix version numbers in headers of Changelog (1.5.0 -> 0.5.0)
14
+
15
+ * Version 0.5.0
5
16
  - [user] New command =view= allows to view the template used
6
17
  for generating a resume in a specific format
7
18
  - [user] Check command is now based on ClassyHash
8
19
  - [code] Various changes to the code
9
20
 
10
- * Version 1.4.0
21
+ * Version 0.4.0
22
+
23
+ Version 0.4.0 refactors all generation commands under =generate=, provides
24
+ new filtering options, adds =-e= option (for custom templates), and
25
+ refactors various portions of code. It also revises this document
26
+ and fixes some minor bugs.
27
+
28
+ More in details:
29
+
11
30
  - [user] New option =--skip= allows to skip some top-level sections.
12
31
  You mileage might vary, as some formats might require the
13
32
  information you are trying to skip
@@ -17,3 +36,25 @@
17
36
  generating the resume. Use it in conjunction with =view= (released
18
37
  in version 1.5.0) to jump-start your layout.
19
38
 
39
+ * Version 0.3.2 and 0.3.1
40
+
41
+ Version 0.3.2 and 0.3.1 fix errors with the Europass format: lists of
42
+ projects, interests, ... are now properly formatted.
43
+
44
+ * Version 0.3
45
+
46
+ Version 0.3 Introduces output to org-mode, introduces references for the CV,
47
+ improves output to JSON, adds a =check= command, removes useless blank
48
+ lines in the output, supports =-%>= in the ERB templates, fixes
49
+ various typos in the documentation, introduces various new formatting
50
+ functions, to simplify template generation
51
+
52
+ * Version 0.2
53
+
54
+ Version 0.2 improves output of volunteering activities and other information
55
+ in the Europass and *significantly improves error and warning
56
+ reporting*
57
+
58
+ * Version 0.1
59
+
60
+ Version 0.1 is the first release
data/Gemfile.lock ADDED
@@ -0,0 +1,20 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ resme (0.5.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ rake (12.3.3)
10
+
11
+ PLATFORMS
12
+ x86_64-linux
13
+
14
+ DEPENDENCIES
15
+ bundler (~> 2.3.20)
16
+ rake (~> 12.0)
17
+ resme!
18
+
19
+ BUNDLED WITH
20
+ 2.3.20
data/README.org CHANGED
@@ -17,20 +17,20 @@ needs).
17
17
 
18
18
  Add this line to your application's Gemfile:
19
19
 
20
- #+BEGIN_SRC ruby
21
- gem 'resme'
22
- #+END_SRC
20
+ #+begin_example ruby
21
+ gem 'resme'
22
+ #+end_example
23
23
 
24
24
  And then execute:
25
25
 
26
- #+BEGIN_EXAMPLE
27
- $ bundle
28
- #+END_EXAMPLE
26
+ #+begin_example sh
27
+ bundle
28
+ #+end_example
29
29
 
30
30
  Or install it yourself as:
31
31
 
32
- #+BEGIN_EXAMPLE
33
- $ gem install resme
32
+ #+begin_example sh
33
+ gem install resme
34
34
  #+END_EXAMPLE
35
35
 
36
36
  ** Usage
@@ -40,9 +40,9 @@ Or install it yourself as:
40
40
 
41
41
  Start with:
42
42
 
43
- #+BEGIN_EXAMPLE
43
+ #+begin_example sh
44
44
  resme init
45
- #+END_EXAMPLE
45
+ #+end_example
46
46
 
47
47
  which generates a YML template for your resume in the current directory.
48
48
  Comments in the YML file should help you fill the various entries.
@@ -51,7 +51,7 @@ are not relevant for your resume.
51
51
 
52
52
  You can now generate a resume using one of the existing formats:
53
53
 
54
- #+begin_example
54
+ #+begin_example sh
55
55
  resme --to org resume.yml
56
56
  #+end_example
57
57
 
@@ -81,15 +81,15 @@ resme help
81
81
  #+begin_example
82
82
  resme command [options] [args]
83
83
  Available commands:
84
+ check resume.yml # Check syntax of resume.yml
85
+ list resume.yml # List main sections in resume.yml
86
+ version # print version information
84
87
  view --template FORMAT # Print template used for format
88
+ generate [options] resume.yml ... # output resume
85
89
  console # enter the console
86
90
  man # print resme manual page
87
91
  help [command] # print command usage
88
92
  init [options] # generate an empty resume.yml file
89
- check resume.yml # Check syntax of resume.yml
90
- list resume.yml # List main sections in resume.yml
91
- version # print version information
92
- generate [options] resume.yml ... # output resume
93
93
  #+end_example
94
94
 
95
95
  ** Checking validity
@@ -100,9 +100,9 @@ Available commands:
100
100
  Use the =check= command to verify whether your YAML file conforms with
101
101
  the intended syntax.
102
102
 
103
- #+BEGIN_SRC ruby
103
+ #+begin_example sh
104
104
  resme check resume.yaml
105
- #+END_SRC
105
+ #+end_example
106
106
 
107
107
  ** Dates in the resume
108
108
  :PROPERTIES:
@@ -134,27 +134,27 @@ However, if you want, you can define your own templates.
134
134
  Use the command =view= to print one of the templates used by =resme=
135
135
  and build from that.
136
136
 
137
- #+begin_example
138
- resme view --template md
137
+ #+begin_example sh
138
+ resme view --template md
139
139
  #+end_example
140
140
 
141
141
  Notice that all the data in the resume is made available in the =data=
142
142
  variable. Thus, for instance, the following code snippets generates a
143
143
  list of all the work experiences:
144
144
 
145
- #+BEGIN_EXAMPLE
145
+ #+begin_example xml
146
146
  <% data["work"] each do |exp| %>
147
147
  - <%= exp["who"] %>
148
148
  From: <%= exp["from"] %> till: <%= exp["till"] %>
149
149
  <% end %>
150
- #+END_EXAMPLE
150
+ #+end_example
151
151
 
152
152
  To specify your own ERB template to build your resume use the option
153
153
  =-e= (=--erb=). Thus, for instance:
154
154
 
155
- #+BEGIN_EXAMPLE
156
- $ resme render -e template.md.erb [-o output_filename] file.yaml ...
157
- #+END_EXAMPLE
155
+ #+begin_example sh
156
+ resme render -e template.md.erb [-o output_filename] file.yaml ...
157
+ #+end_example
158
158
 
159
159
  uses =template.md.erb= to generate the resume.
160
160
 
@@ -225,14 +225,14 @@ The gem is available as open source under the terms of the
225
225
 
226
226
  ** Change Log
227
227
 
228
- In =doc/changelog.org=
228
+ In [[file:./CHANGELOG.org][CHANGELOG.org]]
229
229
 
230
230
  ** Roadmap
231
231
  :PROPERTIES:
232
232
  :CUSTOM_ID: roadmap
233
233
  :END:
234
234
 
235
- In =doc/todo.org= ... guess what is my preferred editor!
235
+ In [[file:./doc/todo.org][todo.org]] ... guess what is my preferred editor!
236
236
 
237
237
  ** Bugs
238
238
  :PROPERTIES:
@@ -255,18 +255,4 @@ Unknown number of unknown bugs.
255
255
  :CUSTOM_ID: release-history
256
256
  :END:
257
257
 
258
- - *0.4.0* refactors all generation commands under =generate=, provides
259
- new filtering options, adds =-e= option (for custom templates), and
260
- refactors various portions of code. It also revises this document
261
- and fixes some minor bugs.
262
- - *0.3.2* and *0.3.1* fix errors with the Europass format: lists of
263
- projects, interests, ... are now properly formatted.
264
- - *0.3* introduces output to org-mode, introduces references for the CV,
265
- improves output to JSON, adds a =check= command, removes useless blank
266
- lines in the output, supports =-%>= in the ERB templates, fixes
267
- various typos in the documentation, introduces various new formatting
268
- functions, to simplify template generation
269
- - *0.2* improves output of volunteering activities and other information
270
- in the Europass and *significantly improves error and warning
271
- reporting*
272
- - *0.1* is the first release
258
+ Moved to [[file:./CHANGELOG.org][CHANGELOG.org]].
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "resme/version"
2
4
  require "readline"
3
5
  require "fileutils"
@@ -7,6 +9,7 @@ require "erb"
7
9
  require "json"
8
10
 
9
11
  module Resme
12
+ # Give e meaning to commands
10
13
  module CommandSemantics
11
14
  APPNAME = "resme"
12
15
  VERSION = Resme::VERSION
@@ -26,33 +29,33 @@ module Resme
26
29
 
27
30
  def self.help(opts = nil, argv = [])
28
31
  all_commands = CommandSyntax.commands
29
-
30
- if argv != []
31
- argv.map do |x|
32
- puts all_commands[x.to_sym][:help]
33
- puts "\n\n"
34
- end
35
- else
32
+
33
+ if argv == []
36
34
  puts "#{APPNAME} command [options] [args]\n"
37
35
  puts "Available commands:\n"
38
36
  all_commands.each_key do |key|
39
37
  puts " #{all_commands[key][:options].banner}"
40
38
  end
39
+ else
40
+ argv.map do |x|
41
+ puts all_commands[x.to_sym][:help]
42
+ puts "\n\n"
43
+ end
41
44
  end
42
45
  end
43
46
 
44
- def self.console(opts, argv = [])
47
+ def self.console(opts = nil, argv = [])
45
48
  all_commands = CommandSyntax.commands
46
49
  all_commands.delete(:console)
47
-
50
+
48
51
  i = 0
49
- while true
52
+ loop do
50
53
  string = Readline.readline("#{APPNAME}:%03d> " % i, true)
51
54
  # as a courtesy, remove any leading appname string
52
55
  string.gsub!(/^#{APPNAME} /, "")
53
56
  exit 0 if %w[exit quit .].include? string
54
57
  execute all_commands, string.split(" ")
55
- i = i + 1
58
+ i += 1
56
59
  end
57
60
  end
58
61
 
@@ -141,13 +144,13 @@ module Resme
141
144
  end
142
145
 
143
146
  def self.view(opts, argv)
144
- format = opts[:template] == "europass" ? "xml" : opts[:template]
147
+ format = opts[:to]
145
148
  template = File.join(File.dirname(__FILE__), "/../templates/resume.#{format}.erb")
146
149
  puts File.read template
147
150
  end
148
151
 
149
152
  def self.generate(opts, argv)
150
- format = opts[:to] == "europass" ? "xml" : opts[:to]
153
+ format = opts[:to]
151
154
  output = opts[:output] || "resume-#{Date.today}.#{format}"
152
155
 
153
156
  if opts[:erb]
@@ -158,42 +161,36 @@ module Resme
158
161
 
159
162
  skipped_sections = opts[:skip] || []
160
163
 
161
- if !File.exists?(template)
164
+ if !File.exist?(template)
162
165
  puts "#{APPNAME} error: format #{format} is not understood."
163
166
  end
164
167
 
165
168
  render argv, template, output, skipped_sections
166
169
  puts "Resume generated in #{output}"
167
-
168
- if format == "xml" then
169
- puts "Europass XML generated. Render via, e.g., http://interop.europass.cedefop.europa.eu/web-services/remote-upload/"
170
- end
171
170
  end
172
171
 
173
- private
174
-
175
- def self.render(yml_files, template_name, output_name, skipped_sections)
172
+ private_class_method def self.render(yml_files, template_name, output_name, skipped_sections)
176
173
  data = {}
177
174
  yml_files.each do |file|
178
175
  data = data.merge(YAML.load_file(file, permitted_classes: [Date]))
179
176
  end
180
177
  skipped_sections.each do |section|
181
- data.reject! { |k| k == section }
178
+ data.reject! { |k| k == section }
182
179
  end
183
180
  template = File.read(template_name)
184
181
  output = ERB.new(template, trim_mode: "-").result(binding)
185
- # it is difficult to write readable ERBs with no empty lines...
186
- # we use gsub to replace multiple empty lines with \n\n in the final output
182
+ # it is difficult to write readable ERBs with no empty lines... we use
183
+ # gsub to replace multiple empty lines with \n\n in the final output
187
184
  output.gsub!(/([\t ]*\n){3,}/, "\n\n")
188
185
  backup_and_write output_name, output
189
186
  end
190
187
 
191
- def self.backup(filename)
188
+ private_class_method def self.backup(filename)
192
189
  FileUtils::cp filename, filename + "~"
193
190
  puts "Backup copy #{filename} created in #{filename}~."
194
191
  end
195
192
 
196
- def self.backup_and_write(filename, content)
193
+ private_class_method def self.backup_and_write(filename, content)
197
194
  backup(filename) if File.exist?(filename)
198
195
  File.open(filename, "w") { |f| f.puts content }
199
196
  end
data/lib/resme/version.rb CHANGED
@@ -1,3 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Version number
1
4
  module Resme
2
- VERSION = "0.5.0"
5
+ VERSION = "1.0.0"
3
6
  end
data/resme.gemspec CHANGED
@@ -15,8 +15,8 @@ Gem::Specification.new do |spec|
15
15
  spec.metadata["allowed_push_host"] = "https://rubygems.org/"
16
16
 
17
17
  spec.metadata["homepage_uri"] = spec.homepage
18
- spec.metadata["source_code_uri"] = "http://github.io/avillafiorita/resme"
19
- spec.metadata["changelog_uri"] = "http://github.io/avillafiorita/resme/CHANGELOG.org"
18
+ spec.metadata["source_code_uri"] = "https://github.com/avillafiorita/resme"
19
+ spec.metadata["changelog_uri"] = "https://github.com/avillafiorita/resme/CHANGELOG.org"
20
20
 
21
21
  # Specify which files should be added to the gem when it is released.
22
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -27,6 +27,8 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
29
29
 
30
+ spec.add_dependency "classy_hash", "~> 1.0.0"
31
+
30
32
  spec.add_development_dependency "bundler", "~> 2.3.20"
31
33
  spec.add_development_dependency "rake", "~> 13.0.6"
32
34
  end
metadata CHANGED
@@ -1,15 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adolfo Villafiorita
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2022-08-19 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: classy_hash
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: 1.0.0
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: 1.0.0
13
26
  - !ruby/object:Gem::Dependency
14
27
  name: bundler
15
28
  requirement: !ruby/object:Gem::Requirement
@@ -51,6 +64,7 @@ files:
51
64
  - ".gitignore"
52
65
  - CHANGELOG.org
53
66
  - Gemfile
67
+ - Gemfile.lock
54
68
  - LICENSE.txt
55
69
  - README.org
56
70
  - Rakefile
@@ -62,46 +76,9 @@ files:
62
76
  - lib/resme/cli/command_syntax.rb
63
77
  - lib/resme/cli/resume_structure_validator.rb
64
78
  - lib/resme/renderer/renderer.rb
65
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Achievement.xsd
66
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Certificate.xsd
67
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/CommonTypes.xsd
68
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/ComputerSkill.xsd
69
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/ContactInformation.xsd
70
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Demographics.xsd
71
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DigitalContent.xsd
72
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DocumentInformation.xsd
73
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Documentation.xsd
74
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DrivingSkill.xsd
75
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EducationalExperience.xsd
76
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EmploymentExperience.xsd
77
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassCoverLetter.xsd
78
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassLearnerInformation.xsd
79
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassPrintingPreferences.xsd
80
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassSchema.xsd
81
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Experience.xsd
82
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Headline.xsd
83
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Identification.xsd
84
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Language.xsd
85
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Letter.xsd
86
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/LinguisticSkill.xsd
87
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/OccupationalField.xsd
88
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Organisation.xsd
89
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/PersonName.xsd
90
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Skill.xsd
91
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/EQF_08_V1.0.0.xsd
92
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/EUDrivingLicence_V1.1.0.xsd
93
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/ISCED97_V1.0.0.xsd
94
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/NACE_COM_V1.0.0.xsd
95
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassAddressFormats_V1.3.0.xsd
96
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISCO_88_COM_V1.4.0.xsd
97
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISOCountries_V1.6.0.xsd
98
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISOLanguages_V1.8.0.xsd
99
- - lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassNationalities_V1.6.0.xsd
100
- - lib/resme/templates/europass/europass-xml-schema-doc-v3.3.0.pdf
101
79
  - lib/resme/templates/resume.json.erb
102
80
  - lib/resme/templates/resume.md.erb
103
81
  - lib/resme/templates/resume.org.erb
104
- - lib/resme/templates/resume.xml.erb
105
82
  - lib/resme/templates/resume.yml
106
83
  - lib/resme/version.rb
107
84
  - resme.gemspec
@@ -111,9 +88,8 @@ licenses:
111
88
  metadata:
112
89
  allowed_push_host: https://rubygems.org/
113
90
  homepage_uri: http://github.io/avillafiorita/resme
114
- source_code_uri: http://github.io/avillafiorita/resme
115
- changelog_uri: http://github.io/avillafiorita/resme/CHANGELOG.org
116
- post_install_message:
91
+ source_code_uri: https://github.com/avillafiorita/resme
92
+ changelog_uri: https://github.com/avillafiorita/resme/CHANGELOG.org
117
93
  rdoc_options: []
118
94
  require_paths:
119
95
  - lib
@@ -128,8 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
104
  - !ruby/object:Gem::Version
129
105
  version: '0'
130
106
  requirements: []
131
- rubygems_version: 3.3.7
132
- signing_key:
107
+ rubygems_version: 3.6.7
133
108
  specification_version: 4
134
109
  summary: Write a resume in YML and export to various formats, including json and europass
135
110
  XML.
@@ -1,91 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xsd:schema
3
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
- xmlns="http://europass.cedefop.europa.eu/Europass"
5
- targetNamespace="http://europass.cedefop.europa.eu/Europass"
6
- elementFormDefault="qualified">
7
-
8
- <!--
9
- /*
10
- * Copyright European Union 2002-2014
11
- *
12
- *
13
- * Licensed under the EUPL, Version 1.1 or – as soon they
14
- * will be approved by the European Commission - subsequent
15
- * versions of the EUPL (the "Licence");
16
- * You may not use this work except in compliance with the
17
- * Licence.
18
- * You may obtain a copy of the Licence at:
19
- *
20
- * http://ec.europa.eu/idabc/eupl.html
21
- *
22
- *
23
- * Unless required by applicable law or agreed to in
24
- * writing, software distributed under the Licence is
25
- * distributed on an "AS IS" basis,
26
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
27
- * express or implied.
28
- * See the Licence for the specific language governing
29
- * permissions and limitations under the Licence.
30
- *
31
- */
32
- -->
33
- <xsd:include schemaLocation="CommonTypes.xsd"/>
34
-
35
- <xsd:include schemaLocation="Documentation.xsd"/>
36
-
37
-
38
- <!-- ACHIEVEMENTS -->
39
- <xsd:complexType name="AchievementType">
40
- <xsd:annotation>
41
- <xsd:documentation xml:lang="en">Generic type to define an Achievement.</xsd:documentation>
42
- </xsd:annotation>
43
- <xsd:sequence>
44
- <xsd:element name="Title" type="AchievementTypeLabelType" minOccurs="0"/>
45
- <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
46
- <xsd:element name="Documentation" minOccurs="0" type="IntraDocumentDocumentationType"/>
47
- </xsd:sequence>
48
- </xsd:complexType>
49
-
50
- <xsd:complexType name="AchievementListType">
51
- <xsd:annotation>
52
- <xsd:documentation xml:lang="en">
53
- Contains a list of additional information about the various achievements of an individual, such as participation to conferences, workshops, memberships to organisations, list of publications, etc.
54
- </xsd:documentation>
55
- </xsd:annotation>
56
- <xsd:sequence>
57
- <xsd:element name="Achievement" type="AchievementType" minOccurs="0" maxOccurs="unbounded"/>
58
- </xsd:sequence>
59
- </xsd:complexType>
60
-
61
- <!-- Achievement Types -->
62
- <xsd:complexType name="AchievementTypeLabelType">
63
- <xsd:complexContent>
64
- <xsd:restriction base="LabelType">
65
- <xsd:sequence>
66
- <xsd:element name="Code" minOccurs="0" type="AchievementTypesEnumeration"/>
67
- <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
68
- </xsd:sequence>
69
- </xsd:restriction>
70
- </xsd:complexContent>
71
- </xsd:complexType>
72
- <xsd:simpleType name="AchievementTypesEnumeration">
73
- <xsd:restriction base="xsd:string">
74
- <xsd:enumeration value="honors_awards"/>
75
- <xsd:enumeration value="presentations"/>
76
- <xsd:enumeration value="publications"/>
77
- <xsd:enumeration value="projects"/>
78
- <xsd:enumeration value="citations"/>
79
- <xsd:enumeration value="memberships"/>
80
- <xsd:enumeration value="conferences"/>
81
- <xsd:enumeration value="seminars"/>
82
- <xsd:enumeration value="workshops"/>
83
- <xsd:enumeration value="references"/>
84
- <xsd:enumeration value="signature_equivalent"/>
85
- <xsd:enumeration value="courses"/>
86
- <xsd:enumeration value="certifications"/>
87
- </xsd:restriction>
88
- </xsd:simpleType>
89
-
90
-
91
- </xsd:schema>
@@ -1,62 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xsd:schema
3
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
- xmlns="http://europass.cedefop.europa.eu/Europass"
5
- targetNamespace="http://europass.cedefop.europa.eu/Europass"
6
- elementFormDefault="qualified">
7
-
8
- <!--
9
- /*
10
- * Copyright European Union 2002-2014
11
- *
12
- *
13
- * Licensed under the EUPL, Version 1.1 or – as soon they
14
- * will be approved by the European Commission - subsequent
15
- * versions of the EUPL (the "Licence");
16
- * You may not use this work except in compliance with the
17
- * Licence.
18
- * You may obtain a copy of the Licence at:
19
- *
20
- * http://ec.europa.eu/idabc/eupl.html
21
- *
22
- *
23
- * Unless required by applicable law or agreed to in
24
- * writing, software distributed under the Licence is
25
- * distributed on an "AS IS" basis,
26
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
27
- * express or implied.
28
- * See the Licence for the specific language governing
29
- * permissions and limitations under the Licence.
30
- *
31
- */
32
- -->
33
-
34
- <xsd:include schemaLocation="./CommonTypes.xsd"/>
35
-
36
- <!-- Certificates -->
37
- <xsd:complexType name="CertificateListType">
38
- <xsd:annotation>
39
- <xsd:documentation xml:lang="en">
40
- Defines a list of Certificates.
41
- </xsd:documentation>
42
- </xsd:annotation>
43
- <xsd:sequence>
44
- <xsd:element name="Certificate" type="CertificateType" minOccurs="0" maxOccurs="unbounded"/>
45
- </xsd:sequence>
46
- </xsd:complexType>
47
-
48
- <xsd:complexType name="CertificateType">
49
- <xsd:annotation>
50
- <xsd:documentation xml:lang="en">
51
- Defines a generic type for a Certificate. A Certificate contains information about the title name, the awarding body and the date of awarding. It also contains information about the level that corresponds to this diploma.
52
- </xsd:documentation>
53
- </xsd:annotation>
54
- <xsd:sequence>
55
- <xsd:element name="Title" type="xsd:string" minOccurs="0"/>
56
- <xsd:element name="AwardingBody" type="xsd:string" minOccurs="0"/>
57
- <xsd:element name="Date" type="DateType" minOccurs="0"/>
58
- <xsd:element name="Level" type="xsd:anyType" minOccurs="0"/>
59
- </xsd:sequence>
60
- </xsd:complexType>
61
-
62
- </xsd:schema>