match_skills_gem 0.1.0 → 0.1.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: 1129b2bd77f8b4924f2d3b5a34c25afc2640ee912255596797dbf0f979fc2ad1
4
- data.tar.gz: d5966e85274e8a9807695e4f843807ea2582c1b3d621945917fd287b1a357da7
3
+ metadata.gz: eb7846730608a2186972161490792c41a7ae03b7dc75ca20f5bc7d768d9efdfc
4
+ data.tar.gz: c592dbd5800955edce241782029e32e565c849d2bec4fe25843db3d21eba885d
5
5
  SHA512:
6
- metadata.gz: 44090d4047c07933792ff5325595b7da66509b11730e475b92522b69a397d46f974d3cbde6ee4d4db41adf08112d1ae3c48ae9bc317b8b85e4168ef11c802f0c
7
- data.tar.gz: a400f16e0688dad9357422c2ac819908906831e63b9862c0ba5f7eb5cff9660a3c5f9429c7f23468a9af4f64e7c1499b087dddfb27f265c3da847bac719f3681
6
+ metadata.gz: 770f430af8705f21a19ce3ffe5cac6f4ad748276437be7dea96732e09ba68a7aa8ffa2ccf29e5d423e47e5e2e654cd2c9315e4eb9eadd9c6da6d7eba137e9d3b
7
+ data.tar.gz: 28cd1a7c9f449a4048312924f2b04ca00aad30c73f30ec9936ceb34c01bbbcf22719b7481b5d0a1c4a67616c2086982db1393e79296959680d1041e11a85fcde
data/README.md CHANGED
@@ -21,9 +21,21 @@ Or install it yourself as:
21
21
  $ gem install match_skills_gem
22
22
 
23
23
  ## Usage
24
+ To use MatchSkills, you need to require the gem and call the match? method on the MatchSkillsGem::MatchSkills class with two arrays: required_skills and applicant_skills.
24
25
 
25
- TODO: Write usage instructions here
26
+ ## Example
26
27
 
28
+ ```ruby
29
+ require 'skills_matcher'
30
+
31
+ required_skills = ["Ruby", "JavaScript", "React", "HTML", "CSS"]
32
+ applicant_skills = ["Ruby", "Python", "HTML", "CSS", "JavaScript"]
33
+
34
+ match = SkillsMatcher::Matcher.match?(required_skills, applicant_skills)
35
+
36
+ puts match # Output: true
37
+
38
+ ```
27
39
  ## Development
28
40
 
29
41
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -12,5 +12,4 @@ module MatchSkillsGem
12
12
  match_percentage >= 60
13
13
  end
14
14
  end
15
- # Your code goes here...
16
15
  end
@@ -2,7 +2,7 @@ require_relative 'lib/match_skills_gem/version'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "match_skills_gem"
5
- spec.version = "0.1.0"
5
+ spec.version = "0.1.1"
6
6
  spec.authors = ["Than Htike Zaw"]
7
7
  spec.email = ["thanhtikezaw@onenex.co"]
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: match_skills_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Than Htike Zaw