slacker 1.0.16 → 1.0.17

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
  SHA1:
3
- metadata.gz: e066024e6fc217c813e00bb3554ac60bf89dac3f
4
- data.tar.gz: a51a29aeea274ca3324f483d285cc3fc4d807a97
3
+ metadata.gz: e96dbccbaf6c78c9882ca8dca2b0ed726deec0e5
4
+ data.tar.gz: dcf023a715dda27c021b477b88d20c92d99b6ae8
5
5
  SHA512:
6
- metadata.gz: e0f12d147aa478cf430eae96ce578956602d87fae99b3df3b5ebbf9528a3b53edf6a6d7afe208b4e79cd41e68f58dc94e828ecdd362df950e120c288bc9c4f29
7
- data.tar.gz: d11db9e0dd45aa62ffbca4033ac6db5cc64433e31ad745aa9c970b486749496d33e97686564c4f83fdc46367b29f6264672b0a6531a9237f685b47c297d1250a
6
+ metadata.gz: 4cee25e4e30dcce7973c59a39de0a5607528e1196bd47c7890e3cbc585600d241c5fd7c48628735d2b316d2194327939af27a5b43a5baf30919491a13b3f2aa6
7
+ data.tar.gz: b576b5b470375e0ec3240858af8a11b7157b0d4039d13aca22ce70d70829112366c00222669f88745449125cde983c9e5ca733d3afdd08900b83b9582f53edf8
@@ -2,7 +2,7 @@
2
2
 
3
3
  Behavior Driven Development for SQL Server
4
4
 
5
- Slacker is a transacted RSpec-based framework for developing automated tests for SQL Server 2005-2014 programmable objects such as stored procedures, scalar/table functions, triggers, etc.
5
+ Slacker is a transacted RSpec-based framework for developing automated tests for SQL Server 2005-2017 programmable objects such as stored procedures, scalar/table functions, triggers, etc.
6
6
 
7
7
  # Resources
8
8
 
@@ -159,8 +159,12 @@ EOF
159
159
 
160
160
  def configure_db_tiny_tds
161
161
  begin
162
- @database = TinyTds::Client.new :username => @configuration.db_user, :password => @configuration.db_password,
163
- :host => @configuration.db_server, :database => @configuration.db_name, :port => @configuration.db_port
162
+ @database = TinyTds::Client.new :username => @configuration.db_user,
163
+ :password => @configuration.db_password,
164
+ :host => @configuration.db_server,
165
+ :database => @configuration.db_name,
166
+ :port => @configuration.db_port
167
+
164
168
  @database.query_options[:symbolize_keys] = true
165
169
  rescue TinyTds::Error => e
166
170
  throw_error("#{e}")
@@ -1,3 +1,3 @@
1
1
  module Slacker
2
- VERSION = "1.0.16"
2
+ VERSION = "1.0.17"
3
3
  end
@@ -1,14 +1,19 @@
1
1
  # Database connection.
2
- # When Slacker is executed, it will attempt to connect to this database.
3
2
 
4
- # Replace the following with your connection information.
5
- # Note that at this point Slacker only works with SQL Server authentication.
3
+ # Slacker supports odbc and tiny_tds.
4
+ # tiny_tds is recommended.
5
+ # When not set, driver defaults to odbc for backward compatibility.
6
+ driver: tiny_tds
6
7
 
7
- # Slacker supports odbc and tiny_tds drivers
8
+ # Full instance name when using odbc; hostname or IP when using tiny_tds.
9
+ server: my_server
10
+
11
+ # Port is used by tiny_tds only. Defaults to 1433 when not set.
12
+ # Use server and port when targeting named instances with tiny_tds.
13
+ port: 1433
8
14
 
9
- server: my_server
10
15
  database: my_database
16
+
17
+ # Slacker supports only SQL Server authentication.
11
18
  user: user_name
12
19
  password: password
13
- port: 1433
14
- driver: odbc #or tiny_tds
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.executables = ['slacker', 'slacker_new']
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.required_ruby_version = '>= 1.9.2'
22
+ s.required_ruby_version = '>= 2.0.0'
23
23
 
24
24
  s.add_dependency 'bundler', '~> 1.0', '>= 1.0.15'
25
25
  s.add_dependency 'ruby-odbc', '= 0.99998'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slacker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.16
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vassil Kovatchev
@@ -150,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - ">="
152
152
  - !ruby/object:Gem::Version
153
- version: 1.9.2
153
+ version: 2.0.0
154
154
  required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - ">="