frontview 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,68 +11,11 @@ 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://railsfront.herokuapp.com/assets/logo.png")
14
+ tempfile = Down.download("../../assets/banner.jpg")
15
15
  FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
16
16
 
17
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/favicon.ico")
17
+ tempfile = Down.download("../../assets/favicon.png")
18
18
  FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
19
-
20
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/advert_btn.png")
21
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
22
-
23
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/background.jpg")
24
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
25
-
26
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/beauty.png")
27
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
28
-
29
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/circle.png")
30
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
31
-
32
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/desktop.png")
33
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
34
-
35
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/doted1.png")
36
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
37
-
38
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/doted2.png")
39
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
40
-
41
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/doted3.png")
42
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
43
-
44
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/elibiz.png")
45
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
46
-
47
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/home_pic.png")
48
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
49
-
50
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/paper_plane.png")
51
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
52
-
53
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/paper_plane2.png")
54
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
55
-
56
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/preloader.png")
57
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
58
-
59
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/view1.png")
60
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
61
-
62
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/view2.png")
63
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
64
-
65
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/view3.png")
66
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
67
-
68
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/view4.png")
69
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
70
-
71
- tempfile = Down.download("https://railsfront.herokuapp.com/assets/view5.png")
72
- FileUtils.mv(tempfile.path, "app/assets/images/#{tempfile.original_filename}")
73
-
74
- Dir.mkdir("app/assets/stylesheets/css") unless File.exists?("app/assets/stylesheets/css")
75
- file = File.new("app/assets/stylesheets/css/style.css", "w+")
76
19
  end
77
20
 
78
21
  def create_main_file
@@ -1,3 +1,3 @@
1
1
  module Frontview
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.1"
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.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - elibiz443
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-14 00:00:00.000000000 Z
11
+ date: 2021-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: '6.1'
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 6.1.3.1
50
+ version: 6.1.4.1
51
51
  type: :development
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: '6.1'
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 6.1.3.1
60
+ version: 6.1.4.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: down
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ dependencies:
81
81
  version: '6.1'
82
82
  - - ">="
83
83
  - !ruby/object:Gem::Version
84
- version: 6.1.3.1
84
+ version: 6.1.4.1
85
85
  type: :runtime
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
@@ -91,7 +91,7 @@ dependencies:
91
91
  version: '6.1'
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: 6.1.3.1
94
+ version: 6.1.4.1
95
95
  description: "This gem creates folders and files that are meant for the Views of your
96
96
  rails web app so as to\n provide easier starting point to your development process.\n
97
97
  You can check the github repo for this gem:\n \n \t ======> https://github.com/elibiz443/frontview
@@ -115,6 +115,8 @@ files:
115
115
  - LICENSE.txt
116
116
  - README.md
117
117
  - Rakefile
118
+ - assets/banner.jpg
119
+ - assets/favicon.png
118
120
  - assets/logo.png
119
121
  - assets/sample1.png
120
122
  - assets/sample2.png
@@ -157,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
159
  - !ruby/object:Gem::Version
158
160
  version: '0'
159
161
  requirements: []
160
- rubygems_version: 3.1.4
162
+ rubygems_version: 3.2.22
161
163
  signing_key:
162
164
  specification_version: 4
163
165
  summary: Simple gem that creates folders & files for front-end rails web apps