evematic 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +9 -0
- data/README.md +23 -0
- data/Rakefile +7 -0
- data/app/controllers/evematic/application_controller.rb +2 -0
- data/app/helpers/evematic/application_helper.rb +2 -0
- data/app/jobs/evematic/application_job.rb +2 -0
- data/app/mailers/evematic/application_mailer.rb +6 -0
- data/app/models/evematic/application_record.rb +5 -0
- data/config/i18n-tasks.yml +155 -0
- data/config/locales/evematic.en.yml +5 -0
- data/config/routes.rb +2 -0
- data/lib/evematic/engine.rb +25 -0
- data/lib/evematic/version.rb +3 -0
- data/lib/evematic.rb +6 -0
- metadata +99 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7565c6e469317d256f491a395e804ae26cd7d5ceab1462ea7e0bc3ec92af0915
|
4
|
+
data.tar.gz: 5e0a73ce00bec88e3a6519315f7c2bc56bcca59135269f5fcf5c977769e00181
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9a3972c7130e2684a72c9576867b3fd70a2c5d9b4aac1efb9047ee2f08e67abaed435cd3370f635e6102adcc982c0393c821de9058ee3a4fe12befbe91fe14e1
|
7
|
+
data.tar.gz: fd2601c9d2a6ccdf4fef2ce5b422f41a8774d95b2c0c98d487ef107b3c1312a8aef6db03bd9e2e662f9b11631c3fc2da3c2efd640d689b513129b20dc49aca94
|
data/LICENSE.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# MIT License
|
2
|
+
|
3
|
+
Copyright © 2023 Bokobo Shahni <shahni@bokobo.space>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# Evematic
|
2
|
+
|
3
|
+
🚧 **Coming Soon** 🚧
|
4
|
+
|
5
|
+
**Evematic** is a toolkit for building third party applications for [EVE Online](https://eveonline.com) with [Ruby on Rails](https://rubyonrails.org).
|
6
|
+
|
7
|
+
## License
|
8
|
+
|
9
|
+
Copyright © 2023 Bokobo Shahni <shahni@bokobo.space>
|
10
|
+
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
16
|
+
|
17
|
+
### CCP hf. Developer License Agreement
|
18
|
+
|
19
|
+
This software is developed in accordance with the [CCP hf. Developer License Agreement](https://developers.eveonline.com/resource/license-agreement).
|
20
|
+
|
21
|
+
CCP Tools and Game Data as defined by the CCP hf. Developer License Agreement © is 2014 CCP hf. All rights reserved.
|
22
|
+
|
23
|
+
"EVE", "EVE Online", "CCP", and all related logos and images are trademarks or registered trademarks of CCP hf.
|
data/Rakefile
ADDED
@@ -0,0 +1,155 @@
|
|
1
|
+
# i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks
|
2
|
+
|
3
|
+
# The "main" locale.
|
4
|
+
base_locale: en
|
5
|
+
## All available locales are inferred from the data by default. Alternatively, specify them explicitly:
|
6
|
+
# locales: [es, fr]
|
7
|
+
## Reporting locale, default: en. Available: en, ru.
|
8
|
+
# internal_locale: en
|
9
|
+
|
10
|
+
# Read and write translations.
|
11
|
+
data:
|
12
|
+
## Translations are read from the file system. Supported format: YAML, JSON.
|
13
|
+
## Provide a custom adapter:
|
14
|
+
# adapter: I18n::Tasks::Data::FileSystem
|
15
|
+
|
16
|
+
# Locale files or `File.find` patterns where translations are read from:
|
17
|
+
read:
|
18
|
+
- config/locales/**/*.%{locale}.yml
|
19
|
+
## Default:
|
20
|
+
# - config/locales/%{locale}.yml
|
21
|
+
## More files:
|
22
|
+
# - config/locales/**/*.%{locale}.yml
|
23
|
+
|
24
|
+
# Locale files to write new keys to, based on a list of key pattern => file rules. Matched from top to bottom:
|
25
|
+
# `i18n-tasks normalize -p` will force move the keys according to these rules
|
26
|
+
write:
|
27
|
+
## For example, write devise and simple form keys to their respective files:
|
28
|
+
# - ['{devise, simple_form}.*', 'config/locales/\1.%{locale}.yml']
|
29
|
+
## Catch-all default:
|
30
|
+
# - config/locales/%{locale}.yml
|
31
|
+
|
32
|
+
# External locale data (e.g. gems).
|
33
|
+
# This data is not considered unused and is never written to.
|
34
|
+
external:
|
35
|
+
## Example (replace %#= with %=):
|
36
|
+
# - "<%#= %x[bundle info vagrant --path].chomp %>/templates/locales/%{locale}.yml"
|
37
|
+
|
38
|
+
## Specify the router (see Readme for details). Valid values: conservative_router, pattern_router, or a custom class.
|
39
|
+
# router: conservative_router
|
40
|
+
|
41
|
+
yaml:
|
42
|
+
write:
|
43
|
+
# do not wrap lines at 80 characters
|
44
|
+
line_width: -1
|
45
|
+
|
46
|
+
## Pretty-print JSON:
|
47
|
+
# json:
|
48
|
+
# write:
|
49
|
+
# indent: ' '
|
50
|
+
# space: ' '
|
51
|
+
# object_nl: "\n"
|
52
|
+
# array_nl: "\n"
|
53
|
+
|
54
|
+
# Find translate calls
|
55
|
+
search:
|
56
|
+
## Paths or `File.find` patterns to search in:
|
57
|
+
# paths:
|
58
|
+
# - app/
|
59
|
+
|
60
|
+
## Root directories for relative keys resolution.
|
61
|
+
# relative_roots:
|
62
|
+
# - app/controllers
|
63
|
+
# - app/helpers
|
64
|
+
# - app/mailers
|
65
|
+
# - app/presenters
|
66
|
+
# - app/views
|
67
|
+
|
68
|
+
## Directories where method names which should not be part of a relative key resolution.
|
69
|
+
# By default, if a relative translation is used inside a method, the name of the method will be considered part of the resolved key.
|
70
|
+
# Directories listed here will not consider the name of the method part of the resolved key
|
71
|
+
#
|
72
|
+
# relative_exclude_method_name_paths:
|
73
|
+
# -
|
74
|
+
|
75
|
+
## Files or `File.fnmatch` patterns to exclude from search. Some files are always excluded regardless of this setting:
|
76
|
+
## *.jpg *.jpeg *.png *.gif *.svg *.ico *.eot *.otf *.ttf *.woff *.woff2 *.pdf *.css *.sass *.scss *.less
|
77
|
+
## *.yml *.json *.zip *.tar.gz *.swf *.flv *.mp3 *.wav *.flac *.webm *.mp4 *.ogg *.opus *.webp *.map *.xlsx
|
78
|
+
exclude:
|
79
|
+
- app/assets/images
|
80
|
+
- app/assets/fonts
|
81
|
+
- app/assets/videos
|
82
|
+
- app/assets/builds
|
83
|
+
|
84
|
+
## Alternatively, the only files or `File.fnmatch patterns` to search in `paths`:
|
85
|
+
## If specified, this settings takes priority over `exclude`, but `exclude` still applies.
|
86
|
+
# only: ["*.rb", "*.html.slim"]
|
87
|
+
|
88
|
+
## If `strict` is `false`, guess usages such as t("categories.#{category}.title"). The default is `true`.
|
89
|
+
# strict: true
|
90
|
+
|
91
|
+
## Allows adding ast_matchers for finding translations using the AST-scanners
|
92
|
+
## The available matchers are:
|
93
|
+
## - RailsModelMatcher
|
94
|
+
## Matches ActiveRecord translations like
|
95
|
+
## User.human_attribute_name(:email) and User.model_name.human
|
96
|
+
##
|
97
|
+
## To implement your own, please see `I18n::Tasks::Scanners::AstMatchers::BaseMatcher`.
|
98
|
+
# <%# I18n::Tasks.add_ast_matcher('I18n::Tasks::Scanners::AstMatchers::RailsModelMatcher') %>
|
99
|
+
|
100
|
+
## Multiple scanners can be used. Their results are merged.
|
101
|
+
## The options specified above are passed down to each scanner. Per-scanner options can be specified as well.
|
102
|
+
## See this example of a custom scanner: https://github.com/glebm/i18n-tasks/wiki/A-custom-scanner-example
|
103
|
+
|
104
|
+
## Translation Services
|
105
|
+
# translation:
|
106
|
+
# # Google Translate
|
107
|
+
# # Get an API key and set billing info at https://code.google.com/apis/console to use Google Translate
|
108
|
+
# google_translate_api_key: "AbC-dEf5"
|
109
|
+
# # DeepL Pro Translate
|
110
|
+
# # Get an API key and subscription at https://www.deepl.com/pro to use DeepL Pro
|
111
|
+
# deepl_api_key: "48E92789-57A3-466A-9959-1A1A1A1A1A1A"
|
112
|
+
# # deepl_host: "https://api.deepl.com"
|
113
|
+
# # deepl_version: "v2"
|
114
|
+
|
115
|
+
## Do not consider these keys missing:
|
116
|
+
# ignore_missing:
|
117
|
+
# - 'errors.messages.{accepted,blank,invalid,too_short,too_long}'
|
118
|
+
# - '{devise,simple_form}.*'
|
119
|
+
|
120
|
+
## Consider these keys used:
|
121
|
+
ignore_unused:
|
122
|
+
- evematic.engine.name
|
123
|
+
# - 'activerecord.attributes.*'
|
124
|
+
# - '{devise,kaminari,will_paginate}.*'
|
125
|
+
# - 'simple_form.{yes,no}'
|
126
|
+
# - 'simple_form.{placeholders,hints,labels}.*'
|
127
|
+
# - 'simple_form.{error_notification,required}.:'
|
128
|
+
|
129
|
+
## Exclude these keys from the `i18n-tasks eq-base' report:
|
130
|
+
# ignore_eq_base:
|
131
|
+
# all:
|
132
|
+
# - common.ok
|
133
|
+
# fr,es:
|
134
|
+
# - common.brand
|
135
|
+
|
136
|
+
## Exclude these keys from the `i18n-tasks check-consistent-interpolations` report:
|
137
|
+
# ignore_inconsistent_interpolations:
|
138
|
+
# - 'activerecord.attributes.*'
|
139
|
+
|
140
|
+
## Ignore these keys completely:
|
141
|
+
# ignore:
|
142
|
+
# - kaminari.*
|
143
|
+
|
144
|
+
## Sometimes, it isn't possible for i18n-tasks to match the key correctly,
|
145
|
+
## e.g. in case of a relative key defined in a helper method.
|
146
|
+
## In these cases you can use the built-in PatternMapper to map patterns to keys, e.g.:
|
147
|
+
#
|
148
|
+
# <%# I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper',
|
149
|
+
# only: %w(*.html.haml *.html.slim),
|
150
|
+
# patterns: [['= title\b', '.page_title']] %>
|
151
|
+
#
|
152
|
+
# The PatternMapper can also match key literals via a special %{key} interpolation, e.g.:
|
153
|
+
#
|
154
|
+
# <%# I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper',
|
155
|
+
# patterns: [['\bSpree\.t[( ]\s*%{key}', 'spree.%{key}']] %>
|
data/config/routes.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
Gem.loaded_specs["evematic"].dependencies.each do |dep|
|
2
|
+
require dep.name
|
3
|
+
end
|
4
|
+
|
5
|
+
class Evematic::Engine < ::Rails::Engine
|
6
|
+
isolate_namespace Evematic
|
7
|
+
|
8
|
+
config.app_middleware.use(
|
9
|
+
Rack::Static,
|
10
|
+
urls: ["evematic-assets"],
|
11
|
+
root: Evematic::Engine.root.join("public")
|
12
|
+
)
|
13
|
+
|
14
|
+
initializer "evematic.inflections" do
|
15
|
+
ActiveSupport::Inflector.inflections(:en) do |inflect|
|
16
|
+
inflect.acronym "API"
|
17
|
+
inflect.acronym "ESI"
|
18
|
+
inflect.acronym "EVE"
|
19
|
+
inflect.acronym "OAuth"
|
20
|
+
inflect.acronym "OmniAuth"
|
21
|
+
inflect.acronym "SSO"
|
22
|
+
inflect.acronym "UI"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
data/lib/evematic.rb
ADDED
metadata
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: evematic
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Bokobo Shahni
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-02-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '7.0'
|
20
|
+
- - "<="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '7.2'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '7.0'
|
30
|
+
- - "<="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '7.2'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: turbo-rails
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.3'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.3'
|
47
|
+
description: Evematic is a full-stack toolkit for building third party applications
|
48
|
+
for EVE Online with Ruby on Rails.
|
49
|
+
email:
|
50
|
+
- shahni@bokobo.space
|
51
|
+
executables: []
|
52
|
+
extensions: []
|
53
|
+
extra_rdoc_files: []
|
54
|
+
files:
|
55
|
+
- LICENSE.md
|
56
|
+
- README.md
|
57
|
+
- Rakefile
|
58
|
+
- app/controllers/evematic/application_controller.rb
|
59
|
+
- app/helpers/evematic/application_helper.rb
|
60
|
+
- app/jobs/evematic/application_job.rb
|
61
|
+
- app/mailers/evematic/application_mailer.rb
|
62
|
+
- app/models/evematic/application_record.rb
|
63
|
+
- config/i18n-tasks.yml
|
64
|
+
- config/locales/evematic.en.yml
|
65
|
+
- config/routes.rb
|
66
|
+
- lib/evematic.rb
|
67
|
+
- lib/evematic/engine.rb
|
68
|
+
- lib/evematic/version.rb
|
69
|
+
homepage: https://evematic.dev
|
70
|
+
licenses:
|
71
|
+
- MIT
|
72
|
+
metadata:
|
73
|
+
bug_tracker_uri: https://github.com/evematic/evematic/issues
|
74
|
+
changelog_uri: https://github.com/evematic/evematic/blob/v0.1.0/CHANGELOG.md
|
75
|
+
documentation_uri: https://api.evematic.dev/v0.1.0
|
76
|
+
homepage_uri: https://evematic.dev
|
77
|
+
mailing_list_uri: https://github.com/org/evematic/discussions
|
78
|
+
source_code_uri: https://github.com/evematic/evematic/tree/v0.1.0
|
79
|
+
rubygems_mfa_required: 'true'
|
80
|
+
post_install_message:
|
81
|
+
rdoc_options: []
|
82
|
+
require_paths:
|
83
|
+
- lib
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '3.0'
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 3.2.3
|
94
|
+
requirements: []
|
95
|
+
rubygems_version: 3.4.1
|
96
|
+
signing_key:
|
97
|
+
specification_version: 4
|
98
|
+
summary: Build EVE Online third party applications with Ruby on Rails
|
99
|
+
test_files: []
|