frontview 2.1.3 → 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: 889e392cdfd29f28e97946153f889a2fe522d2f04cbd4944e882c8b31a9b7768
4
- data.tar.gz: 4e312f0b2dde6ad7b0a1451bce9cc68f3ebc98b2f85edab42f9d8009c99ecab0
3
+ metadata.gz: 66f99d04ba096201241ad3f1fd570eec70461efc42677f122b979dc1a9fe9c1c
4
+ data.tar.gz: 23ec2ae717a45ae5bd848a2e1e2500d53146d53364876d1cf01de5a24d33ab8f
5
5
  SHA512:
6
- metadata.gz: ece8b293fb498122180a4bf80f96d02c5edff7cfbaca63a07e1baee703e23de7a91442d58c2de1d1994c2dccb789a637658a2ca81bc700c6c06deff1b911367e
7
- data.tar.gz: 8a5031d3f027da237c32e2953cd43b153ac3cbee0c174bfb145fa6acbf508d98d863d4231fdf07dfe5ff18a64601928edaa927f71f58192e9722ef5c46ad0630
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/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"
6
- gem "minitest"
5
+ gem "rake", "~> 13.0"
6
+ gem "minitest", "~> 5.0"
7
+ gem "rubocop", "~> 1.7"
8
+ gem "thor", "~> 1.1"
data/Gemfile.lock CHANGED
@@ -1,73 +1,76 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- frontview (2.1.3)
5
- down
6
- rails
4
+ frontview (2.2.0)
5
+ down (~> 5.0)
6
+ rails (~> 6.1, >= 6.1.3.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (6.0.3.6)
12
- actionpack (= 6.0.3.6)
11
+ actioncable (6.1.3.1)
12
+ actionpack (= 6.1.3.1)
13
+ activesupport (= 6.1.3.1)
13
14
  nio4r (~> 2.0)
14
15
  websocket-driver (>= 0.6.1)
15
- actionmailbox (6.0.3.6)
16
- actionpack (= 6.0.3.6)
17
- activejob (= 6.0.3.6)
18
- activerecord (= 6.0.3.6)
19
- activestorage (= 6.0.3.6)
20
- activesupport (= 6.0.3.6)
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)
21
22
  mail (>= 2.7.1)
22
- actionmailer (6.0.3.6)
23
- actionpack (= 6.0.3.6)
24
- actionview (= 6.0.3.6)
25
- activejob (= 6.0.3.6)
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)
26
28
  mail (~> 2.5, >= 2.5.4)
27
29
  rails-dom-testing (~> 2.0)
28
- actionpack (6.0.3.6)
29
- actionview (= 6.0.3.6)
30
- activesupport (= 6.0.3.6)
31
- rack (~> 2.0, >= 2.0.8)
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)
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.6)
36
- actionpack (= 6.0.3.6)
37
- activerecord (= 6.0.3.6)
38
- activestorage (= 6.0.3.6)
39
- activesupport (= 6.0.3.6)
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)
40
42
  nokogiri (>= 1.8.5)
41
- actionview (6.0.3.6)
42
- activesupport (= 6.0.3.6)
43
+ actionview (6.1.3.1)
44
+ activesupport (= 6.1.3.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.6)
48
- activesupport (= 6.0.3.6)
49
+ activejob (6.1.3.1)
50
+ activesupport (= 6.1.3.1)
49
51
  globalid (>= 0.3.6)
50
- activemodel (6.0.3.6)
51
- activesupport (= 6.0.3.6)
52
- activerecord (6.0.3.6)
53
- activemodel (= 6.0.3.6)
54
- activesupport (= 6.0.3.6)
55
- activestorage (6.0.3.6)
56
- actionpack (= 6.0.3.6)
57
- activejob (= 6.0.3.6)
58
- activerecord (= 6.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)
59
62
  marcel (~> 1.0.0)
