activerecord-tablefree 3.0.1 → 3.1.0

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.
@@ -0,0 +1,7 @@
1
+ module ActiveRecord::Tablefree
2
+ class SchemaCache
3
+ def columns_hash(*_args)
4
+ {}
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,4 @@
1
+ module ActiveRecord::Tablefree
2
+ class Transaction < ActiveRecord::ConnectionAdapters::NullTransaction
3
+ end
4
+ end
@@ -1,7 +1,5 @@
1
1
  module ActiveRecord
2
2
  module Tablefree
3
- unless defined?(ActiveRecord::Tablefree::VERSION)
4
- VERSION = "3.0.1".freeze
5
- end
3
+ VERSION = '3.1.0'.freeze unless defined?(ActiveRecord::Tablefree::VERSION)
6
4
  end
7
5
  end
@@ -11,15 +11,15 @@ def make_tablefree_model(database = nil, nested = nil)
11
11
  column :id, :integer
12
12
  column :name, :string
13
13
  #{if nested
14
- '
15
- has_many :arm_rests
16
- accepts_nested_attributes_for :arm_rests
17
- '
14
+ '
15
+ has_many :arm_rests
16
+ accepts_nested_attributes_for :arm_rests
17
+ '
18
18
  end}
19
19
  end
20
20
  EOCLASS
21
21
  if nested
22
- eval <<EOCLASS
22
+ eval <<EOCLASS
23
23
  class ArmRest < ActiveRecord::Base
24
24
  #{database ? "has_no_table :database => :#{database}" : 'has_no_table'}
25
25
  belongs_to :chair
@@ -32,229 +32,238 @@ EOCLASS
32
32
  end
33
33
 
34
34
  def remove_models
35
- Object.send(:remove_const, :Chair) rescue nil
36
- Object.send(:remove_const, :ArmRest) rescue nil
35
+ begin
36
+ Object.send(:remove_const, :Chair)
37
+ rescue
38
+ nil
39
+ end
40
+ begin
41
+ Object.send(:remove_const, :ArmRest)
42
+ rescue
43
+ nil
44
+ end
37
45
  end
38
46
 
39
47
  ActiveRecord::Base.logger = Logger.new(STDERR)
40
48
  ActiveRecord::Base.logger.level = Logger::Severity::UNKNOWN
41
49
 
42
- shared_examples_for "an active record instance" do
50
+ shared_examples_for 'an active record instance' do
43
51
  it { should respond_to :id }
44
52
  it { should respond_to :id= }
45
53
  it { should respond_to :name }
46
54
  it { should respond_to :name= }
47
55
  it { should respond_to :update_attributes }
48
- describe "#attributes=" do
49
- before(:example){ subject.attributes=({:name => 'Jarl Friis'}) }
50
- it "assign attributes" do
56
+ describe '#attributes=' do
57
+ before(:example) { subject.attributes = ({ name: 'Jarl Friis' }) }
58
+ it 'assign attributes' do
51
59
  expect(subject.name).to eq 'Jarl Friis'
52
60
  end
53
61
  end
54
62
  end
55
63
 
56
- shared_examples_for "a nested active record" do
57
- describe "conllection#build" do
64
+ shared_examples_for 'a nested active record' do
65
+ describe 'conllection#build' do
58
66
  specify do
59
- expect(subject.arm_rests.build({:name => 'nice arm_rest'})).to be_an_instance_of(ArmRest)
67
+ expect(subject.arm_rests.build(name: 'nice arm_rest')).to be_an_instance_of(ArmRest)
60
68
  end
61
69
  end
62
- describe "conllection#<<" do
70
+ describe 'conllection#<<' do
63
71
  specify do
64
- expect(subject.arm_rests << ArmRest.new({:name => 'nice arm_rest'})).to have(1).items
72
+ expect(subject.arm_rests << ArmRest.new(name: 'nice arm_rest')).to have(1).items
65
73
  end
66
74
  describe 'appending two children' do
67
75
  before(:example) do
68
- subject.arm_rests << [ArmRest.new({:name => 'left'}),
69
- ArmRest.new({:name => 'right'})]
76
+ subject.arm_rests << [ArmRest.new(name: 'left'),
77
+ ArmRest.new(name: 'right')]
70
78
  end
