eve_app 0.1.13 → 0.1.14

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: 5c85127701ff9d3a1ace91a4eb1bb5ca7af62dbe
4
- data.tar.gz: 1de3656854b9de5efa4c7679791ce38ac1701908
3
+ metadata.gz: b880bd02e4781d4893e1000a79542c6feb665ac1
4
+ data.tar.gz: d9a4bc5751186a1eb125b766c027f72c11c88cbe
5
5
  SHA512:
6
- metadata.gz: b05b94b1b89d5d90031fb20fa9a615a5a68fa0a859d5566abbfc83bc522db2ff338d5ec8ec4eb06c7b0809f525b2661e4816c454c148a5d5b8490a9b6f0b6feb
7
- data.tar.gz: 5c01014f1db9e8fcd15f95ca7386cd5561db3d4cf9b36c64a83633937786fc58390ea561ba454bd6899e12800cc262ac9d118e7210479fad220fa4ab13114561
6
+ metadata.gz: 2e68ec7554973f322be2a4b73c218412bda025aaf37b93a5d6fe7a9e4ecf22c2247e7720401946b988e4c9c880ed317404e66eed95e9898a68abf019833e04d8
7
+ data.tar.gz: 0d5a7312d85c9ea5b8c660c5fe58c0e0dbc7ad1ac9f57b304bac6b19c817881a249e39f550ce2fadfb33c7346632976aeb7189d62293145d7d5d3ff6f1f73ab5
@@ -61,21 +61,23 @@ class EveApp::Type < EveApp::ApplicationRecord
61
61
 
62
62
  def sort_index
63
63
  case category_id
64
+ when EveApp::Category::ASTEROID
65
+ [market_group_name, base_price].join('-')
64
66
  when EveApp::Category::SHIP
65
- return 1000
67
+ 1000
66
68
  when EveApp::Category::MODULE
67
69
  case market_group_root_id
68
70
  when EveApp::MarketGroup::SHIP_MODIFICATIONS
69
- return 1500
71
+ 1500
70
72
  else
71
- return 1100
73
+ 1100
72
74
  end
73
75
  when EveApp::Category::CHARGE
74
76
  case market_group_id
75
77
  when EveApp::MarketGroup::NANITE_PASTE
76
- return 1300
78
+ 1300
77
79
  else
78
- return 1200
80
+ 1200
79
81
  end
80
82
  when EveApp::Category::DRONE then 1500
81
83
  else 2000
@@ -1,3 +1,3 @@
1
1
  module EveApp
2
- VERSION = '0.1.13'
2
+ VERSION = '0.1.14'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eve_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Hiemstra