activerecord-nulldb-adapter 0.3.1 → 0.3.2

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: 7989a037f4a78914709a6bc164c42354f4d708ac
4
- data.tar.gz: 19d7c505c54bff50938ded3876c4950950024dd6
3
+ metadata.gz: 599fc67d2e38b95a598aa65ad53c5f4601021280
4
+ data.tar.gz: f9f23fb4f7d53378e973a746202ef62176831fd5
5
5
  SHA512:
6
- metadata.gz: 0f95ca035463bfd3930316ab3f2267a5db786a3a03cdc628a306a7369be037d7ee200a126e50fa8e82c87dffca1eaaf0f1e4f1b89a406fea263cc90b1d9fec8b
7
- data.tar.gz: eb74c28351efcf56dd5f70b5c1de440866fb1d569a94821ec551d426e986b2a577c2039342fd060003ac25d28a55206a9c76dfa322da8b7b34f7cb8198fd1dcd
6
+ metadata.gz: c4b2e4abb46f08367f84d5c26751fad6e9b59f78d11d397c22a91cb1cc5426ceb07b51d420adb9274b9b0c7c23b7eaef903c95bbc269f79ccfe8d516d41ef88b
7
+ data.tar.gz: 696421bb75ef8a63648cca86727ddb9537d4d2a1c91ddadc1123faaed2cd149210eed1db0e5794b104913583f31f02180ec10318648e557e7575cec3558bb0ea
@@ -1,10 +1,13 @@
1
1
  language: ruby
2
2
  cache: bundler
3
+ bundler_args: --without development
4
+ sudo: false
3
5
 
4
6
  rvm:
5
- - 1.9.3
6
7
  - 2.0.0
7
- - 2.1.0
8
+ - 2.1.8
9
+ - 2.2.4
10
+ - 2.3.0
8
11
  - jruby
9
12
  - rbx
10
13
 
@@ -20,3 +23,4 @@ gemfile:
20
23
  - gemfiles/activerecord_3.1.gemfile
21
24
  - gemfiles/activerecord_3.2.gemfile
22
25
  - gemfiles/activerecord_4.0.gemfile
26
+ - gemfiles/activerecord_4.1.gemfile
data/Appraisals CHANGED
@@ -19,3 +19,6 @@ appraise "activerecord-4.0" do
19
19
  gem "activerecord", "~> 4.0.0"
20
20
  end
21
21
 
22
+ appraise "activerecord-4.1" do
23
+ gem "activerecord", "~> 4.1.0"
24
+ end
data/CHANGES.md CHANGED
@@ -1,3 +1,9 @@
1
+ 0.3.2 (2016-01-25)
2
+ -----------
3
+ - Deprecates support for MRI 1.9.3 and adds support for 2.3.x.
4
+ - Fixes :string column type fetching for AR 4.1.
5
+
6
+
1
7
  0.3.1 (2014-02-17)
2
8
  -----------
3
9
  - Removes accidental dependency on iconv. Fixing JRuby support.
data/Gemfile CHANGED
@@ -10,6 +10,6 @@ end
10
10
 
11
11
  group :development do
12
12
  gem 'jeweler'
13
- gem 'appraisal', :github => 'thoughtbot/appraisal'
13
+ gem 'appraisal'
14
14
  gem 'simplecov', :require => false
15
15
  end
