salesforce_certification_calculator 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee895a9e21c058eefc6cb56279c7ec58f700b5dfec8a08d034482ba0d656a04f
4
- data.tar.gz: b988479222226cf9a93513e7eadd5aee75e8dad8db6d6ccdb1c82cd35b55c28a
3
+ metadata.gz: ef5a9b0381b8fa4e0bc2bec71b5095410c1d204e14894d4fe1bb3920b38813c5
4
+ data.tar.gz: 2792ca40ed89823d99e38498d0866a2fda1761ed3700e991e8e5f0a491d97531
5
5
  SHA512:
6
- metadata.gz: d1819b8eed67b8e1dd3b8e957a25155c4a117c009b6476c37723c8e1d97d6af71304b142d12dc847f614b1381859520e6d3f495ca662de1caf048aaf4a1eaa62
7
- data.tar.gz: 5d648caa5592a03f61f42ab341f434d8d69327158186333536780a835ba629d7ba4cb0ce81b903155e521b8324d81fe8d2e701d2de89298a41de264cacc76b39
6
+ metadata.gz: 71b256254c6f6af442ddcc5b1913d27a9d07686f97409c3530294b347b68fb4c0982cf4b7d82d8a4750c24831861da89fc2ce15ea658080b885110de767c4c7c
7
+ data.tar.gz: 3b6dbfd4b6e2035f618eda5bebd96319c895e2a2d02ded544383a8693860eb5b8a2c3ae08739374d960d9d7c31b5ced62155413acc1838e2ad0bf07c88d3db20
data/README.md CHANGED
@@ -62,11 +62,11 @@ If you have trouble downloading the package or just want to play around with the
62
62
  1. Fork this repository
63
63
  2. Clone it to your local computer
64
64
  3. From within your local version of the directory, build the module: `gem build salesforce_certification_calculator.gemspec`
65
- 4. Then install that built module: `gem install ./salesforce_certification_calculator-0.2.0.gem`
65
+ 4. Then install that built module: `gem install ./salesforce_certification_calculator-0.2.1.gem`
66
66
  5. Open a Ruby environment to use the module: `irb`
67
67
  6. Execute any of the recently installed methods
68
68
 
69
- You may need to update the specific version of the build as later releases come out (e.g., `-0.2.0.gem` may need to become `-0.3.0.gem`).
69
+ You may need to update the specific version of the build as later releases come out (e.g., `-0.2.1.gem` may need to become `-0.3.0.gem`).
70
70
 
71
71
  ## Usage
72
72
 
@@ -28,7 +28,8 @@ class SalesforceCertificationCalculator::FileReader
28
28
 
29
29
  files.each do |file|
30
30
  exam = SFC::Exam.new
31
- doc = File.open(file) { |f| Nokogiri::XML(f) }
31
+ file_path = base_path + "/" + file
32
+ doc = File.open(file_path) { |f| Nokogiri::XML(f) }
32
33
  title = doc.at_xpath("//title")
33
34
  exam.title = title.content
34
35
  exam.file = file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salesforce_certification_calculator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jackson Reeves