frontview 2.2.4.pre.beta → 2.2.7
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/.github/FUNDING.yml +12 -0
- data/.rspec +2 -0
- data/Gemfile +3 -1
- data/Gemfile.lock +19 -3
- data/README.md +6 -18
- data/bin/rspec +29 -0
- data/frontview.gemspec +3 -6
- data/lib/frontview/contents/index_routes_content.rb +4 -4
- data/lib/frontview/contents/style_content.rb +1 -0
- data/lib/frontview/install_generator.rb +4 -8
- data/lib/frontview/version.rb +1 -1
- metadata +13 -19
- data/assets/banner.jpg +0 -0
- data/assets/favicon.png +0 -0
- data/bin/console +0 -15
- data/bin/setup +0 -8
- data/frontview-2.2.3.pre.beta.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e63930f75c668c47165f6be2f872a326d9fd0f7c5748c282717f8c3eeceb09e8
|
|
4
|
+
data.tar.gz: 7179fd4bb19cd235dfba31cf4dfb52bf3959bde8abb2897d03099cfb76cc4c4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3f3233be42ecade06e7debe5c9cd842b67ef9b20a1a7cfd2893d285ec1b91d1e2df43408b3ea28a7b610b6d1c06247eac9ea48d3e31c2329fc510011aa3430a
|
|
7
|
+
data.tar.gz: b6cefa50e008a3b77d748aa89dde0b55a448b8954004d5a6bb46c51e74f06bbf1f7727a6166e01608a6aeceda0441abee50f5c4d1127010fa3903dcaaec4033d
|
data/.github/FUNDING.yml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# These are supported funding model platforms
|
|
2
|
+
|
|
3
|
+
github: [elibiz443]
|
|
4
|
+
patreon: elibiz443
|
|
5
|
+
open_collective: # Replace with a single Open Collective username
|
|
6
|
+
ko_fi: # Replace with a single Ko-fi username
|
|
7
|
+
tidelift: # rubygems/frontview
|
|
8
|
+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
|
9
|
+
liberapay: # Replace with a single Liberapay username
|
|
10
|
+
issuehunt: # Replace with a single IssueHunt username
|
|
11
|
+
otechie: # Replace with a single Otechie username
|
|
12
|
+
custom: ["https://www.buymeacoffee.com/elibiz"]
|
data/.rspec
ADDED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
frontview (2.2.
|
|
4
|
+
frontview (2.2.7)
|
|
5
5
|
down (~> 5.0)
|
|
6
6
|
rails (~> 6.1, >= 6.1.4.1)
|
|
7
7
|
|
|
@@ -73,9 +73,11 @@ GEM
|
|
|
73
73
|
builder (3.2.4)
|
|
74
74
|
concurrent-ruby (1.1.9)
|
|
75
75
|
crass (1.0.6)
|
|
76
|
+
diff-lcs (1.4.4)
|
|
76
77
|
down (5.2.4)
|
|
77
78
|
addressable (~> 2.8)
|
|
78
79
|
erubi (1.10.0)
|
|
80
|
+
fakefs (1.3.2)
|
|
79
81
|
globalid (0.5.2)
|
|
80
82
|
activesupport (>= 5.0)
|
|
81
83
|
i18n (1.8.10)
|
|
@@ -130,6 +132,19 @@ GEM
|
|
|
130
132
|
rake (13.0.6)
|
|
131
133
|
regexp_parser (2.1.1)
|
|
132
134
|
rexml (3.2.5)
|
|
135
|
+
rspec (3.10.0)
|
|
136
|
+
rspec-core (~> 3.10.0)
|
|
137
|
+
rspec-expectations (~> 3.10.0)
|
|
138
|
+
rspec-mocks (~> 3.10.0)
|
|
139
|
+
rspec-core (3.10.1)
|
|
140
|
+
rspec-support (~> 3.10.0)
|
|
141
|
+
rspec-expectations (3.10.1)
|
|
142
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
143
|
+
rspec-support (~> 3.10.0)
|
|
144
|
+
rspec-mocks (3.10.2)
|
|
145
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
146
|
+
rspec-support (~> 3.10.0)
|
|
147
|
+
rspec-support (3.10.2)
|
|
133
148
|
rubocop (1.21.0)
|
|
134
149
|
parallel (~> 1.10)
|
|
135
150
|
parser (>= 3.0.0.0)
|
|
@@ -162,12 +177,13 @@ PLATFORMS
|
|
|
162
177
|
x86_64-linux
|
|
163
178
|
|
|
164
179
|
DEPENDENCIES
|
|
165
|
-
bundler (~> 2.2.
|
|
180
|
+
bundler (~> 2.2.24)
|
|
166
181
|
down (~> 5.0)
|
|
182
|
+
fakefs
|
|
167
183
|
frontview!
|
|
168
|
-
minitest (~> 5.0)
|
|
169
184
|
rails (~> 6.1, >= 6.1.4.1)
|
|
170
185
|
rake (~> 13.0)
|
|
186
|
+
rspec
|
|
171
187
|
rubocop (~> 1.7)
|
|
172
188
|
thor (~> 1.1)
|
|
173
189
|
|
data/README.md
CHANGED
|
@@ -5,45 +5,38 @@ This is frontview gem, a gem that gives the front-end template to the rails 6 ap
|
|
|
5
5
|
### Installation
|
|
6
6
|
Add this line to your application's Gemfile:
|
|
7
7
|
```
|
|
8
|
-
|
|
8
|
+
gem 'frontview'
|
|
9
9
|
```
|
|
10
10
|
And then execute:
|
|
11
11
|
```
|
|
12
|
-
|
|
12
|
+
bundle install
|
|
13
13
|
```
|
|
14
14
|
### Usage
|
|
15
15
|
Run scaffold. Lets assume our model is 'home' which has a 'title' and a 'body'(Optional)
|
|
16
16
|
```
|
|
17
|
-
|
|
17
|
+
rails g scaffold home title:string body:text
|
|
18
18
|
```
|
|
19
19
|
Delete scaffold.scss, from (assets/stylesheets/scaffold.scss).
|
|
20
20
|
Optional:
|
|
21
21
|
------>>> Delete the Sass files i.e homes.scss.
|
|
22
22
|
|
|
23
|
-
------>>> Remove the line '*= require_tree .' from 'assets/stylesheets/application.css'(The option allows for the individual inclusion of each css file in the 'application.html.erb' file.)
|
|
24
|
-
|
|
25
23
|
Delete all the files in views/homes except index.html.erb
|
|
26
24
|
|
|
27
25
|
Generate the necessary files and folders by:
|
|
28
26
|
N/B: You will be prompted to give the name of your model, In this case you'll write 'home' and press enter. All the files will then be in place.
|
|
29
27
|
```
|
|
30
|
-
|
|
28
|
+
rails g frontview:install
|
|
31
29
|
```
|
|
32
30
|
Create & Migrate DB
|
|
33
31
|
```
|
|
34
|
-
|
|
32
|
+
rails db:create db:migrate
|
|
35
33
|
```
|
|
36
34
|
Finally run the rails server and you are good to go:
|
|
37
35
|
```
|
|
38
|
-
|
|
36
|
+
rails s
|
|
39
37
|
```
|
|
40
38
|
Access your web in: localhost:3000
|
|
41
39
|
|
|
42
|
-
This gem is suitable for a new project. It helps to kickstart everything very fast.
|
|
43
|
-
If everything runs perfectly, don't forget to follow on twitter ========> https://twitter.com/frontview3
|
|
44
|
-
|
|
45
|
-
You can also support the efforts to always update and provide the best themes free for everyone through: ========> https://www.buymeacoffee.com/elibiz
|
|
46
|
-
|
|
47
40
|
## Sample screenshots of the frontview theme(Fully Responsive):
|
|
48
41
|
|
|
49
42
|
### Home Section:
|
|
@@ -84,11 +77,6 @@ You can also support the efforts to always update and provide the best themes fr
|
|
|
84
77
|
\ /_/___________/
|
|
85
78
|
\_________/
|
|
86
79
|
|
|
87
|
-
## Development
|
|
88
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
89
|
-
|
|
90
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
91
|
-
|
|
92
80
|
## Contributing
|
|
93
81
|
Bug reports and pull requests are welcome on GitHub at https://github.com/elibiz443/frontview. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/elibiz443/frontview/blob/master/CODE_OF_CONDUCT.md).
|
|
94
82
|
|
data/bin/rspec
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'rspec' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
require "pathname"
|
|
12
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
13
|
+
Pathname.new(__FILE__).realpath)
|
|
14
|
+
|
|
15
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
16
|
+
|
|
17
|
+
if File.file?(bundle_binstub)
|
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
|
19
|
+
load(bundle_binstub)
|
|
20
|
+
else
|
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
require "rubygems"
|
|
27
|
+
require "bundler/setup"
|
|
28
|
+
|
|
29
|
+
load Gem.bin_path("rspec-core", "rspec")
|
data/frontview.gemspec
CHANGED
|
@@ -8,11 +8,8 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
|
|
9
9
|
spec.summary = "Simple gem that creates folders & files for front-end rails web apps"
|
|
10
10
|
spec.description = "This gem creates folders and files that are meant for the Views of your rails web app so as to
|
|
11
|
-
provide easier starting point to your development process
|
|
12
|
-
|
|
13
|
-
Remember to give a contribution. Make the gem better than it already is. You can also support the efforts to always update and provide the best
|
|
14
|
-
themes free for everyone through: ========> https://www.buymeacoffee.com/elibiz"
|
|
15
|
-
spec.homepage = "https://rubygems.org/gems/frontview"
|
|
11
|
+
provide easier starting point to your development process."
|
|
12
|
+
spec.homepage = "https://github.com/elibiz443/frontview"
|
|
16
13
|
spec.license = "MIT"
|
|
17
14
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
|
18
15
|
|
|
@@ -20,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
|
20
17
|
|
|
21
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
22
19
|
spec.metadata["source_code_uri"] = "https://github.com/elibiz443/frontview"
|
|
23
|
-
spec.metadata["changelog_uri"] = "https://github.com/
|
|
20
|
+
spec.metadata["changelog_uri"] = "https://github.com/elibiz443/frontview/blob/master/CHANGELOG.md"
|
|
24
21
|
|
|
25
22
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
|
26
23
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
@@ -47,21 +47,21 @@ module Frontview
|
|
|
47
47
|
</div>
|
|
48
48
|
</div>
|
|
49
49
|
|
|
50
|
-
<div class="row content" id="
|
|
50
|
+
<div class="row content" id="intro">
|
|
51
51
|
<h1 class="sec01">Intoduction</h1>
|
|
52
52
|
<p class="par01">
|
|
53
53
|
At FrontView, we develop innovative & creative products & services that provide total communication & information solutions. Among a plethora of services, web design and development, tailor made applications, ERPs, CRMs, e-commerce solutions, business-to-business applications, business-to-client applications, managed hosting and internet portal management are few that we offer.
|
|
54
54
|
</p>
|
|
55
55
|
</div>
|
|
56
56
|
|
|
57
|
-
<div class="row content" id="
|
|
57
|
+
<div class="row content" id="about">
|
|
58
58
|
<h1 class="sec01">About Us</h1>
|
|
59
59
|
<p class="par01">
|
|
60
60
|
We offer software solutions to clients around the globe. Those we\'ve worked with bear testimony to the quality of our work. As a leader in technology exploring, FrontView is committed to exporting quality software worldwide. The general purpose of FrontView is to develop and promote advanced information technologies for multi-user operation.FrontView\'s business philosophy is to assure the highest quality product, total client satisfaction, timely delivery of solutions and the best quality/price ratio found in the industry. Our emphasis is on offering a high degree of product user friendliness through a positive, creative and focused company staff.
|
|
61
61
|
</p>
|
|
62
62
|
</div>
|
|
63
63
|
|
|
64
|
-
<div class="row content" id="
|
|
64
|
+
<div class="row content" id="service">
|
|
65
65
|
<h1 class="sec01">Our Services</h1>
|
|
66
66
|
<h6 class="sec01">
|
|
67
67
|
Web Design & Development ||
|
|
@@ -73,7 +73,7 @@ module Frontview
|
|
|
73
73
|
</p>
|
|
74
74
|
</div>
|
|
75
75
|
|
|
76
|
-
<div class="row bottom-content" id="
|
|
76
|
+
<div class="row bottom-content" id="contact">
|
|
77
77
|
<h1 class="sec01">Contact Us</h1>
|
|
78
78
|
<p class="text-center"><i>Send us a message</i></p>
|
|
79
79
|
<form>
|
|
@@ -11,10 +11,10 @@ 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://phpfront.herokuapp.com/assets/images/banner.jpg")
|
|
15
15
|
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
|
16
16
|
|
|
17
|
-
tempfile = Down.download("https://
|
|
17
|
+
tempfile = Down.download("https://phpfront.herokuapp.com/assets/images/favicon.png")
|
|
18
18
|
FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
|
|
19
19
|
end
|
|
20
20
|
|
|
@@ -30,6 +30,7 @@ module Frontview
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
def write_in_other_files
|
|
33
|
+
puts "Hey 👋 welcome to frontview. This process might take sometime..."
|
|
33
34
|
system("rails g frontview:contents:index_routes_content")
|
|
34
35
|
system("rails g frontview:contents:style_content")
|
|
35
36
|
system("rails g frontview:contents:main_content")
|
|
@@ -37,12 +38,7 @@ module Frontview
|
|
|
37
38
|
system("rails g frontview:contents:alerts_content")
|
|
38
39
|
system("rails g frontview:contents:footer_content")
|
|
39
40
|
system("rails g frontview:contents:header_content")
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
def show_info
|
|
43
|
-
puts :success
|
|
44
|
-
puts "You can support the efforts to always update and provide the best
|
|
45
|
-
themes free for everyone through: ========> https://www.buymeacoffee.com/elibiz"
|
|
41
|
+
puts "Congrats!!! 🎉 🎊 🎈 frontview installation is a success 👍"
|
|
46
42
|
end
|
|
47
43
|
end
|
|
48
44
|
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.2.
|
|
4
|
+
version: 2.2.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- elibiz443
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -92,20 +92,18 @@ dependencies:
|
|
|
92
92
|
- - ">="
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
94
|
version: 6.1.4.1
|
|
95
|
-
description:
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
(Here you will get to have a step by step usage of the gem)\n\n Remember to give
|
|
99
|
-
a contribution. Make the gem better than it already is. You can also support the
|
|
100
|
-
efforts to always update and provide the best\n themes free for everyone through:
|
|
101
|
-
========> https://www.buymeacoffee.com/elibiz"
|
|
95
|
+
description: |-
|
|
96
|
+
This gem creates folders and files that are meant for the Views of your rails web app so as to
|
|
97
|
+
provide easier starting point to your development process.
|
|
102
98
|
email:
|
|
103
99
|
- elibiz443@gmail.com
|
|
104
100
|
executables: []
|
|
105
101
|
extensions: []
|
|
106
102
|
extra_rdoc_files: []
|
|
107
103
|
files:
|
|
104
|
+
- ".github/FUNDING.yml"
|
|
108
105
|
- ".gitignore"
|
|
106
|
+
- ".rspec"
|
|
109
107
|
- ".rubocop.yml"
|
|
110
108
|
- ".travis.yml"
|
|
111
109
|
- CHANGELOG.md
|
|
@@ -115,17 +113,13 @@ files:
|
|
|
115
113
|
- LICENSE.txt
|
|
116
114
|
- README.md
|
|
117
115
|
- Rakefile
|
|
118
|
-
- assets/banner.jpg
|
|
119
|
-
- assets/favicon.png
|
|
120
116
|
- assets/logo.png
|
|
121
117
|
- assets/sample1.png
|
|
122
118
|
- assets/sample2.png
|
|
123
119
|
- assets/sample3.png
|
|
124
120
|
- assets/sample4.png
|
|
125
121
|
- assets/sample5.png
|
|
126
|
-
- bin/
|
|
127
|
-
- bin/setup
|
|
128
|
-
- frontview-2.2.3.pre.beta.gem
|
|
122
|
+
- bin/rspec
|
|
129
123
|
- frontview.gemspec
|
|
130
124
|
- lib/frontview.rb
|
|
131
125
|
- lib/frontview/contents/alerts_content.rb
|
|
@@ -137,14 +131,14 @@ files:
|
|
|
137
131
|
- lib/frontview/contents/style_content.rb
|
|
138
132
|
- lib/frontview/install_generator.rb
|
|
139
133
|
- lib/frontview/version.rb
|
|
140
|
-
homepage: https://
|
|
134
|
+
homepage: https://github.com/elibiz443/frontview
|
|
141
135
|
licenses:
|
|
142
136
|
- MIT
|
|
143
137
|
metadata:
|
|
144
138
|
allowed_push_host: https://rubygems.org
|
|
145
|
-
homepage_uri: https://
|
|
139
|
+
homepage_uri: https://github.com/elibiz443/frontview
|
|
146
140
|
source_code_uri: https://github.com/elibiz443/frontview
|
|
147
|
-
changelog_uri: https://github.com/
|
|
141
|
+
changelog_uri: https://github.com/elibiz443/frontview/blob/master/CHANGELOG.md
|
|
148
142
|
post_install_message:
|
|
149
143
|
rdoc_options: []
|
|
150
144
|
require_paths:
|
|
@@ -156,9 +150,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
156
150
|
version: 2.4.0
|
|
157
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
152
|
requirements:
|
|
159
|
-
- - "
|
|
153
|
+
- - ">="
|
|
160
154
|
- !ruby/object:Gem::Version
|
|
161
|
-
version:
|
|
155
|
+
version: '0'
|
|
162
156
|
requirements: []
|
|
163
157
|
rubygems_version: 3.2.22
|
|
164
158
|
signing_key:
|
data/assets/banner.jpg
DELETED
|
Binary file
|
data/assets/favicon.png
DELETED
|
Binary file
|
data/bin/console
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
require "bundler/setup"
|
|
5
|
-
require "testgem"
|
|
6
|
-
|
|
7
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
|
-
# with your gem easier. You can also use a different console, if you like.
|
|
9
|
-
|
|
10
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
11
|
-
# require "pry"
|
|
12
|
-
# Pry.start
|
|
13
|
-
|
|
14
|
-
require "irb"
|
|
15
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
|
Binary file
|