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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6e7a6c654a9af37aaafbaf197e42d863184864481a581999651e44e8b96ce40
4
- data.tar.gz: c944aa177efe1e7741d201b7a2ae5d445068cac8dbc11da14f000b3e18b4c100
3
+ metadata.gz: 293ccaeddd44fb1980fa87e63d37442ef478f898cc6ec8e9c6d7e6484cc7a805
4
+ data.tar.gz: bf493143bd5ecf188180b8988d368cfdb2c1bd00b7f75270b3e2c13f86b16212
5
5
  SHA512:
6
- metadata.gz: d8de9a618c19f8600c46ad2aecf7b4dca1924fe6998ecff4e0865001821e449fb6e26e1349327c725cf364021113ddbcdc3b6aa18424ecb086ca61bc9ea06a78
7
- data.tar.gz: d73f40e4e350f28fca740e1af948b4cd2cf49993dc9da59c67e6f2bbe26573b725be477aa07fb2dcdb214a3aea33e545ef685f9dc456f0e7e433a2659c695ee5
6
+ metadata.gz: b07e13a2d4dee3c037d6c91008ac15151ddeb578332afb682ecb6cc8c195d1a7e8bbc3d1ffe8eb3f6effcd4231f0ff581b1bf625cf8265a6e8c978ca78ba0e88
7
+ data.tar.gz: 14c1a5925455c8ee8d42f3377f0090a5eed90e207c83d167635b66a3f9000bc6acffe7b6652b7c8f172b6d53d89dc1503be6bad4bdc5ec87f0ab8c21ebc63475
File without changes
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Rapils
2
2
 
3
- Opinionated out-of-the-box API + UI framework.
3
+ **NOTE:** Not for production use. This is my own experimental framework I use for small prototype projects. Use at your own risk.
4
+
5
+ Opinionated out-of-the-box Rails API framework.
4
6
 
5
7
 
6
8
 
@@ -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(
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Rapils
2
- VERSION = '0.1.0-alpha1'.freeze
2
+ VERSION = '0.1.0-alpha2'.freeze
3
3
  end
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.alpha1
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-07-25 00:00:00.000000000 Z
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.3'
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.3'
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
- - MIT-LICENSE
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.1.4
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