faastruby 0.5.7 → 0.5.8
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +2 -2
- data/faastruby.gemspec +1 -1
- data/lib/faastruby/server/app.rb +1 -2
- data/lib/faastruby/version.rb +1 -1
- data/templates/public-web/assets/stylesheets/main.css +1 -3
- metadata +3 -4
- data/templates/public-web/assets/images/background.png +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 728055c1dbaf19af90d69045fd40cdec172dd175ca83459474935fcba668a8fb
|
|
4
|
+
data.tar.gz: f02a78da5de130860f44c0af5d1293969b1e60e0a95f3ec109840117e5fdb7de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb22f60d0b66702e7e41414bf32765be171a1ab4158f06fa241ddcd5b8390528a5441fcf803933ecd05bfc6066967ea21d950773b96c51da1fd2ba259f949886
|
|
7
|
+
data.tar.gz: c9b1fd124e8c3a295120a6fe435ef7c18bd076b9701f533a7fe59155d7402b8b5df5dc3b341584a0fd01dc229f757f9be4edb46039901f91b6fa04e3a373781b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.8 - Mar 11 2019
|
|
4
|
+
- Bump dependency faastruby-rpc to v0.2.3
|
|
5
|
+
- Use CSS gradient instead of background picture on Local Web template
|
|
6
|
+
- Match response headers with cloud platform
|
|
7
|
+
|
|
3
8
|
## 0.5.7 - Mar 11 2019
|
|
4
9
|
- Refactor API class
|
|
5
10
|
- Bump faastruby-rpc dependency to 0.2.2
|
data/Gemfile.lock
CHANGED
data/faastruby.gemspec
CHANGED
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
spec.add_runtime_dependency 'sinatra', '~> 2.0'
|
|
21
21
|
spec.add_runtime_dependency 'sinatra-contrib', '~> 2.0'
|
|
22
22
|
spec.add_runtime_dependency 'puma', '~> 3.12'
|
|
23
|
-
spec.add_runtime_dependency 'faastruby-rpc', '~> 0.2.
|
|
23
|
+
spec.add_runtime_dependency 'faastruby-rpc', '~> 0.2.3'
|
|
24
24
|
spec.add_runtime_dependency 'tmuxinator', '~> 0.15'
|
|
25
25
|
spec.add_runtime_dependency 'rouge', '~> 3.3'
|
|
26
26
|
spec.add_runtime_dependency 'listen', '~> 3.1'
|
data/lib/faastruby/server/app.rb
CHANGED
|
@@ -7,7 +7,6 @@ require 'securerandom'
|
|
|
7
7
|
require 'rouge'
|
|
8
8
|
require 'colorize'
|
|
9
9
|
module FaaStRuby
|
|
10
|
-
|
|
11
10
|
class Server < Sinatra::Base
|
|
12
11
|
include FaaStRuby::Logger::Requests
|
|
13
12
|
set :show_exceptions, true
|
|
@@ -17,7 +16,7 @@ module FaaStRuby
|
|
|
17
16
|
set :static, true
|
|
18
17
|
register Sinatra::MultiRoute
|
|
19
18
|
before do
|
|
20
|
-
cache_control :
|
|
19
|
+
cache_control :must_revalidate, :proxy_revalidate, :max_age => 0
|
|
21
20
|
end
|
|
22
21
|
route :head, :get, :post, :put, :patch, :delete, '/*' do
|
|
23
22
|
request_uuid = SecureRandom.uuid
|
data/lib/faastruby/version.rb
CHANGED
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
html {
|
|
7
7
|
height: 100%;
|
|
8
8
|
margin: 0px;
|
|
9
|
-
background-image:
|
|
10
|
-
background-repeat: no-repeat;
|
|
11
|
-
background-size: cover;
|
|
9
|
+
background-image: linear-gradient(to right bottom, #ba473d, #933933, #6e2d28, #4a201d, #291412);
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
body {
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: faastruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Paulo Arruda
|
|
@@ -142,14 +142,14 @@ dependencies:
|
|
|
142
142
|
requirements:
|
|
143
143
|
- - "~>"
|
|
144
144
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: 0.2.
|
|
145
|
+
version: 0.2.3
|
|
146
146
|
type: :runtime
|
|
147
147
|
prerelease: false
|
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
|
150
150
|
- - "~>"
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: 0.2.
|
|
152
|
+
version: 0.2.3
|
|
153
153
|
- !ruby/object:Gem::Dependency
|
|
154
154
|
name: tmuxinator
|
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -351,7 +351,6 @@ files:
|
|
|
351
351
|
- templates/crystal/example/spec/handler_spec.cr
|
|
352
352
|
- templates/crystal/example/spec/spec_helper.cr
|
|
353
353
|
- templates/crystal/example/src/handler.cr
|
|
354
|
-
- templates/public-web/assets/images/background.png
|
|
355
354
|
- templates/public-web/assets/images/ruby.png
|
|
356
355
|
- templates/public-web/assets/javascripts/main.js
|
|
357
356
|
- templates/public-web/assets/stylesheets/main.css
|
|
Binary file
|