frontview 2.2.6 → 2.2.7
Sign up to get free protection for your applications and to get access to all the features.
- 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 +0 -12
- data/bin/rspec +29 -0
- data/frontview.gemspec +3 -6
- data/lib/frontview/install_generator.rb +2 -6
- data/lib/frontview/version.rb +1 -1
- metadata +11 -14
- data/bin/console +0 -15
- data/bin/setup +0 -8
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
@@ -20,8 +20,6 @@ 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:
|
@@ -39,11 +37,6 @@ 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)/}) }
|
@@ -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
|
@@ -121,8 +119,7 @@ files:
|
|
121
119
|
- assets/sample3.png
|
122
120
|
- assets/sample4.png
|
123
121
|
- assets/sample5.png
|
124
|
-
- bin/
|
125
|
-
- bin/setup
|
122
|
+
- bin/rspec
|
126
123
|
- frontview.gemspec
|
127
124
|
- lib/frontview.rb
|
128
125
|
- lib/frontview/contents/alerts_content.rb
|
@@ -134,14 +131,14 @@ files:
|
|
134
131
|
- lib/frontview/contents/style_content.rb
|
135
132
|
- lib/frontview/install_generator.rb
|
136
133
|
- lib/frontview/version.rb
|
137
|
-
homepage: https://
|
134
|
+
homepage: https://github.com/elibiz443/frontview
|
138
135
|
licenses:
|
139
136
|
- MIT
|
140
137
|
metadata:
|
141
138
|
allowed_push_host: https://rubygems.org
|
142
|
-
homepage_uri: https://
|
139
|
+
homepage_uri: https://github.com/elibiz443/frontview
|
143
140
|
source_code_uri: https://github.com/elibiz443/frontview
|
144
|
-
changelog_uri: https://github.com/
|
141
|
+
changelog_uri: https://github.com/elibiz443/frontview/blob/master/CHANGELOG.md
|
145
142
|
post_install_message:
|
146
143
|
rdoc_options: []
|
147
144
|
require_paths:
|
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__)
|