60
- activesupport (6.0.3.6)
63
+ mini_mime (~> 1.0.2)
64
+ activesupport (6.1.3.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
+ i18n (>= 1.6, < 2)
67
+ minitest (>= 5.1)
68
+ tzinfo (~> 2.0)
69
+ zeitwerk (~> 2.3)
66
70
  addressable (2.7.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
74
  concurrent-ruby (1.1.8)
72
75
  crass (1.0.6)
73
76
  down (5.2.0)
@@ -77,50 +80,68 @@ GEM
77
80
  activesupport (>= 4.2.0)
78
81
  i18n (1.8.10)
79
82
  concurrent-ruby (~> 1.0)
80
- loofah (2.9.0)
83
+ loofah (2.9.1)
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 (1.0.0)
88
+ marcel (1.0.1)
86
89
  method_source (1.0.0)
87
90
  mini_mime (1.0.3)
88
91
  minitest (5.14.4)
89
92
  nio4r (2.5.7)
90
- nokogiri (1.11.2-x86_64-linux)
93
+ nokogiri (1.11.3-x86_64-linux)
91
94
  racc (~> 1.4)
95
+ parallel (1.20.1)
96
+ parser (3.0.1.0)
97
+ ast (~> 2.4.1)
92
98
  public_suffix (4.0.6)
93
99
  racc (1.5.2)
94
100
  rack (2.2.3)
95
101
  rack-test (1.1.0)
96
102
  rack (>= 1.0, < 3)
97
- rails (6.0.3.6)
98
- actioncable (= 6.0.3.6)
99
- actionmailbox (= 6.0.3.6)
100
- actionmailer (= 6.0.3.6)
101
- actionpack (= 6.0.3.6)
102
- actiontext (= 6.0.3.6)
103
- actionview (= 6.0.3.6)
104
- activejob (= 6.0.3.6)
105
- activemodel (= 6.0.3.6)
106
- activerecord (= 6.0.3.6)
107
- activestorage (= 6.0.3.6)
108
- activesupport (= 6.0.3.6)
109
- bundler (>= 1.3.0)
110
- railties (= 6.0.3.6)
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)
111
117
  sprockets-rails (>= 2.0.0)
112
118
  rails-dom-testing (2.0.3)
113
119
  activesupport (>= 4.2.0)
114
120
  nokogiri (>= 1.6)
115
121
  rails-html-sanitizer (1.3.0)
116
122
  loofah (~> 2.3)
117
- railties (6.0.3.6)
118
- actionpack (= 6.0.3.6)
119
- activesupport (= 6.0.3.6)
123
+ railties (6.1.3.1)
124
+ actionpack (= 6.1.3.1)
125
+ activesupport (= 6.1.3.1)
120
126
  method_source
121
127
  rake (>= 0.8.7)
122
- thor (>= 0.20.3, < 2.0)
128
+ thor (~> 1.0)
129
+ rainbow (3.0.0)
123
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)
124
145
  sprockets (4.0.2)
125
146
  concurrent-ruby (~> 1.0)
126
147
  rack (> 1, < 3)
@@ -128,10 +149,10 @@ GEM
128
149
  actionpack (>= 4.0)
129
150
  activesupport (>= 4.0)
130
151
  sprockets (>= 3.0.0)
131
- thor (0.20.3)
132
- thread_safe (0.3.6)
133
- tzinfo (1.2.9)
134
- thread_safe (~> 0.1)
152
+ thor (1.1.0)
153
+ tzinfo (2.0.4)
154
+ concurrent-ruby (~> 1.0)
155
+ unicode-display_width (2.0.0)
135
156
  websocket-driver (0.7.3)
136
157
  websocket-extensions (>= 0.1.0)
137
158
  websocket-extensions (0.1.5)
@@ -141,13 +162,14 @@ PLATFORMS
141
162
  x86_64-linux
142
163
 
143
164
  DEPENDENCIES
144
- bundler
145
- codelog
146
- down
165
+ bundler (~> 2.2.15)
166
+ down (~> 5.0)
147
167
  frontview!
148
- minitest
149
- rails
150
- rake
168
+ minitest (~> 5.0)
169
+ rails (~> 6.1, >= 6.1.3.1)
170
+ rake (~> 13.0)
171
+ rubocop (~> 1.7)
172
+ thor (~> 1.1)
151
173
 
152
174
  BUNDLED WITH