71
- it "assigns nested attributes" do
79
+ it 'assigns nested attributes' do
72
80
  expect(subject.arm_rests[0].name).to eq 'left'
73
81
  expect(subject.arm_rests[1].name).to eq 'right'
74
82
  end
75
83
  end
76
84
  end
77
- describe "#attributes=" do
78
- before(:example){ subject.attributes=({ :name => 'Jarl Friis',
79
- :arm_rests_attributes => [
80
- {:name => 'left'},
81
- {:name => 'right'}
82
- ]
83
- }) }
84
- it "assigns attributes" do
85
+ describe '#attributes=' do
86
+ before(:example) do
87
+ subject.attributes = ({ name: 'Jarl Friis',
88
+ arm_rests_attributes: [
89
+ { name: 'left' },
90
+ { name: 'right' }
91
+ ] })
92
+ end
93
+ it 'assigns attributes' do
85
94
  expect(subject.name).to eq 'Jarl Friis'
86
95
  end
87
- it "assigns nested attributes" do
96
+ it 'assigns nested attributes' do
88
97
  expect(subject.arm_rests[0].name).to eq 'left'
89
98
  expect(subject.arm_rests[1].name).to eq 'right'
90
99
  end
91
100
  end
92
101
  end
93
102
 
94
- shared_examples_for "a tablefree model with fail_fast" do
103
+ shared_examples_for 'a tablefree model with fail_fast' do
95
104
  case ActiveRecord::VERSION::MAJOR
96
105
  when 3
97
- describe "#all" do
98
- it "raises ActiveRecord::Tablefree::NoDatabase" do
106
+ describe '#all' do
107
+ it 'raises ActiveRecord::Tablefree::NoDatabase' do
99
108
  expect { subject.all }.to raise_exception(ActiveRecord::Tablefree::NoDatabase)
100
109
  end
101
110
  end
102
111
  when 4
103
- describe "#all" do
104
- it "raises ActiveRecord::Tablefree::NoDatabase" do
112
+ describe '#all' do
113
+ it 'raises ActiveRecord::Tablefree::NoDatabase' do
105
114
  expect { subject.all }.to_not raise_exception
106
115
  end
107
116
  end
108
- describe "#all[]" do
109
- it "raises ActiveRecord::Tablefree::NoDatabase" do
117
+ describe '#all[]' do
118
+ it 'raises ActiveRecord::Tablefree::NoDatabase' do
110
119
  expect { subject.all[0] }.to raise_exception(ActiveRecord::Tablefree::NoDatabase)
111
120
  end
112
121
  end
113
122
  end
114
- describe "#create" do
115
- it "raises ActiveRecord::Tablefree::NoDatabase" do
116
- expect { subject.create(:name => 'Jarl') }.to raise_exception(ActiveRecord::Tablefree::NoDatabase)
123
+ describe '#create' do
124
+ it 'raises ActiveRecord::Tablefree::NoDatabase' do
125
+ expect { subject.create(name: 'Jarl') }.to raise_exception(ActiveRecord::Tablefree::NoDatabase)
117
126
  end
118
127
  end
119
- describe "#destroy" do
120
- it "raises ActiveRecord::Tablefree::NoDatabase" do
128
+ describe '#destroy' do
129
+ it 'raises ActiveRecord::Tablefree::NoDatabase' do
121
130
  expect { subject.destroy(1) }.to raise_exception(ActiveRecord::Tablefree::NoDatabase)
122
131
  end
123
132
  end
124
- describe "#destroy_all" do
125
- it "raises ActiveRecord::Tablefree::NoDatabase" do
133
+ describe '#destroy_all' do
134
+ it 'raises ActiveRecord::Tablefree::NoDatabase' do
126
135
  expect { subject.destroy_all }.to raise_exception(ActiveRecord::Tablefree::NoDatabase)
127
136
  end
128
137
  end
129
138
  end
130
139
 
131
- shared_examples_for "a tablefree model instance with fail_fast" do
132
- it_behaves_like "an active record instance"
133
- describe "#save" do
134
- it "raises ActiveRecord::Tablefree::NoDatabase" do
140
+ shared_examples_for 'a tablefree model instance with fail_fast' do
141
+ it_behaves_like 'an active record instance'
142
+ describe '#save' do
143
+ it 'raises ActiveRecord::Tablefree::NoDatabase' do
135
144
  expect { subject.save }.to raise_exception(ActiveRecord::Tablefree::NoDatabase)
