eucalypt 0.3.4 → 0.3.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e095d08a3f53b068ff096822ffd5793befc4ec987c4603f82686236748c4d159
4
- data.tar.gz: cf09550ec6b23c19b09f63503484e88e15de12168d1c7d2404a318ff42b2e6b8
3
+ metadata.gz: 8eb746d923adcac06b4aa32dde5d5071924dbf30cd11e480e81d56d97de81b79
4
+ data.tar.gz: 1efd75b49e8b74db94b4b272afeba91cdda268a0f5e661f65a1eb579117a7d82
5
5
  SHA512:
6
- metadata.gz: 3011e09e93df78d55cb17b3138fe30e5c27bba68bd1cf6ae2406830f17a03d5be968464fdc1a23431ebc78fc99eb470d75374a10c107c39f6e2bd312da1cea18
7
- data.tar.gz: b59a8e0567d390a499764021b83e7ce911b1b33d5b33f396826b1e1225dd633b9b469966f2dee2dd0b734e55e9339c1e77f6c8de9bffc4f88152b6c6334928c4
6
+ metadata.gz: a7e945e2f4c9d52b593c7cf4444f7bb3b00c27ad12f6dfc3d38bc1ccc5e7dcbc7e44d528fe8fba23fedc47d4ee7279c8165fefd13ecddeac51885028463be645
7
+ data.tar.gz: 9d3dc2aeaf568d90ff2f5ceebff6668a5ddfa0a64373ccb97f32f6da52b13af98b37db520ba798ab41bee23a2b27be33ee22b7050968c1e427ec1a4c788de018
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ <p align="center"><img width="75px" src="gfx/eucalypt.png"></p>
2
+
1
3
  [![Ruby Version](https://img.shields.io/badge/ruby-~%3E%202.5-red.svg)](https://github.com/eucalypt-framework/eucalypt/blob/0c509a4e22fd97ec52b6f638af21de783f3aafc8/eucalypt.gemspec#L19)
2
4
  [![Gem](https://img.shields.io/gem/v/eucalypt.svg)](https://rubygems.org/gems/eucalypt)
3
5
  [![Build Status](https://travis-ci.org/eucalypt-framework/eucalypt.svg?branch=master)](https://travis-ci.org/eucalypt-framework/eucalypt)
@@ -9,7 +9,7 @@
9
9
  * By default, every file in the /assets/stylesheets directory is required by `require_tree .` *
10
10
  * However, you may remove the `require_tree .` directive and instead specify individual files. *
11
11
  * *
12
- * Any global styles can be included directly in this file (Below the CSS reset). *
12
+ * Any global styles can be included directly in this file. *
13
13
  * NOTE: Styles defined in this file will be overwritten by CSS written in other files. *
14
14
  * -------------------------------------------------------------------------------------------- *
15
15
  *= require_self
@@ -3,22 +3,23 @@ class ApplicationController < Sinatra::Base
3
3
  set :logger, Lumberjack::Logger.new
4
4
  helpers { def logger() settings.logger end }
5
5
 
6
- #= General logging =#
7
- %i[production test].each do |e|
8
- configure e do
6
+ # General logging
7
+ %i[production test].each do |app_env|
8
+ configure app_env do
9
9
  use Rack::CommonLogger, $stdout
10
10
 
11
- log_path = Eucalypt.path 'log', Time.now.strftime("%Y-%m-%dT%H-%M-%S_%z").sub(/_\+/, ?p).sub(/_\-/, ?m)
11
+ time = Time.now.strftime("%Y-%m-%dT%H-%M-%S_%z")
12
+ log_path = Eucalypt.path 'log', time.sub(/_\+/, ?p).sub(/_\-/, ?m)
12
13
  FileUtils.mkdir_p log_path
13
14
 
14
- $stderr.reopen File.new(File.join(log_path, "#{e}.stderr.log"), 'a+')
15
+ $stderr.reopen File.new(File.join(log_path, "#{app_env}.stderr.log"), 'a+')
15
16
  $stderr.sync = true
16
- $stdout.reopen File.new(File.join(log_path, "#{e}.stdout.log"), 'a+')
17
+ $stdout.reopen File.new(File.join(log_path, "#{app_env}.stdout.log"), 'a+')
17
18
  $stdout.sync = true
18
19
  end
19
20
  end
20
21
 
21
- #= ActiveRecord logging =#
22
+ # ActiveRecord logging
22
23
  ActiveRecord::Base.logger = Logger.new STDOUT
23
24
  ActiveRecord::Migration.verbose = true # Set to false for quieter logging
24
25
  end
@@ -1,3 +1,3 @@
1
1
  module Eucalypt
2
- VERSION = '0.3.4'
2
+ VERSION = '0.3.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eucalypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edwin Onuonga
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-04 00:00:00.000000000 Z
11
+ date: 2018-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler