DreamTeam 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1cb92ee4fcbc6cd3f234a7b381c8410c9cf6253a621af21c943cc89bedb56c9
4
- data.tar.gz: b46529b4d292c3f1247dfd558ccd3a08b1c0d6782b56ba3e8b83eb14ff54cd8b
3
+ metadata.gz: bbc0891f61c02a489e8c142f428db4d1e8dcc527662921d8b2055def22198dfc
4
+ data.tar.gz: b7811901c4e374a5089e927fb29c55e53033fe344110718bfc16b71f02ba738b
5
5
  SHA512:
6
- metadata.gz: 8cf658a99c61e70f48d774741bcf6825882208fd17cd4ebcb4122be26610fbef36f278172f5b628a71435aef20655fe03d9fc1add97729e2841b48eb0be7f817
7
- data.tar.gz: d00ca30e8b4c2f0cf8dfd22b0d50ff75a875c598e31b08be31363a627bb3961f5160301218cb94440bd7dc76c8585d92b66cf10eaa37d00d592f8affc340adf7
6
+ metadata.gz: 96e5ae7a7f81a4e4ec2557edeaab937e95c90b07a175584bd0ad9c255ce361c2970a4e0433b753655f673b94ce64231ce025248dc098ec61769a84b612a43e7d
7
+ data.tar.gz: c522165470f8af76fa13ae79866fb2ead7e5ced3c6f6b6d7ce5f999e850fa337905dc1ee0af3ce3900f11e29a576b2fdbdd0c88220689db6f98de70e84abcf7d
@@ -1,7 +1,7 @@
1
1
  require_relative 'parsing_films'
2
2
 
3
- def create_table_with_film
4
- fileHtml = File.new("lib/DreamTeam/Films/table.html", "w+")
3
+ def create_table_with_film(path)
4
+ fileHtml = File.new(path + "/table_film.html", "w+")
5
5
 
6
6
  fileHtml.puts "<style>
7
7
  .table_dark {
@@ -76,4 +76,4 @@ end
76
76
 
77
77
  fileHtml.puts "</table>"
78
78
  fileHtml.close
79
- end
79
+ end
@@ -1,7 +1,7 @@
1
1
  require_relative 'parsing_games'
2
2
 
3
- def create_table_with_user_game(user_id)
4
- file_html = File.new("lib/DreamTeam/Games/table.html", "w+")
3
+ def create_table_with_user_game(path, user_id)
4
+ file_html = File.new(path + "/table_game.html", "w+")
5
5
  user_info = get_user_information(user_id)
6
6
  file_html.puts "<style type='text/css'>
7
7
  .table {
@@ -121,4 +121,4 @@ def create_table_with_user_game(user_id)
121
121
  file_html.puts "</tbody>
122
122
  </table>"
123
123
  file_html.close
124
- end
124
+ end
@@ -4,10 +4,10 @@ require 'DreamTeam/Films/html_table'
4
4
  module DreamTeam
5
5
  module Html_main
6
6
  class Html_main_page
7
- def create_main(steam_id)
8
- create_table_with_user_game(steam_id)
9
- create_table_with_film
10
- file_html = File.new('lib/DreamTeam/main_table.html', 'w+')
7
+ def create_main(path, steam_id)
8
+ create_table_with_user_game(path, steam_id)
9
+ create_table_with_film(path)
10
+ file_html = File.new(path + '/main_table.html', 'w+')
11
11
  file_html.puts "<!DOCTYPE html>
12
12
  <html>
13
13
  <head>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DreamTeam
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: DreamTeam
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spooky_Loki