aetherg 0.5.0 → 0.5.1
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/VERSION +1 -1
- data/aetherg.gemspec +11 -2
- data/lib/aetherg/aetherg.rb +10 -1
- data/lib/aetherg/version.rb +11 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c79e7be5dfdf434d8c9074eb345c6615c20af674
|
|
4
|
+
data.tar.gz: 69ea3d6790326392bc33658cc28fe854df4969f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7f0f817273f05568192ce8f05308be16c1bf2922d441c0ce7742bf96940f207f41099cef45dc20d3ca9dcc7c25f6170baa5d3e8f4fe3e54580b0f4c6cb78ff6
|
|
7
|
+
data.tar.gz: 47ba0a014b502e010c03ab0d08ed7e9e6ae6322f3881a67e813fb3bd4a714d210863904b258e3958f5ba7a2f9fe2cec4376e0c1f2d085ff0ee5cdc1921be95ec
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.1
|
data/aetherg.gemspec
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
|
+
# @Author: Allen C. <chenillen>
|
|
2
|
+
# @Date: 2017-05-21T10:07:33+08:00
|
|
3
|
+
# @Email: chenillen@gmail.com
|
|
4
|
+
# @Last modified by: chenillen
|
|
5
|
+
# @Last modified time: 2018-03-02T19:27:38+08:00
|
|
6
|
+
# @Copyright: Copyright (c) 2018 by Allen C.(@chenillen). All Rights Reserved.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
Gem::Specification.new do |s|
|
|
2
11
|
s.name = 'aetherg'
|
|
3
|
-
s.version = '0.5.
|
|
4
|
-
s.date = '
|
|
12
|
+
s.version = '0.5.1'
|
|
13
|
+
s.date = '2018-03-02'
|
|
5
14
|
s.summary = "Aetherg (Aether Generator) is a generator of sinatra app."
|
|
6
15
|
s.description = "Aetherg (Aether Generator) is a sinatra based App generator. Light-weight for API service or full-stack Web apps. Fully supports Sinatra v2.0.0"
|
|
7
16
|
s.authors = ["Allen Chan"]
|
data/lib/aetherg/aetherg.rb
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
# @Author: Allen C. <chenillen>
|
|
2
|
+
# @Date: 2017-05-02T10:59:49+08:00
|
|
3
|
+
# @Email: chenillen@gmail.com
|
|
4
|
+
# @Last modified by: chenillen
|
|
5
|
+
# @Last modified time: 2018-03-02T19:32:26+08:00
|
|
6
|
+
# @Copyright: Copyright (c) 2018 by Allen C.(@chenillen). All Rights Reserved.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
require 'SecureRandom'
|
|
1
10
|
require File.expand_path('../array', __FILE__)
|
|
2
11
|
require File.expand_path('../string', __FILE__)
|
|
3
12
|
|
|
@@ -19,7 +28,7 @@ module Aetherg
|
|
|
19
28
|
# options.each do |key, value|
|
|
20
29
|
# instance_variable_set "@#{key.to_s}".to_sym, value
|
|
21
30
|
# end
|
|
22
|
-
@database = options[:database]
|
|
31
|
+
@database = options[:database] || 'mysql'
|
|
23
32
|
options[:no_database]? @no_database = true : @no_database = false
|
|
24
33
|
options[:no_redis]? @no_redis = true : @no_redis = false
|
|
25
34
|
options[:no_views]? @no_views = true : @no_views = false
|
data/lib/aetherg/version.rb
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
|
+
# @Author: Allen C. <chenillen>
|
|
2
|
+
# @Date: 2017-05-21T10:07:33+08:00
|
|
3
|
+
# @Email: chenillen@gmail.com
|
|
4
|
+
# @Last modified by: chenillen
|
|
5
|
+
# @Last modified time: 2018-03-02T19:27:09+08:00
|
|
6
|
+
# @Copyright: Copyright (c) 2018 by Allen C.(@chenillen). All Rights Reserved.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
module Aetherg
|
|
2
|
-
VERSION = "0.5.
|
|
3
|
-
BUILD = "
|
|
11
|
+
VERSION = "0.5.1"
|
|
12
|
+
BUILD = "2018-03-02"
|
|
4
13
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aetherg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Allen Chan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-03-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|