eve_app 0.1.19 → 0.1.20

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: e3f6000960597883f4719d941898885ffe7c5aae
4
- data.tar.gz: c34ed9e0dd214eddfc03ca5891da188683443f27
3
+ metadata.gz: d7525d1e2f3de4fffdcec10cfb8aa749388a7d6f
4
+ data.tar.gz: 4a9f96afbe109423d52add4b34500aee40b09d60
5
5
  SHA512:
6
- metadata.gz: 31d149ba114341394dbd2043453421fec0cfdcb60884ef110a6ead593263b7e610a96251db6940daed1fd68c172a2989514e24094aaf4212ef56fbb4779860bf
7
- data.tar.gz: 6eaec203b8dea64d6bf7eaf65e6b890cba8b0c8316f3f440adde522224a99b5b2c042c608fab3b2cd1968b8c63729bbd398216e84241c97e2c6677f65c2ee30b
6
+ metadata.gz: 15786edf8f7e660ca963b08a13ae4276f427ab65f97fd3ba3ce89d5ccf27cb6560cae3a06ecfe93d12983fc1165913f1508b2e0b27ba6eb5a9fd9d669d32902f
7
+ data.tar.gz: 2d1b9c32525731dfa30684ff04cf39c7ba665150df680e93ccf57d5819e24271f429dcd607df6e94147c9188408aa8847f839c51233d92afbda2192a46158397
@@ -19,10 +19,12 @@ class EveApp::Type < EveApp::ApplicationRecord
19
19
 
20
20
  def kind
21
21
  case group_id
22
- when *EveApp::Group::MINERAL then :mineral
23
- when *EveApp::Group::COMPONENTS then :component
24
- when *EveApp::Group::SUPER_CAPITALS then :supercapital
25
- when *EveApp::Group::CAPITALS then :capital
22
+ when *EveApp::Group::MINERAL then :mineral
23
+ when EveApp::Group::CAPITAL_COMPONENT then :capital_component
24
+ when *EveApp::Group::COMPONENTS then :component
25
+ when *EveApp::Group::SUPER_CAPITALS then :supercapital
26
+ when *EveApp::Group::CAPITALS then :capital
27
+ when *EveApp::Group::CAPITALS then :capital
26
28
  else category_name.downcase.gsub(' ', '_').to_sym
27
29
  end
28
30
  end
@@ -1,3 +1,3 @@
1
1
  module EveApp
2
- VERSION = '0.1.19'
2
+ VERSION = '0.1.20'
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.19
4
+ version: 0.1.20
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-10 00:00:00.000000000 Z
11
+ date: 2017-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails