activerecord-sqlserver-adapter 4.2.12 → 4.2.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 54c5914ff2792205172ac4e9f99f9f43cef3476c
4
- data.tar.gz: 126e1fc2846d80fef6c1818ead2c3f4c125cfe3e
3
+ metadata.gz: ff8552fbdd52b41994d42f30eb3b90d3c52a526a
4
+ data.tar.gz: b9479141228c29d2c3a18de6f560e18616d46d3d
5
5
  SHA512:
6
- metadata.gz: 6dada71646dfbad6c3664eadbc4d8d29d09575b20833c1d7809d506d26e91dde269dacc3cafd21748c9683b30a1bdd1e8e72fa6880480c2f7101fa19f9d64cab
7
- data.tar.gz: 2a7764404a937e063993ebfe641949841b06cc9d2bbebf69c8deb61c8c7427ec1527a7fa2a171a28d91316abf62626539112e67b7230c83f99b8678f4100a83f
6
+ metadata.gz: 433e09b8658a56f247b23116481bd9fe367ef2ab90de2514cd6ccc34d6f9b3a6880bc13d674e07d02f001009d672c2140a86e8c3025066ae3b9588163109cef9
7
+ data.tar.gz: 3e797c22d81e5df9c21510411b77c04edf24488b8c11bb437e3fc7c9c979e31381831faa906da44c088c3a8ffd6561fe0b75421bd172f21fac49dbde44f68f2f
@@ -1,3 +1,10 @@
1
+ ## v4.2.13
2
+
3
+ #### Fixed
4
+
5
+ * Add to_s method to SQLServer::Type::Char::Data. Thanks @marceloeloelo.
6
+
7
+
1
8
  ## v4.2.12
2
9
 
3
10
  #### Fixed
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.2.12
1
+ 4.2.13
@@ -2,7 +2,8 @@ init:
2
2
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
3
3
  - SET PATH=C:\MinGW\msys\1.0\bin;%PATH%
4
4
  - SET RAKEOPT=-rdevkit
5
- - SET TINYTDS_VERSION=1.0.2
5
+ - SET TESTOPTS='-v'
6
+ - SET TINYTDS_VERSION=1.0.3
6
7
  clone_depth: 5
7
8
  skip_tags: true
8
9
  matrix:
@@ -24,6 +24,11 @@ module ActiveRecord
24
24
  "'#{@value}'"
25
25
  end
26
26
 
27
+ def to_s
28
+ @value
29
+ end
30
+ alias_method :to_str, :to_s
31
+
27
32
  end
28
33
 
29
34
  end
@@ -1,5 +1,6 @@
1
- require 'bundler/setup' ; Bundler.require :default, :development
2
1
  require 'support/paths_sqlserver'
2
+ require 'bundler/setup'
3
+ Bundler.require :default, :development
3
4
  require 'support/minitest_sqlserver'
4
5
  require 'cases/helper'
5
6
  require 'support/load_schema_sqlserver'
@@ -43,7 +43,7 @@ class SQLServerRakeCreateTest < SQLServerRakeTest
43
43
 
44
44
  it 'establishes connection to database after create ' do
45
45
  db_tasks.create configuration
46
- connection.current_database.must_equal(connection_sqlserver_azure? ? 'master' : new_database)
46
+ connection.current_database.must_equal(new_database)
47
47
  end
48
48
 
49
49
  it 'creates database with default collation' do
@@ -12,17 +12,19 @@ module ARTest
12
12
  end
13
13
 
14
14
  def root_activerecord
15
- Gem.loaded_specs['activerecord'].full_gem_path
15
+ File.join Gem.loaded_specs['rails'].full_gem_path, 'activerecord'
16
16
  end
17
17
 
18
- def test_root_activerecord
18
+ def root_activerecord_lib
19
+ File.join root_activerecord, 'lib'
20
+ end
21
+
22
+ def root_activerecord_test
19
23
  File.join root_activerecord, 'test'
20
24
  end
21
25
 
22
26
  def test_load_paths
23
- ar_lib = File.join root_activerecord, 'lib'
24
- ar_test = File.join root_activerecord, 'test'
25
- ['lib', 'test', ar_lib, ar_test]
27
+ ['lib', 'test', root_activerecord_lib, root_activerecord_test]
26
28
  end
27
29
 
28
30
  def add_to_load_paths!
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-sqlserver-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.12
4
+ version: 4.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Collins
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2016-05-10 00:00:00.000000000 Z
17
+ date: 2016-05-19 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: activerecord
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  version: '0'
189
189
  requirements: []
190
190
  rubyforge_project:
191
- rubygems_version: 2.6.4
191
+ rubygems_version: 2.4.5.1
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: ActiveRecord SQL Server Adapter.
@@ -251,4 +251,3 @@ test_files:
251
251
  - test/support/paths_sqlserver.rb
252
252
  - test/support/rake_helpers.rb
253
253
  - test/support/sql_counter_sqlserver.rb
254
- has_rdoc: