frontview 2.1.1 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e83c028683b09a72abae0a7241fec05bd1ba53fe8e630b5fbc2c0bc81d957715
4
- data.tar.gz: 3d4414e9acaf9ee95f6017170dc6c8832a49bb15f3d5ab6b92bdf8eb48f12a14
3
+ metadata.gz: 47611168b89633f82439dc35d1625a2aa7be95f3b5e96a33469c52e3f886b10c
4
+ data.tar.gz: 42e51ebce3ce70b0151ac6ee928cd59a1586f61507e74059d66339975d21a68c
5
5
  SHA512:
6
- metadata.gz: 2a59992d8703a7b955f0ae9108952b0d52e3265545a08ad7c13646a599c2f7edd97f55dd544feb22aa20be9a6c4b6aeaef933ade0d6ea1194499b705c41b04d7
7
- data.tar.gz: 7581ffcb750c6c130729f8ca5c801e055391f81b8f7d23fb6847ac963dcc91cfa84282a33005a3af13888677d674aa0888c6c1ce3431909f38192efb4a8147e1
6
+ metadata.gz: f0c1f722a8714bce27179899266a2bb36767ea01a7fd1cdf6b21715b349f20dfa07193d690a7dfe3f753d32f4648d8f9395577a99433e064606c68707ce0e20d
7
+ data.tar.gz: 269e8605b8f1f920639dd351f3524c44b319edd6b2dae67e77c1987d8d4ddd2dd8950eaa51ea2add45087a211d52038dc49c96655932a0c596b53b015f70ae2d
data/.rubocop.yml ADDED
@@ -0,0 +1,13 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.4
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+ EnforcedStyle: double_quotes
7
+
8
+ Style/StringLiteralsInInterpolation:
9
+ Enabled: true
10
+ EnforcedStyle: double_quotes
11
+
12
+ Layout/LineLength:
13
+ Max: 120
data/.travis.yml CHANGED
@@ -2,5 +2,5 @@
2
2
  language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.7.2
6
- before_install: gem install bundler -v 2.1.4
5
+ - 3.0.2
6
+ before_install: gem install bundler -v 2.2.24
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2021-03-31
4
+
5
+ - Initial release
data/CODE_OF_CONDUCT.md CHANGED
@@ -2,73 +2,83 @@
2
2
 
3
3
  ## Our Pledge
4
4
 
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
11
8
 
12
9
  ## Our Standards
13
10
 
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
11
+ Examples of behavior that contributes to a positive environment for our community include:
16
12
 
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
22
18
 
23
- Examples of unacceptable behavior by participants include:
19
+ Examples of unacceptable behavior include:
24
20
 
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
28
24
  * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
31
27
  * Other conduct which could reasonably be considered inappropriate in a
32
28
  professional setting
33
29
 
34
- ## Our Responsibilities
30
+ ## Enforcement Responsibilities
35
31
 
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
39
33
 
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
45
35
 
46
36
  ## Scope
47
37
 
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
54
39
 
55
40
  ## Enforcement
56
41
 
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at elibiz443@gmail.com. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at ellyambet10@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
63
59
 
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
67
73
 
68
74
  ## Attribution
