eve_app 0.1.22 → 0.1.27
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 +5 -5
- data/.gitignore +9 -0
- data/.ruby-version +1 -0
- data/.travis.yml +15 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +167 -0
- data/app/models/eve_app/region.rb +4 -0
- data/app/models/eve_app/solar_system.rb +12 -0
- data/app/models/eve_app/solar_system_jump.rb +15 -0
- data/bin/rails +14 -0
- data/build.sh +8 -0
- data/eve_app.gemspec +30 -0
- data/lib/eve_app/sde/normalizer.rb +8 -5
- data/lib/eve_app/version.rb +1 -1
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +3 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/channels/application_cable/channel.rb +4 -0
- data/test/dummy/app/channels/application_cable/connection.rb +4 -0
- data/test/dummy/app/controllers/application_controller.rb +2 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/jobs/application_job.rb +2 -0
- data/test/dummy/app/mailers/application_mailer.rb +4 -0
- data/test/dummy/app/models/application_record.rb +3 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +35 -0
- data/test/dummy/bin/update +29 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/config/application.rb +20 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/cable.yml +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +47 -0
- data/test/dummy/config/environments/production.rb +83 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cors.rb +16 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +33 -0
- data/test/dummy/config/puma.rb +56 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/secrets.yml +32 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/db/schema.rb +490 -0
- data/test/dummy/log/.keep +0 -0
- data/test/eve_app/item_parser_test.rb +48 -0
- data/test/fixtures/types.yml +48 -0
- data/test/integration/navigation_test.rb +8 -0
- data/test/support/data/eft.txt +16 -0
- data/test/support/data/hangar.txt +10 -0
- data/test/test_helper.rb +18 -0
- metadata +123 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a1e2dcb4efd1cc1076c5bcc58c279ec51ac1cb74266c9b8b9bf00c67d268cb4b
|
4
|
+
data.tar.gz: ac3ea4310c68721086436db83958a440e5a80cac18ea2d04af28714dc170e8d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c834c70952e3c869777720bbd8c2f81e1c2fd0ebc0b3264b3102c9b034938a359027140b536593b686bcf0240b4456b0a6cee53a92a6810b201d8fe49c1adaa
|
7
|
+
data.tar.gz: c9012653a0a64573d756ab21306d4299721bac433f478e824dbe8931c7c2722a8230fe47bc9c1e75bc7db9eb50aeec3b8215c8cdde515cc381db63faffd754d8
|
data/.gitignore
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.5.1
|
data/.travis.yml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
language: ruby
|
2
|
+
cache: bundler
|
3
|
+
rvm:
|
4
|
+
- 2.5.1
|
5
|
+
before_install:
|
6
|
+
- gem update --system
|
7
|
+
deploy:
|
8
|
+
on:
|
9
|
+
branch: master
|
10
|
+
tags: true
|
11
|
+
repo: dhiemstra/eve-app
|
12
|
+
provider: rubygems
|
13
|
+
api_key:
|
14
|
+
secure: A5FDVMEgvh31HqltJMaCgzXW72SeryyMSVBpp/zSHngXYufXLGRU3KUIeEJ6uc8S7AEeFBqBRTi9384FuVevz9rP5N0X1S4NiQBCItaKjPahhj4smY9LVIT3MV4vLL4RWOfKvgnGuUsO+tnBOpah+cAy0n55TGTmFI9f+hLk7yfyKPH9GYRyZgYCFC8t3cBxrZbMn2EXRRc8M43Jn5UalHb2yVmtErqJWTg0qXNgIG6b4IbDJVlbTGLjOc3NVaPC9sDZLQz2MRTNsmxkhUJ2gZTbC75mnrazBwkNW/hoANAwbNcEh2r0t4OduVcP5aBKl3/cRIIN+CucXuYbp+vTUV0rrJe/S3uRanKYcupy8d5cNE1zvzD1YJ/MvWmHljNOaNziRzLT7/W3emp4Rrc8l/s9qJ0FiEOdhx3+BlqOkAJVSMGuZLJM5kgaMGZaKhhH7QOWGh5uxJbKG3DeKwjicPFb0Olh3lj50AEG9J1RkOwAECYMfyOS8A2Vwks0Q7yhIw09oyoF0NLMyBBmhgo+kjGhXJD+lgjNeQoE3HzrwtUpiooPdLwqhu0AVyKcNARoNiI2+3Xbu+fgYGWZ6QnFqfLDrgM1fjays0r5FfMGrDWrEcH5wB13SC7x92hho4rtGo8bEuuPqpl9Xf2eWUF4gXTGopyBoR+kKvBtteU5jNI=
|
15
|
+
gem: eve_app
|
data/Gemfile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Declare your gem's dependencies in eve-app.gemspec.
|
4
|
+
# Bundler will treat runtime dependencies like base dependencies, and
|
5
|
+
# development dependencies will be added by default to the :development group.
|
6
|
+
gemspec
|
7
|
+
|
8
|
+
# Declare any dependencies that are still in development here instead of in
|
9
|
+
# your gemspec. These might include edge Rails or gems from your path or
|
10
|
+
# Git. Remember to move these dependencies to your gemspec before releasing
|
11
|
+
# your gem to rubygems.org.
|
12
|
+
|
13
|
+
# To use a debugger
|
14
|
+
# gem 'byebug', group: [:development, :test]
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,167 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
eve_app (0.1.27)
|
5
|
+
active_model_serializers
|
6
|
+
kaminari
|
7
|
+
multi_json
|
8
|
+
rails (~> 5.1.1)
|
9
|
+
rake
|
10
|
+
rest-client
|
11
|
+
sshkit
|
12
|
+
|
13
|
+
GEM
|
14
|
+
remote: https://rubygems.org/
|
15
|
+
specs:
|
16
|
+
actioncable (5.1.6)
|
17
|
+
actionpack (= 5.1.6)
|
18
|
+
nio4r (~> 2.0)
|
19
|
+
websocket-driver (~> 0.6.1)
|
20
|
+
actionmailer (5.1.6)
|
21
|
+
actionpack (= 5.1.6)
|
22
|
+
actionview (= 5.1.6)
|
23
|
+
activejob (= 5.1.6)
|
24
|
+
mail (~> 2.5, >= 2.5.4)
|
25
|
+
rails-dom-testing (~> 2.0)
|
26
|
+
actionpack (5.1.6)
|
27
|
+
actionview (= 5.1.6)
|
28
|
+
activesupport (= 5.1.6)
|
29
|
+
rack (~> 2.0)
|
30
|
+
rack-test (>= 0.6.3)
|
31
|
+
rails-dom-testing (~> 2.0)
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
33
|
+
actionview (5.1.6)
|
34
|
+
activesupport (= 5.1.6)
|
35
|
+
builder (~> 3.1)
|
36
|
+
erubi (~> 1.4)
|
37
|
+
rails-dom-testing (~> 2.0)
|
38
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
39
|
+
active_model_serializers (0.10.7)
|
40
|
+
actionpack (>= 4.1, < 6)
|
41
|
+
activemodel (>= 4.1, < 6)
|
42
|
+
case_transform (>= 0.2)
|
43
|
+
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
|
44
|
+
activejob (5.1.6)
|
45
|
+
activesupport (= 5.1.6)
|
46
|
+
globalid (>= 0.3.6)
|
47
|
+
activemodel (5.1.6)
|
48
|
+
activesupport (= 5.1.6)
|
49
|
+
activerecord (5.1.6)
|
50
|
+
activemodel (= 5.1.6)
|
51
|
+
activesupport (= 5.1.6)
|
52
|
+
arel (~> 8.0)
|
53
|
+
activesupport (5.1.6)
|
54
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
55
|
+
i18n (>= 0.7, < 2)
|
56
|
+
minitest (~> 5.1)
|
57
|
+
tzinfo (~> 1.1)
|
58
|
+
arel (8.0.0)
|
59
|
+
builder (3.2.3)
|
60
|
+
case_transform (0.2)
|
61
|
+
activesupport
|
62
|
+
concurrent-ruby (1.0.5)
|
63
|
+
crass (1.0.4)
|
64
|
+
domain_name (0.5.20180417)
|
65
|
+
unf (>= 0.0.5, < 1.0.0)
|
66
|
+
erubi (1.7.1)
|
67
|
+
globalid (0.4.1)
|
68
|
+
activesupport (>= 4.2.0)
|
69
|
+
http-cookie (1.0.3)
|
70
|
+
domain_name (~> 0.5)
|
71
|
+
i18n (1.0.1)
|
72
|
+
concurrent-ruby (~> 1.0)
|
73
|
+
jsonapi-renderer (0.2.0)
|
74
|
+
kaminari (1.1.1)
|
75
|
+
activesupport (>= 4.1.0)
|
76
|
+
kaminari-actionview (= 1.1.1)
|
77
|
+
kaminari-activerecord (= 1.1.1)
|
78
|
+
kaminari-core (= 1.1.1)
|
79
|
+
kaminari-actionview (1.1.1)
|
80
|
+
actionview
|
81
|
+
kaminari-core (= 1.1.1)
|
82
|
+
kaminari-activerecord (1.1.1)
|
83
|
+
activerecord
|
84
|
+
kaminari-core (= 1.1.1)
|
85
|
+
kaminari-core (1.1.1)
|
86
|
+
loofah (2.2.2)
|
87
|
+
crass (~> 1.0.2)
|
88
|
+
nokogiri (>= 1.5.9)
|
89
|
+
mail (2.7.0)
|
90
|
+
mini_mime (>= 0.1.1)
|
91
|
+
method_source (0.9.0)
|
92
|
+
mime-types (3.1)
|
93
|
+
mime-types-data (~> 3.2015)
|
94
|
+
mime-types-data (3.2016.0521)
|
95
|
+
mini_mime (1.0.0)
|
96
|
+
mini_portile2 (2.3.0)
|
97
|
+
minitest (5.11.3)
|
98
|
+
multi_json (1.13.1)
|
99
|
+
net-scp (1.2.1)
|
100
|
+
net-ssh (>= 2.6.5)
|
101
|
+
net-ssh (4.2.0)
|
102
|
+
netrc (0.11.0)
|
103
|
+
nio4r (2.3.1)
|
104
|
+
nokogiri (1.8.2)
|
105
|
+
mini_portile2 (~> 2.3.0)
|
106
|
+
rack (2.0.5)
|
107
|
+
rack-test (1.0.0)
|
108
|
+
rack (>= 1.0, < 3)
|
109
|
+
rails (5.1.6)
|
110
|
+
actioncable (= 5.1.6)
|
111
|
+
actionmailer (= 5.1.6)
|
112
|
+
actionpack (= 5.1.6)
|
113
|
+
actionview (= 5.1.6)
|
114
|
+
activejob (= 5.1.6)
|
115
|
+
activemodel (= 5.1.6)
|
116
|
+
activerecord (= 5.1.6)
|
117
|
+
activesupport (= 5.1.6)
|
118
|
+
bundler (>= 1.3.0)
|
119
|
+
railties (= 5.1.6)
|
120
|
+
sprockets-rails (>= 2.0.0)
|
121
|
+
rails-dom-testing (2.0.3)
|
122
|
+
activesupport (>= 4.2.0)
|
123
|
+
nokogiri (>= 1.6)
|
124
|
+
rails-html-sanitizer (1.0.4)
|
125
|
+
loofah (~> 2.2, >= 2.2.2)
|
126
|
+
railties (5.1.6)
|
127
|
+
actionpack (= 5.1.6)
|
128
|
+
activesupport (= 5.1.6)
|
129
|
+
method_source
|
130
|
+
rake (>= 0.8.7)
|
131
|
+
thor (>= 0.18.1, < 2.0)
|
132
|
+
rake (12.3.1)
|
133
|
+
rest-client (2.0.2)
|
134
|
+
http-cookie (>= 1.0.2, < 2.0)
|
135
|
+
mime-types (>= 1.16, < 4.0)
|
136
|
+
netrc (~> 0.8)
|
137
|
+
sprockets (3.7.1)
|
138
|
+
concurrent-ruby (~> 1.0)
|
139
|
+
rack (> 1, < 3)
|
140
|
+
sprockets-rails (3.2.1)
|
141
|
+
actionpack (>= 4.0)
|
142
|
+
activesupport (>= 4.0)
|
143
|
+
sprockets (>= 3.0.0)
|
144
|
+
sqlite3 (1.3.13)
|
145
|
+
sshkit (1.16.0)
|
146
|
+
net-scp (>= 1.1.2)
|
147
|
+
net-ssh (>= 2.8.0)
|
148
|
+
thor (0.20.0)
|
149
|
+
thread_safe (0.3.6)
|
150
|
+
tzinfo (1.2.5)
|
151
|
+
thread_safe (~> 0.1)
|
152
|
+
unf (0.1.4)
|
153
|
+
unf_ext
|
154
|
+
unf_ext (0.0.7.5)
|
155
|
+
websocket-driver (0.6.5)
|
156
|
+
websocket-extensions (>= 0.1.0)
|
157
|
+
websocket-extensions (0.1.3)
|
158
|
+
|
159
|
+
PLATFORMS
|
160
|
+
ruby
|
161
|
+
|
162
|
+
DEPENDENCIES
|
163
|
+
eve_app!
|
164
|
+
sqlite3
|
165
|
+
|
166
|
+
BUNDLED WITH
|
167
|
+
1.16.1
|
@@ -11,5 +11,17 @@ class EveApp::SolarSystem < EveApp::ApplicationRecord
|
|
11
11
|
belongs_to :region
|
12
12
|
belongs_to :constellation
|
13
13
|
|
14
|
+
has_many :jumps, class_name: 'SolarSystemJump', foreign_key: :from_solar_system_id
|
14
15
|
has_many :stations
|
16
|
+
|
17
|
+
scope :nspace, -> { where(id: 30000000..30999999) }
|
18
|
+
scope :wspace, -> { where(id: 31000000..31999999) }
|
19
|
+
|
20
|
+
def security_category
|
21
|
+
case security.round(1)
|
22
|
+
when (0.5..1.0) then :high
|
23
|
+
when (0.0..0.4) then :low
|
24
|
+
when (-1.0..0.0) then :null
|
25
|
+
end
|
26
|
+
end
|
15
27
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
class EveApp::SolarSystemJump < EveApp::ApplicationRecord
|
2
|
+
belongs_to :from_region, class_name: 'EveApp::Region', foreign_key: :from_region_id
|
3
|
+
belongs_to :from_solar_system, class_name: 'EveApp::SolarSystem', foreign_key: :from_solar_system_id
|
4
|
+
belongs_to :to_region, class_name: 'EveApp::Region', foreign_key: :to_region_id
|
5
|
+
belongs_to :to_solar_system, class_name: 'EveApp::SolarSystem', foreign_key: :to_solar_system_id
|
6
|
+
|
7
|
+
scope :unique, -> {
|
8
|
+
select('
|
9
|
+
DISTINCT
|
10
|
+
(CASE WHEN from_solar_system_id < to_solar_system_id THEN from_solar_system_id ELSE to_solar_system_id END) AS from_solar_system_id,
|
11
|
+
(CASE WHEN from_solar_system_id > to_solar_system_id THEN from_solar_system_id ELSE to_solar_system_id END) AS to_solar_system_id,
|
12
|
+
from_region_id, to_region_id, from_constellation_id, to_constellation_id
|
13
|
+
').order('from_solar_system_id, to_solar_system_id')
|
14
|
+
}
|
15
|
+
end
|
data/bin/rails
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails gems
|
3
|
+
# installed from the root of your application.
|
4
|
+
|
5
|
+
ENGINE_ROOT = File.expand_path('../..', __FILE__)
|
6
|
+
ENGINE_PATH = File.expand_path('../../lib/eve_app/engine', __FILE__)
|
7
|
+
APP_PATH = File.expand_path('../../test/dummy/config/application', __FILE__)
|
8
|
+
|
9
|
+
# Set up gems listed in the Gemfile.
|
10
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
11
|
+
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
12
|
+
|
13
|
+
require 'rails/all'
|
14
|
+
require 'rails/engine/commands'
|
data/build.sh
ADDED
data/eve_app.gemspec
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
|
3
|
+
# Maintain your gem's version:
|
4
|
+
require "eve_app/version"
|
5
|
+
|
6
|
+
# Describe your gem and declare its dependencies:
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "eve_app"
|
9
|
+
s.version = EveApp::VERSION
|
10
|
+
s.authors = ["Danny Hiemstra"]
|
11
|
+
s.email = ["dannyhiemstra@gmail.com"]
|
12
|
+
s.homepage = "http://www.evebuddy.net"
|
13
|
+
s.summary = "EveApp API"
|
14
|
+
s.description = "Basic models for the EveSDE data"
|
15
|
+
s.license = "MIT"
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- test/*`.split("\n")
|
19
|
+
s.require_paths = ['lib']
|
20
|
+
|
21
|
+
s.add_dependency "rake"
|
22
|
+
s.add_dependency "rails", "~> 5.1.1"
|
23
|
+
s.add_dependency "multi_json"
|
24
|
+
s.add_dependency "sshkit"
|
25
|
+
s.add_dependency "kaminari"
|
26
|
+
s.add_dependency "rest-client"
|
27
|
+
s.add_dependency "active_model_serializers"
|
28
|
+
|
29
|
+
s.add_development_dependency "sqlite3"
|
30
|
+
end
|
@@ -16,7 +16,7 @@ module EveApp
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def primary_keys
|
19
|
-
tables = table_list.select { |_, info| info[:add_primary] }
|
19
|
+
tables = table_list.select { |_, info| !!info[:add_primary] }
|
20
20
|
tables.values.each do |info|
|
21
21
|
sql %Q(ALTER TABLE #{info[:name]} ADD id SERIAL PRIMARY KEY)
|
22
22
|
end
|
@@ -48,6 +48,9 @@ module EveApp
|
|
48
48
|
sql %Q(ALTER TABLE #{row[:table_name]} ADD PRIMARY KEY (id))
|
49
49
|
end
|
50
50
|
end
|
51
|
+
|
52
|
+
# Custom indexes
|
53
|
+
# sql %Q(CREATE INDEX IF NOT EXISTS idx_type_attributes_type_id_attribute_id ON type_attributes (type_id, attribute_id);)
|
51
54
|
end
|
52
55
|
|
53
56
|
def missing_relations
|
@@ -55,14 +58,14 @@ module EveApp
|
|
55
58
|
sql %Q(ALTER TABLE #{table_names['invTypes']} ADD IF NOT EXISTS category_name character varying)
|
56
59
|
sql %Q(ALTER TABLE #{table_names['invTypes']} ADD IF NOT EXISTS group_name character varying)
|
57
60
|
sql %Q(ALTER TABLE #{table_names['invTypes']} ADD IF NOT EXISTS market_group_name character varying)
|
58
|
-
sql %Q(ALTER TABLE #{table_names['invMarketGroups']} ADD root_group_id INTEGER DEFAULT NULL)
|
59
|
-
sql %Q(ALTER TABLE #{table_names['invTypes']} ADD market_group_root_id integer)
|
60
|
-
sql %Q(ALTER TABLE #{table_names['invTypes']} ADD blueprint_type_id integer)
|
61
|
+
sql %Q(ALTER TABLE #{table_names['invMarketGroups']} ADD IF NOT EXISTS root_group_id INTEGER DEFAULT NULL)
|
62
|
+
sql %Q(ALTER TABLE #{table_names['invTypes']} ADD IF NOT EXISTS market_group_root_id integer)
|
63
|
+
sql %Q(ALTER TABLE #{table_names['invTypes']} ADD IF NOT EXISTS blueprint_type_id integer)
|
61
64
|
sql %Q(UPDATE #{table_names['invTypes']} SET group_name = (SELECT name FROM #{table_names['invGroups']} WHERE id = #{table_names['invTypes']}.group_id))
|
62
65
|
sql %Q(UPDATE #{table_names['invTypes']} SET category_id = (SELECT category_id FROM #{table_names['invGroups']} WHERE id = #{table_names['invTypes']}.group_id))
|
63
66
|
sql %Q(UPDATE #{table_names['invTypes']} SET category_name = (SELECT name FROM #{table_names['invCategories']} WHERE id = #{table_names['invTypes']}.category_id))
|
64
67
|
sql %Q(UPDATE #{table_names['invTypes']} SET market_group_name = (SELECT name FROM #{table_names['invMarketGroups']} WHERE id = #{table_names['invTypes']}.market_group_id))
|
65
|
-
sql %Q(UPDATE #{table_names['invTypes']} SET blueprint_type_id = (SELECT type_id FROM #{table_names['industryActivityProducts']} WHERE activity_id = 1 AND product_type_id = #{table_names['invTypes']}.id LIMIT 1))
|
68
|
+
# sql %Q(UPDATE #{table_names['invTypes']} SET blueprint_type_id = (SELECT type_id FROM #{table_names['industryActivityProducts']} WHERE activity_id = 1 AND product_type_id = #{table_names['invTypes']}.id LIMIT 1))
|
66
69
|
|
67
70
|
sql %Q(
|
68
71
|
WITH RECURSIVE mg_roots(id, root_id) AS (
|
data/lib/eve_app/version.rb
CHANGED
data/test/dummy/Rakefile
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require_tree .
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
+
* It is generally better to create a new file per style scope.
|
12
|
+
*
|
13
|
+
*= require_tree .
|
14
|
+
*= require_self
|
15
|
+
*/
|
File without changes
|