136
145
  end
137
146
  end
138
- describe "#save!" do
139
- it "raises ActiveRecord::Tablefree::NoDatabase" do
147
+ describe '#save!' do
148
+ it 'raises ActiveRecord::Tablefree::NoDatabase' do
140
149
  expect { subject.save! }.to raise_exception(ActiveRecord::Tablefree::NoDatabase)
141
150
  end
142
151
  end
143
- describe "#reload" do
144
- it "raises ActiveRecord::Tablefree::NoDatabase" do
152
+ describe '#reload' do
153
+ it 'raises ActiveRecord::Tablefree::NoDatabase' do
145
154
  expect { subject.reload }.to raise_exception(ActiveRecord::Tablefree::NoDatabase)
146
155
  end
147
156
  end
148
- describe "#update_attributes" do
149
- it "raises ActiveRecord::Tablefree::NoDatabase" do
150
- expect { subject.update_attributes(:name => 'Jarl') }.to raise_exception(StandardError)
157
+ describe '#update_attributes' do
158
+ it 'raises ActiveRecord::Tablefree::NoDatabase' do
159
+ expect { subject.update_attributes(name: 'Jarl') }.to raise_exception(StandardError)
151
160
  end
152
161
  end
153
162
  end
154
163
 
155
- describe "Tablefree model with fail_fast" do
156
- before(:context) {make_tablefree_model(nil, nil)}
157
- after(:context){ remove_models }
164
+ describe 'Tablefree model with fail_fast' do
165
+ before(:context) { make_tablefree_model(nil, nil) }
166
+ after(:context) { remove_models }
158
167
  subject { Chair }
159
- it_behaves_like "a tablefree model with fail_fast"
160
- describe "instance" do
161
- subject { Chair.new(:name => 'Jarl') }
162
- it_behaves_like "a tablefree model instance with fail_fast"
168
+ it_behaves_like 'a tablefree model with fail_fast'
169
+ describe 'instance' do
170
+ subject { Chair.new(name: 'Jarl') }
171
+ it_behaves_like 'a tablefree model instance with fail_fast'
163
172
  end
164
173
  end
165
174
 
166
- describe "Tablefree nested with fail_fast" do
167
- before(:context) {make_tablefree_model(nil, true)}
168
- after(:context){ remove_models }
175
+ describe 'Tablefree nested with fail_fast' do
176
+ before(:context) { make_tablefree_model(nil, true) }
177
+ after(:context) { remove_models }
169
178
  subject { Chair }
170
- it_behaves_like "a tablefree model with fail_fast"
171
- describe "#new" do
172
- it "accepts attributes" do
173
- expect(subject.new(:name => "Jarl")).to be_an_instance_of(subject)
179
+ it_behaves_like 'a tablefree model with fail_fast'
180
+ describe '#new' do
181
+ it 'accepts attributes' do
182
+ expect(subject.new(name: 'Jarl')).to be_an_instance_of(subject)
174
183
  end
175
- it "assign attributes" do
176
- expect(subject.new(:name => "Jarl").name).to eq "Jarl"
184
+ it 'assign attributes' do
185
+ expect(subject.new(name: 'Jarl').name).to eq 'Jarl'
177
186
  end
178
187
  end
179
- describe "instance" do
180
- subject { Chair.new(:name => 'Jarl') }
181
- it_behaves_like "a tablefree model instance with fail_fast"
182
- it_behaves_like "a nested active record"
183
- describe "#update_attributes" do
184
- it "raises ActiveRecord::Tablefree::NoDatabase" do
188
+ describe 'instance' do
189
+ subject { Chair.new(name: 'Jarl') }
190
+ it_behaves_like 'a tablefree model instance with fail_fast'
191
+ it_behaves_like 'a nested active record'
192
+ describe '#update_attributes' do
193
+ it 'raises ActiveRecord::Tablefree::NoDatabase' do
185
194
  expect do
186
- subject.update_attributes(:arm_rests => {:name => 'nice arm_rest'})
195
+ subject.update_attributes(arm_rests: { name: 'nice arm_rest' })
187
196
  end.to raise_exception(StandardError)
188
197
  end
189
198
  end
190
199
  end
191
- describe "instance with nested models" do
200
+ describe 'instance with nested models' do
192
201
  subject do
193
- Chair.new(:name => "Jarl",
194
- :arm_rests => [
195
- ArmRest.new(:name => 'left'),
196
- ArmRest.new(:name => 'right'),
197
- ])
202
+ Chair.new(name: 'Jarl',
203
+ arm_rests: [
204
+ ArmRest.new(name: 'left'),
205
+ ArmRest.new(name: 'right')
206
+ ])
198
207
  end
199
- it {should be_an_instance_of(Chair) }
200
- it {should have(2).arm_rests }
208
+ it { should be_an_instance_of(Chair) }
209
+ it { should have(2).arm_rests }
201
210
  end
202
- describe "instance with nested attributes" do
211
+ describe 'instance with nested attributes' do
203
212
  subject do
204
- Chair.new(:name => "Jarl",
205
- :arm_rests_attributes => [
206
- {:name => 'left'},
207
- {:name => 'right'},
208
- ])
213
+ Chair.new(name: 'Jarl',
214
+ arm_rests_attributes: [
215
+ { name: 'left' },
216
+ { name: 'right' }
217
+ ])
209
218
  end
210
- it {should be_an_instance_of(Chair)}
211
- it {should have(2).arm_rests }
219
+ it { should be_an_instance_of(Chair) }
220
+ it { should have(2).arm_rests }
212
221
  end
213
222
  end
214
223
 
215
224
  ##
216
225
  ## Succeeding database
217
226
  ##
218
- shared_examples_for "a model with succeeding database" do
219
- describe "#all" do
220
- specify { expect(subject.all).to eq []}
227
+ shared_examples_for 'a model with succeeding database' do
228
+ describe '#all' do
229
+ specify { expect(subject.all).to eq [] }
221
230
  end
222
- describe "#create" do
223
- specify { expect(subject.create(:name => 'Jarl')).to be_an_instance_of(subject) }
231
+ describe '#create' do
232
+ specify { expect(subject.create(name: 'Jarl')).to be_an_instance_of(subject) }
224
233
  end
225
- describe "#destroy" do
234
+ describe '#destroy' do
226
235
  specify { expect(subject.destroy(1)).to be_an_instance_of(subject) }
227
236
  end
228
- describe "#destroy_all" do
237
+ describe '#destroy_all' do
229
238
  specify { expect(subject.destroy_all).to eq [] }
230
239
  end
231
240
  end
232
241
 
233
- shared_examples_for "an instance with succeeding database" do
234
- it_behaves_like "an active record instance"
242
+ shared_examples_for 'an instance with succeeding database' do
243
+ it_behaves_like 'an active record instance'
235
244
 
236
- describe "#save" do
245
+ describe '#save' do
237
246
  specify { expect(subject.save).to eq true }
238
247
  end
239
- describe "#save!" do
248
+ describe '#save!' do
240
249
  specify { expect(subject.save!).to eq true }
241
250
  end
242
- describe "#reload" do
251
+ describe '#reload' do
243
252
  before { subject.save! }
244
253
  specify { expect(subject.reload).to eq subject }
245
254
  end
246
- describe "#update_attributes" do
247
- specify { expect(subject.update_attributes(:name => 'Jarl Friis')).to eq true }
255
+ describe '#update_attributes' do
256
+ specify { expect(subject.update_attributes(name: 'Jarl Friis')).to eq true }
248
257
  end
249
258
  end
250
259
 
251
- describe "ActiveRecord with real database" do
252
- ##This is only here to ensure that the shared examples are actually behaving like a real database.
260
+ describe 'ActiveRecord with real database' do
261
+ # This is only here to ensure that the shared examples are actually behaving like a real database.
253
262
  before(:context) do
254
- FileUtils.mkdir_p "tmp"
255
- ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => 'tmp/test.db')
256
- ActiveRecord::Base.connection.execute("drop table if exists chairs")
257
- ActiveRecord::Base.connection.execute("create table chairs (id INTEGER PRIMARY KEY, name TEXT )")
263
+ FileUtils.mkdir_p 'tmp'
264
+ ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: 'tmp/test.db')
265
+ ActiveRecord::Base.connection.execute('drop table if exists chairs')
266
+ ActiveRecord::Base.connection.execute('create table chairs (id INTEGER PRIMARY KEY, name TEXT )')
258
267
 