69
75
 
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [https://contributor-covenant.org/version/1/4][version]
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
72
82
 
73
- [homepage]: https://contributor-covenant.org
74
- [version]: https://contributor-covenant.org/version/1/4/
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile CHANGED
@@ -2,5 +2,7 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem "rake", "~> 12.0"
5
+ gem "rake", "~> 13.0"
6
6
  gem "minitest", "~> 5.0"
7
+ gem "rubocop", "~> 1.7"
8
+ gem "thor", "~> 1.1"
data/Gemfile.lock CHANGED
@@ -1,128 +1,147 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- frontview (2.1.1)
4
+ frontview (2.2.1)
5
5
  down (~> 5.0)
6
- rails (~> 6.0.3, >= 6.0.3.4)
6
+ rails (~> 6.1, >= 6.1.4.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (6.0.3.4)
12
- actionpack (= 6.0.3.4)
11
+ actioncable (6.1.4.1)
12
+ actionpack (= 6.1.4.1)
13
+ activesupport (= 6.1.4.1)
13
14
  nio4r (~> 2.0)
14
15
  websocket-driver (>= 0.6.1)
15
- actionmailbox (6.0.3.4)
16
- actionpack (= 6.0.3.4)
17
- activejob (= 6.0.3.4)
18
- activerecord (= 6.0.3.4)
19
- activestorage (= 6.0.3.4)
20
- activesupport (= 6.0.3.4)
16
+ actionmailbox (6.1.4.1)
17
+ actionpack (= 6.1.4.1)
18
+ activejob (= 6.1.4.1)
19
+ activerecord (= 6.1.4.1)
20
+ activestorage (= 6.1.4.1)
21
+ activesupport (= 6.1.4.1)
21
22
  mail (>= 2.7.1)
22
- actionmailer (6.0.3.4)
23
- actionpack (= 6.0.3.4)
24
- actionview (= 6.0.3.4)
25
- activejob (= 6.0.3.4)
23
+ actionmailer (6.1.4.1)
24
+ actionpack (= 6.1.4.1)
25
+ actionview (= 6.1.4.1)
26
+ activejob (= 6.1.4.1)
27
+ activesupport (= 6.1.4.1)
26
28
  mail (~> 2.5, >= 2.5.4)
27
29
  rails-dom-testing (~> 2.0)
28
- actionpack (6.0.3.4)
29
- actionview (= 6.0.3.4)
30
- activesupport (= 6.0.3.4)
31
- rack (~> 2.0, >= 2.0.8)
30
+ actionpack (6.1.4.1)
31
+ actionview (= 6.1.4.1)
32
+ activesupport (= 6.1.4.1)
33
+ rack (~> 2.0, >= 2.0.9)
32
34
  rack-test (>= 0.6.3)
33
35
  rails-dom-testing (~> 2.0)
34
36
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
- actiontext (6.0.3.4)
36
- actionpack (= 6.0.3.4)
37
- activerecord (= 6.0.3.4)
38
- activestorage (= 6.0.3.4)
39
- activesupport (= 6.0.3.4)
37
+ actiontext (6.1.4.1)
38
+ actionpack (= 6.1.4.1)
39
+ activerecord (= 6.1.4.1)
40
+ activestorage (= 6.1.4.1)
41
+ activesupport (= 6.1.4.1)
40
42
  nokogiri (>= 1.8.5)
41
- actionview (6.0.3.4)
42
- activesupport (= 6.0.3.4)
43
+ actionview (6.1.4.1)
44
+ activesupport (= 6.1.4.1)
43
45
  builder (~> 3.1)
44
46
  erubi (~> 1.4)
45
47
  rails-dom-testing (~> 2.0)
46
48
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
- activejob (6.0.3.4)
48
- activesupport (= 6.0.3.4)
49
+ activejob (6.1.4.1)
50
+ activesupport (= 6.1.4.1)
49
51
  globalid (>= 0.3.6)
50
- activemodel (6.0.3.4)
51
- activesupport (= 6.0.3.4)
52
- activerecord (6.0.3.4)
53
- activemodel (= 6.0.3.4)
54
- activesupport (= 6.0.3.4)
55
- activestorage (6.0.3.4)
56
- actionpack (= 6.0.3.4)
57
- activejob (= 6.0.3.4)
58
- activerecord (= 6.0.3.4)
59
- marcel (~> 0.3.1)
60
- activesupport (6.0.3.4)
52
+ activemodel (6.1.4.1)
53
+ activesupport (= 6.1.4.1)
54
+ activerecord (6.1.4.1)
55
+ activemodel (= 6.1.4.1)
56
+ activesupport (= 6.1.4.1)
57
+ activestorage (6.1.4.1)
58
+ actionpack (= 6.1.4.1)
59
+ activejob (= 6.1.4.1)
60
+ activerecord (= 6.1.4.1)
61
+ activesupport (= 6.1.4.1)
62
+ marcel (~> 1.0.0)
63
+ mini_mime (>= 1.1.0)
64
+ activesupport (6.1.4.1)
61
65
  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)
66
+ i18n (>= 1.6, < 2)
67
+ minitest (>= 5.1)
68
+ tzinfo (~> 2.0)
69
+ zeitwerk (~> 2.3)
70
+ addressable (2.8.0)
67
71
  public_suffix (>= 2.0.2, < 5.0)
72
+ ast (2.4.2)
68
73
  builder (3.2.4)
69
- codelog (0.8.0)
70
- thor (~> 0.19)
71
- concurrent-ruby (1.1.7)
74
+ concurrent-ruby (1.1.9)
72
75
  crass (1.0.6)
73
- down (5.2.0)
74
- addressable (~> 2.5)
75
- erubi (1.9.0)
76
- globalid (0.4.2)
77
- activesupport (>= 4.2.0)
78
- i18n (1.8.5)
76
+ down (5.2.4)
77
+ addressable (~> 2.8)
78
+ erubi (1.10.0)
79
+ globalid (0.5.2)
80
+ activesupport (>= 5.0)
81
+ i18n (1.8.10)
79
82
  concurrent-ruby (~> 1.0)
80
- loofah (2.7.0)
83
+ loofah (2.12.0)
81
84
  crass (~> 1.0.2)
82
85
  nokogiri (>= 1.5.9)
83
86
  mail (2.7.1)
84
87
  mini_mime (>= 0.1.1)
85
- marcel (0.3.3)
86
- mimemagic (~> 0.3.2)
88
+ marcel (1.0.1)
87
89
  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.2)
