frontview 2.0.0 → 2.2.0

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: ee602fe1c2d7ad7169ff670088a3bd6e58539f094de05006977a46e52ab5d06b
4
- data.tar.gz: 9fd2b4a1bb7d168e104995b0ddcc255fc7cc4e28144d508296bc7d5636461db8
3
+ metadata.gz: 66f99d04ba096201241ad3f1fd570eec70461efc42677f122b979dc1a9fe9c1c
4
+ data.tar.gz: 23ec2ae717a45ae5bd848a2e1e2500d53146d53364876d1cf01de5a24d33ab8f
5
5
  SHA512:
6
- metadata.gz: 51a791a52da5dc9dd4900ba83c212abfde3f5f56180d61475c1e20366e8281c673a1d95c4a44709c9309ce0c426e206396d074d90fe5add6cce9382aae59baa6
7
- data.tar.gz: bbafb2aa1ef9db8c44adecbea386299852950adb1468c8870414de591746e8a55c8ef350b037dd3887045647d0b2e098ce8067755cefe8a865c96cdf66bde049
6
+ metadata.gz: b3d3679452a649d3a65712fe22a1397ee4895bba69eceacc80998eff828d8332e5a4072b792eb0efd5d433549a757aad0a5bae9c57115d9bae1845ba268cbeae
7
+ data.tar.gz: 84c00b68bacb2bae0f18510428754f3543caf0b66fafffd8ccddee7d9ac212ddd045882acfebffee0f8e96c91efa5a283729408be5a0fd042b971b19ce3a1811
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.1
5
+ - 2.7.2
6
6
  before_install: gem install bundler -v 2.1.4
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 ADDED
@@ -0,0 +1,175 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ frontview (2.2.0)
5
+ down (~> 5.0)
6
+ rails (~> 6.1, >= 6.1.3.1)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (6.1.3.1)
12
+ actionpack (= 6.1.3.1)
13
+ activesupport (= 6.1.3.1)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ actionmailbox (6.1.3.1)
17
+ actionpack (= 6.1.3.1)
18
+ activejob (= 6.1.3.1)
19
+ activerecord (= 6.1.3.1)
20
+ activestorage (= 6.1.3.1)
21
+ activesupport (= 6.1.3.1)
22
+ mail (>= 2.7.1)
23
+ actionmailer (6.1.3.1)
24
+ actionpack (= 6.1.3.1)
25
+ actionview (= 6.1.3.1)
26
+ activejob (= 6.1.3.1)
27
+ activesupport (= 6.1.3.1)
28
+ mail (~> 2.5, >= 2.5.4)
29
+ rails-dom-testing (~> 2.0)
30
+ actionpack (6.1.3.1)
31
+ actionview (= 6.1.3.1)
32
+ activesupport (= 6.1.3.1)
33
+ rack (~> 2.0, >= 2.0.9)
34
+ rack-test (>= 0.6.3)
35
+ rails-dom-testing (~> 2.0)
36
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
+ actiontext (6.1.3.1)
38
+ actionpack (= 6.1.3.1)
39
+ activerecord (= 6.1.3.1)
40
+ activestorage (= 6.1.3.1)
41
+ activesupport (= 6.1.3.1)
42
+ nokogiri (>= 1.8.5)
43
+ actionview (6.1.3.1)
44
+ activesupport (= 6.1.3.1)
45
+ builder (~> 3.1)
46
+ erubi (~> 1.4)
47
+ rails-dom-testing (~> 2.0)
48
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
+ activejob (6.1.3.1)
50
+ activesupport (= 6.1.3.1)
51
+ globalid (>= 0.3.6)
52
+ activemodel (6.1.3.1)
53
+ activesupport (= 6.1.3.1)
54
+ activerecord (6.1.3.1)
55
+ activemodel (= 6.1.3.1)
56
+ activesupport (= 6.1.3.1)
57
+ activestorage (6.1.3.1)
58
+ actionpack (= 6.1.3.1)
59
+ activejob (= 6.1.3.1)
60
+ activerecord (= 6.1.3.1)
61
+ activesupport (= 6.1.3.1)
62
+ marcel (~> 1.0.0)
63
+ mini_mime (~> 1.0.2)
64
+ activesupport (6.1.3.1)
65
+ concurrent-ruby (~> 1.0, >= 1.0.2)
66
+ i18n (>= 1.6, < 2)
67
+ minitest (>= 5.1)
68
+ tzinfo (~> 2.0)
69
+ zeitwerk (~> 2.3)
70
+ addressable (2.7.0)
71
+ public_suffix (>= 2.0.2, < 5.0)
72
+ ast (2.4.2)
73
+ builder (3.2.4)
74
+ concurrent-ruby (1.1.8)
75
+ crass (1.0.6)
76
+ down (5.2.0)
77
+ addressable (~> 2.5)
78
+ erubi (1.10.0)
79
+ globalid (0.4.2)
80
+ activesupport (>= 4.2.0)
81
+ i18n (1.8.10)
82
+ concurrent-ruby (~> 1.0)
83
+ loofah (2.9.1)
84
+ crass (~> 1.0.2)
85
+ nokogiri (>= 1.5.9)
86
+ mail (2.7.1)
87
+ mini_mime (>= 0.1.1)
88
+ marcel (1.0.1)
89
+ method_source (1.0.0)
90
+ mini_mime (1.0.3)
91
+ minitest (5.14.4)
92
+ nio4r (2.5.7)
93
+ nokogiri (1.11.3-x86_64-linux)
94
+ racc (~> 1.4)
95
+ parallel (1.20.1)
96
+ parser (3.0.1.0)
97
+ ast (~> 2.4.1)
98
+ public_suffix (4.0.6)
99
+ racc (1.5.2)
100
+ rack (2.2.3)
101
+ rack-test (1.1.0)
102
+ rack (>= 1.0, < 3)
103
+ rails (6.1.3.1)
104
+ actioncable (= 6.1.3.1)
105
+ actionmailbox (= 6.1.3.1)
106
+ actionmailer (= 6.1.3.1)
107
+ actionpack (= 6.1.3.1)
108
+ actiontext (= 6.1.3.1)
109
+ actionview (= 6.1.3.1)
110
+ activejob (= 6.1.3.1)
111
+ activemodel (= 6.1.3.1)
112
+ activerecord (= 6.1.3.1)
113
+ activestorage (= 6.1.3.1)
114
+ activesupport (= 6.1.3.1)
115
+ bundler (>= 1.15.0)
116
+ railties (= 6.1.3.1)
117
+ sprockets-rails (>= 2.0.0)
118
+ rails-dom-testing (2.0.3)
119
+ activesupport (>= 4.2.0)
120
+ nokogiri (>= 1.6)
121
+ rails-html-sanitizer (1.3.0)
122
+ loofah (~> 2.3)
123
+ railties (6.1.3.1)
124
+ actionpack (= 6.1.3.1)
125
+ activesupport (= 6.1.3.1)
126
+ method_source
127
+ rake (>= 0.8.7)
128
+ thor (~> 1.0)
129
+ rainbow (3.0.0)
130
+ rake (13.0.3)
131
+ regexp_parser (2.1.1)
132
+ rexml (3.2.5)
133
+ rubocop (1.12.1)
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.2.0, < 2.0)
140
+ ruby-progressbar (~> 1.7)
141
+ unicode-display_width (>= 1.4.0, < 3.0)
142
+ rubocop-ast (1.4.1)
143
+ parser (>= 2.7.1.5)
144
+ ruby-progressbar (1.11.0)
145
+ sprockets (4.0.2)
146
+ concurrent-ruby (~> 1.0)
147
+ rack (> 1, < 3)
148
+ sprockets-rails (3.2.2)
149
+ actionpack (>= 4.0)
150
+ activesupport (>= 4.0)
151
+ sprockets (>= 3.0.0)
152
+ thor (1.1.0)
153
+ tzinfo (2.0.4)
154
+ concurrent-ruby (~> 1.0)
155
+ unicode-display_width (2.0.0)
156
+ websocket-driver (0.7.3)
157
+ websocket-extensions (>= 0.1.0)
158
+ websocket-extensions (0.1.5)
159
+ zeitwerk (2.4.2)
160
+
161
+ PLATFORMS
162
+ x86_64-linux
163
+
164
+ DEPENDENCIES
165
+ bundler (~> 2.2.15)
166
+ down (~> 5.0)
167
+ frontview!
168
+ minitest (~> 5.0)
169
+ rails (~> 6.1, >= 6.1.3.1)
170
+ rake (~> 13.0)
171
+ rubocop (~> 1.7)
172
+ thor (~> 1.1)
173
+
174
+ BUNDLED WITH
175
+ 2.2.16
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,4 +1,4 @@
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
 
