rapils 0.1.0.pre.alpha1 → 0.1.0.pre.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{MIT-LICENSE → LICENSE} +0 -0
- data/README.md +3 -1
- data/lib/rapils/application.rb +0 -18
- data/lib/rapils/setup.rb +3 -1
- data/lib/rapils/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 293ccaeddd44fb1980fa87e63d37442ef478f898cc6ec8e9c6d7e6484cc7a805
|
4
|
+
data.tar.gz: bf493143bd5ecf188180b8988d368cfdb2c1bd00b7f75270b3e2c13f86b16212
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b07e13a2d4dee3c037d6c91008ac15151ddeb578332afb682ecb6cc8c195d1a7e8bbc3d1ffe8eb3f6effcd4231f0ff581b1bf625cf8265a6e8c978ca78ba0e88
|
7
|
+
data.tar.gz: 14c1a5925455c8ee8d42f3377f0090a5eed90e207c83d167635b66a3f9000bc6acffe7b6652b7c8f172b6d53d89dc1503be6bad4bdc5ec87f0ab8c21ebc63475
|
data/{MIT-LICENSE → LICENSE}
RENAMED
File without changes
|
data/README.md
CHANGED
data/lib/rapils/application.rb
CHANGED
@@ -15,24 +15,6 @@ module Rapils
|
|
15
15
|
g.system_tests = nil
|
16
16
|
end
|
17
17
|
|
18
|
-
# Email
|
19
|
-
config.action_mailer.raise_delivery_errors = true
|
20
|
-
config.action_mailer.perform_deliveries = true
|
21
|
-
config.action_mailer.delivery_method = :smtp
|
22
|
-
config.action_mailer.smtp_settings = {
|
23
|
-
address: ENV['SMTP_HOST'] || 'localhost',
|
24
|
-
port: ENV['SMTP_PORT'] || 1025,
|
25
|
-
domain: ENV['SMTP_DOMAIN'] || 'localhozt',
|
26
|
-
user_name: ENV['SMTP_USERNAME'],
|
27
|
-
password: ENV['SMTP_PASSWORD'],
|
28
|
-
authentication: ENV['SMTP_AUTHENTICATION'] || 'plain',
|
29
|
-
enable_starttls_auto: true,
|
30
|
-
}
|
31
|
-
config.action_mailer.default_url_options = {
|
32
|
-
scheme: 'https',
|
33
|
-
host: ENV['WWW_HOST'] || 'localhost',
|
34
|
-
}
|
35
|
-
|
36
18
|
# Override encryption with diffcrypt
|
37
19
|
def encrypted(path, key_path: 'config/master.key', env_key: 'RAILS_MASTER_KEY')
|
38
20
|
Diffcrypt::Rails::EncryptedConfiguration.new(
|
data/lib/rapils/setup.rb
CHANGED
@@ -16,13 +16,15 @@ module Rapils
|
|
16
16
|
|
17
17
|
def self.setup(dependencies = DEFAULT_DEPENDENCIES)
|
18
18
|
# Require core libraries that would usually be in app Gemfile
|
19
|
-
require 'diffcrypt'
|
20
19
|
require 'pg'
|
21
20
|
|
22
21
|
# Load core rails dependencies
|
23
22
|
require 'rails'
|
24
23
|
dependencies.each { |dependency| require dependency }
|
25
24
|
|
25
|
+
# Diffcrypt must be included after rails, since it now uses railties
|
26
|
+
require 'diffcrypt'
|
27
|
+
|
26
28
|
# Require the gems listed in Gemfile, including any gems
|
27
29
|
# you've limited to :test, :development, or :production.
|
28
30
|
Bundler.require(*Rails.groups)
|
data/lib/rapils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rapils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.
|
4
|
+
version: 0.1.0.pre.alpha2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc Qualie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diffcrypt
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: fast_jsonapi
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,7 +170,7 @@ executables: []
|
|
170
170
|
extensions: []
|
171
171
|
extra_rdoc_files: []
|
172
172
|
files:
|
173
|
-
-
|
173
|
+
- LICENSE
|
174
174
|
- README.md
|
175
175
|
- Rakefile
|
176
176
|
- db/migrate/20200724222614_create_users.rb
|
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: 1.3.1
|
215
215
|
requirements: []
|
216
|
-
rubygems_version: 3.
|
216
|
+
rubygems_version: 3.0.3
|
217
217
|
signing_key:
|
218
218
|
specification_version: 4
|
219
219
|
summary: Opinionated out-of-the-box Rails API framework
|