airtable2 0.2.5 → 0.2.7

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
  SHA256:
3
- metadata.gz: 289287db343e46821fa736305ee64eb1a9fc08a58c662b3877cf10643ea63737
4
- data.tar.gz: b25cca2262cc2d91ff241fbd479c58efcebdc77cb95dbe9a869f19d990593e11
3
+ metadata.gz: 0cb8122de01b3500ed7e204ada1973d50aef0f4137592a2354205f2365294349
4
+ data.tar.gz: cddb9e3845811711a9fb7d7767aae1e14213cd9ba026931295bd1fbc26427c11
5
5
  SHA512:
6
- metadata.gz: 97493ce00abb1c1306f7c8d5efc0b0b0c21b9155a8f64458138e11e61b5fc9f504241137391f3bd4184fab4434d8bc0e11401407034a1ae5561b85cd64393fb5
7
- data.tar.gz: 38f2292dc125c1f3cffb1c6a35f48ea79824029b1bd9d1b0824c09bbc8705a8b8c3791962f9bce4a9e7bd1105d3290b9b05740661cc82297815331cac028acfc
6
+ metadata.gz: 1623bc5b488e6a99f6e4ec90e57afebf46262d02f80bd375c72b6852762dca527a5af9705707747bdd7f09c455376ed1657fabd6e1dc5f784f1241a511362156
7
+ data.tar.gz: 0140bf44f2a129e368c08ddec910267bc80565678055d70e1775fede397facd2360f12e8e9870e1c3f42787b94c28112dd824827527b785146cd8dbfb17bdf40
data/lib/airtable/base.rb CHANGED
@@ -17,7 +17,7 @@ class Airtable::Base < Airtable::Resource
17
17
 
18
18
  check_and_raise_error(response)
19
19
 
20
- Airtable::Table.new @token, @id, response
20
+ Airtable::Table.new @token, self, response['id'], response
21
21
  end
22
22
 
23
23
  # @return [Array<Airtable::Table>]
@@ -68,7 +68,7 @@ class Airtable::Table < Airtable::Resource
68
68
 
69
69
  check_and_raise_error(response)
70
70
 
71
- response['records'].map { Airtable::Record.new(@token, @base.id, @id, _1['id'], _1) }
71
+ response['records'].map { Airtable::Record.new(@token, self, _1['id'], _1) }
72
72
  end
73
73
 
74
74
  # @param [Array] IDs of records to delete
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Version
4
4
  module Airtable
5
- VERSION = '0.2.5'
5
+ VERSION = '0.2.7'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airtable2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Seroff