full_time 1.0.0 → 1.1.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
2
  SHA256:
3
- metadata.gz: eb67d51839f8dc0d12eeebac48a6b3d1e23f728ba25b48e40bfb0f3d9e6a8ccb
4
- data.tar.gz: 61f44cf8a45e8eeb521316db91cc28a86af798764dec4f540c06795544ca6b7a
3
+ metadata.gz: c0caea206e29e76942b2bb718ec80749580dd78b32c43491fe3a075b84d56f39
4
+ data.tar.gz: a4b737ff12a62af9485218377a148a5284c0494b7f01f8aa20b47d5053c252c1
5
5
  SHA512:
6
- metadata.gz: 8eb16d731b691979763629415f29546ed6246afab075e1723da0fe324a23b09e46279d46e72b2248cec1d4e0a195c5b4e86ab7eff4ca88e3dc9b098617719244
7
- data.tar.gz: 2a03e3e143b73eb7457cb6dbf645aa3d4c45ce10ccc4b7f367629ebb24689ba70ff884fa7d692d29fa4f0ab2479afac2577e5c3d5912bd9c428cff8ef332b728
6
+ metadata.gz: 36036084b36a31b1c01ed014f5bc1e983829d4a0294ea43dd42cc14e0bf8fec253f4a1e489708a937c68a5a2f507d89bd1876e83b1ab8265057dff7761ce2033
7
+ data.tar.gz: f26b6fab515834d2d92b9192637f2bb220f053e28c290d399bf1fcd2e42c95e7d220707d17f784aef8ab313ea446c7c97742b90dad2af3b82494cd38a15ef8d6
data/README.md CHANGED
@@ -17,251 +17,73 @@ And then execute:
17
17
  Or install it yourself as:
18
18
 
19
19
  $ gem install full_time
