labimotion 2.1.0.rc10 → 2.1.0.rc11

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: 8d9456ffe5c3e059a5e8dfc78ca671f0565c051bad7473c91e609de05d43b4d1
4
- data.tar.gz: d05ebbe88cd259e6c88fdc2d7948e5369646d6ec00260eb113db61ffcf29cc37
3
+ metadata.gz: b62609cc21d0cca64e84a149f6d81af0656cc3e95d5086e75f0f3b6baca27472
4
+ data.tar.gz: be1fa743e3c305cc25130deed4fe4f5bbe567fa0b07e93a9429412c981c08c64
5
5
  SHA512:
6
- metadata.gz: 7f77618f29d0a9c79e45f9c8bbdb30e387c79566966add00c7172877e40bdceca94f655b5e48a666325152f24a7d4b3f3e90873e6f2db94c20653025d7fb0e48
7
- data.tar.gz: 0d0c5438dc13b8b9025311151938abdfaca59e1c5f89b29978f97bc406e109ce22fccefa38df57084a1d76a0b31bfdd1681483bcb116831e368019673389225e
6
+ metadata.gz: b5dafb066cf6137a934e2dfb67d532c7edbf84c4dd46f076d4f9055d4d23ae61cb0568d65a99c3ee34ded0f658a4daf9ec1cffad8cffa9f25b089774f5a3c424
7
+ data.tar.gz: d085a36adef5d13a3dbfa97c4979c83afea948c17bff059c9050b88043ab0b927b9c9dea693e7057185669e632baba2be392739f535b97459e8d91626d909507
@@ -20,9 +20,7 @@ module Labimotion
20
20
  }
21
21
 
22
22
  def self.init_seeds
23
- gem_spec = Gem.loaded_specs['labimotion']
24
- gem_root = gem_spec.gem_dir if gem_spec
25
- seeds_path = File.join(gem_root, 'db', 'seeds', 'dataset_klasses.json')
23
+ seeds_path = File.join(Rails.root, 'db', 'seeds', 'json', 'dataset_klasses.json')
26
24
  seeds = JSON.parse(File.read(seeds_path))
27
25
 
28
26
  seeds['chmo'].each do |term|
@@ -2,5 +2,5 @@
2
2
 
3
3
  ## Labimotion Version
4
4
  module Labimotion
5
- VERSION = '2.1.0.rc10'
5
+ VERSION = '2.1.0.rc11'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: labimotion
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0.rc10
4
+ version: 2.1.0.rc11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chia-Lin Lin