frontview 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +25 -1
- data/{logo → assets}/logo.png +0 -0
- data/assets/sample1.png +0 -0
- data/assets/sample2.png +0 -0
- data/assets/sample3.png +0 -0
- data/assets/sample4.png +0 -0
- data/assets/sample5.png +0 -0
- data/frontview.gemspec +3 -2
- data/lib/frontview.rb +2 -1
- data/lib/frontview/contents/alerts_content.rb +2 -2
- data/lib/frontview/contents/application_content.rb +26 -26
- data/lib/frontview/contents/footer_content.rb +85 -85
- data/lib/frontview/contents/header_content.rb +48 -48
- data/lib/frontview/contents/index_routes_content.rb +461 -461
- data/lib/frontview/contents/main_content.rb +195 -195
- data/lib/frontview/contents/style_content.rb +3408 -3408
- data/lib/frontview/install_generator.rb +15 -13
- data/lib/frontview/version.rb +1 -1
- metadata +12 -5
@@ -11,7 +11,7 @@ require "frontview/contents/index_routes_content"
|
|
11
11
|
module Frontview
|
12
12
|
class InstallGenerator < Rails::Generators::Base
|
13
13
|
def create_assets_contents
|
14
|
-
|
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
17
|
tempfile = Down.download("https://railsfront.herokuapp.com/assets/favicon.ico")
|
@@ -86,18 +86,20 @@ module Frontview
|
|
86
86
|
file = File.new("app/views/shared/_header.html.erb", "w+")
|
87
87
|
end
|
88
88
|
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
89
|
+
def write_in_other_files
|
90
|
+
system("rails g frontview:contents:index_routes_content")
|
91
|
+
system("rails g frontview:contents:style_content")
|
92
|
+
system("rails g frontview:contents:main_content")
|
93
|
+
system("rails g frontview:contents:application_content")
|
94
|
+
system("rails g frontview:contents:alerts_content")
|
95
|
+
system("rails g frontview:contents:footer_content")
|
96
|
+
system("rails g frontview:contents:header_content")
|
97
|
+
end
|
98
98
|
|
99
99
|
def show_info
|
100
|
-
|
101
|
-
|
102
|
-
|
100
|
+
puts :success
|
101
|
+
puts "You can support the efforts to always update and provide the best
|
102
|
+
themes free for everyone through: ========> https://www.buymeacoffee.com/elibiz"
|
103
|
+
end
|
104
|
+
end
|
103
105
|
end
|
data/lib/frontview/version.rb
CHANGED
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: 2.1.
|
4
|
+
version: 2.1.2
|
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-
|
11
|
+
date: 2020-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -110,7 +110,9 @@ description: "This gem creates folders and files that are meant for the Views of
|
|
110
110
|
rails web app so as to\n provide easier starting point to your development process.\n
|
111
111
|
You can check the github repo for this gem:\n \n \t ======> https://github.com/elibiz443/frontview
|
112
112
|
(Here you will get to have a step by step usage of the gem)\n\n Remember to give
|
113
|
-
a contribution. Make the gem better than it already is.
|
113
|
+
a contribution. Make the gem better than it already is. You can also support the
|
114
|
+
efforts to always update and provide the best\n themes free for everyone through:
|
115
|
+
========> https://www.buymeacoffee.com/elibiz"
|
114
116
|
email:
|
115
117
|
- elibiz443@gmail.com
|
116
118
|
executables: []
|
@@ -125,6 +127,12 @@ files:
|
|
125
127
|
- LICENSE.txt
|
126
128
|
- README.md
|
127
129
|
- Rakefile
|
130
|
+
- assets/logo.png
|
131
|
+
- assets/sample1.png
|
132
|
+
- assets/sample2.png
|
133
|
+
- assets/sample3.png
|
134
|
+
- assets/sample4.png
|
135
|
+
- assets/sample5.png
|
128
136
|
- bin/console
|
129
137
|
- bin/setup
|
130
138
|
- frontview.gemspec
|
@@ -138,7 +146,6 @@ files:
|
|
138
146
|
- lib/frontview/contents/style_content.rb
|
139
147
|
- lib/frontview/install_generator.rb
|
140
148
|
- lib/frontview/version.rb
|
141
|
-
- logo/logo.png
|
142
149
|
homepage: https://rubygems.org/gems/frontview
|
143
150
|
licenses:
|
144
151
|
- MIT
|
@@ -155,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
155
162
|
requirements:
|
156
163
|
- - ">="
|
157
164
|
- !ruby/object:Gem::Version
|
158
|
-
version: 2.
|
165
|
+
version: 2.3.0
|
159
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
167
|
requirements:
|
161
168
|
- - ">="
|