frontview 2.2.4.pre.beta → 2.2.7

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: 46736be2a6c5c33de8d199d7804fa648d7eeba9706102fd651ec6d699102f5f4
4
- data.tar.gz: b0506b7eda097db768289826beb1d59066b4d77e81b0aeb60b2047d71e7453b8
3
+ metadata.gz: e63930f75c668c47165f6be2f872a326d9fd0f7c5748c282717f8c3eeceb09e8
4
+ data.tar.gz: 7179fd4bb19cd235dfba31cf4dfb52bf3959bde8abb2897d03099cfb76cc4c4f
5
5
  SHA512:
6
- metadata.gz: 6715fa90bf73ba1cbd388754c6fd2ae90627d1328895f19a911a817a4e89011507a80c1ca60dcfdb2504d2ee762d4f4db419594185a49558800db35208017830
7
- data.tar.gz: f3ae82c4671291e143c3e837f4ede956ab75eaf4a5b32471703728b0a829c669ae1ce586f2ab8281b1d31f7e1b42dffd5becd2563457c4d6a54661cbdab9483f
6
+ metadata.gz: d3f3233be42ecade06e7debe5c9cd842b67ef9b20a1a7cfd2893d285ec1b91d1e2df43408b3ea28a7b610b6d1c06247eac9ea48d3e31c2329fc510011aa3430a
7
+ data.tar.gz: b6cefa50e008a3b77d748aa89dde0b55a448b8954004d5a6bb46c51e74f06bbf1f7727a6166e01608a6aeceda0441abee50f5c4d1127010fa3903dcaaec4033d
@@ -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
@@ -0,0 +1,2 @@
1
+ --require spec_helper
2
+ --format documentation
data/Gemfile CHANGED
@@ -3,6 +3,8 @@ source "https://rubygems.org"
3
3
  gemspec
4
4
 
5
5
  gem "rake", "~> 13.0"
6
- gem "minitest", "~> 5.0"
6
+ gem "rspec"
7
+ gem "fakefs", require: "fakefs/safe"
8
+
7
9
  gem "rubocop", "~> 1.7"
8
10
  gem "thor", "~> 1.1"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- frontview (2.2.1)
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.15)
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
- gem 'frontview'
8
+ gem 'frontview'
9
9
  ```
10
10
  And then execute:
11
11
  ```
12
- bundle install
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
- rails g scaffold home title:string body:text
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
- rails g frontview:install
28
+ rails g frontview:install
31
29
  ```
32
30
  Create & Migrate DB
33
31
  ```
34
- rails db:create && rails db:migrate
32
+ rails db:create db:migrate
35
33
  ```
36
34
  Finally run the rails server and you are good to go:
37
35
  ```
38
- rails s
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.\n You can check the github repo for this gem:\n
12
- \t ======> https://github.com/elibiz443/frontview (Here you will get to have a step by step usage of the gem)\n
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/elibiz/frontview/changelogs"
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="#intro">
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="#about">
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="#service">
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="#contact">
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>
@@ -199,6 +199,7 @@ p {
199
199
  }
200
200
 
201
201
  .hero {
202
+ margin-top: -70px;
202
203
  position: relative;
203
204
  background: url(../../../assets/banner.jpg) no-repeat center center fixed;
204
205
  -webkit-background-size: cover;
@@ -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://github.com/elibiz443/frontview/blob/master/assets/banner.jpg")
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://github.com/elibiz443/frontview/blob/master/assets/favicon.png")
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
- end
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
@@ -1,3 +1,3 @@
1
1
  module Frontview
2
- VERSION = "2.2.4-beta"
2
+ VERSION = "2.2.7"
3
3
  end
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.pre.beta
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-09-18 00:00:00.000000000 Z
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: "This gem creates folders and files that are meant for the Views of your
96
- rails web app so as to\n provide easier starting point to your development process.\n
97
- You can check the github repo for this gem:\n \n \t ======> https://github.com/elibiz443/frontview
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/console
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://rubygems.org/gems/frontview
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://rubygems.org/gems/frontview
139
+ homepage_uri: https://github.com/elibiz443/frontview
146
140
  source_code_uri: https://github.com/elibiz443/frontview
147
- changelog_uri: https://github.com/elibiz/frontview/changelogs
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: 1.3.1
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
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
Binary file