frontview 1.1.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -14
- data/frontview.gemspec +0 -1
- data/lib/frontview.rb +1 -2
- data/lib/frontview/contents/alerts_content.rb +3 -3
- data/lib/frontview/contents/application_content.rb +27 -26
- data/lib/frontview/contents/footer_content.rb +90 -18
- data/lib/frontview/contents/header_content.rb +50 -17
- data/lib/frontview/contents/index_routes_content.rb +482 -108
- data/lib/frontview/contents/main_content.rb +206 -101
- data/lib/frontview/contents/style_content.rb +3409 -217
- data/lib/frontview/install_generator.rb +56 -2
- data/lib/frontview/version.rb +1 -1
- data/logo/logo.png +0 -0
- metadata +3 -21
- data/Gemfile.lock +0 -155
- data/frontview-0.1.0.gem +0 -0
- data/frontview-0.1.1.gem +0 -0
- data/frontview-1.0.1.gem +0 -0
- data/frontview-1.1.1.gem +0 -0
@@ -11,10 +11,64 @@ require "frontview/contents/index_routes_content"
|
|
11
11
|
module Frontview
|
12
12
|
class InstallGenerator < Rails::Generators::Base
|
13
13
|
def create_assets_contents
|
14
|
-
tempfile = Down.download("https://
|
14
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/logo.png")
|
15
15
|
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
16
16
|
|
17
|
-
tempfile = Down.download("https://
|
17
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/favicon.ico")
|
18
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
19
|
+
|
20
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/advert_btn.png")
|
21
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
22
|
+
|
23
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/background.jpg")
|
24
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
25
|
+
|
26
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/beauty.png")
|
27
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
28
|
+
|
29
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/circle.png")
|
30
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
31
|
+
|
32
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/desktop.png")
|
33
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
34
|
+
|
35
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/doted1.png")
|
36
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
37
|
+
|
38
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/doted2.png")
|
39
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
40
|
+
|
41
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/doted3.png")
|
42
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
43
|
+
|
44
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/elibiz.png")
|
45
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
46
|
+
|
47
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/home_pic.png")
|
48
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
49
|
+
|
50
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/paper_plane.png")
|
51
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
52
|
+
|
53
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/paper_plane2.png")
|
54
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
55
|
+
|
56
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/preloader.png")
|
57
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
58
|
+
|
59
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/view1.png")
|
60
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
61
|
+
|
62
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/view2.png")
|
63
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
64
|
+
|
65
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/view3.png")
|
66
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
67
|
+
|
68
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/view4.png")
|
69
|
+
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
70
|
+
|
71
|
+
tempfile = Down.download("https://railsfront.herokuapp.com/assets/view5.png")
|
18
72
|
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
19
73
|
|
20
74
|
Dir.mkdir("app/assets/stylesheets/css") unless File.exists?("app/assets/stylesheets/css")
|
data/lib/frontview/version.rb
CHANGED
data/logo/logo.png
ADDED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: frontview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- elibiz443
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.1.4
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '12.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '12.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: codelog
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,16 +121,11 @@ files:
|
|
135
121
|
- ".travis.yml"
|
136
122
|
- CODE_OF_CONDUCT.md
|
137
123
|
- Gemfile
|
138
|
-
- Gemfile.lock
|
139
124
|
- LICENSE.txt
|
140
125
|
- README.md
|
141
126
|
- Rakefile
|
142
127
|
- bin/console
|
143
128
|
- bin/setup
|
144
|
-
- frontview-0.1.0.gem
|
145
|
-
- frontview-0.1.1.gem
|
146
|
-
- frontview-1.0.1.gem
|
147
|
-
- frontview-1.1.1.gem
|
148
129
|
- frontview.gemspec
|
149
130
|
- lib/frontview.rb
|
150
131
|
- lib/frontview/contents/alerts_content.rb
|
@@ -156,6 +137,7 @@ files:
|
|
156
137
|
- lib/frontview/contents/style_content.rb
|
157
138
|
- lib/frontview/install_generator.rb
|
158
139
|
- lib/frontview/version.rb
|
140
|
+
- logo/logo.png
|
159
141
|
homepage: https://rubygems.org/gems/frontview
|
160
142
|
licenses:
|
161
143
|
- MIT
|
data/Gemfile.lock
DELETED
@@ -1,155 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
frontview (1.0.1)
|
5
|
-
down (~> 5.0)
|
6
|
-
rails (~> 6.0.3, >= 6.0.3.1)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
actioncable (6.0.3.1)
|
12
|
-
actionpack (= 6.0.3.1)
|
13
|
-
nio4r (~> 2.0)
|
14
|
-
websocket-driver (>= 0.6.1)
|
15
|
-
actionmailbox (6.0.3.1)
|
16
|
-
actionpack (= 6.0.3.1)
|
17
|
-
activejob (= 6.0.3.1)
|
18
|
-
activerecord (= 6.0.3.1)
|
19
|
-
activestorage (= 6.0.3.1)
|
20
|
-
activesupport (= 6.0.3.1)
|
21
|
-
mail (>= 2.7.1)
|
22
|
-
actionmailer (6.0.3.1)
|
23
|
-
actionpack (= 6.0.3.1)
|
24
|
-
actionview (= 6.0.3.1)
|
25
|
-
activejob (= 6.0.3.1)
|
26
|
-
mail (~> 2.5, >= 2.5.4)
|
27
|
-
rails-dom-testing (~> 2.0)
|
28
|
-
actionpack (6.0.3.1)
|
29
|
-
actionview (= 6.0.3.1)
|
30
|
-
activesupport (= 6.0.3.1)
|
31
|
-
rack (~> 2.0, >= 2.0.8)
|
32
|
-
rack-test (>= 0.6.3)
|
33
|
-
rails-dom-testing (~> 2.0)
|
34
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
35
|
-
actiontext (6.0.3.1)
|
36
|
-
actionpack (= 6.0.3.1)
|
37
|
-
activerecord (= 6.0.3.1)
|
38
|
-
activestorage (= 6.0.3.1)
|
39
|
-
activesupport (= 6.0.3.1)
|
40
|
-
nokogiri (>= 1.8.5)
|
41
|
-
actionview (6.0.3.1)
|
42
|
-
activesupport (= 6.0.3.1)
|
43
|
-
builder (~> 3.1)
|
44
|
-
erubi (~> 1.4)
|
45
|
-
rails-dom-testing (~> 2.0)
|
46
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
47
|
-
activejob (6.0.3.1)
|
48
|
-
activesupport (= 6.0.3.1)
|
49
|
-
globalid (>= 0.3.6)
|
50
|
-
activemodel (6.0.3.1)
|
51
|
-
activesupport (= 6.0.3.1)
|
52
|
-
activerecord (6.0.3.1)
|
53
|
-
activemodel (= 6.0.3.1)
|
54
|
-
activesupport (= 6.0.3.1)
|
55
|
-
activestorage (6.0.3.1)
|
56
|
-
actionpack (= 6.0.3.1)
|
57
|
-
activejob (= 6.0.3.1)
|
58
|
-
activerecord (= 6.0.3.1)
|
59
|
-
marcel (~> 0.3.1)
|
60
|
-
activesupport (6.0.3.1)
|
61
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
62
|
-
i18n (>= 0.7, < 2)
|
63
|
-
minitest (~> 5.1)
|
64
|
-
tzinfo (~> 1.1)
|
65
|
-
zeitwerk (~> 2.2, >= 2.2.2)
|
66
|
-
addressable (2.7.0)
|
67
|
-
public_suffix (>= 2.0.2, < 5.0)
|
68
|
-
builder (3.2.4)
|
69
|
-
codelog (0.8.0)
|
70
|
-
thor (~> 0.19)
|
71
|
-
concurrent-ruby (1.1.6)
|
72
|
-
crass (1.0.6)
|
73
|
-
down (5.1.1)
|
74
|
-
addressable (~> 2.5)
|
75
|
-
erubi (1.9.0)
|
76
|
-
globalid (0.4.2)
|
77
|
-
activesupport (>= 4.2.0)
|
78
|
-
i18n (1.8.2)
|
79
|
-
concurrent-ruby (~> 1.0)
|
80
|
-
loofah (2.5.0)
|
81
|
-
crass (~> 1.0.2)
|
82
|
-
nokogiri (>= 1.5.9)
|
83
|
-
mail (2.7.1)
|
84
|
-
mini_mime (>= 0.1.1)
|
85
|
-
marcel (0.3.3)
|
86
|
-
mimemagic (~> 0.3.2)
|
87
|
-
method_source (1.0.0)
|
88
|
-
mimemagic (0.3.5)
|
89
|
-
mini_mime (1.0.2)
|
90
|
-
mini_portile2 (2.4.0)
|
91
|
-
minitest (5.14.1)
|
92
|
-
nio4r (2.5.2)
|
93
|
-
nokogiri (1.10.9)
|
94
|
-
mini_portile2 (~> 2.4.0)
|
95
|
-
public_suffix (4.0.5)
|
96
|
-
rack (2.2.2)
|
97
|
-
rack-test (1.1.0)
|
98
|
-
rack (>= 1.0, < 3)
|
99
|
-
rails (6.0.3.1)
|
100
|
-
actioncable (= 6.0.3.1)
|
101
|
-
actionmailbox (= 6.0.3.1)
|
102
|
-
actionmailer (= 6.0.3.1)
|
103
|
-
actionpack (= 6.0.3.1)
|
104
|
-
actiontext (= 6.0.3.1)
|
105
|
-
actionview (= 6.0.3.1)
|
106
|
-
activejob (= 6.0.3.1)
|
107
|
-
activemodel (= 6.0.3.1)
|
108
|
-
activerecord (= 6.0.3.1)
|
109
|
-
activestorage (= 6.0.3.1)
|
110
|
-
activesupport (= 6.0.3.1)
|
111
|
-
bundler (>= 1.3.0)
|
112
|
-
railties (= 6.0.3.1)
|
113
|
-
sprockets-rails (>= 2.0.0)
|
114
|
-
rails-dom-testing (2.0.3)
|
115
|
-
activesupport (>= 4.2.0)
|
116
|
-
nokogiri (>= 1.6)
|
117
|
-
rails-html-sanitizer (1.3.0)
|
118
|
-
loofah (~> 2.3)
|
119
|
-
railties (6.0.3.1)
|
120
|
-
actionpack (= 6.0.3.1)
|
121
|
-
activesupport (= 6.0.3.1)
|
122
|
-
method_source
|
123
|
-
rake (>= 0.8.7)
|
124
|
-
thor (>= 0.20.3, < 2.0)
|
125
|
-
rake (12.3.3)
|
126
|
-
sprockets (4.0.0)
|
127
|
-
concurrent-ruby (~> 1.0)
|
128
|
-
rack (> 1, < 3)
|
129
|
-
sprockets-rails (3.2.1)
|
130
|
-
actionpack (>= 4.0)
|
131
|
-
activesupport (>= 4.0)
|
132
|
-
sprockets (>= 3.0.0)
|
133
|
-
thor (0.20.3)
|
134
|
-
thread_safe (0.3.6)
|
135
|
-
tzinfo (1.2.7)
|
136
|
-
thread_safe (~> 0.1)
|
137
|
-
websocket-driver (0.7.1)
|
138
|
-
websocket-extensions (>= 0.1.0)
|
139
|
-
websocket-extensions (0.1.4)
|
140
|
-
zeitwerk (2.3.0)
|
141
|
-
|
142
|
-
PLATFORMS
|
143
|
-
ruby
|
144
|
-
|
145
|
-
DEPENDENCIES
|
146
|
-
bundler (~> 2.1.4)
|
147
|
-
codelog (~> 0.8.0)
|
148
|
-
down (~> 5.0)
|
149
|
-
frontview!
|
150
|
-
minitest (~> 5.0)
|
151
|
-
rails (~> 6.0.3, >= 6.0.3.1)
|
152
|
-
rake (~> 12.0)
|
153
|
-
|
154
|
-
BUNDLED WITH
|
155
|
-
2.1.4
|
data/frontview-0.1.0.gem
DELETED
Binary file
|
data/frontview-0.1.1.gem
DELETED
Binary file
|
data/frontview-1.0.1.gem
DELETED
Binary file
|
data/frontview-1.1.1.gem
DELETED
Binary file
|