@@ -12,51 +12,77 @@ gem 'frontview'
12
12
 
13
13
  And then execute:
14
14
 
15
- $ bundle install
15
+ ```
16
+ $ bundle install
17
+ ```
18
+ ## Usage
16
19
 
17
- Or install it yourself as:
20
+ Run scaffold. Lets assume our model is 'home' which has a 'title' and a 'body'(Optional)
18
21
 
19
- $ gem install frontview
22
+ ```
23
+ $ rails g scaffold home title:string body:text
24
+ ```
20
25
 
21
- ## Usage
26
+ Delete scaffold.scss, from (assets/stylesheets/scaffold.scss).
22
27
 
23
- Add the gem to your gemfile and then run bundle install.
24
- Run scaffold. Lets assume our model is 'home' which has a 'title' and a 'body'(Optional)
28
+ Optional:
25
29
 
26
- $ rails g scaffold home title:string body:text
30
+ ------>>> Delete the Sass files i.e homes.scss.
27
31
 
28
- Delete scaffold.scss, from (assets/stylesheets/scaffold.scss)
29
- (Optional) - Delete the Sass files i.e homes.scss
32
+ ------>>> 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.)
30
33
 
31
- Generate the necessary files and folders by:
32
34
 
33
- $ rails g frontview:install
35
+ Delete all the files in views/homes except index.html.erb
36
+
37
+ Generate the necessary files and folders by:
34
38
 
