app_rail-airtable 0.3.6 → 0.3.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: cd8e78c130ea41fda991115396a84bd30971d1ca60f366988c84090bf1212e6d
4
- data.tar.gz: cec97d555c6459fa03306e6572fb2528609fd26aea9bb10554d0a199a32df42c
3
+ metadata.gz: 8efd41eb515627b2880f01a8c995cf40e32ce614a4c7f0ae89305c824f25419e
4
+ data.tar.gz: e1636ef443d7071ffd9132d0af76c4eeddff51bd3c6e2554a631e17ebaa8429d
5
5
  SHA512:
6
- metadata.gz: '0391681d670ed7beb995a2061b9587ba069f84f2e5581187d9b03727619df97ed8b8a774094336ee4553d24ef1dd42dffd09818eeb89e26d65a3234281c7d142'
7
- data.tar.gz: 32a4b9189c31b95c378c3637d43729d592308830e137c161e843f326f5b05541c82ef3dcec29c3225d047c582f697e9ec784553fa7c412ca0c6951303e1fc6bc
6
+ metadata.gz: 70f1a2b229234f404c9ead70cb0af42726d79c0e68d283e8a2b817f9f3921f9bde747de9afcc4b5bf2c13916e95ce18e7029e94fc6d306e1fc3b57805c5cd9f5
7
+ data.tar.gz: 25eb20b69b8942ca1f14f6341b7dbc0356f3c9e2a5856a4f09aa9487efb6dcb1881f55e6612c7e13dc7bb1dad47aef07989802b8bbdcb62331238f9be7475cc3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_rail-airtable (0.3.6)
4
+ app_rail-airtable (0.3.7)
5
5
  activesupport
6
6
  airrecord
7
7
  bcrypt
@@ -13,7 +13,7 @@ module AppRail
13
13
  argument :output_directory
14
14
  argument :api_key
15
15
  argument :base_id
16
- argument :schema
16
+ argument :schema, required: false
17
17
 
18
18
  def self.source_root
19
19
  File.join(File.dirname(__FILE__), '..', '..', '..')
@@ -41,7 +41,7 @@ module AppRail
41
41
  end
42
42
 
43
43
  def tables
44
- @tables ||= JSON.parse(schema)['tables']
44
+ @tables ||= schema ? JSON.parse(schema)['tables'] : []
45
45
  end
46
46
 
47
47
  def find_table(table_name)
@@ -1,5 +1,5 @@
1
1
  module AppRail
2
2
  module Airtable
3
- VERSION = "0.3.6"
3
+ VERSION = "0.3.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_rail-airtable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-13 00:00:00.000000000 Z
11
+ date: 2022-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport