mysql2 0.3.21 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,64 +1,26 @@
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: ruby
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
  - ext/mysql2/extconf.rb
60
21
  extra_rdoc_files: []
61
22
  files:
23
+ - CHANGELOG.md
62
24
  - LICENSE
63
25
  - README.md
64
26
  - ext/mysql2/client.c
@@ -72,13 +34,17 @@ files:
72
34
  - ext/mysql2/mysql_enc_to_ruby.h
73
35
  - ext/mysql2/result.c
74
36
  - ext/mysql2/result.h
37
+ - ext/mysql2/statement.c
38
+ - ext/mysql2/statement.h
75
39
  - ext/mysql2/wait_for_single_fd.h
76
40
  - lib/mysql2.rb
77
41
  - lib/mysql2/client.rb
78
42
  - lib/mysql2/console.rb
79
43
  - lib/mysql2/em.rb
80
44
  - lib/mysql2/error.rb
45
+ - lib/mysql2/field.rb
81
46
  - lib/mysql2/result.rb
47
+ - lib/mysql2/statement.rb
82
48
  - lib/mysql2/version.rb
83
49
  - support/libmysql.def
84
50
  - support/mysql_enc_to_ruby.rb
@@ -91,6 +57,7 @@ files:
91
57
  - spec/mysql2/client_spec.rb
92
58
  - spec/mysql2/error_spec.rb
93
59
  - spec/mysql2/result_spec.rb
60
+ - spec/mysql2/statement_spec.rb
94
61
  - spec/rcov.opts
95
62
  - spec/spec_helper.rb
96
63
  - spec/test_data
@@ -115,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
82
  version: '0'
116
83
  requirements: []
117
84
  rubyforge_project:
118
- rubygems_version: 2.0.14.1
85
+ rubygems_version: 2.0.14
119
86
  signing_key:
120
87
  specification_version: 4
121
88
  summary: A simple, fast Mysql library for Ruby, binding to libmysql
@@ -128,6 +95,7 @@ test_files:
128
95
  - spec/mysql2/client_spec.rb
129
96
  - spec/mysql2/error_spec.rb
130
97
  - spec/mysql2/result_spec.rb
98
+ - spec/mysql2/statement_spec.rb
131
99
  - spec/rcov.opts
132
100
  - spec/spec_helper.rb
133
101
  - spec/test_data