20
+
21
+ Depending on your export target you have to install the next gems:
22
+
23
+ | Target | Gem |
24
+ | -------- | ---------------------------------------- |
25
+ | HTML | [tilt](https://github.com/rtomayko/tilt) |
20
26
 
21
27
  ## Usage
22
28
 
23
- ```
29
+ Declare your CV within DSL:
30
+
31
+ ```ruby
24
32
  FullTime.profile do
25
- name 'Andrew Babichev'
26
- email 'andrew.babichev@gmail.com'
27
- homepage 'http://andrewbabichev.com'
28
- github 'https://github.com/Tensho'
29
- location 'Kiev, Ukraine'
33
+ name 'Rebecca Lee'
34
+ email 'revy@blacklagoon.moe'
35
+ homepage 'https://lagooncompany.fandom.com/wiki/Revy'
36
+ github 'https://github.com/revy'
37
+ location 'Roanapur'
30
38
 
31
39
  employment do
32
- company 'Intetics' do
33
- homepage 'http://intetics.com'
34
-
35
- project 'Resolver', start_date: 'January 2016', end_date: 'Current' do
36
- homepage 'https://resolver.co.uk'
37
- description 'Free online tool for complaints and claims'
38
- title 'Senior Software Engineer & Team Lead'
39
-
40
- technologies do
41
- • 'Primary Languages: Ruby, SQL'
42
- • 'Secondary Languages: Coffees/JS, Slim/HAML/HTML5, Elixir'
43
- • 'Web Frontend Frameworks: AngularJS'
44
- • 'Web Backend Frameworks: Rails, Grape, Rocket Pants'
45
- • 'Background Processors: Sidekiq, Sneakers'
46
- • 'Databases: MySQL, DynamoDB, MongoDB, Postgres, Redis, Memcached, Neo4j, AuroraDB'
47
- • 'Queues/Message Brokers: Redis, RabbitMQ'
48
- • 'AWS: EC2, ECS, EBS, ELB, Route53, RDS, S3, CloudFront, DynamoDB, VPC, IAM, ElastiCache'
49
- • 'Configuration Management: Puppet'
50
- • 'Web Servers: Nginx'
51
- • 'OS: Ubuntu, Alpine, MacOS'
52
- • 'CMS: Refinery'
53
- end
54
-
55
- achievements do
56
- • 'Setup test framework and covered with specs existing and new features'
57
- • 'Deployment scripts support and enhancement'
58
- • 'Setup backup model for MySQL to AWS S3 and Rackspace Cloud Files'
59
- • 'Developed credit card number concealer'
60
- • "Contributed filter parameters config fixes to 'rails' and 'dookeeper' gems in the sake of application"
61
- • 'Setup and integrated web application with IBM Bluemix cognitive services AlchemyAPI, Watson and Tone Analyzer'
62
- • 'Developed and implemented HTML email sanitizers (loofah scrubbers)'
63
- • 'Consolidated MailChimp/Mandrill templates workflow, introduced dynamic content'
64
- • 'Setup CDN (AWS CloudFront distributions)'
65
- • 'Setup CI/CD (GitHub, CircleCI, Slack)'
66
- • 'Integrated web application with secure (TLS) email server'
67
- • 'Internationalized and localized web application'
68
- • 'Adjusted Puppet manifests for better reliability of infrastructure configuration'
69
- • 'Adjusted custom Ruby scripts for AWS EC2 instances provisioning'
70
- • 'Specified Puppet node definitions for new services'
71
- • "Contributed typecasted attributes to 'mongoid' gem in the sake of application"
72
- • 'Handled emoticons in MySQL'
73
- • 'Introduced asynchronous event sourcing with RabbitMQ'
74
- • 'Developed Mailer microservice'
75
- • 'Developed Admin microservice'
76
- • "Contributed re-enabled cap task invocation at 'capistrano', 'capistrano-sidekiq' and 'capistrano-sneakers' gems in the sake of application"
77
- • "Contributed settings and options merge to 'mandrill_dm' gem in the sake of application"
78
- • 'Introduced Docker'
79
- • 'Interviewed and mentored other developers'
80
- • 'Introduced new developers to the application'
81
- • 'Spread out Agile principles and Kanban methodology to the team'
82
- end
83
- end
84
- end
85
-
86
- company 'GlobalLogic' do
87
- homepage 'http://globallogic.com'
88
-
89
- project 'Advanced creative platform for online advertising', start_date: 'November 2014', end_date: 'January 2016' do
90
- description 'Advanced creative platform for online advertising, which allows you to automate processes related to creative services. It supports both platforms – desktop and mobile.'
91
- title 'Full-stack Rails developer'
92
-
93
- technologies do
94
- • 'Ruby'
95
- • 'Rails'
96
- • 'MySQL'
97
- • 'Postgres'
98
- • 'Slim/HTML5'
99
- • 'Coffeescript/Javascript'
100
- • 'SASS/CSS'
101
- • 'AWS (CloudFormation, EC2, EBS, RDS, S3, CloudFront, SES, IAM)'
102
- • 'Ansible'
103
- • 'Docker'
104
- end
40
+ company 'The Lagoon Company' do
41
+ homepage 'http://thelagooncompany.com'
105
42
 
106
- achievements do
107
- 'Setup test framework and covered with specs existing and new features'
108
- 'Performed development operations – infrastructure setup, configuration and application deployment'
109
- 'Delivered first and launched subsequent production releases intime'
110
- • 'Developed bulk import/export of the records from/to excel spreadsheet'
111
- • 'Interviewed and mentored other developers'
112
- • 'Introduced new developers to the application'
113
- • "Contributed to 'cocoon' gem in the sake of application"
114
- • 'Refactored advertisement showing mechanics'
115
- • 'Developed application multitenancy'
116
- • 'Migrated from MySQL to Postgres'
117
- • 'Researched solutions for the cross-browser issues'
118
- • 'Refactored event tracking system for existing advertisements'
119
- • 'Introduced video player to the advertisements'
120
- • 'Spread out Agile principles and SCRUM methodology to the team'
121
- end
122
- end
123
- end
124
-
125
- company 'DataArt' do
126
- homepage 'http://dataart.com'
127
-
128
- project 'Online advertising aggregator', start_date: 'July 2014', end_date: 'November 2014' do
129
- description 'Online advertising aggregator from different services, particularly Google Adwords and Bing Ads, which provides data to the end user in the target scope. The application was divided into several parts: Rails application for the user management purposes, Ember application (frontend) for the users with dashboard/charts/statistics, Rails API application (backend) to support frontend, MapReduce cluster for the data import and analysis from advertising services.'
130
- title 'Backend Rails developer'
131
-
132
- technologies do
133
- • 'Ruby'
134
- • 'Rails'
135
- • 'Postgres'
136
- • 'AWS (EMR, EC2, RDS, S3)'
137
- • 'Google Analytics'
138
- • 'Google DFP'
139
- • 'Bing Ads'
140
- end
141
-
142
- achievements do
143
- • 'Setup test framework and covered with specs existing and new features'
144
- • 'Figured out detailed requirements'
145
- • 'Developed Hadoop MapReduce streaming steps'
146
- • 'Enhanced API according to frequently changing business logic'
147
- • 'Implemented 3rd party integrations'
148
- • 'Delivered first production releases intime'
149
- • 'Adopted Agile principles and Kanban methodology'
150
- end
151
- end
152
- end
153
-
154
- company 'Anadea Inc' do
155
- homepage 'http://anadea.info'
156
-
157
- project 'NowShop', start_date: 'October 2012', end_date: 'July 2014' do
158
- homepage 'http://nowshop.com/'
159
- description 'NowShop delivers integrated web-shops for news sites. The platform includes over 1.000.000 products in all categories, full payment solution as well as 3rd party delivery solution.'
160
- title 'Backend Rails developer'
43
+ project 'Alpha', start_date: 'November 2010', end_date: 'January 2015' do
44
+ homepage 'https://alpha.com'
45
+ description 'Alpha Season'
46
+ title 'Gunslinger'
161
47
 
162
48
  technologies do
163
- • 'Ruby'
164
- • 'Rails'
165
- • 'Postgres'
166
- • 'XML'
167
- • 'XML Scheme'
168
- • 'HTML'
49
+ • 'Two Berettas'
50
+ • 'PM-63 Submachine Gun'
51
+ • 'Gepard Anti Materiel Rifle'
169
52
  end
170
53
 
171
54
  achievements do
172
- • 'Developed mechanism for obtaining XML data feeds from the retailers in different countries (Denmark, Norway, Sweden, United Kingdom), validation, parsing and multithread saving to the database'
173
- • 'Implemented XML import optimizations like digests, queries reduction, ActiveRecord refusal in favor of SQL'
174
- • 'Supported the time task scheduler for the periodic tasks with logging and email notification'
175
- • 'Developed HTML scrappers for the retailer sites to grab products info'
176
- • 'Covered with specs existing and new features in TDD style'
177
- • 'Sustained shop UI uptodate the backend side'
178
- • 'Adopted Agile principles and XP methodology'
179
- end
180
- end
181
- end
182
-
183
- company 'Donetskoblgaz PLC' do
184
- # description 'Donetskoblgaz is the regional gas transfer monopolist'
185
-
186
- project 'Internal accounting system', start_date: 'July 2008', end_date: 'October 2012' do
187
- homepage ''
188
- description ''
189
- title 'Software Engineer'
190
-
191
- technologies do
192
- • 'Perl'
193
- • 'MS SQL Server'
194
- • 'Oracle'
195
- • 'XML'
196
- • 'DTD'
197
- • 'DBF'
198
- • 'HTML'
199
- • 'Excel'
200
- end
201
-
202
- achievements do
203
- • 'Figured out detailed requirements, evaluated system program needs, wrote and maintained program code to meet system requirements, system designs and technical specifications'
204
- • 'Maintained inner accounting software package (client-server model)'
205
- • 'Developed web-services to provide the customers ability to view the balance, edit counter values, make payments'
206
- • 'Improved software for the data exchange between organization and banks'
207
- • 'Administrated ERP Parus 8.2 database, wrote technical and user documentation, enterprise standards'
208
- • 'Assumed a leadership role in cooperate work, inspired and motivated other employees'
209
- • 'Adopted Waterfall methodology'
55
+ • 'Infiltrated 500+ enemies'
56
+ • 'Drank 200+ rum bottles'
210
57
  end
211
58
  end
212
59
  end
213
60
  end
214
61
 
215
62
  education do
216
- university 'Donetsk National Technical University', start_date: '2003', end_date: '2008' do
217
- title 'Specialist System Programming'
63
+ university 'Roanapur Technical University', start_date: '2005', end_date: '2010' do
64
+ title 'Gunfighter'
218
65
  end
219
66
  end
220
67
 
221
68
  certification do
222
69
  course do
223
- title 'Web Application Architectures'
224
- company 'Coursera'
225
- homepage 'https://www.coursera.org/course/webapplications'
226
- end
227
-
228
- course do
229
- title 'Algorithms: Design and Analysis, Part 1'
230
- company 'Coursera'
231
- homepage 'https://www.coursera.org/course/algo'
232
- end
233
-
234
- course do
235
- title 'Gamification'
236
- company 'Coursera'
237
- homepage 'https://www.coursera.org/course/Gamification'
238
- end
239
-
240
- course do
241
- title 'Functional Programming Principles in Scala'
242
- company 'Coursera'
243
- homepage 'https://www.coursera.org/course/progfun'
70
+ title 'Two Hand Shooting: Part 1'
71
+ company 'Bang! Bang! Bang!'
72
+ homepage 'https://bangbangbang.com'
244
73
  end
245
74
  end
246
75
 
247
76
  interests do
248
- • 'Software Architecture'
249
- • 'Web Technologies'
250
- • 'Arduino'
251
- • 'Cooking'
252
- • 'Tea'
253
- • 'Chess'
254
- • 'Go'
255
- • 'Japan'
77
+ • 'Sex'
78
+ • 'Guns'
79
+ • 'Alcohol'
256
80
  end
257
81
  end
258
82
  ```
259
83
 
260
84
  The next command converts your CV to HTML:
261
85
 
262
- ```
263
- $ full_time
264
- ```
86
+ $ full_time -t html ./example/cv.rb ./example/template.html.erb > ./example/cv.html
265
87
 
266
88
  For the more extensive example checkout `example/cv.rb`.
267
89
 
@@ -276,21 +98,13 @@ For the more extensive example checkout `example/cv.rb`.
276
98
  * University
277
99
  * Certification
278
100
  * Course
279
- * Interests
280
101
  ```
281
102
 
282
- ## Development
283
-
284
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/rake` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
285
-
286
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
287
-
288
103
  ## TODO
289
104
 
290
- * Allow to pass CV and template file paths to executable, like `$full_time cv.rb template.html.erb`
291
105
  * Present any collection with a list in the template
292
106
  * Extend "Certification" with `expire_date`, `license_number`, `url`, `authority` (like in LinkedIn) + Adjust README "High-Level Structure"
293
- ```
107
+ ```ruby
294
108
  certificate do
295
109
  title 'AWS Certified Developer - Associate (DVA)'
296
110
  authority 'Amazon Web Services'
@@ -301,18 +115,37 @@ certificate do
301
115
  end
302
116
  ```
303
117
  * Add "Intro"
304
- ```
118
+ ```ruby
305
119
  intro <<-INTRO
306
120
  Software Engineer
307
121
  10 years in IT industry
308
122
  Engineering, development, delivery
309
123
  INTRO
310
124
  ```
311
- * Add "Services: Mandrill" to "Skills"
312
- * Open source
125
+ * Add "Skills" –> "Services" (Mandrill, Pingdom, etc)
313
126
  * Add the different template engines, e.g. render to `pdf`, `doc`, etc
127
+ * Add LinkedIn export support
128
+ * Add CI
129
+ * Add badges
130
+
131
+ ## Development
132
+
133
+ - Checkout repo
134
+ - `bin/setup` – install required dependencies
135
+ - `bin/console` – get console for experiments
136
+ - `bin/rake install` – install gem onto local machine
137
+
138
+ ## Test
139
+
140
+ - `bin/rspec spec/full_time_spec.rb` – run single test
141
+ - `bin/rake` – run all tests
142
+
143
+ ## Release
144
+
145
+ - Update the version number in `version.rb`
146
+ - `bin/rake install` – build and install gem into system gems
147
+ - `bin/rake release` – create a git tag for the version, push git commits and tags and push the `.gem` file to [rubygems.org](https://rubygems.org).
314
148
 
315
149
  ## Contributing
316
150
 
317
151
  Bug reports and pull requests are welcome on GitHub at https://github.com/Tensho/full_time.
318
-
data/example/cv.html CHANGED
@@ -27,7 +27,7 @@
27
27
  <h2>Skills</h2>
28
28
  <ul>
29
29
 
30
- <li>Languages: Ruby, SQL, JavaScript/CoffeeScript, HTML/Slim/Haml, CSS/SASS, Elixir</li>
30
+ <li>Languages: Ruby, SQL, JavaScript/CoffeeScript, HTML/Slim/Haml, CSS/SASS, Elixir, HCL</li>
31
31
 
32
32
  <li>Frameworks: Rails</li>
33
33
 
@@ -452,7 +452,7 @@
452
452
 
453
453
  <li>Reading</li>
454
454
 
455
- <li>Arduino</li>
455
+ <li>Open Source</li>
456
456
 
457
457
  <li>Cooking</li>
458
458
 
data/example/cv.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'full_time'
2
2
 
3
- @profile = FullTime.profile do
3
+ FullTime.profile do
4
4
  name 'Andrew Babichev'
5
5
  email 'andrew.babichev@gmail.com'
6
6
  homepage 'http://tensho.github.io'
@@ -12,7 +12,7 @@ require 'full_time'
12
12
  extra 'Visa: Sponsorship required'
13
13
 
14
14
  skills do
15
- • 'Languages: Ruby, SQL, JavaScript/CoffeeScript, HTML/Slim/Haml, CSS/SASS, Elixir'
15
+ • 'Languages: Ruby, SQL, JavaScript/CoffeeScript, HTML/Slim/Haml, CSS/SASS, Elixir, HCL'
16
16
  • 'Frameworks: Rails'
17
17
  • 'Databases: MySQL, Postgres, DynamoDB, MongoDB, Neo4j'
18
18
  • 'Queues/Message Brokers: Redis, RabbitMQ'
@@ -191,8 +191,6 @@ require 'full_time'
191
191
  end
192
192
 
193
193
  company 'Donetskoblgaz PLC' do
194
- # description 'Donetskoblgaz is the regional gas transfer monopolist'
195
-
196
194
  project 'Internal accounting system', start_date: 'July 2008', end_date: 'October 2012' do
197
195
  homepage ''
198
196
  description ''
@@ -270,7 +268,7 @@ require 'full_time'
270
268
  • 'Software Architecture'
271
269
  • 'Web Technologies'
272
270
  • 'Reading'
273
- • 'Arduino'
271
+ • 'Open Source'
274
272
  • 'Cooking'
275
273
  • 'Tea'
276
274
  • 'Chess'
@@ -1,6 +1,6 @@
1
1
  <html>
2
2
  <head>
3
- <title>Andrew Babichev CV</title>
3
+ <title><%= name %> CV</title>
4
4
  <meta charset="utf-8">
5
5
  <link rel="stylesheet" href="simple-grid.css">
6
6
  </head>
data/exe/full_time ADDED
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # frozen_string_literal: true
4
+
5
+ require 'optparse'
6
+ require "full_time"
7
+
8
+ options = {}
9
+
10
+ OptionParser.new do |opts|
11
+ opts.banner = "Usage: full_time [options] input template"
12
+ opts.separator ""
13
+ opts.separator "Options:"
14
+
15
+ opts.on('-t', '--type TARGET', %i(html linkedin), "Export type: html, linkedin")
16
+ opts.on('-v', '--version', "Version") do
17
+ puts FullTime::VERSION
18
+ exit
19
+ end
20
+ opts.on('-h', '--help', "Help") do
21
+ puts opts
22
+ exit
23
+ end
24
+ end.parse!(into: options)
25
+
26
+ # Read DSL
27
+ require ARGV[0]
28
+
29
+ FullTime.export!(options[:type], ARGV[1])
@@ -1,3 +1,3 @@
1
1
  module FullTime
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
data/lib/full_time.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require "full_time/version"
2
+
1
3
  require "full_time/dsl"
2
4
  require "full_time/list"
3
5
 
@@ -12,8 +14,19 @@ require "full_time/course"
12
14
 
13
15
  module FullTime
14
16
  def self.profile(&block)
15
- profile = Profile.new
16
- profile.instance_eval(&block)
17
- profile
17
+ if block_given?
18
+ @profile = Profile.new
19
+ @profile.instance_eval(&block)
20
+ end
21
+
22
+ @profile
23
+ end
24
+
25
+ def self.export!(type, template_path)
26
+ case type
27
+ when :html
28
+ require 'tilt'
29
+ puts Tilt.new(template_path).render(self.profile)
30
+ end
18
31
  end
19
32
  end
metadata CHANGED
@@ -1,97 +1,70 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: full_time
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Babichev
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-15 00:00:00.000000000 Z
11
+ date: 2019-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: tilt
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: bundler
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
- - - ">="
17
+ - - "~>"
32
18
  - !ruby/object:Gem::Version
33
- version: '0'
19
+ version: '2'
34
20
  type: :development
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
- - - ">="
24
+ - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: '2'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rake
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - ">="
31
+ - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: '0'
33
+ version: '12.0'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ">="
38
+ - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: '0'
40
+ version: '12.0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rspec
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ">="
45
+ - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: '0'
47
+ version: '3.5'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ">="
52
+ - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: '0'
54
+ version: '3.5'
69
55
  description: Handle your CV like a pro
70
56
  email: andrew.babichev@gmail.com
71
57
  executables:
72
- - console
73
- - fulltime
74
- - rake
75
- - rspec
76
- - setup
58
+ - full_time
77
59
  extensions: []
78
60
  extra_rdoc_files: []
79
61
  files:
80
- - ".gitignore"
81
- - ".rspec"
82
- - Gemfile
83
62
  - README.md
84
- - Rakefile
85
- - bin/console
86
- - bin/fulltime
87
- - bin/rake
88
- - bin/rspec
89
- - bin/setup
90
63
  - example/cv.html
91
64
  - example/cv.rb
92
65
  - example/simple-grid.css
93
66
  - example/template.html.erb
94
- - full_time.gemspec
67
+ - exe/full_time
95
68
  - lib/full_time.rb
96
69
  - lib/full_time/certification.rb
97
70
  - lib/full_time/company.rb
@@ -116,15 +89,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
89
  requirements:
117
90
  - - "~>"
118
91
  - !ruby/object:Gem::Version
119
- version: '2.0'
92
+ version: '2.2'
120
93
  required_rubygems_version: !ruby/object:Gem::Requirement
121
94
  requirements:
122
95
  - - ">="
123
96
  - !ruby/object:Gem::Version
124
97
  version: '0'
125
98
  requirements: []
126
- rubyforge_project:
127
- rubygems_version: 2.7.6
99
+ rubygems_version: 3.0.4
128
100
  signing_key:
129
101
  specification_version: 4
130
102
  summary: Simple CV DSL
data/.gitignore DELETED
@@ -1,3 +0,0 @@
1
- /.bundle/
2
- /Gemfile.lock
3
- /*.sublime-*
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in full_time.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task default: :spec
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "full_time"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start
data/bin/fulltime DELETED
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'tilt'
3
- require '../example/cv'
4
-
5
- template = Tilt.new("../example/template.html.erb")
6
-
7
- html = template.render(@profile)
8
-
9
- File.open("../example/cv.html", 'w') do |file|
10
- file.write(html)
11
- end
data/bin/rake DELETED
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'rake' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("rake", "rake")
data/bin/rspec DELETED
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'rspec' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("rspec-core", "rspec")
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here
data/full_time.gemspec DELETED
@@ -1,29 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'full_time/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'full_time'
8
- spec.version = FullTime::VERSION
9
- spec.author = 'Andrew Babichev'
10
- spec.email = 'andrew.babichev@gmail.com'
11
-
12
- spec.summary = 'Simple CV DSL'
13
- spec.description = 'Handle your CV like a pro'
14
- spec.homepage = 'https://github.com/Tensho/full_time'
15
- spec.license = 'MIT'
16
-
17
- spec.post_install_message = "Thanks for installing full_time!"
18
-
19
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|features)/}) }
20
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
21
-
22
- spec.required_ruby_version = '~> 2.0'
23
-
24
- spec.add_dependency 'tilt'
25
-
26
- spec.add_development_dependency 'bundler'
27
- spec.add_development_dependency 'rake'
28
- spec.add_development_dependency 'rspec'
29
- end