tiny_tds 0.9.5.rc.2-x86-mingw32 → 0.9.5.rc.3-x86-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: e9eac3ebfb34eae1cb1123994a56f3484fc29f19
4
- data.tar.gz: f684dc40a08c8904224d0992336ab127f4fcd072
3
+ metadata.gz: d19c9225b96aaf0b24c54e05e7d77806566bb4e4
4
+ data.tar.gz: 66f227593ab8badf4902bc2eb69e2a2f843bf8b5
5
5
  SHA512:
6
- metadata.gz: c9f1259ddaf668f7a355c9c989988bcf9bec89fe6f0395ceeba16bd10fb7cff900ed5b101655fb5c9a8988c2833ee640629da6d026ea0e6629dbab204f45aa55
7
- data.tar.gz: e423deb6f974fcb8c859976bf375e0179ba6d7600c0c43386df92bb991ed0a03502065e146a6e1a377a793cea7cace87ce3f16b457568a7e77a96b81c6ba55a7
6
+ metadata.gz: 1035ea65da100bbdecfdefde76c5f4c56f06f4b163c4868ce405b8438270c92499eeddd34a2a4e642d04e3b1586da7664d2a14021687d7bf40aad7a67d7e608a
7
+ data.tar.gz: 0a96dff631b5e02d7cda1084fb19c2aa0acaf58a6ff701d7b84d693880622d29ddc7b4d705ada80bc2a7ea9ff10af735cfca7f0ee5d1b86cc13a9d947b98e586
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: x86-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