resme 0.5.0 → 0.5.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
  SHA256:
3
- metadata.gz: 27d07b29ff7369747e8f43ad9cbdc29efe1023cca20de554f94c02fdc33c57f8
4
- data.tar.gz: fc048d5417183cba079e387caa3c08d2540fb937a384aae05759622b91b82846
3
+ metadata.gz: de3845cee948da0b1588b074a720662d5ea22a8c1cb1176aad2fa09f6f7cab3f
4
+ data.tar.gz: 83ae22f7d7731406fdd3940e97c9e39c9a61b07336e95f2efc369cae719687f9
5
5
  SHA512:
6
- metadata.gz: 77bab2cbc35e21bb7ce669100d6b0f66d4b9f60e496814b35aec3a1fb3346730bbfe0700d884cde697500a479007cbac61dc834dcd358b3b1ab4375e59ee60db
7
- data.tar.gz: fa2c84c4358a0c86469f83f11cb8c361a8a90602ed58eadf8cf53701757d4525d1f27f27599fdf361af46a2fcce0243c2e014395375c84a82489834be5b56118
6
+ metadata.gz: 32d94c5d909f54888d2a8fa184aaa05f8a9d8075d6f3f19ff6654bf23e58f82e54e96d84ea08de148548ed0260396c6d9790b6dbc0e3992c295157b5713bb952
7
+ data.tar.gz: 41386481b15b5b14ba86efbd23b29331341b22f91ebcc70497d8293609414a15e8c06518ad441e0cd26f78b552a47e7d125c42bc495f17def2bbd16314fe52b5
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]].
data/lib/resme/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Resme
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  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,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adolfo Villafiorita
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-19 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: classy_hash
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.0
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -51,6 +65,7 @@ files:
51
65
  - ".gitignore"
52
66
  - CHANGELOG.org
53
67
  - Gemfile
68
+ - Gemfile.lock
54
69
  - LICENSE.txt
55
70
  - README.org
56
71
  - Rakefile
@@ -111,8 +126,8 @@ licenses:
111
126
  metadata:
112
127
  allowed_push_host: https://rubygems.org/
113
128
  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
129
+ source_code_uri: https://github.com/avillafiorita/resme
130
+ changelog_uri: https://github.com/avillafiorita/resme/CHANGELOG.org
116
131
  post_install_message:
117
132
  rdoc_options: []
118
133
  require_paths:
@@ -128,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
143
  - !ruby/object:Gem::Version
129
144
  version: '0'
130
145
  requirements: []
131
- rubygems_version: 3.3.7
146
+ rubygems_version: 3.3.26
132
147
  signing_key:
133
148
  specification_version: 4
134
149
  summary: Write a resume in YML and export to various formats, including json and europass