92
- nio4r (2.5.4)
93
- nokogiri (1.10.10)
94
- mini_portile2 (~> 2.4.0)
90
+ mini_mime (1.1.1)
91
+ minitest (5.14.4)
92
+ nio4r (2.5.8)
93
+ nokogiri (1.12.4-x86_64-linux)
94
+ racc (~> 1.4)
95
+ parallel (1.21.0)
96
+ parser (3.0.2.0)
97
+ ast (~> 2.4.1)
95
98
  public_suffix (4.0.6)
99
+ racc (1.5.2)
96
100
  rack (2.2.3)
97
101
  rack-test (1.1.0)
98
102
  rack (>= 1.0, < 3)
99
- rails (6.0.3.4)
100
- actioncable (= 6.0.3.4)
101
- actionmailbox (= 6.0.3.4)
102
- actionmailer (= 6.0.3.4)
103
- actionpack (= 6.0.3.4)
104
- actiontext (= 6.0.3.4)
105
- actionview (= 6.0.3.4)
106
- activejob (= 6.0.3.4)
107
- activemodel (= 6.0.3.4)
108
- activerecord (= 6.0.3.4)
109
- activestorage (= 6.0.3.4)
110
- activesupport (= 6.0.3.4)
111
- bundler (>= 1.3.0)
112
- railties (= 6.0.3.4)
103
+ rails (6.1.4.1)
104
+ actioncable (= 6.1.4.1)
105
+ actionmailbox (= 6.1.4.1)
106
+ actionmailer (= 6.1.4.1)
107
+ actionpack (= 6.1.4.1)
108
+ actiontext (= 6.1.4.1)
109
+ actionview (= 6.1.4.1)
110
+ activejob (= 6.1.4.1)
111
+ activemodel (= 6.1.4.1)
112
+ activerecord (= 6.1.4.1)
113
+ activestorage (= 6.1.4.1)
114
+ activesupport (= 6.1.4.1)
115
+ bundler (>= 1.15.0)
116
+ railties (= 6.1.4.1)
113
117
  sprockets-rails (>= 2.0.0)
114
118
  rails-dom-testing (2.0.3)
115
119
  activesupport (>= 4.2.0)
116
120
  nokogiri (>= 1.6)
117
- rails-html-sanitizer (1.3.0)
121
+ rails-html-sanitizer (1.4.2)
118
122
  loofah (~> 2.3)
119
- railties (6.0.3.4)
120
- actionpack (= 6.0.3.4)
121
- activesupport (= 6.0.3.4)
123
+ railties (6.1.4.1)
124
+ actionpack (= 6.1.4.1)
125
+ activesupport (= 6.1.4.1)
122
126
  method_source
