eve_app 0.1.20 → 0.1.21

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
  SHA1:
3
- metadata.gz: d7525d1e2f3de4fffdcec10cfb8aa749388a7d6f
4
- data.tar.gz: 4a9f96afbe109423d52add4b34500aee40b09d60
3
+ metadata.gz: 722eb2022a8d782789d756574553b4596a6eedd0
4
+ data.tar.gz: fc53dbdf8afe0f22daecfd14877fb7a1712919aa
5
5
  SHA512:
6
- metadata.gz: 15786edf8f7e660ca963b08a13ae4276f427ab65f97fd3ba3ce89d5ccf27cb6560cae3a06ecfe93d12983fc1165913f1508b2e0b27ba6eb5a9fd9d669d32902f
7
- data.tar.gz: 2d1b9c32525731dfa30684ff04cf39c7ba665150df680e93ccf57d5819e24271f429dcd607df6e94147c9188408aa8847f839c51233d92afbda2192a46158397
6
+ metadata.gz: e8b489801cb5f575002dfed696f4ff0b8e54a975f421daea83b03335d1b7cb6c53d1e53b321741d6911ee3d9d58af2e0278e85229dc6c7eb53947956f68bb2a0
7
+ data.tar.gz: f091ea509147a81db29115d927bd6324b1f526d05454abfc5a9824ff3e0d668b5a85f5b980b581082ca1d5043f8e5b37f7fc12e14670842125e830ab3108b60a
@@ -24,8 +24,11 @@ class EveApp::Type < EveApp::ApplicationRecord
24
24
  when *EveApp::Group::COMPONENTS then :component
25
25
  when *EveApp::Group::SUPER_CAPITALS then :supercapital
26
26
  when *EveApp::Group::CAPITALS then :capital
27
- when *EveApp::Group::CAPITALS then :capital
28
- else category_name.downcase.gsub(' ', '_').to_sym
27
+ else
28
+ case market_group_root_id
29
+ when EveApp::MarketGroup::SHIP_MODIFICATIONS then :rig
30
+ else category_name.downcase.gsub(' ', '_').to_sym
31
+ end
29
32
  end
30
33
  end
31
34
 
@@ -1,3 +1,3 @@
1
1
  module EveApp
2
- VERSION = '0.1.20'
2
+ VERSION = '0.1.21'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eve_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Hiemstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-18 00:00:00.000000000 Z
11
+ date: 2017-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails