con_air 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTc4YWYyOTJmNGMwNjE2MjQ5NGY4ODJlZGFiOTE5ZjMzYmVjZDljYw==
4
+ NTI2MGY0ZGMzZmU1ZGQ5YjU3NjIxOWI4MWIzMDdlYmFjYzZhNWU5MQ==
5
5
  data.tar.gz: !binary |-
6
- OGEzNjE0NGMzYTM0OTcwZGVjZDRiOTM0YmE1NGI0MTdjN2U0MTkxNQ==
6
+ YTY2OTJjYTY5ZDRmM2VkYzVlNDc2M2ZiZjAzODc4YjkwOWE4NDNlNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZWJkOGQ3ODJmZWI1N2VmZDlkMTc5MGQzNTczOTZmOWFiZmQwNTY1MWUwZmU0
10
- ZWE0MzNhYmJiNzQ3ODllZmQ2MjM3ODBjN2Y4NWY3MmJlZmMxMzlkNTQxYTNm
11
- OTJkZWY5ZjZkOTMxNTliNTZlMzgxNWM2ZWYzMDViYmU3OGUwOTU=
9
+ ZmRiNDYyNTFiMTY2YTI4MjYxYTY1NmQ4ZDA3NGNiNmYyODMyNzdiZmRjMGUz
10
+ YmE1YWUyOTA3MWIzNzFmNTg4ZTQxMWJlMThjNDQ5NjU0MmM5ZTRjYjYyYTli
11
+ YWQzODIyOTMxY2YwZTY2ZmQ5NjBhNzEyYzUyMWFkZGRlOTY0NDM=
12
12
  data.tar.gz: !binary |-
13
- NTc4NDU2MjQ1Mjk5YjI2OWI2ZjBjODNlNDNkM2FkNzgwN2JhNTVkODQ0MzBi
14
- MmQ3M2EyOWE4YjkyMzQ1NmU3MDI3ZTQ5Njg3ZGVmNjQyNWMzMmVkOTNkZmYy
15
- ZTljMzUyNDc1MjUwZTcyOTlhNmQyZDJiOTg4MDU2MDI1NjI2ZmE=
13
+ NzdmNTRhMDM0M2FjOGIzNjUyNWExZWUxMTlmMDc4YjAyYmI2NGQ3ODZhMTg4
14
+ M2U4YTc1OTc2N2MwZjNhMjdjMzQzYmI5MWYzYWVkNjYwYTQ2YTFkODQ3Mjg1
15
+ YmJmODBiMGUwMDcwMjMxZjQwMWM2NTg5YjkzZDU0NGY4ZjJiOTQ=
data/lib/con_air.rb CHANGED
@@ -14,7 +14,7 @@ module ConAir
14
14
  ar.handler_hijackings[ar.connection_id] = ConnectionHandler.new(klass, spec)
15
15
  end
16
16
 
17
- klass.establish_connection
17
+ ar.establish_connection
18
18
 
19
19
  yield
20
20
  ensure
@@ -1,3 +1,3 @@
1
1
  module ConAir
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
Binary file
@@ -0,0 +1,7 @@
1
+ Connecting to database specified by database.yml
2
+  (26.8ms) select sqlite_version(*)
3
+  (13.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
4
+  (4.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
5
+  (17.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6
+  (0.1ms) SELECT version FROM "schema_migrations"
7
+  (17.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20131220144142')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: con_air
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ngan Pham
@@ -108,6 +108,7 @@ files:
108
108
  - lib/con_air.rb
109
109
  - spec/con_air/connection_handler_spec.rb
110
110
  - spec/con_air_spec.rb
111
+ - spec/dummy/log/test.log
111
112
  - spec/dummy/Rakefile
112
113
  - spec/dummy/README.rdoc
113
114
  - spec/dummy/config/environment.rb
@@ -124,6 +125,7 @@ files:
124
125
  - spec/dummy/config/initializers/mime_types.rb
125
126
  - spec/dummy/config/routes.rb
126
127
  - spec/dummy/db/schema.rb
128
+ - spec/dummy/db/test.sqlite3
127
129
  - spec/dummy/public/favicon.ico
128
130
  - spec/dummy/public/422.html
129
131
  - spec/dummy/public/404.html
@@ -169,6 +171,7 @@ summary: Connection hijacking for ActiveRecord.
169
171
  test_files:
170
172
  - spec/con_air/connection_handler_spec.rb
171
173
  - spec/con_air_spec.rb
174
+ - spec/dummy/log/test.log
172
175
  - spec/dummy/Rakefile
173
176
  - spec/dummy/README.rdoc
174
177
  - spec/dummy/config/environment.rb
@@ -185,6 +188,7 @@ test_files:
185
188
  - spec/dummy/config/initializers/mime_types.rb
186
189
  - spec/dummy/config/routes.rb
187
190
  - spec/dummy/db/schema.rb
191
+ - spec/dummy/db/test.sqlite3
188
192
  - spec/dummy/public/favicon.ico
189
193
  - spec/dummy/public/422.html
190
194
  - spec/dummy/public/404.html