mysql2 0.3.21-x64-mingw32 → 0.4.0-x64-mingw32

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.
data/spec/spec_helper.rb CHANGED
@@ -7,13 +7,20 @@ require 'yaml'
7
7
  DatabaseCredentials = YAML.load_file('spec/configuration.yml')
8
8
 
9
9
  RSpec.configure do |config|
10
+ config.disable_monkey_patching!
11
+
10
12
  def with_internal_encoding(encoding)
11
13
  old_enc = Encoding.default_internal
14
+ old_verbose = $VERBOSE
15
+ $VERBOSE = nil
12
16
  Encoding.default_internal = encoding
17
+ $VERBOSE = old_verbose
13
18
 
14
19
  yield
15
20
  ensure
21
+ $VERBOSE = nil
16
22
  Encoding.default_internal = old_enc
23
+ $VERBOSE = old_verbose
17
24
  end
18
25
 
19
26
  config.before :each do
metadata CHANGED
@@ -1,63 +1,25 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.21
4
+ version: 0.4.0
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Brian Lopez
8
+ - Aaron Stone
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2016-05-08 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rake-compiler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 0.9.5
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 0.9.5
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 0.9.3
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 0.9.3
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: 2.8.0
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: 2.8.0
12
+ date: 2015-09-08 00:00:00.000000000 Z
13
+ dependencies: []
55
14
  description:
56
- email: seniorlopez@gmail.com
15
+ email:
16
+ - seniorlopez@gmail.com
17
+ - aaron@serendipity.cx
57
18
  executables: []
58
19
  extensions: []
59
20
  extra_rdoc_files: []
60
21
  files:
22
+ - CHANGELOG.md
61
23
  - LICENSE
62
24
  - README.md
63
25
  - examples/eventmachine.rb
@@ -73,18 +35,21 @@ files:
73
35
  - ext/mysql2/mysql_enc_to_ruby.h
74
36
  - ext/mysql2/result.c
75
37
  - ext/mysql2/result.h
38
+ - ext/mysql2/statement.c
39
+ - ext/mysql2/statement.h
76
40
  - ext/mysql2/wait_for_single_fd.h
77
41
  - lib/mysql2.rb
78
42
  - lib/mysql2/2.0/mysql2.so
79
43
  - lib/mysql2/2.1/mysql2.so
80
44
  - lib/mysql2/2.2/mysql2.so
81
- - lib/mysql2/2.3/mysql2.so
82
45
  - lib/mysql2/client.rb
83
46
  - lib/mysql2/console.rb
84
47
  - lib/mysql2/em.rb
85
48
  - lib/mysql2/error.rb
49
+ - lib/mysql2/field.rb
86
50
  - lib/mysql2/mysql2.rb
87
51
  - lib/mysql2/result.rb
52
+ - lib/mysql2/statement.rb
88
53
  - lib/mysql2/version.rb
89
54
  - spec/configuration.yml.example
90
55
  - spec/em/em_spec.rb
@@ -92,6 +57,7 @@ files:
92
57
  - spec/mysql2/client_spec.rb
93
58
  - spec/mysql2/error_spec.rb
94
59
  - spec/mysql2/result_spec.rb
60
+ - spec/mysql2/statement_spec.rb
95
61
  - spec/rcov.opts
96
62
  - spec/spec_helper.rb
97
63
  - spec/test_data
@@ -135,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
101
  version: '0'
136
102
  requirements: []
137
103
  rubyforge_project:
138
- rubygems_version: 2.5.1
104
+ rubygems_version: 2.4.8
139
105
  signing_key:
140
106
  specification_version: 4
141
107
  summary: A simple, fast Mysql library for Ruby, binding to libmysql
@@ -148,6 +114,7 @@ test_files:
148
114
  - spec/mysql2/client_spec.rb
149
115
  - spec/mysql2/error_spec.rb
150
116
  - spec/mysql2/result_spec.rb
117
+ - spec/mysql2/statement_spec.rb
151
118
  - spec/rcov.opts
152
119
  - spec/spec_helper.rb
153
120
  - spec/test_data
Binary file