259
268
  class Chair < ActiveRecord::Base
260
269
  end
@@ -265,20 +274,38 @@ describe "ActiveRecord with real database" do
265
274
  end
266
275
 
267
276
  subject { Chair }
268
- it_behaves_like "a model with succeeding database"
269
- describe "instance" do
270
- subject { Chair.new(:name => 'Jarl') }
271
- it_behaves_like "an instance with succeeding database"
277
+ it_behaves_like 'a model with succeeding database'
278
+ describe 'instance' do
279
+ subject { Chair.new(name: 'Jarl') }
280
+ it_behaves_like 'an instance with succeeding database'
272
281
  end
273
282
  end
274
283
 
275
- describe "Tablefree model with succeeding database" do
284
+ describe 'Tablefree model with succeeding database' do
276
285
  before(:context) { make_tablefree_model(:pretend_success, nil) }
277
- after(:context){ remove_models }
286
+ after(:context) { remove_models }
278
287
  subject { Chair }
279
- it_behaves_like "a model with succeeding database"
280
- describe "instance" do
281
- subject { Chair.new(:name => 'Jarl') }
282
- it_behaves_like "an instance with succeeding database"
288
+ it_behaves_like 'a model with succeeding database'
289
+ describe 'instance' do
290
+ subject { Chair.new(name: 'Jarl') }
291
+ it_behaves_like 'an instance with succeeding database'
292
+ end
293
+ end
294
+
295
+ describe 'Tablefree model can access connection' do
296
+ before(:context) { make_tablefree_model(:pretend_success, nil) }
297
+ after(:context) { remove_models }
298
+ describe '.connection' do
299
+ subject { Chair.connection }
300
+ it { is_expected.to be_a(ActiveRecord::Tablefree::Connection) }
301
+ end
302
+ end
303
+
304
+ describe 'Tablefree model can access connection transaction' do
305
+ before(:context) { make_tablefree_model(:pretend_success, nil) }
306
+ after(:context) { remove_models }
307
+ describe '.connection' do
308
+ subject { Chair.connection.current_transaction }
309
+ it { is_expected.to be_a(ActiveRecord::Tablefree::Transaction) }
283
310
  end
284
311
  end
data/spec/spec_helper.rb CHANGED
@@ -2,4 +2,4 @@ require 'rspec/collection_matchers'
2
2
  require 'byebug'
3
3
 
4
4
  require 'coveralls'
5
- Coveralls.wear!
5
+ Coveralls.wear!
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-tablefree
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jarl Friis
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-11-15 00:00:00.000000000 Z
14
+ date: 2017-12-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activerecord
@@ -47,7 +47,7 @@ dependencies:
47
47
  requirements:
48
48
  - - "~>"
49
49
  - !ruby/object:Gem::Version
50
- version: '0'
50
+ version: '12'
51
51
  - - ">"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
@@ -57,7 +57,7 @@ dependencies:
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '0'
60
+ version: '12'
61
61
  - - ">"
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
@@ -90,89 +90,89 @@ dependencies:
90
90
  - !ruby/object:Gem::Version
91
91
  version: '1.0'
92
92
  - !ruby/object:Gem::Dependency
93
- name: cucumber
93
+ name: aruba
94
94
  requirement: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: '1.1'
98
+ version: '0.5'
99
99
  type: :development
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - "~>"
104
104
  - !ruby/object:Gem::Version
105
- version: '1.1'
105
+ version: '0.5'
106
106
  - !ruby/object:Gem::Dependency
107
- name: rspec
107
+ name: cucumber
108
108
  requirement: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - "~>"
111
111
  - !ruby/object:Gem::Version
112
- version: '3.1'
112
+ version: '1.1'
113
113
  type: :development
114
114
  prerelease: false
115
115
  version_requirements: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: '3.1'
119
+ version: '1.1'
120
120
  - !ruby/object:Gem::Dependency
121
- name: rspec-collection_matchers
121
+ name: rspec
122
122
  requirement: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - "~>"
125
125
  - !ruby/object:Gem::Version
126
- version: '1.0'
126
+ version: '3.1'
127
127
  type: :development
128
128
  prerelease: false
129
129
  version_requirements: !ruby/object:Gem::Requirement
130
130
  requirements:
131
131
  - - "~>"
132
132
  - !ruby/object:Gem::Version
133
- version: '1.0'
133
+ version: '3.1'
134
134
  - !ruby/object:Gem::Dependency
135
- name: aruba
135
+ name: rspec-collection_matchers
136
136
  requirement: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - "~>"
139
139
  - !ruby/object:Gem::Version
140
- version: '0.5'
140
+ version: '1.0'
141
141
  type: :development
142
142
  prerelease: false
143
143
  version_requirements: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - "~>"
146
146
  - !ruby/object:Gem::Version
147
- version: '0.5'
147
+ version: '1.0'
148
148
  - !ruby/object:Gem::Dependency
149
- name: nokogiri
149
+ name: capybara
150
150
  requirement: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - "~>"
153
153
  - !ruby/object:Gem::Version
154
- version: '1.0'
154
+ version: '0.0'
155
155
  type: :development
156
156
  prerelease: false
157
157
  version_requirements: !ruby/object:Gem::Requirement
158
158
  requirements:
159
159
  - - "~>"
160
160
  - !ruby/object:Gem::Version
161
- version: '1.0'
161
+ version: '0.0'
162
162
  - !ruby/object:Gem::Dependency
163
- name: capybara
163
+ name: coveralls
164
164
  requirement: !ruby/object:Gem::Requirement
165
165
  requirements:
166
- - - "~>"
166
+ - - ">="
167
167
  - !ruby/object:Gem::Version
168
- version: '0.0'
168
+ version: '0'
169
169
  type: :development
170
170
  prerelease: false
171
171
  version_requirements: !ruby/object:Gem::Requirement
172
172
  requirements:
173
- - - "~>"
173
+ - - ">="
174
174
  - !ruby/object:Gem::Version
175
- version: '0.0'
175
+ version: '0'
176
176
  - !ruby/object:Gem::Dependency
177
177
  name: gem-release
178
178
  requirement: !ruby/object:Gem::Requirement
@@ -188,7 +188,7 @@ dependencies:
188
188
  - !ruby/object:Gem::Version
189
189
  version: 0.7.4
190
190
  - !ruby/object:Gem::Dependency
191
- name: wwtd
191
+ name: listen
192
192
  requirement: !ruby/object:Gem::Requirement
193
193
  requirements:
194
194
  - - ">="
@@ -202,21 +202,21 @@ dependencies:
202
202
  - !ruby/object:Gem::Version
203
203
  version: '0'
204
204
  - !ruby/object:Gem::Dependency
205
- name: rails
205
+ name: nokogiri
206
206
  requirement: !ruby/object:Gem::Requirement
207
207
  requirements:
208
- - - ">="
208
+ - - "~>"
209
209
  - !ruby/object:Gem::Version
210
- version: '0'
210
+ version: '1.0'
211
211
  type: :development
212
212
  prerelease: false
213
213
  version_requirements: !ruby/object:Gem::Requirement
214
214
  requirements:
215
- - - ">="
215
+ - - "~>"
216
216
  - !ruby/object:Gem::Version
217
- version: '0'
217
+ version: '1.0'
218
218
  - !ruby/object:Gem::Dependency
219
- name: listen
219
+ name: rails
220
220
  requirement: !ruby/object:Gem::Requirement
221
221
  requirements:
222
222
  - - ">="
@@ -230,7 +230,7 @@ dependencies:
230
230
  - !ruby/object:Gem::Version
231
231
  version: '0'
232
232
  - !ruby/object:Gem::Dependency
233
- name: coveralls
233
+ name: wwtd
234
234
  requirement: !ruby/object:Gem::Requirement
235
235
  requirements:
236
236
  - - ">="
@@ -274,6 +274,10 @@ files:
274
274
  - gemfiles/rails51.gemfile
275
275
  - init.rb
276
276
  - lib/activerecord-tablefree.rb
277
+ - lib/activerecord-tablefree/cast_type.rb
278
+ - lib/activerecord-tablefree/connection.rb
279
+ - lib/activerecord-tablefree/schema_cache.rb
280
+ - lib/activerecord-tablefree/transaction.rb
277
281
  - lib/activerecord-tablefree/version.rb
278
282
  - spec/lib/activerecord-tablefree_spec.rb
279
283
  - spec/spec_helper.rb