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 +4 -4
- data/lib/shnaider_code/version.rb +1 -1
- data/lib/source/database/students_db.rb +1 -1
- data/shnaider_code-2.0.2.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a92f3c48939d3261f5a9568e4618c0956e59997136397d7c2b381ebe8dc394c
|
|
4
|
+
data.tar.gz: 455effc951f3e87a4d66e1a70f77a85e4dded874d696734313729a55c5d5791c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4fd7232f149316a1baaf95876dc4336b84098df238bcb5d64c879c6fc0445da5e86dde06999b688f9ac0f904691615a6e1c7998eaba66692ea070552c856536
|
|
7
|
+
data.tar.gz: eed42efb63e756ae26b57676c98219239c7ba17f61910030b9e64f4f531db4253cf7d34c3a800a1dd8c863ab76f5694bafd8338e8ac2feca0c0d5aa2744749c7
|
|
@@ -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.
|
|
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:
|