153
- 2.2.14
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
@@ -15,16 +15,8 @@ And then execute:
15
15
  ```
16
16
  $ bundle install
17
17
  ```
18
-
19
- Or install it yourself as:
20
-
21
- ```
22
- $ gem install frontview
23
- ```
24
-
25
18
  ## Usage
26
19
 
27
- Add the gem to your gemfile and then run bundle install.
28
20
  Run scaffold. Lets assume our model is 'home' which has a 'title' and a 'body'(Optional)
29
21
 
30
22
  ```
@@ -33,19 +25,24 @@ $ rails g scaffold home title:string body:text
33
25
 
34
26
  Delete scaffold.scss, from (assets/stylesheets/scaffold.scss).
35
27
 
36
- (Optional) - Delete the Sass files i.e homes.scss.
28
+ Optional:
29
+
30
+ ------>>> Delete the Sass files i.e homes.scss.
31
+
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.)
33
+
37
34
 
38
35
  Delete all the files in views/homes except index.html.erb
39
36
 
40
37
  Generate the necessary files and folders by:
41
38
 
39
+ N/B: You will be prompted to give the name of your model,
40
+ In this case you'll write 'home' and press enter. All the files will then be in place.
41
+
42
42
  ```
43
43
  $ rails g frontview:install
44
44
  ```
45
45
 
46
- N/B: You will be prompted to give the name of your model,
47
- In this case you'll write 'home' and press enter. All the files will then be in place.
48
-
49
46
  Create & Migrate DB
50
47
 
51
48
  ```
@@ -60,14 +57,6 @@ $ rails s
60
57
 
61
58
  Access your web in: localhost:3000
62
59
 
63
- Optional:
64
- 1. Remove the line '*= require_tree .' from 'assets/stylesheets/application.css'
65
- 2. Remove or comment the line 'require("turbolinks").start()' from 'javascript/packs/application.js'
66
-
67
- Reasons for the above optional procedures:
68
-
69
- The first option allows for the individual inclusion of each css file in the 'application.html.erb' file.
70
- 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.
71
60
 
72
61
  This gem is suitable for a new project. It helps to kickstart everything very fast.
73
62
  If everything runs perfectly, don't forget to follow on twitter ========> https://twitter.com/frontview3
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/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.
data/frontview.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  themes free for everyone through: ========> https://www.buymeacoffee.com/elibiz"
15
15
  spec.homepage = "https://rubygems.org/gems/frontview"
16
16
  spec.license = "MIT"
17
- spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
17
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
18
18
 
19
19
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
20
20
 
@@ -29,11 +29,10 @@ Gem::Specification.new do |spec|
29
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
30
  spec.require_paths = ["lib"]
31
31
 
32
- spec.add_development_dependency "bundler"
33
- spec.add_development_dependency "codelog"
34
- spec.add_development_dependency "down"
35
- spec.add_development_dependency "rails"
32
+ spec.add_development_dependency "bundler", "~> 2.2.15"
33
+ spec.add_development_dependency "down", "~> 5.0"
34
+ spec.add_development_dependency 'rails', '~> 6.1', '>= 6.1.3.1'
36
35
 
37
- spec.add_dependency "down"
38
- spec.add_dependency "rails"
36
+ spec.add_dependency "down", "~> 5.0"
37
+ spec.add_dependency 'rails', '~> 6.1', '>= 6.1.3.1'
39
38
  end
@@ -76,7 +76,7 @@ module Frontview
76
76
  <div class="row align-items-center">
77
77
  <div class="col-xl-12">
78
78
  <div class="footer-copy-right">
79
- <p>Copyright &copy;<script>document.write(new Date().getFullYear());</script> All rights reserved || FrontView Rails Template (This template is free and can be used by anyone).</p>
79
+ <p>Copyright &copy; 2021 All rights reserved || FrontView Rails Template (This template is free and can be used by anyone).</p>
80
80
  </div>
81
81
  </div>
82
82
  </div>
@@ -4,20 +4,7 @@ module Frontview
4
4
  def write_in_header_file
5
5
  File.open("app/views/shared/_header.html.erb", "w+") {
6
6
  |file| file.puts(
7
- '<!-- Preloader Start -->
8
- <div id="preloader-active">
9
- <div class="preloader d-flex align-items-center justify-content-center">
10
- <div class="preloader-inner position-relative">
11
- <div class="preloader-circle"></div>
12
- <div class="preloader-img pere-text">
13
- <img src="assets/preloader.png" alt="">
14
- </div>
15
- </div>
16
- </div>
17
- </div>
18
- <!-- Preloader Start -->
19
-
20
- <header>
7
+ '<header>
21
8
  <!-- Header Start -->
22
9
  <div class="header-area header-transparrent">
23
10
  <div class="main-header header-sticky">
@@ -7,14 +7,6 @@ module Frontview
7
7
  "(function ($)
8
8
  { \"use strict\"
9
9
 
10
- /* Proloder */
11
- $(window).on('load', function () {
12
- $('#preloader-active').delay(450).fadeOut('slow');
13
- $('body').delay(450).css({
14
- 'overflow': 'visible'
15
- });
16
- });
17
-
18
10
  /* slick Nav */
19
11
  // mobile_menu
20
12
  var menu = $('ul#navigation');
@@ -1,3 +1,3 @@
1
1
  module Frontview
2
- VERSION = "2.1.3"
2
+ VERSION = "2.2.0"
3
3
  end
metadata CHANGED
@@ -1,99 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frontview
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - elibiz443
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-31 00:00:00.000000000 Z
11
+ date: 2021-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 2.2.15
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: codelog
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: 2.2.15
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: down
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - ">="
31
+ - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: '0'
33
+ version: '5.0'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ">="
38
+ - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: '0'
40
+ version: '5.0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rails
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '6.1'
59
48
  - - ">="
60
49
  - !ruby/object:Gem::Version
61
- version: '0'
50
+ version: 6.1.3.1
62
51
  type: :development
63
52
  prerelease: false
64
53
  version_requirements: !ruby/object:Gem::Requirement
65
54
  requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '6.1'
66
58
  - - ">="
67
59
  - !ruby/object:Gem::Version
68
- version: '0'
60
+ version: 6.1.3.1
69
61
  - !ruby/object:Gem::Dependency
70
62
  name: down
71
63
  requirement: !ruby/object:Gem::Requirement
72
64
  requirements:
73
- - - ">="
65
+ - - "~>"
74
66
  - !ruby/object:Gem::Version
75
- version: '0'
67
+ version: '5.0'
76
68
  type: :runtime
77
69
  prerelease: false
78
70
  version_requirements: !ruby/object:Gem::Requirement
79
71
  requirements:
80
- - - ">="
72
+ - - "~>"
81
73
  - !ruby/object:Gem::Version
82
- version: '0'
74
+ version: '5.0'
83
75
  - !ruby/object:Gem::Dependency
84
76
  name: rails
85
77
  requirement: !ruby/object:Gem::Requirement
86
78
  requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '6.1'
87
82
  - - ">="
88
83
  - !ruby/object:Gem::Version
89
- version: '0'
84
+ version: 6.1.3.1
90
85
  type: :runtime
91
86
  prerelease: false
92
87
  version_requirements: !ruby/object:Gem::Requirement
93
88
  requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: '6.1'
94
92
  - - ">="
95
93
  - !ruby/object:Gem::Version
96
- version: '0'
94
+ version: 6.1.3.1
97
95
  description: "This gem creates folders and files that are meant for the Views of your
98
96
  rails web app so as to\n provide easier starting point to your development process.\n
99
97
  You can check the github repo for this gem:\n \n \t ======> https://github.com/elibiz443/frontview
@@ -108,7 +106,9 @@ extensions: []
108
106
  extra_rdoc_files: []
109
107
  files:
110
108
  - ".gitignore"
109
+ - ".rubocop.yml"
111
110
  - ".travis.yml"
111
+ - CHANGELOG.md
112
112
  - CODE_OF_CONDUCT.md
113
113
  - Gemfile
114
114
  - Gemfile.lock
@@ -150,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - ">="
152
152
  - !ruby/object:Gem::Version
153
- version: 2.3.0
153
+ version: 2.4.0
154
154
  required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - ">="