123
- rake (>= 0.8.7)
124
- thor (>= 0.20.3, < 2.0)
125
- rake (12.3.3)
127
+ rake (>= 0.13)
128
+ thor (~> 1.0)
129
+ rainbow (3.0.0)
130
+ rake (13.0.6)
131
+ regexp_parser (2.1.1)
132
+ rexml (3.2.5)
133
+ rubocop (1.21.0)
134
+ parallel (~> 1.10)
135
+ parser (>= 3.0.0.0)
136
+ rainbow (>= 2.2.2, < 4.0)
137
+ regexp_parser (>= 1.8, < 3.0)
138
+ rexml
139
+ rubocop-ast (>= 1.9.1, < 2.0)
140
+ ruby-progressbar (~> 1.7)
141
+ unicode-display_width (>= 1.4.0, < 3.0)
142
+ rubocop-ast (1.11.0)
143
+ parser (>= 3.0.1.1)
144
+ ruby-progressbar (1.11.0)
126
145
  sprockets (4.0.2)
127
146
  concurrent-ruby (~> 1.0)
128
147
  rack (> 1, < 3)
@@ -130,26 +149,27 @@ GEM
130
149
  actionpack (>= 4.0)
131
150
  activesupport (>= 4.0)
132
151
  sprockets (>= 3.0.0)
133
- thor (0.20.3)
134
- thread_safe (0.3.6)
135
- tzinfo (1.2.8)
136
- thread_safe (~> 0.1)
137
- websocket-driver (0.7.3)
152
+ thor (1.1.0)
153
+ tzinfo (2.0.4)
154
+ concurrent-ruby (~> 1.0)
155
+ unicode-display_width (2.1.0)
156
+ websocket-driver (0.7.5)
138
157
  websocket-extensions (>= 0.1.0)
139
158
  websocket-extensions (0.1.5)
140
- zeitwerk (2.4.1)
159
+ zeitwerk (2.4.2)
141
160
 
142
161
  PLATFORMS
143
- ruby
162
+ x86_64-linux
144
163
 
145
164
  DEPENDENCIES
146
- bundler (~> 2.1.4)
147
- codelog (~> 0.8.0)
165
+ bundler (~> 2.2.15)
148
166
  down (~> 5.0)
149
167
  frontview!
150
168
  minitest (~> 5.0)
151
- rails (~> 6.0.3, >= 6.0.3.4)
152
- rake (~> 12.0)
169
+ rails (~> 6.1, >= 6.1.4.1)
170
+ rake (~> 13.0)
171
+ rubocop (~> 1.7)
172
+ thor (~> 1.1)
153
173
 
154
174
  BUNDLED WITH
155
- 2.1.4
175
+ 2.2.24
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 elibiz443
3
+ Copyright (c) 2021 elibiz443
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,77 +1,67 @@
1
- ![alt text](logo/logo.png)
1
+ ![alt text](assets/logo.png)
2
2
 
3
3
  This is frontview gem, a gem that gives the front-end template to the rails 6 applications for easier web development. It provides the assets contents i.e folders & files(images[favicon.png & logo.png], stylesheets[css/style.css]), javascript content i.e (javascript/packs/main.js) & the views contents folders & Files.
4
4
 
5
- ## Installation
6
-
5
+ ### Installation
7
6
  Add this line to your application's Gemfile:
8
-
9
- ```ruby
10
- gem 'frontview'
11
7
  ```
12
-
13
- And then execute:
14
-
8
+ gem 'frontview'
15
9
  ```
16
- $ bundle install
17
- ```
18
-
19
- Or install it yourself as:
20
-
10
+ And then execute:
21
11
  ```
22
- $ gem install frontview
12
+ bundle install
23
13
  ```
24
-
25
- ## Usage
26
-
27
- Add the gem to your gemfile and then run bundle install.
14
+ ### Usage
28
15
  Run scaffold. Lets assume our model is 'home' which has a 'title' and a 'body'(Optional)
29
-
30
16
  ```
31
- $ rails g scaffold home title:string body:text
17
+ rails g scaffold home title:string body:text
32
18
  ```
