shnaider_code 2.0.2 → 2.0.3

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: c2a1a18fe11233036bcd9a91521ca4157873f04a8c4e2e00bc84d75804b4ddae
4
- data.tar.gz: e82a4685a1c7bcd9a6c0b86e950bda198a6950663008ea84e660db6fa45d2698
3
+ metadata.gz: 9a92f3c48939d3261f5a9568e4618c0956e59997136397d7c2b381ebe8dc394c
4
+ data.tar.gz: 455effc951f3e87a4d66e1a70f77a85e4dded874d696734313729a55c5d5791c
5
5
  SHA512:
6
- metadata.gz: 47b532cdc6ce0dccca51fe729b3623a2e02c4fbe920ffa13c4d113981f13523f5574ec621ea6db5eb6aaaac0d4a10438c1557e1d045d4bd1edf175ec3f60b6d1
7
- data.tar.gz: ebfddcef7ac59b87b533b6d0f54e4e0ece4a2db2116ccf6f866585b4603a4c3f8af026617f26647d63a607446cadea2cfa75a6d0cd54cb61646007c204130ebb
6
+ metadata.gz: c4fd7232f149316a1baaf95876dc4336b84098df238bcb5d64c879c6fc0445da5e86dde06999b688f9ac0f904691615a6e1c7998eaba66692ea070552c856536
7
+ data.tar.gz: eed42efb63e756ae26b57676c98219239c7ba17f61910030b9e64f4f531db4253cf7d34c3a800a1dd8c863ab76f5694bafd8338e8ac2feca0c0d5aa2744749c7
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShnaiderCode
4
- VERSION = "2.0.2"
4
+ VERSION = "2.0.3"
5
5
  end
@@ -6,7 +6,7 @@ module ShnaiderCode
6
6
  attr_private_accessor :db_connection
7
7
 
8
8
  def initialize()
9
- self.db_connection = Mysql2::Client.new(:host => "localhost", :username => "root")
9
+ self.db_connection = Mysql2::Client.new(:host => "localhost", :username => "root", :password => "root")
10
10
  self.db_connection.query('CREATE DATABASE IF NOT EXISTS my_db')
11
11
  self.db_connection.query('USE my_db')
12
12
  self.db_connection.query('DROP TABLE IF EXISTS student')
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shnaider_code
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iya
@@ -54,6 +54,7 @@ files:
54
54
  - lib/source/students_list_format_strategy.rb
55
55
  - shnaider_code-2.0.0.gem
56
56
  - shnaider_code-2.0.1.gem
57
+ - shnaider_code-2.0.2.gem
57
58
  - shnaider_code.gemspec
58
59
  homepage: https://github.com/bushmrz/learning-patterns-with-ruby
59
60
  licenses: