corneal 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +49 -56
- data/README.md +1 -1
- data/lib/corneal/generators/app/templates/app/views/layout.erb.tt +21 -20
- data/lib/corneal/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e9ddada414f5e2a13c73a54755b0c9606ed0ba6
|
4
|
+
data.tar.gz: 59f8f8ce93ef6123a02af2a8ee99ddc7f0d5e985
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 675567bdd0bd41557fa3c70a54d7517a7c2966aa5c7d24089cb699601503e6c4547a751b12bd3fd1e97324a8f946083b135018c759b6b7ff5f0c0b7faa8d1f2d
|
7
|
+
data.tar.gz: 527787baa264b03ddc91faa14e859eb21029427febe54fa14f7de7ec45e86744fe13cb4646d0f58d13b1b406753aad54ebadbe6c77e6806132a6447e14abccb2
|
data/Gemfile.lock
CHANGED
@@ -1,79 +1,72 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
corneal (1.
|
4
|
+
corneal (1.2.0)
|
5
5
|
activesupport (~> 5.0)
|
6
6
|
thor (~> 0.18)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actionpack (5.
|
12
|
-
actionview (= 5.
|
13
|
-
activesupport (= 5.
|
11
|
+
actionpack (5.2.0)
|
12
|
+
actionview (= 5.2.0)
|
13
|
+
activesupport (= 5.2.0)
|
14
14
|
rack (~> 2.0)
|
15
|
-
rack-test (
|
15
|
+
rack-test (>= 0.6.3)
|
16
16
|
rails-dom-testing (~> 2.0)
|
17
17
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
18
|
-
actionview (5.
|
19
|
-
activesupport (= 5.
|
18
|
+
actionview (5.2.0)
|
19
|
+
activesupport (= 5.2.0)
|
20
20
|
builder (~> 3.1)
|
21
|
-
|
21
|
+
erubi (~> 1.4)
|
22
22
|
rails-dom-testing (~> 2.0)
|
23
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
24
|
-
active_model_serializers (0.10.
|
23
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
24
|
+
active_model_serializers (0.10.7)
|
25
25
|
actionpack (>= 4.1, < 6)
|
26
26
|
activemodel (>= 4.1, < 6)
|
27
|
-
|
28
|
-
|
29
|
-
activemodel (5.
|
30
|
-
activesupport (= 5.
|
31
|
-
activesupport (5.
|
27
|
+
case_transform (>= 0.2)
|
28
|
+
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
|
29
|
+
activemodel (5.2.0)
|
30
|
+
activesupport (= 5.2.0)
|
31
|
+
activesupport (5.2.0)
|
32
32
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
33
|
-
i18n (
|
33
|
+
i18n (>= 0.7, < 2)
|
34
34
|
minitest (~> 5.1)
|
35
35
|
tzinfo (~> 1.1)
|
36
|
-
builder (3.2.
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
36
|
+
builder (3.2.3)
|
37
|
+
case_transform (0.2)
|
38
|
+
activesupport
|
39
|
+
coderay (1.1.2)
|
40
|
+
concurrent-ruby (1.0.5)
|
41
|
+
crass (1.0.4)
|
42
|
+
erubi (1.7.1)
|
43
|
+
fakefs (0.14.2)
|
44
|
+
i18n (1.0.1)
|
45
|
+
concurrent-ruby (~> 1.0)
|
46
|
+
jsonapi-renderer (0.2.0)
|
47
|
+
loofah (2.2.2)
|
48
|
+
crass (~> 1.0.2)
|
46
49
|
nokogiri (>= 1.5.9)
|
47
|
-
method_source (0.
|
48
|
-
mini_portile2 (2.
|
49
|
-
minitest (5.
|
50
|
-
nokogiri (1.
|
51
|
-
mini_portile2 (~> 2.
|
52
|
-
|
53
|
-
pkg-config (1.1.7)
|
54
|
-
pry (0.10.4)
|
50
|
+
method_source (0.9.0)
|
51
|
+
mini_portile2 (2.3.0)
|
52
|
+
minitest (5.11.3)
|
53
|
+
nokogiri (1.8.3)
|
54
|
+
mini_portile2 (~> 2.3.0)
|
55
|
+
pry (0.11.3)
|
55
56
|
coderay (~> 1.1.0)
|
56
|
-
method_source (~> 0.
|
57
|
-
|
58
|
-
rack (
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
method_source
|
70
|
-
rake (>= 0.8.7)
|
71
|
-
thor (>= 0.18.1, < 2.0)
|
72
|
-
rake (10.1.1)
|
73
|
-
slop (3.6.0)
|
74
|
-
thor (0.19.1)
|
75
|
-
thread_safe (0.3.5)
|
76
|
-
tzinfo (1.2.2)
|
57
|
+
method_source (~> 0.9.0)
|
58
|
+
rack (2.0.5)
|
59
|
+
rack-test (1.0.0)
|
60
|
+
rack (>= 1.0, < 3)
|
61
|
+
rails-dom-testing (2.0.3)
|
62
|
+
activesupport (>= 4.2.0)
|
63
|
+
nokogiri (>= 1.6)
|
64
|
+
rails-html-sanitizer (1.0.4)
|
65
|
+
loofah (~> 2.2, >= 2.2.2)
|
66
|
+
rake (10.5.0)
|
67
|
+
thor (0.20.0)
|
68
|
+
thread_safe (0.3.6)
|
69
|
+
tzinfo (1.2.5)
|
77
70
|
thread_safe (~> 0.1)
|
78
71
|
|
79
72
|
PLATFORMS
|
@@ -89,4 +82,4 @@ DEPENDENCIES
|
|
89
82
|
rake (~> 10.0)
|
90
83
|
|
91
84
|
BUNDLED WITH
|
92
|
-
1.
|
85
|
+
1.16.2
|
data/README.md
CHANGED
@@ -54,7 +54,7 @@ Directory structure:
|
|
54
54
|
```
|
55
55
|
corneal -v # Show Corneal version number
|
56
56
|
corneal help [COMMAND] # Describe available commands or one specific command
|
57
|
-
corneal new
|
57
|
+
corneal new APP-NAME # Creates a new Sinatra application
|
58
58
|
corneal model NAME # Generate a model
|
59
59
|
corneal controller NAME # Generate a controller
|
60
60
|
corneal scaffold NAME # Generate a model with its associated views and controllers
|
@@ -3,29 +3,30 @@
|
|
3
3
|
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
|
4
4
|
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
|
5
5
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
6
|
-
<head>
|
7
|
-
|
8
|
-
|
6
|
+
<head>
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
|
9
9
|
|
10
|
-
|
10
|
+
<title><%= @name.camel_case %></title>
|
11
11
|
|
12
|
-
|
12
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
13
13
|
|
14
|
-
|
15
|
-
</head>
|
16
|
-
<body>
|
17
|
-
|
14
|
+
<link rel="stylesheet" href="/stylesheets/main.css" />
|
15
|
+
</head>
|
16
|
+
<body>
|
17
|
+
<div class="wrapper">
|
18
18
|
|
19
|
-
|
19
|
+
<%%= yield %>
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
<footer class="branding">
|
22
|
+
<small>© <%= Time.now.year %> <strong><%= @name.camel_case %></strong></small>
|
23
|
+
</footer>
|
24
|
+
</div>
|
25
25
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
</body>
|
26
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
|
27
|
+
<!--[if lt IE 7]>
|
28
|
+
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script>
|
29
|
+
<script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script>
|
30
|
+
<![endif]-->
|
31
|
+
</body>
|
32
|
+
</html>
|
data/lib/corneal/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: corneal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Emory
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
146
|
rubyforge_project:
|
147
|
-
rubygems_version: 2.
|
147
|
+
rubygems_version: 2.6.13
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: A Sinatra app generator.
|