tiny_tds 0.9.5.rc.2-x64-mingw32 → 0.9.5.rc.3-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -0
  3. data/VERSION +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0787cc171646d394efb3ab76efd8b84e172b21b3
4
- data.tar.gz: 392746082fbc7104fe3fb60848a33a4402a41557
3
+ metadata.gz: da962966fc0860dade9399eb3991f14ef1cd276d
4
+ data.tar.gz: 5dfe570373de8c8d23944909a958c5a249f86d0a
5
5
  SHA512:
6
- metadata.gz: d31b59a9f49f3ece8b57aa101d946c57ee80a0d91845a012f0be3e57c98a61d7a33ef60c6e237cfba73a673723d65032307a6927ebe406e8b753607ae267cbd6
7
- data.tar.gz: c3d54fbc97c21395608e06f55b08a5ee8542b3485e4c4af0e8cede031b99733ec9970ff6851c888b0bf79c14b0a21ac90e141e80f3f4b7c0963dd717fbbf3691
6
+ metadata.gz: 578f7a4ee4de407795d03358314fc1c7aba18cf97387dc07b4a0a1fda66363c8fe94a31005367fe1266ea06316b11b70a41d1191745d6800516287f445103dd9
7
+ data.tar.gz: b8ede273a4b8b3cf26b5cec9c847f8f83ba0aa30ad5886107fca9f6159275f7e3f2235447764d3b4f729ebeee4c3006ed13727a01af60524c06ebad02a0f7959
data/README.md CHANGED
@@ -159,6 +159,16 @@ result = client.execute("SELECT * FROM [super_big_table]")
159
159
  result.cancel
160
160
  ```
161
161
 
162
+ You can use results cancelation in conjunction with results lazy loading, no problem.
163
+
164
+ ```ruby
165
+ result = client.execute("SELECT * FROM [super_big_table]")
166
+ result.each_with_index do |row, i|
167
+ break if row > 10
168
+ end
169
+ result.cancel
170
+ ```
171
+
162
172
  If the SQL executed by the client returns affected rows, you can easily find out how many.
163
173
 
164
174
  ```ruby
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.5.rc.2
1
+ 0.9.5.rc.3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny_tds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5.rc.2
4
+ version: 0.9.5.rc.3
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Ken Collins
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-02-07 00:00:00.000000000 Z
13
+ date: 2016-02-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mini_portile2