35
39
  N/B: You will be prompted to give the name of your model,
36
40
  In this case you'll write 'home' and press enter. All the files will then be in place.
37
41
 
42
+ ```
43
+ $ rails g frontview:install
44
+ ```
45
+
38
46
  Create & Migrate DB
39
47
 
40
- $ rails db:create && rails db:migrate
48
+ ```
49
+ $ rails db:create && rails db:migrate
50
+ ```
41
51
 
42
52
  Finally run the rails server and you are good to go:
43
53
 
44
- $ rails s
54
+ ```
55
+ $ rails s
56
+ ```
45
57
 
46
58
  Access your web in: localhost:3000
47
59
 
48
- Optional:
49
- 1. Remove the line '*= require_tree .' from 'assets/stylesheets/application.css'
50
- 2. Remove or comment the line 'require("turbolinks").start()' from 'javascript/packs/application.js'
51
-
52
- Reasons for the above optional procedures:
53
-
54
- The first option allows for the individual inclusion of each css file in the 'application.html.erb' file.
55
- 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.
56
60
 
57
61
  This gem is suitable for a new project. It helps to kickstart everything very fast.
58
62
  If everything runs perfectly, don't forget to follow on twitter ========> https://twitter.com/frontview3
59
63
 
64
+ You can also support the efforts to always update and provide the best themes free for everyone through: ========> https://www.buymeacoffee.com/elibiz
65
+
66
+ ## Sample screenshots of the frontview theme:
67
+
68
+ ## Home Screenshot in large screens:
69
+ ![alt text](assets/sample1.png)
70
+
71
+ ## Features Screenshot:
72
+
73
+ ![alt text](assets/sample2.png)
74
+
75
+ ## Pricing Screenshot:
76
+
77
+ ![alt text](assets/sample3.png)
78
+
79
+ ## Contact Screenshot:
80
+
81
+ ![alt text](assets/sample4.png)
82
+
83
+ ## Home Screenshot in small screens:
84
+ ![alt text](assets/sample5.png)
85
+
60
86
  ## Congrats
61
87
 
62
88
  \