language_cards 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: b9b17dee4ee233e521d211a5f25fb3ab666f619c
4
- data.tar.gz: 43f4d40ecf065c78d19fe149812204175d672eae
3
+ metadata.gz: 786919e457693647473cd092c6961215bddc833d
4
+ data.tar.gz: fe91348cb373f79008e06e4288cdb7a90c8d4663
5
5
  SHA512:
6
- metadata.gz: 26053e6f86a8e79fe943227b3fde5f2dd5310cf18c9490621282b7ed7aa1e628c53e1783f84680f1801c427fc752a73a1173bbe32ec94a46a4b3d23039d77236
7
- data.tar.gz: 70b7c8c51b4cbbfb492ab0b912fce3962e58186db7879aebe785a649559016734ca808485fd6d430650fa8461a9d97a1f07518e34ca99d3b63123a46f55d882a
6
+ metadata.gz: 02c6e75fe6e8eaa86ad653111f80958b358da3245d3c3366ac5ea178b125e3e7bc4f8d4bbb178df0d300bcd30d0dd5712dcdfde45aae2d3313251e56018e7805
7
+ data.tar.gz: 65222c75d7fa2a4fd3eeca3f15952b59eec5623164d43bef4f97f849c3737c4e595c7197b98b4d057771187aae759c6ab0ac4155944f8e17de5143221df2801b
@@ -5,7 +5,8 @@ module LanguageCards
5
5
  class LanguageCards
6
6
  def initialize
7
7
  @CARDS = {}
8
- Dir[File.join 'cards', '*.yml'].each do |c|
8
+
9
+ Dir[File.join(File.expand_path(File.join('..','..','..'), __FILE__), 'cards', '*.yml')].each do |c|
9
10
  @CARDS.merge!(YAML.load(File.open(c).read))
10
11
  end
11
12
  @CARDS = CardCollection.new @CARDS
@@ -1,3 +1,3 @@
1
1
  module LanguageCards
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: language_cards
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel P. Clark