33
-
34
19
  Delete scaffold.scss, from (assets/stylesheets/scaffold.scss).
20
+ Optional:
21
+ ------>>> Delete the Sass files i.e homes.scss.
35
22
 
36
- (Optional) - Delete the Sass files i.e homes.scss.
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.)
37
24
 
38
- Generate the necessary files and folders by:
25
+ Delete all the files in views/homes except index.html.erb
39
26
 
27
+ Generate the necessary files and folders by:
28
+ 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.
40
29
  ```
41
- $ rails g frontview:install
30
+ rails g frontview:install
42
31
  ```
43
-
44
- N/B: You will be prompted to give the name of your model,
45
- In this case you'll write 'home' and press enter. All the files will then be in place.
46
-
47
32
  Create & Migrate DB
48
-
49
33
  ```
50
- $ rails db:create && rails db:migrate
34
+ rails db:create && rails db:migrate
51
35
  ```
52
-
53
36
  Finally run the rails server and you are good to go:
54
-
55
37
  ```
56
- $ rails s
38
+ rails s
57
39
  ```
58
-
59
40
  Access your web in: localhost:3000
60
41
 
61
- Optional:
62
- 1. Remove the line '*= require_tree .' from 'assets/stylesheets/application.css'
63
- 2. Remove or comment the line 'require("turbolinks").start()' from 'javascript/packs/application.js'
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
64
44
 
65
- Reasons for the above optional procedures:
45
+ You can also support the efforts to always update and provide the best themes free for everyone through: ========> https://www.buymeacoffee.com/elibiz
66
46
 
67
- The first option allows for the individual inclusion of each css file in the 'application.html.erb' file.
68
- The second and third options disable turbolinks. Rails core team has chose to enable it by default. Unfortunately there are some subtle edge cases and scenarios in which Turbolinks will not work as expected, and for these reasons we don't think it's a great default.
47
+ ## Sample screenshots of the frontview theme(Fully Responsive):
69
48
 
70
- This gem is suitable for a new project. It helps to kickstart everything very fast.
71
- If everything runs perfectly, don't forget to follow on twitter ========> https://twitter.com/frontview3
49
+ ### Home Section:
50
+ ![alt text](assets/sample1.png)
51
+
52
+ ### Introduction Section (Showing Header):
53
+ ![alt text](assets/sample2.png)
72
54
 
73
- ## Congrats
55
+ ### About Us Section:
56
+ ![alt text](assets/sample3.png)
74
57
 
58
+ ### Our Services Section:
59
+ ![alt text](assets/sample4.png)
60
+
61
+ ### Contact Us & Footer Section:
62
+ ![alt text](assets/sample5.png)
63
+
64
+ ### Voilà
75
65
  \
76
66
  / \
77
67
  / \
@@ -95,20 +85,15 @@ If everything runs perfectly, don't forget to follow on twitter ========> https:
95
85
  \_________/
96
86
 
97
87
  ## Development
98
-
99
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.
100
89
 
101
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).
102
91
 
103
92
  ## Contributing
104
-
105
93
  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).
106
94
 
107
-
108
95
  ## License
109
-
110
96
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
111
97
 
112
98
  ## Code of Conduct
113
-
114
99
  Everyone interacting in the Frontview project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/elibiz443/frontview/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile CHANGED
@@ -7,4 +7,8 @@ Rake::TestTask.new(:test) do |t|
7
7
  t.test_files = FileList["test/**/*_test.rb"]
8
8
  end
9
9
 
10
- task :default => :test
10
+ require "rubocop/rake_task"
11
+
12
+ RuboCop::RakeTask.new
13
+
14
+ task default: %i[test rubocop]
data/assets/banner.jpg ADDED
Binary file
Binary file
File without changes
Binary file
Binary file
Binary file
Binary file
Binary file
data/bin/console CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require "bundler/setup"
4
- require "frontview"
5
+ require "testgem"
5
6
 
6
7
  # You can add fixtures and/or initialization code here to make experimenting
7
8
  # with your gem easier. You can also use a different console, if you like.