@@ -1,4 +1,3 @@
1
-
2
1
  {<img src="https://badge.fury.io/rb/activerecord-nulldb-adapter.png" alt="Gem Version" />}[http://badge.fury.io/rb/activerecord-nulldb-adapter]
3
2
  {<img src="https://codeclimate.com/github/nulldb/nulldb.png" />}[https://codeclimate.com/github/nulldb/nulldb]
4
3
  {<img src="https://travis-ci.org/nulldb/nulldb.png?branch=master" alt="Build Status" />}[https://travis-ci.org/nulldb/nulldb]
@@ -17,14 +16,14 @@ a real database.
17
16
  == Compatibility
18
17
 
19
18
  === Ruby
20
- Currently supported Ruby versions: MRI 1.9.3, 2.0.0, 2.1.0
19
+ Currently supported Ruby versions: MRI 2.0.0, 2.1.x, 2.2.x, 2.3.x
21
20
 
22
21
  Experimental support provided for: JRuby, Rubinius (both in 1.9 mode)
23
22
 
24
23
  === ActiveRecord
25
24
  Any version of ActiveRecord since 2.0, including ActiveRecord 4.0
26
25
 
27
- It is tested against AR 2.3, 3.0, 3.1, 3.2 and 4.0.
26
+ It is tested against AR 2.3, 3.0, 3.1, 3.2, 4.0 and 4.1.
28
27
 
29
28
  == Installation
30
29
 
@@ -67,7 +66,7 @@ include the same module inside a context:
67
66
  # ...
68
67
  end
69
68
 
70
- If you want to have NullDB enabled by default but disabled for particular contexts then (see this post)[http://andywaite.com/2011/5/18/rspec-disable-nulldb]
69
+ If you want to have NullDB enabled by default but disabled for particular contexts then (see this post)[https://web.archive.org/web/20120419204019/http://andywaite.com/2011/5/18/rspec-disable-nulldb]
71
70
 
72
71
  NullDB::Rspec provides some custom matcher support for verifying
73
72
  expectations about interactions with the database:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: activerecord-nulldb-adapter 0.3.1 ruby lib
5
+ # stub: activerecord-nulldb-adapter 0.3.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "activerecord-nulldb-adapter"
9
- s.version = "0.3.1"
9
+ s.version = "0.3.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Avdi Grimm", "Myron Marston"]
14
- s.date = "2014-02-17"
14
+ s.date = "2016-01-25"
15
15
  s.description = "A database backend that translates database interactions into no-ops. Using NullDB enables you to test your model business logic - including after_save hooks - without ever touching a real database."
16
16
  s.email = "myron.marston@gmail.com"
17
17
  s.extra_rdoc_files = [
@@ -33,6 +33,7 @@ Gem::Specification.new do |s|
33
33
  "gemfiles/activerecord_3.1.gemfile",
34
34
  "gemfiles/activerecord_3.2.gemfile",
35
35
  "gemfiles/activerecord_4.0.gemfile",
36
+ "gemfiles/activerecord_4.1.gemfile",
36
37
  "lib/active_record/connection_adapters/nulldb_adapter.rb",
37
38
  "lib/active_record/connection_adapters/nulldb_adapter/checkpoint.rb",
38
39
  "lib/active_record/connection_adapters/nulldb_adapter/column.rb",
@@ -57,7 +58,7 @@ Gem::Specification.new do |s|
57
58
  s.homepage = "http://github.com/nulldb/nulldb"
58
59
  s.licenses = ["MIT"]
59
60
  s.rubyforge_project = "nulldb"
60
- s.rubygems_version = "2.2.2"
61
+ s.rubygems_version = "2.4.5.1"
61
62
  s.summary = "The Null Object pattern as applied to ActiveRecord database adapters"
62
63
 
63
64
  if s.respond_to? :specification_version then
@@ -2,8 +2,8 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "iconv", :platforms=>:ruby
6
5
  gem "activerecord", "~> 2.3.0"
6
+ gem "iconv", :platforms => :ruby
7
7
 
8
8
  group :development, :test do
9
9
  gem "spec"
@@ -13,6 +13,6 @@ end
13
13
 
14
14
  group :development do
15
15
  gem "jeweler"
16
- gem "appraisal", :github=>"thoughtbot/appraisal"
17
- gem "simplecov", :require=>false
16
+ gem "appraisal"
17
+ gem "simplecov", :require => false
18
18
  end
@@ -12,6 +12,6 @@ end
12
12
 
13
13
  group :development do
14
14
  gem "jeweler"
15
- gem "appraisal", :github=>"thoughtbot/appraisal"
16
- gem "simplecov", :require=>false
15
+ gem "appraisal"
16
+ gem "simplecov", :require => false
17
17
  end
@@ -12,6 +12,6 @@ end
12
12
 
13
13
  group :development do
14
14
  gem "jeweler"
15
- gem "appraisal", :github=>"thoughtbot/appraisal"
16
- gem "simplecov", :require=>false
15
+ gem "appraisal"
16
+ gem "simplecov", :require => false
17
17
  end
@@ -12,6 +12,6 @@ end
12
12
 
13
13
  group :development do
14
14
  gem "jeweler"
15
- gem "appraisal", :github=>"thoughtbot/appraisal"
16
- gem "simplecov", :require=>false
15
+ gem "appraisal"
16
+ gem "simplecov", :require => false
17
17
  end
@@ -12,6 +12,6 @@ end
12
12
 
13
13
  group :development do
14
14
  gem "jeweler"
15
- gem "appraisal", :github=>"thoughtbot/appraisal"
16
- gem "simplecov", :require=>false
15
+ gem "appraisal"
16
+ gem "simplecov", :require => false
17
17
  end
@@ -0,0 +1,17 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 4.1.0"
6
+
7
+ group :development, :test do
8
+ gem "spec"
9
+ gem "rspec", ">= 1.2.9"
10
+ gem "rake"
11
+ end
12
+
13
+ group :development do
14
+ gem "jeweler"
15
+ gem "appraisal"
16
+ gem "simplecov", :require => false
17
+ end
@@ -1,11 +1,20 @@
1
1
  class ActiveRecord::ConnectionAdapters::NullDBAdapter
2
2
  class Column < ::ActiveRecord::ConnectionAdapters::Column
3
+
3
4
  private
4
5
 
5
6
  def simplified_type(field_type)
6
- type = super
7
- type = :integer if type.nil? && sql_type == :primary_key
8
- type
7
+ super || simplified_type_from_sql_type
8
+ end
9
+
10
+ def simplified_type_from_sql_type
11
+ case sql_type
12
+ when :primary_key
13
+ :integer
14
+ when :string
15
+ :string
16
+ end
9
17
  end
18
+
10
19
  end
11
20
  end
@@ -158,7 +158,7 @@ class ActiveRecord::ConnectionAdapters::NullDBAdapter < ActiveRecord::Connection
158
158
  EmptyResult.new
159
159
  end
160
160
 
161
- def select_rows(statement, name = nil)
161
+ def select_rows(statement, name = nil, binds = [])
162
162
  [].tap do
163
163
  self.execution_log << Statement.new(entry_point, statement)
164
164
  end
@@ -33,25 +33,25 @@ NullDB.configure {|ndb| ndb.project_root = 'Rails.root'}
33
33
 
34
34
  describe "NullDB with no schema pre-loaded" do
35
35
  before :each do
36
- Kernel.stub(:load)
37
- ActiveRecord::Migration.stub(:verbose=)
36
+ allow( Kernel ).to receive :load
37
+ allow( ActiveRecord::Migration ).to receive :verbose=
38
38
  end
39
39
 
40
40
  it "should load Rails.root/db/schema.rb if no alternate is specified" do
41
41
  ActiveRecord::Base.establish_connection :adapter => :nulldb
42
- Kernel.should_receive(:load).with("Rails.root/db/schema.rb")
42
+ expect( Kernel ).to receive(:load).with("Rails.root/db/schema.rb")
43
43
  ActiveRecord::Base.connection.columns('schema_info')
44
44
  end
45
45
 
46
46
  it "should load the specified schema relative to Rails.root" do
47
- Kernel.should_receive(:load).with("Rails.root/foo/myschema.rb")
47
+ expect( Kernel ).to receive(:load).with("Rails.root/foo/myschema.rb")
48
48
  ActiveRecord::Base.establish_connection :adapter => :nulldb,
49
49
  :schema => "foo/myschema.rb"
50
50
  ActiveRecord::Base.connection.columns('schema_info')
51
51
  end
52
52
 
53
53
  it "should suppress migration output" do
54
- ActiveRecord::Migration.should_receive(:verbose=).with(false)
54
+ expect( ActiveRecord::Migration).to receive(:verbose=).with(false)
55
55
  ActiveRecord::Base.establish_connection :adapter => :nulldb,
56
56
  :schema => "foo/myschema.rb"
57
57
  ActiveRecord::Base.connection.columns('schema_info')
@@ -99,12 +99,11 @@ describe "NullDB" do
99
99
  end
100
100
 
101
101
  it "should set the @config instance variable so plugins that assume its there can use it" do
102
- Employee.connection.instance_variable_get(:@config)[:adapter].should == :nulldb
102
+ expect( Employee.connection.instance_variable_get(:@config)[:adapter]).to eq :nulldb
103
103
  end
104
104
 
105
105
  it "should enable instantiation of AR objects without a database" do
106
- @employee.should_not be_nil
107
- @employee.should be_a_kind_of(ActiveRecord::Base)
106
+ expect( @employee ).to be_a_kind_of(ActiveRecord::Base)
108
107
  end
109
108
 
110
109
  it "should remember columns defined in migrations" do
@@ -115,89 +114,92 @@ describe "NullDB" do
115
114
  end
116
115
 
117
116
  it "should return the appropriate primary key" do
118
- ActiveRecord::Base.connection.primary_key('employees').should == 'id'
117
+ expect( ActiveRecord::Base.connection.primary_key('employees') ).to eq 'id'
119
118
  end
120
119
 
121
120
  it "should return a nil primary key on habtm" do
122
- ActiveRecord::Base.connection.primary_key('employees_widgets').should be_nil
121
+ expect( ActiveRecord::Base.connection.primary_key('employees_widgets') ).to eq nil
123
122
  end
124
123
 
125
124
  it "should return an empty array of columns for a table-less model" do
126
- TablelessModel.columns.should == []
125
+ expect( TablelessModel.columns).to eq []
127
126
  end
128
127
 
129
128
  it "should enable simulated saving of AR objects" do
130
- lambda { @employee.save! }.should_not raise_error
129
+ expect{ @employee.save! }.to_not raise_error
131
130
  end
132
131
 
133
132
  it "should enable AR callbacks during simulated save" do
134
- @employee.should_receive(:on_save_finished)
133
+ expect( @employee ).to receive :on_save_finished
135
134
  @employee.save
136
135
  end
137
136
 
138
137
  it "should enable simulated deletes of AR objects" do
139
- lambda { @employee.destroy }.should_not raise_error
138
+ expect{ @employee.destroy }.to_not raise_error
140
139
  end
141
140
 
142
141
  it "should enable simulated creates of AR objects" do
143
142
  emp = Employee.create(:name => "Bob Jones")
144
- emp.name.should == "Bob Jones"
143
+ expect( emp.name ).to eq "Bob Jones"
145
144
  end
146
145
 
147
146
  it "should generate new IDs when inserting unsaved objects" do
148
147
  cxn = Employee.connection
149
148
  id1 = cxn.insert("some sql", "SomeClass Create", "id", nil, nil)
150
149
  id2 = cxn.insert("some sql", "SomeClass Create", "id", nil, nil)
151
- id2.should == (id1 + 1)
150
+ expect( id2 ).to eq (id1 + 1)
152
151
  end
153
152
 
154
153
  it "should re-use object ID when inserting saved objects" do
155
154
  cxn = Employee.connection
156
155
  id1 = cxn.insert("some sql", "SomeClass Create", "id", 23, nil)
157
- id1.should == 23
156
+ expect( id1 ).to eq 23
158
157
  end
159
158
 
160
159
  it "should log executed SQL statements" do
161
160
  cxn = Employee.connection
162
161
  exec_count = cxn.execution_log.size
163
162
  @employee.save!
164
- cxn.execution_log.size.should == (exec_count + 1)
163
+ expect( cxn.execution_log.size ).to eq (exec_count + 1)
165
164
  end
166
165
 
167
166
  it "should have the adapter name 'NullDB'" do
168
- Employee.connection.adapter_name.should == "NullDB"
167
+ expect( Employee.connection.adapter_name ).to eq "NullDB"
169
168
  end
170
169
 
171
170
  it "should support migrations" do
172
- Employee.connection.supports_migrations?.should be_true
171
+ expect( Employee.connection.supports_migrations? ).to eq true
173
172
  end
174
173
 
175
174
  it "should always have a schema_info table definition" do
176
- Employee.connection.tables.should include("schema_info")
175
+ expect( Employee.connection.tables ).to include "schema_info"
177
176
  end
178
177
 
179
178
  it "should return an empty array from #select" do
180
- Employee.connection.select_all("who cares", "blah").should == []
179
+ result = Employee.connection.select_all("who cares", "blah")
180
+ expect( result ).to eq []
181
181
  end
182
182
 
183
183
  it "should provide a way to set log checkpoints" do
184
184
  cxn = Employee.connection
185
185
  @employee.save!
186
- cxn.execution_log_since_checkpoint.size.should > 0
186
+ expect( cxn.execution_log_since_checkpoint.size ).to be > 0
187
+
187
188
  cxn.checkpoint!
188
- cxn.execution_log_since_checkpoint.size.should == 0
189
+ expect( cxn.execution_log_since_checkpoint.size ).to eq 0
190
+
189
191
  @employee.salary = @employee.salary + 1
190
192
  @employee.save!
191
- cxn.execution_log_since_checkpoint.size.should == 1
193
+ expect( cxn.execution_log_since_checkpoint.size ).to eq 1
192
194
  end
193
195
 
194
196
  def should_contain_statement(cxn, entry_point)
195
- cxn.execution_log_since_checkpoint.should \
197
+ expect( cxn.execution_log_since_checkpoint).to \
196
198
  include(ActiveRecord::ConnectionAdapters::NullDBAdapter::Statement.new(entry_point))
197
199
  end
198
200
 
199
201
  def should_not_contain_statement(cxn, entry_point)
200
- cxn.execution_log_since_checkpoint.should_not \
202
+ expect( cxn.execution_log_since_checkpoint ).to_not \
201
203
  include(ActiveRecord::ConnectionAdapters::NullDBAdapter::Statement.new(entry_point))
202
204
  end
203
205
 
@@ -241,38 +243,37 @@ describe "NullDB" do
241
243
 
242
244
  it "should #to_a return empty array on the result of #execute" do
243
245
  result = Employee.connection.execute("blah")
244
- result.to_a.should be_a Array
245
- result.to_a.should be_empty
246
+ expect( result.to_a ).to be_a Array
247
+ expect( result.to_a ).to be_empty
246
248
  end
247
249
 
248
250
  def should_have_column(klass, col_name, col_type)
249
251
  col = klass.columns_hash[col_name.to_s]
250
- col.should_not be_nil
251
- col.type.should == col_type
252
+ expect(col.type).to eq col_type
252
253
  end
253
254
 
254
255
 
255
256
  it "should support adding indexes" do
256
- Employee.connection.indexes('employees').size.should == 2
257
- Employee.connection.indexes('employees_widgets').size.should == 1
257
+ expect( Employee.connection.indexes('employees').size ).to eq 2
258
+ expect( Employee.connection.indexes('employees_widgets').size ).to eq 1
258
259
  end
259
260
 
260
261
  it "should support unique indexes" do
261
- Employee.connection.indexes('employees').detect{|idx| idx.columns == ["name"]}.unique.should be_false
262
- Employee.connection.indexes('employees').detect{|idx| idx.columns == ["employee_number"]}.unique.should be_true
262
+ expect( Employee.connection.indexes('employees').detect{|idx| idx.columns == ["name"]}.unique ).to eq false
263
+ expect( Employee.connection.indexes('employees').detect{|idx| idx.columns == ["employee_number"]}.unique ).to eq true
263
264
  end
264
265
 
265
266
  it "should support multi-column indexes" do
266
- Employee.connection.indexes('employees_widgets').first.columns.should == ["employee_id", "widget_id"]
267
+ expect( Employee.connection.indexes('employees_widgets').first.columns).to eq ["employee_id", "widget_id"]
267
268
  end
268
269
 
269
270
  it "should support custom index names" do
270
- Employee.connection.indexes('employees_widgets').first.name.should == 'my_index'
271
+ expect( Employee.connection.indexes('employees_widgets').first.name ).to eq 'my_index'
271
272
  end
272
273
 
273
274
  it 'should handle ActiveRecord::ConnectionNotEstablished' do
274
- ActiveRecord::Base.should_receive(:connection_pool).and_raise(ActiveRecord::ConnectionNotEstablished)
275
- lambda { NullDB.nullify }.should_not raise_error
275
+ expect( ActiveRecord::Base ).to receive(:connection_pool).and_raise(ActiveRecord::ConnectionNotEstablished)
276
+ expect { NullDB.nullify }.to_not raise_error
276
277
  end
277
278
  end
278
279
 
@@ -292,25 +293,17 @@ describe NullDB::RSpec::NullifiedDatabase do
292
293
  before { NullDB.checkpoint }
293
294
 
294
295
  it 'passes if an execution was made' do
295
- Kernel.stub(:load)
296
+ expect( Employee.connection ).to receive(:insert)
297
+ allow( Kernel ).to receive :load
296
298
  Employee.create
297
- Employee.connection.should have_executed(:insert)
298
- end
299
-
300
- it 'fails if an execution was not made' do
301
- rspec_root = defined?(RSpec) ? RSpec : Spec
302
-
303
- lambda { Employee.connection.should have_executed(:insert) }.
304
- should raise_error(rspec_root::Expectations::ExpectationNotMetError)
305
299
  end
306
300
  end
307
301
 
308
302
  describe '.globally_nullify_database' do
309
303
  it 'nullifies the database' do
310
- NullDB::RSpec::NullifiedDatabase.should respond_to(:nullify_database)
311
- NullDB::RSpec::NullifiedDatabase.should_receive(:nullify_database)
304
+ expect( NullDB::RSpec::NullifiedDatabase ).to respond_to(:nullify_database)
305
+ expect( NullDB::RSpec::NullifiedDatabase ).to receive(:nullify_database)
312
306
  NullDB::RSpec::NullifiedDatabase.globally_nullify_database
313
307
  end
314
308
  end
315
309
  end
316
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-nulldb-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Avdi Grimm
@@ -9,104 +9,104 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-17 00:00:00.000000000 Z
12
+ date: 2016-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 2.0.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: 2.0.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: spec
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rspec
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: 1.2.9
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: 1.2.9
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: jeweler
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: appraisal
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: simplecov
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  description: A database backend that translates database interactions into no-ops.
@@ -119,7 +119,7 @@ extra_rdoc_files:
119
119
  - LICENSE
120
120
  - README.rdoc
121
121
  files:
122
- - .travis.yml
122
+ - ".travis.yml"
123
123
  - Appraisals
124
124
  - CHANGES.md
125
125
  - Gemfile
@@ -133,6 +133,7 @@ files:
133
133
  - gemfiles/activerecord_3.1.gemfile
134
134
  - gemfiles/activerecord_3.2.gemfile
135
135
  - gemfiles/activerecord_4.0.gemfile
136
+ - gemfiles/activerecord_4.1.gemfile
136
137
  - lib/active_record/connection_adapters/nulldb_adapter.rb
137
138
  - lib/active_record/connection_adapters/nulldb_adapter/checkpoint.rb
138
139
  - lib/active_record/connection_adapters/nulldb_adapter/column.rb
@@ -163,17 +164,17 @@ require_paths:
163
164
  - lib
164
165
  required_ruby_version: !ruby/object:Gem::Requirement
165
166
  requirements:
166
- - - '>='
167
+ - - ">="
167
168
  - !ruby/object:Gem::Version
168
169
  version: '0'
169
170
  required_rubygems_version: !ruby/object:Gem::Requirement
170
171
  requirements:
171
- - - '>='
172
+ - - ">="
172
173
  - !ruby/object:Gem::Version
173
174
  version: '0'
174
175
  requirements: []
175
176
  rubyforge_project: nulldb
176
- rubygems_version: 2.2.2
177
+ rubygems_version: 2.4.5.1
177
178
  signing_key:
178
179
  specification_version: 4
179
180
  summary: The Null Object pattern as applied to ActiveRecord database adapters